rendered paste body .cstring
LC0:
.ascii "%d\12\0"
.text
.globl _display_int
_display_int:
pushl %ebp
movl %esp, %ebp
pushl %ebx
subl $20, %esp
call ___i686.get_pc_thunk.bx
"L00000000001$pb":
movl 8(%ebp), %eax
movl %eax, 4(%esp)
leal LC0-"L00000000001$pb"(%ebx), %eax
movl %eax, (%esp)
call L_printf$stub
addl $20, %esp
popl %ebx
popl %ebp
ret
.globl _main
_main:
pushl %ebp
movl %esp, %ebp
subl $40, %esp
movl $3, -12(%ebp)
movl -12(%ebp), %eax
movl %eax, (%esp)
call _display_int
movl $0, %eax
leave
ret
.section __IMPORT,__jump_table,symbol_stubs,self_modifying_code+pure_instructions,5
L_printf$stub:
.indirect_symbol _printf
hlt ; hlt ; hlt ; hlt ; hlt
.subsections_via_symbols
.section __TEXT,__textcoal_nt,coalesced,pure_instructions
.weak_definition ___i686.get_pc_thunk.bx
.private_extern ___i686.get_pc_thunk.bx
___i686.get_pc_thunk.bx:
movl (%esp), %ebx
ret