.file "fibs1.c" .section .text.unlikely,"x" LCOLDB0: .text LHOTB0: .p2align 4,,15 .globl _fib1 .def _fib1; .scl 2; .type 32; .endef _fib1: LFB10: .cfi_startproc pushl %esi pushl %ebx subl $20, %esp movl 32(%esp), %ebx cmpl $2, %ebx jle L4 xorl %esi, %esi .p2align 4,,10 L3: leal -1(%ebx), %eax subl $2, %ebx movl %eax, (%esp) call _fib1 addl %eax, %esi cmpl $2, %ebx jg L3 leal 1(%esi), %eax L2: addl $20, %esp .cfi_remember_state .cfi_def_cfa_offset 12 popl %ebx .cfi_restore 3 .cfi_def_cfa_offset 8 popl %esi .cfi_restore 6 .cfi_def_cfa_offset 4 ret L4: .cfi_restore_state movl $1, %eax jmp L2 .cfi_endproc LFE10: .section .text.unlikely,"x" LCOLDE0: .text LHOTE0: .section .text.unlikely,"x" LCOLDB1: .text LHOTB1: .p2align 4,,15 .globl _fib2 .def _fib2; .scl 2; .type 32; .endef _fib2: LFB11: .cfi_startproc pushl %ebx movl 8(%esp), %edx cmpl $2, %edx jle L11 movl $1, %ecx movl $1, %ebx jmp L10 .p2align 4,,10 L12: movl %eax, %ecx L10: subl $1, %edx leal (%ebx,%ecx), %eax movl %ecx, %ebx cmpl $2, %edx jne L12 popl %ebx .cfi_remember_state .cfi_restore 3 .cfi_def_cfa_offset 4 ret L11: .cfi_restore_state movl $1, %eax popl %ebx .cfi_restore 3 .cfi_def_cfa_offset 4 ret .cfi_endproc LFE11: .section .text.unlikely,"x" LCOLDE1: .text LHOTE1: .section .text.unlikely,"x" LCOLDB2: .text LHOTB2: .p2align 4,,15 .globl _fib3 .def _fib3; .scl 2; .type 32; .endef _fib3: LFB12: .cfi_startproc pushl %ebx .cfi_def_cfa_offset 8 .cfi_offset 3, -8 movl 8(%esp), %edx movl 12(%esp), %ebx movl 16(%esp), %ecx cmpl $2, %edx jg L16 jmp L21 .p2align 4,,10 L18: movl %eax, %ecx L16: subl $1, %edx leal (%ecx,%ebx), %eax movl %ecx, %ebx cmpl $2, %edx jne L18 popl %ebx .cfi_remember_state .cfi_restore 3 .cfi_def_cfa_offset 4 ret L21: .cfi_restore_state movl %ecx, %eax popl %ebx .cfi_restore 3 .cfi_def_cfa_offset 4 ret .cfi_endproc LFE12: .section .text.unlikely,"x" LCOLDE2: .text LHOTE2: .def ___main; .scl 2; .type 32; .endef .section .rdata,"dr" LC3: .ascii " %d %d %d\12\0" .section .text.unlikely,"x" LCOLDB4: .section .text.startup,"x" LHOTB4: .p2align 4,,15 .globl _main .def _main; .scl 2; .type 32; .endef _main: LFB13: .cfi_startproc pushl %ebp .cfi_def_cfa_offset 8 .cfi_offset 5, -8 movl %esp, %ebp .cfi_def_cfa_register 5 pushl %esi pushl %ebx .cfi_offset 6, -12 .cfi_offset 3, -16 movl $1, %ebx andl $-16, %esp subl $16, %esp call ___main movl $8, %eax movl $1, %edx jmp L23 .p2align 4,,10 L26: movl %ecx, %edx L23: subl $1, %eax leal (%edx,%ebx), %ecx movl %edx, %ebx jne L26 movl $8, %edx movl $1, %eax movl $1, %esi .p2align 4,,10 L24: leal (%esi,%eax), %ebx subl $1, %edx movl %eax, %esi movl %ebx, %eax jne L24 movl $9, %edx xorl %esi, %esi L25: movl %edx, (%esp) call _fib1 subl $2, %edx addl %eax, %esi cmpl $1, %edx jne L25 addl $1, %esi movl %ebx, 8(%esp) movl %ecx, 12(%esp) movl %esi, 4(%esp) movl $LC3, (%esp) call _printf leal -8(%ebp), %esp xorl %eax, %eax popl %ebx .cfi_restore 3 popl %esi .cfi_restore 6 popl %ebp .cfi_restore 5 .cfi_def_cfa 4, 4 ret .cfi_endproc LFE13: .section .text.unlikely,"x" LCOLDE4: .section .text.startup,"x" LHOTE4: .ident "GCC: (GNU) 5.4.0" .def _printf; .scl 2; .type 32; .endef