	.file	"34512829.c"
	.intel_syntax noprefix
	.text
	.globl	g_str
	.section	.rodata
.LC0:
	.string	"Hello"
	.section	.data.rel.local,"aw"
	.align 8
	.type	g_str, @object
	.size	g_str, 8
g_str:
	.quad	.LC0
	.globl	glbl_buffer
	.bss
	.align 32
	.type	glbl_buffer, @object
	.size	glbl_buffer, 1000
glbl_buffer:
	.zero	1000
	.text
	.globl	do_glbl_buffer
	.type	do_glbl_buffer, @function
do_glbl_buffer:
.LFB6:
	.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 -8[rbp], rdi
	lea	rax, glbl_buffer[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	do_glbl_buffer, .-do_glbl_buffer
	.globl	do_alloc
	.type	do_alloc, @function
do_alloc:
.LFB7:
	.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	malloc@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	do_alloc, .-do_alloc
	.globl	do_fib_m1
	.type	do_fib_m1, @function
do_fib_m1:
.LFB8:
	.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], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	edi, edx
	call	do_fib1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	do_fib_m1, .-do_fib_m1
	.globl	do_fib_m2
	.type	do_fib_m2, @function
do_fib_m2:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, -2[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	edi, edx
	call	do_fib1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	do_fib_m2, .-do_fib_m2
	.globl	ind_fib1
	.section	.data.rel.local
	.align 8
	.type	ind_fib1, @object
	.size	ind_fib1, 8
ind_fib1:
	.quad	do_fib_m1
	.globl	ind_fib2
	.align 8
	.type	ind_fib2, @object
	.size	ind_fib2, 8
ind_fib2:
	.quad	do_fib_m2
	.text
	.globl	do_fib1
	.type	do_fib1, @function
do_fib1:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -48[rbp]
	mov	edi, 4
	call	rax
	mov	QWORD PTR -24[rbp], rax
	cmp	DWORD PTR -36[rbp], 2
	jne	.L10
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 1
.L10:
	cmp	DWORD PTR -36[rbp], 1
	jne	.L11
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 2
.L11:
	mov	rcx, QWORD PTR ind_fib1[rip]
	mov	rdx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	rcx
	mov	QWORD PTR -16[rbp], rax
	mov	rcx, QWORD PTR ind_fib2[rip]
	mov	rdx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	rcx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	do_fib1, .-do_fib1
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], 0
	lea	rsi, do_glbl_buffer[rip]
	mov	edi, 1
	call	do_fib1
	mov	QWORD PTR -32[rbp], rax
	lea	rsi, do_glbl_buffer[rip]
	mov	edi, 1
	call	do_fib1
	mov	QWORD PTR -24[rbp], rax
	lea	rsi, do_alloc[rip]
	mov	edi, 1000
	call	do_fib1
	mov	QWORD PTR -16[rbp], rax
	lea	rsi, do_alloc[rip]
	mov	edi, 1000
	call	do_fib1
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -36[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.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	"34512829.c"
	.text
	.global	g_str
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Hello\000"
	.data
	.align	2
	.type	g_str, %object
	.size	g_str, 4
g_str:
	.word	.LC0
	.comm	glbl_buffer,1000,4
	.text
	.align	2
	.global	do_glbl_buffer
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_glbl_buffer, %function
do_glbl_buffer:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, .L3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L4:
	.align	2
.L3:
	.word	glbl_buffer
	.size	do_glbl_buffer, .-do_glbl_buffer
	.align	2
	.global	do_alloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_alloc, %function
do_alloc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	malloc
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	do_alloc, .-do_alloc
	.align	2
	.global	do_fib_m1
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_fib_m1, %function
do_fib_m1:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	do_fib1
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	do_fib_m1, .-do_fib_m1
	.align	2
	.global	do_fib_m2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_fib_m2, %function
do_fib_m2:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #2
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	do_fib1
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	do_fib_m2, .-do_fib_m2
	.global	ind_fib1
	.data
	.align	2
	.type	ind_fib1, %object
	.size	ind_fib1, 4
ind_fib1:
	.word	do_fib_m1
	.global	ind_fib2
	.align	2
	.type	ind_fib2, %object
	.size	ind_fib2, 4
ind_fib2:
	.word	do_fib_m2
	.text
	.align	2
	.global	do_fib1
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_fib1, %function
do_fib1:
	@ 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]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-28]
	mov	r0, #4
	blx	r3
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	bne	.L12
	ldr	r3, [fp, #-16]
	mov	r2, #1
	str	r2, [r3]
.L12:
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L13
	ldr	r3, [fp, #-16]
	mov	r2, #2
	str	r2, [r3]
.L13:
	ldr	r3, .L15
	ldr	r3, [r3]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	blx	r3
	str	r0, [fp, #-12]
	ldr	r3, .L15+4
	ldr	r3, [r3]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	blx	r3
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	ind_fib1
	.word	ind_fib2
	.size	do_fib1, .-do_fib1
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r1, .L19
	mov	r0, #1
	bl	do_fib1
	str	r0, [fp, #-20]
	ldr	r1, .L19
	mov	r0, #1
	bl	do_fib1
	str	r0, [fp, #-16]
	ldr	r1, .L19+4
	mov	r0, #1000
	bl	do_fib1
	str	r0, [fp, #-12]
	ldr	r1, .L19+4
	mov	r0, #1000
	bl	do_fib1
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	do_glbl_buffer
	.word	do_alloc
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
