	.file	"979455.c"
	.intel_syntax noprefix
	.text
	.globl	c1
	.bss
	.align 4
	.type	c1, @object
	.size	c1, 4
c1:
	.zero	4
	.globl	c2
	.align 4
	.type	c2, @object
	.size	c2, 4
c2:
	.zero	4
	.section	.rodata
.LC0:
	.string	"n=%2d, for\350\277\264\345\234\210%2d\346\254\241, "
.LC1:
	.string	"\351\201\236\350\277\264%d\346\254\241\n"
.LC2:
	.string	"pause"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], 1
	jmp	.L2
.L3:
	mov	DWORD PTR c1[rip], 0
	mov	DWORD PTR c2[rip], 0
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	f_fib
	mov	edx, DWORD PTR c1[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	r_fib
	mov	eax, DWORD PTR c2[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L2:
	cmp	DWORD PTR -4[rbp], 30
	jle	.L3
	lea	rdi, .LC2[rip]
	call	system@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	cont1
	.type	cont1, @function
cont1:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR c1[rip]
	add	eax, 1
	mov	DWORD PTR c1[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	cont1, .-cont1
	.globl	cont2
	.type	cont2, @function
cont2:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR c2[rip]
	add	eax, 1
	mov	DWORD PTR c2[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	cont2, .-cont2
	.globl	f_fib
	.type	f_fib, @function
f_fib:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 24
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -8[rbp], 1
	mov	DWORD PTR -4[rbp], 1
	mov	DWORD PTR -16[rbp], 1
	jmp	.L8
.L12:
	call	cont1
	cmp	DWORD PTR -20[rbp], 1
	je	.L9
	cmp	DWORD PTR -20[rbp], 2
	jne	.L10
.L9:
	mov	eax, 1
	jmp	.L11
.L10:
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -8[rbp], eax
	add	DWORD PTR -16[rbp], 1
.L8:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L12
	mov	eax, DWORD PTR -12[rbp]
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	f_fib, .-f_fib
	.globl	r_fib
	.type	r_fib, @function
r_fib:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	DWORD PTR -20[rbp], edi
	call	cont2
	cmp	DWORD PTR -20[rbp], 1
	je	.L14
	cmp	DWORD PTR -20[rbp], 2
	jne	.L15
.L14:
	mov	eax, 1
	jmp	.L16
.L15:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	edi, eax
	call	r_fib
	mov	ebx, eax
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 2
	mov	edi, eax
	call	r_fib
	add	eax, ebx
.L16:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	r_fib, .-r_fib
	.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	"979455.c"
	.text
	.comm	c1,4,4
	.comm	c2,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"n=%2d, for\350\277\264\345\234\210%2d\346\254\241, "
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"\351\201\236\350\277\264%d\346\254\241\012\000"
	.align	2
.LC2:
	.ascii	"pause\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, .L5
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L5+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, [fp, #-8]
	bl	f_fib
	ldr	r3, .L5
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L5+8
	bl	printf
	ldr	r0, [fp, #-8]
	bl	r_fib
	ldr	r3, .L5+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L5+12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #30
	ble	.L3
	ldr	r0, .L5+16
	bl	system
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	c1
	.word	c2
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.align	2
	.global	cont1
	.syntax unified
	.arm
	.fpu softvfp
	.type	cont1, %function
cont1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L8
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L9:
	.align	2
.L8:
	.word	c1
	.size	cont1, .-cont1
	.align	2
	.global	cont2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cont2, %function
cont2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L11
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L11
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L12:
	.align	2
.L11:
	.word	c2
	.size	cont2, .-cont2
	.align	2
	.global	f_fib
	.syntax unified
	.arm
	.fpu softvfp
	.type	f_fib, %function
f_fib:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-8]
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L14
.L18:
	bl	cont1
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	beq	.L15
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	bne	.L16
.L15:
	mov	r3, #1
	b	.L17
.L16:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L14:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L18
	ldr	r3, [fp, #-16]
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	f_fib, .-f_fib
	.align	2
	.global	r_fib
	.syntax unified
	.arm
	.fpu softvfp
	.type	r_fib, %function
r_fib:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	bl	cont2
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	beq	.L20
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bne	.L21
.L20:
	mov	r3, #1
	b	.L22
.L21:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	mov	r0, r3
	bl	r_fib
	mov	r4, r0
	ldr	r3, [fp, #-16]
	sub	r3, r3, #2
	mov	r0, r3
	bl	r_fib
	mov	r3, r0
	add	r3, r4, r3
.L22:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	r_fib, .-r_fib
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
