	.file	"58529.c"
	.intel_syntax noprefix
	.text
	.local	p1
	.comm	p1,8,8
	.data
	.align 8
	.type	p2, @object
	.size	p2, 8
p2:
	.quad	1
	.local	i
	.comm	i,8,8
	.globl	arg
	.bss
	.align 8
	.type	arg, @object
	.size	arg, 8
arg:
	.zero	8
	.globl	result
	.align 8
	.type	result, @object
	.size	result, 8
result:
	.zero	8
	.text
	.globl	fibo
	.type	fibo, @function
fibo:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR i[rip], 1
	jmp	.L2
.L3:
	mov	rdx, QWORD PTR p1[rip]
	mov	rax, QWORD PTR p2[rip]
	add	rax, rdx
	mov	QWORD PTR result[rip], rax
	mov	rax, QWORD PTR p2[rip]
	mov	QWORD PTR p1[rip], rax
	mov	rax, QWORD PTR result[rip]
	mov	QWORD PTR p2[rip], rax
	mov	rax, QWORD PTR i[rip]
	add	rax, 1
	mov	QWORD PTR i[rip], rax
.L2:
	mov	rdx, QWORD PTR i[rip]
	mov	rax, QWORD PTR arg[rip]
	cmp	rdx, rax
	jl	.L3
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	fibo, .-fibo
	.section	.rodata
.LC0:
	.string	"%lld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR arg[rip], 10
	mov	eax, 0
	call	fibo
	mov	rax, QWORD PTR arg[rip]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR result[rip]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"58529.c"
	.text
	.local	p1
	.comm	p1,8,8
	.data
	.align	3
	.type	p2, %object
	.size	p2, 8
p2:
	.word	1
	.word	0
	.local	i
	.comm	i,8,8
	.comm	arg,8,8
	.comm	result,8,8
	.text
	.align	2
	.global	fibo
	.syntax unified
	.arm
	.fpu softvfp
	.type	fibo, %function
fibo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, r6, r7, fp}
	add	fp, sp, #16
	ldr	r1, .L4
	mov	r2, #1
	mov	r3, #0
	stm	r1, {r2-r3}
	b	.L2
.L3:
	ldr	r3, .L4+4
	ldmia	r3, {r0-r1}
	ldr	r3, .L4+8
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	ldr	r3, .L4+12
	stm	r3, {r4-r5}
	ldr	r3, .L4+8
	ldmia	r3, {r2-r3}
	ldr	r1, .L4+4
	stm	r1, {r2-r3}
	ldr	r3, .L4+12
	ldmia	r3, {r2-r3}
	ldr	r1, .L4+8
	stm	r1, {r2-r3}
	ldr	r3, .L4
	ldmia	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	ldr	r3, .L4
	stm	r3, {r6-r7}
.L2:
	ldr	r3, .L4
	ldmia	r3, {r0-r1}
	ldr	r3, .L4+16
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L3
	nop
	nop
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, fp}
	bx	lr
.L5:
	.align	2
.L4:
	.word	i
	.word	p1
	.word	p2
	.word	result
	.word	arg
	.size	fibo, .-fibo
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%lld\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r1, .L8
	mov	r2, #10
	mov	r3, #0
	stm	r1, {r2-r3}
	bl	fibo
	ldr	r3, .L8
	ldmia	r3, {r2-r3}
	ldr	r0, .L8+4
	bl	printf
	ldr	r3, .L8+8
	ldmia	r3, {r2-r3}
	ldr	r0, .L8+4
	bl	printf
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	arg
	.word	.LC0
	.word	result
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
