Advertisement
Guest User

Untitled

a guest
Jan 12th, 2016
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     .file   "str.s"
  2.     .text
  3.     .p2align 4,,15
  4.     .def    __tcf_0;    .scl    3;  .type   32; .endef
  5.     .seh_proc   __tcf_0
  6. __tcf_0:
  7.     .seh_endprologue
  8.     leaq    _ZStL8__ioinit(%rip), %rcx
  9.     jmp _ZNSt8ios_base4InitD1Ev
  10.     .seh_endproc
  11.     .def    __main; .scl    2;  .type   32; .endef
  12.     .def    __gxx_personality_sj0;  .scl    2;  .type   32; .endef
  13.     .def    _Unwind_SjLj_Register;  .scl    2;  .type   32; .endef
  14.     .def    _Unwind_SjLj_Unregister;    .scl    2;  .type   32; .endef
  15.     .section    .text.startup,"x"
  16.     .p2align 4,,15
  17.     .globl  main
  18.     .def    main;   .scl    2;  .type   32; .endef
  19.     .seh_proc   main
  20. main:
  21.     pushq   %rbp
  22.     .seh_pushreg    %rbp
  23.     subq    $160, %rsp
  24.     .seh_stackalloc 160
  25.     .seh_endprologue
  26.     leaq    __gxx_personality_sj0(%rip), %rax
  27.     leaq    32(%rsp), %rcx
  28.     movq    %rsp, 112(%rsp)
  29.     movq    %rax, 80(%rsp)
  30.     leaq    .LLSDA2996(%rip), %rax
  31.     movq    %rax, 88(%rsp)
  32.     leaq    160(%rsp), %rax
  33.     movq    %rax, 96(%rsp)
  34.     leaq    .L9(%rip), %rax
  35.     movq    %rax, 104(%rsp)
  36.     call    _Unwind_SjLj_Register
  37.     call    __main
  38.     leaq    144(%rsp), %rcx
  39.     movl    $-1, 40(%rsp)
  40.     call    _ZNSsC1Ev
  41.     leaq    144(%rsp), %rdx
  42.     leaq    _ZSt3cin(%rip), %rcx
  43.     movl    $1, 40(%rsp)
  44.     call    _ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RSbIS4_S5_T1_E
  45.     leaq    144(%rsp), %rcx
  46.     call    _ZNSs3endEv
  47.     leaq    144(%rsp), %rcx
  48.     movq    %rax, 136(%rsp)
  49.     call    _ZNSs5beginEv
  50.     xorl    %edx, %edx
  51.     cmpq    136(%rsp), %rax
  52.     jne .L5
  53.     jmp .L3
  54.     .p2align 4,,10
  55. .L18:
  56.     cmpb    $-32, %cl
  57.     je  .L4
  58.     movl    $-9, %r8d
  59.     andl    %ecx, %r8d
  60.     cmpb    $-13, %r8b
  61.     je  .L4
  62.     leal    3(%rcx), %r8d
  63.     cmpb    $1, %r8b
  64.     jbe .L4
  65.     cmpb    $-72, %cl
  66.     je  .L4
  67.     cmpb    $-1, %cl
  68.     je  .L4
  69.     addq    $1, %rax
  70.     cmpq    136(%rsp), %rax
  71.     je  .L3
  72.     .p2align 4,,10
  73. .L5:
  74.     movzbl  (%rax), %ecx
  75.     cmpb    $-18, %cl
  76.     jne .L18
  77. .L4:
  78.     addq    $1, %rdx
  79.     addq    $1, %rax
  80.     cmpq    136(%rsp), %rax
  81.     jne .L5
  82. .L3:
  83.     leaq    _ZSt4cout(%rip), %rcx
  84.     movl    $1, 40(%rsp)
  85.     call    _ZNSolsEx
  86.     leaq    144(%rsp), %rcx
  87.     call    _ZNSsD1Ev
  88.     leaq    32(%rsp), %rcx
  89.     call    _Unwind_SjLj_Unregister
  90.     xorl    %eax, %eax
  91.     addq    $160, %rsp
  92.     popq    %rbp
  93.     ret
  94. .L9:
  95.     movq    48(%rsp), %rax
  96.     leaq    144(%rsp), %rcx
  97.     movq    %rax, 136(%rsp)
  98.     call    _ZNSsD1Ev
  99.     movq    136(%rsp), %rcx
  100.     movl    $-1, 40(%rsp)
  101.     call    _Unwind_SjLj_Resume
  102.     nop
  103.     .section    .gcc_except_table,"w"
  104. .LLSDA2996:
  105.     .byte   0xff
  106.     .byte   0xff
  107.     .byte   0x1
  108.     .uleb128 .LLSDACSE2996-.LLSDACSB2996
  109. .LLSDACSB2996:
  110.     .uleb128 0
  111.     .uleb128 0
  112. .LLSDACSE2996:
  113.     .section    .text.startup,"x"
  114.     .seh_endproc
  115.     .p2align 4,,15
  116.     .def    _GLOBAL__sub_I_main;    .scl    3;  .type   32; .endef
  117.     .seh_proc   _GLOBAL__sub_I_main
  118. _GLOBAL__sub_I_main:
  119.     subq    $40, %rsp
  120.     .seh_stackalloc 40
  121.     .seh_endprologue
  122.     leaq    _ZStL8__ioinit(%rip), %rcx
  123.     call    _ZNSt8ios_base4InitC1Ev
  124.     leaq    __tcf_0(%rip), %rcx
  125.     addq    $40, %rsp
  126.     jmp atexit
  127.     .seh_endproc
  128.     .section    .ctors,"w"
  129.     .align 8
  130.     .quad   _GLOBAL__sub_I_main
  131. .lcomm _ZStL8__ioinit,1,1
  132.     .def    _ZNSt8ios_base4InitD1Ev;    .scl    2;  .type   32; .endef
  133.     .def    _Unwind_SjLj_Resume;    .scl    2;  .type   32; .endef
  134.     .def    _ZNSsC1Ev;  .scl    2;  .type   32; .endef
  135.     .def    _ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RSbIS4_S5_T1_E; .scl    2;  .type   32; .endef
  136.     .def    _ZNSs3endEv;    .scl    2;  .type   32; .endef
  137.     .def    _ZNSs5beginEv;  .scl    2;  .type   32; .endef
  138.     .def    _ZNSolsEx;  .scl    2;  .type   32; .endef
  139.     .def    _ZNSsD1Ev;  .scl    2;  .type   32; .endef
  140.     .def    _ZNSt8ios_base4InitC1Ev;    .scl    2;  .type   32; .endef
  141.     .def    atexit; .scl    2;  .type   32; .endef
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement