	.file	"148577888.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"func1 called."
	.text
	.globl	func1
	.type	func1, @function
func1:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	func1, .-func1
	.section	.rodata
.LC1:
	.string	"func2 called with i=%hd.\n"
	.text
	.globl	func2
	.type	func2, @function
func2:
.LFB1:
	.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	eax, edi
	mov	WORD PTR -4[rbp], ax
	movsx	eax, WORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	func2, .-func2
	.section	.rodata
.LC2:
	.string	"func3 called with s=%s.\n"
	.text
	.globl	func3
	.type	func3, @function
func3:
.LFB2:
	.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	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	func3, .-func3
	.section	.rodata
	.align 8
.LC3:
	.string	"func4 called with i=%3.2f and c=%c\n"
	.text
	.globl	func4
	.type	func4, @function
func4:
.LFB3:
	.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
	movss	DWORD PTR -4[rbp], xmm0
	mov	eax, edi
	mov	BYTE PTR -8[rbp], al
	movsx	edx, BYTE PTR -8[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -4[rbp]
	movq	rax, xmm1
	mov	esi, edx
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	func4, .-func4
	.section	.rodata
.LC4:
	.string	"func5 called with array=["
.LC5:
	.string	"%d,"
.LC6:
	.string	"] and n=%d\n"
	.text
	.globl	func5
	.type	func5, @function
func5:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L8:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L9
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	func5, .-func5
	.section	.rodata
	.align 8
.LC7:
	.string	"inner function called with i=%d\n"
	.text
	.globl	inner_func
	.type	inner_func, @function
inner_func:
.LFB5:
	.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, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -4[rbp], 0
	jle	.L12
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	mov	edi, eax
	call	inner_func
.L12:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	inner_func, .-inner_func
	.section	.rodata
	.align 8
.LC8:
	.string	"outter function called with j=%d\n"
	.text
	.globl	outter_func
	.type	outter_func, @function
outter_func:
.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, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, eax
	mov	edi, eax
	call	inner_func
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	outter_func, .-outter_func
	.section	.rodata
	.align 8
.LC9:
	.string	"extern function decalaration test:"
.LC10:
	.string	"abs(-4)=%d\n"
	.text
	.globl	extern_func_declaration_test
	.type	extern_func_declaration_test, @function
extern_func_declaration_test:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 4
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	extern_func_declaration_test, .-extern_func_declaration_test
	.section	.rodata
.LC11:
	.string	"Hello"
	.align 8
.LC13:
	.string	"function decalaration: 3*5=%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	func1
	mov	edi, 3
	call	func2
	lea	rdi, .LC11[rip]
	call	func3
	mov	edi, 97
	movss	xmm0, DWORD PTR .LC12[rip]
	call	func4
	mov	DWORD PTR -48[rbp], 3
	mov	DWORD PTR -44[rbp], 4
	mov	DWORD PTR -40[rbp], 5
	mov	DWORD PTR -36[rbp], 6
	mov	DWORD PTR -32[rbp], 7
	mov	DWORD PTR -28[rbp], 8
	mov	DWORD PTR -24[rbp], 9
	mov	DWORD PTR -20[rbp], 10
	lea	rax, -48[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	func5
	mov	edi, 8
	call	outter_func
	mov	esi, 5
	mov	edi, 3
	call	func_declaration
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	extern_func_declaration_test
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.globl	func_declaration
	.type	func_declaration, @function
func_declaration:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	func_declaration, .-func_declaration
	.section	.rodata
	.align 4
.LC12:
	.long	1083179008
	.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	"148577888.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"func1 called.\000"
	.text
	.align	2
	.global	func1
	.syntax unified
	.arm
	.fpu softvfp
	.type	func1, %function
func1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L3
	bl	puts
	mov	r3, #1
	mov	r0, r3
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC1
	.size	func1, .-func1
	.section	.rodata
	.align	2
.LC2:
	.ascii	"func2 called with i=%hd.\012\000"
	.text
	.align	2
	.global	func2
	.syntax unified
	.arm
	.fpu softvfp
	.type	func2, %function
func2:
	@ 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, r0
	strh	r3, [fp, #-6]	@ movhi
	ldrsh	r3, [fp, #-6]
	mov	r1, r3
	ldr	r0, .L6
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC2
	.size	func2, .-func2
	.section	.rodata
	.align	2
.LC3:
	.ascii	"func3 called with s=%s.\012\000"
	.text
	.align	2
	.global	func3
	.syntax unified
	.arm
	.fpu softvfp
	.type	func3, %function
func3:
	@ 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, .L9
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC3
	.size	func3, .-func3
	.global	__aeabi_f2d
	.section	.rodata
	.align	2
.LC4:
	.ascii	"func4 called with i=%3.2f and c=%c\012\000"
	.text
	.align	2
	.global	func4
	.syntax unified
	.arm
	.fpu softvfp
	.type	func4, %function
func4:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]	@ float
	mov	r3, r1
	strb	r3, [fp, #-9]
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldrb	r1, [fp, #-9]	@ zero_extendqisi2
	str	r1, [sp]
	ldr	r0, .L13
	bl	printf
	ldr	r3, [fp, #-8]	@ float
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC4
	.size	func4, .-func4
	.section	.rodata
	.align	2
.LC5:
	.ascii	"func5 called with array=[\000"
	.align	2
.LC6:
	.ascii	"%d,\000"
	.align	2
.LC7:
	.ascii	"] and n=%d\012\000"
	.text
	.align	2
	.global	func5
	.syntax unified
	.arm
	.fpu softvfp
	.type	func5, %function
func5:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r0, .L18
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L16
.L17:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L18+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L16:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L17
	ldr	r1, [fp, #-20]
	ldr	r0, .L18+8
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	func5, .-func5
	.section	.rodata
	.align	2
.LC8:
	.ascii	"inner function called with i=%d\012\000"
	.text
	.align	2
	.global	inner_func
	.syntax unified
	.arm
	.fpu softvfp
	.type	inner_func, %function
inner_func:
	@ 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, .L23
	bl	printf
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L22
	ldr	r3, [fp, #-8]
	add	r2, r3, #7
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #3
	mov	r0, r3
	bl	inner_func
.L22:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC8
	.size	inner_func, .-inner_func
	.section	.rodata
	.align	2
.LC9:
	.ascii	"outter function called with j=%d\012\000"
	.text
	.align	2
	.global	outter_func
	.syntax unified
	.arm
	.fpu softvfp
	.type	outter_func, %function
outter_func:
	@ 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, .L26
	bl	printf
	ldr	r3, [fp, #-8]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	mov	r0, r3
	bl	inner_func
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC9
	.size	outter_func, .-outter_func
	.section	.rodata
	.align	2
.LC10:
	.ascii	"extern function decalaration test:\000"
	.align	2
.LC11:
	.ascii	"abs(-4)=%d\012\000"
	.text
	.align	2
	.global	extern_func_declaration_test
	.syntax unified
	.arm
	.fpu softvfp
	.type	extern_func_declaration_test, %function
extern_func_declaration_test:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L29
	bl	printf
	mov	r1, #4
	ldr	r0, .L29+4
	bl	printf
	nop
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC10
	.word	.LC11
	.size	extern_func_declaration_test, .-extern_func_declaration_test
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Hello\000"
	.align	2
.LC13:
	.ascii	"function decalaration: 3*5=%d\012\000"
	.align	2
.LC0:
	.word	3
	.word	4
	.word	5
	.word	6
	.word	7
	.word	8
	.word	9
	.word	10
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	func1
	mov	r0, #3
	bl	func2
	ldr	r0, .L34+4
	bl	func3
	mov	r1, #97
	ldr	r0, .L34+8
	bl	func4
	ldr	r3, .L34+12
	sub	ip, fp, #40
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #40
	mov	r1, #8
	mov	r0, r3
	bl	func5
	mov	r0, #8
	bl	outter_func
	mov	r1, #5
	mov	r0, #3
	bl	func_declaration
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L34+16
	bl	printf
	bl	extern_func_declaration_test
	mov	r3, #0
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC14
	.word	.LC12
	.word	1083179008
	.word	.LC0
	.word	.LC13
	.size	main, .-main
	.align	2
	.global	func_declaration
	.syntax unified
	.arm
	.fpu softvfp
	.type	func_declaration, %function
func_declaration:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	mul	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	func_declaration, .-func_declaration
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
