Guest User

Untitled

a guest
Jun 21st, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.73 KB | None | 0 0
  1.     .file   "test.c"
  2.     .text
  3.     .globl  f
  4.     .type   f, @function
  5. f:
  6. .LFB0:
  7.     .cfi_startproc
  8.     pushq   %rbp
  9.     .cfi_def_cfa_offset 16
  10.     .cfi_offset 6, -16
  11.     pushq   %rbx
  12.     .cfi_def_cfa_offset 24
  13.     .cfi_offset 3, -24
  14.     subq    $8, %rsp
  15.     .cfi_def_cfa_offset 32
  16.     movl    %edi, %ebx
  17.     movl    %edi, %ebp
  18.     andl    $1, %ebp
  19.     je  .L2
  20.     call    f1
  21. .L2:
  22.     testb   $2, %bl
  23.     je  .L3
  24.     call    f2
  25.     testl   %ebp, %ebp
  26.     jne .L4
  27. .L7:
  28.     call    f2
  29.     jmp .L1
  30. .L3:
  31.     testl   %ebp, %ebp
  32.     je  .L1
  33.     jmp .L5
  34. .L4:
  35.     call    f1
  36.     jmp .L7
  37. .L5:
  38.     call    f1
  39. .L1:
  40.     addq    $8, %rsp
  41.     .cfi_def_cfa_offset 24
  42.     popq    %rbx
  43.     .cfi_def_cfa_offset 16
  44.     popq    %rbp
  45.     .cfi_def_cfa_offset 8
  46.     ret
  47.     .cfi_endproc
  48. .LFE0:
  49.     .size   f, .-f
  50.     .ident  "GCC: (GNU) 6.0.0 20150603 (experimental)"
  51.     .section    .note.GNU-stack,"",@progbits
Advertisement
Add Comment
Please, Sign In to add comment