	.file	"341957.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Function f was called with %i\n"
	.text
	.globl	f
	.type	f, @function
f:
.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], edi
	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]
	add	eax, eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	f, .-f
	.section	.rodata
	.align 8
.LC1:
	.string	"Function g was called with %i\n"
	.text
	.globl	g
	.type	g, @function
g:
.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	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	g, .-g
	.section	.rodata
	.align 8
.LC2:
	.string	"Function h was called with %i\n"
	.text
	.globl	h
	.type	h, @function
h:
.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	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 2
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	h, .-h
	.section	.data.rel.local,"aw"
	.align 32
	.type	function_array, @object
	.size	function_array, 32
function_array:
	.quad	0
	.quad	f
	.quad	g
	.quad	h
	.globl	my_node
	.align 16
	.type	my_node, @object
	.size	my_node, 16
my_node:
	.quad	0
	.quad	f
	.globl	global_function
	.align 8
	.type	global_function, @object
	.size	global_function, 8
global_function:
	.quad	f
	.section	.rodata
.LC3:
	.string	"No function at index %i\n"
.LC4:
	.string	"Function %i returned  %i\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	lea	rax, g[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -16[rbp], 0
	lea	rax, f[rip]
	mov	QWORD PTR -8[rbp], rax
	lea	rax, h[rip]
	mov	QWORD PTR my_node[rip+8], rax
	mov	edi, 1
	call	f
	mov	rax, QWORD PTR global_function[rip]
	mov	edi, 10
	call	rax
	mov	rax, QWORD PTR -24[rbp]
	mov	edi, 100
	call	rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edi, 1000
	call	rax
	mov	DWORD PTR -32[rbp], 0
	jmp	.L8
.L11:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, function_array[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	jne	.L9
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L9:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, function_array[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -32[rbp]
	mov	edi, eax
	call	rdx
	mov	DWORD PTR -28[rbp], eax
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	add	DWORD PTR -32[rbp], 1
.L8:
	cmp	DWORD PTR -32[rbp], 3
	jle	.L11
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"341957.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Function f was called with %i\012\000"
	.text
	.align	2
	.global	f
	.syntax unified
	.arm
	.fpu softvfp
	.type	f, %function
f:
	@ 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	r1, [fp, #-8]
	ldr	r0, .L3
	bl	printf
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.size	f, .-f
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Function g was called with %i\012\000"
	.text
	.align	2
	.global	g
	.syntax unified
	.arm
	.fpu softvfp
	.type	g, %function
g:
	@ 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	r1, [fp, #-8]
	ldr	r0, .L7
	bl	printf
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC1
	.size	g, .-g
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Function h was called with %i\012\000"
	.text
	.align	2
	.global	h
	.syntax unified
	.arm
	.fpu softvfp
	.type	h, %function
h:
	@ 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	r1, [fp, #-8]
	ldr	r0, .L11
	bl	printf
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC2
	.size	h, .-h
	.data
	.align	2
	.type	function_array, %object
	.size	function_array, 16
function_array:
	.word	0
	.word	f
	.word	g
	.word	h
	.global	my_node
	.align	2
	.type	my_node, %object
	.size	my_node, 8
my_node:
	.word	0
	.word	f
	.global	global_function
	.align	2
	.type	global_function, %object
	.size	global_function, 4
global_function:
	.word	f
	.section	.rodata
	.align	2
.LC3:
	.ascii	"No function at index %i\012\000"
	.align	2
.LC4:
	.ascii	"Function %i returned  %i\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L19
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L19+4
	str	r3, [fp, #-8]
	ldr	r3, .L19+8
	ldr	r2, .L19+12
	str	r2, [r3, #4]
	mov	r0, #1
	bl	f
	ldr	r3, .L19+16
	ldr	r3, [r3]
	mov	r0, #10
	blx	r3
	ldr	r3, [fp, #-20]
	mov	r0, #100
	blx	r3
	ldr	r3, [fp, #-8]
	mov	r0, #1000
	blx	r3
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L14
.L17:
	ldr	r2, .L19+20
	ldr	r3, [fp, #-24]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L15
	ldr	r1, [fp, #-24]
	ldr	r0, .L19+24
	bl	printf
	b	.L16
.L15:
	ldr	r2, .L19+20
	ldr	r3, [fp, #-24]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r0, [fp, #-24]
	blx	r3
	str	r0, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-24]
	ldr	r0, .L19+28
	bl	printf
.L16:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L14:
	ldr	r3, [fp, #-24]
	cmp	r3, #3
	ble	.L17
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	g
	.word	f
	.word	my_node
	.word	h
	.word	global_function
	.word	function_array
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
