	.file	"62637064.c"
	.intel_syntax noprefix
	.text
	.globl	foo
	.type	foo, @function
foo:
.LFB0:
	.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	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	DWORD PTR -16[rbp], ecx
	mov	DWORD PTR -20[rbp], r8d
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	putint@PLT
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	putint@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	putint@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	putint@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	putint@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	foo, .-foo
	.globl	f
	.type	f, @function
f:
.LFB1:
	.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	eax, DWORD PTR -4[rbp]
	add	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	f, .-f
	.globl	g
	.type	g, @function
g:
.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	eax, edi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 0
	jne	.L5
	mov	eax, 1
	jmp	.L6
.L5:
	movzx	eax, BYTE PTR -4[rbp]
	sub	eax, 1
	movsx	eax, al
	mov	edi, eax
	call	g
	add	eax, eax
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	g, .-g
	.globl	main
	.type	main, @function
main:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 24
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	r8d, 4
	mov	ecx, 3
	mov	edx, 2
	mov	esi, 1
	mov	edi, 0
	call	foo
	mov	DWORD PTR -52[rbp], 5
	mov	eax, DWORD PTR -52[rbp]
	add	eax, eax
	lea	edi, -1[rax]
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	lea	ecx, [rax+rax]
	mov	eax, DWORD PTR -52[rbp]
	lea	edx, 2[rax]
	mov	eax, DWORD PTR -52[rbp]
	lea	esi, 1[rax]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8d, edi
	mov	edi, eax
	call	foo
	mov	edi, 2
	call	g
	movsx	r13d, al
	mov	edi, 0
	call	f
	mov	edi, eax
	call	f
	mov	edi, eax
	call	f
	mov	r12d, eax
	mov	edi, 0
	call	f
	mov	edi, eax
	call	f
	mov	ebx, eax
	mov	edi, 0
	call	f
	mov	r8d, r13d
	mov	ecx, r12d
	mov	edx, ebx
	mov	esi, eax
	mov	edi, 0
	call	foo
	mov	edi, 4
	call	g
	movsx	eax, al
	lea	r14d, -7[rax]
	mov	edi, 3
	call	g
	movsx	ebx, al
	mov	edi, 0
	call	g
	movsx	r12d, al
	mov	edi, 1
	call	g
	movsx	eax, al
	add	r12d, eax
	mov	edi, 2
	call	g
	movsx	eax, al
	lea	r13d, [r12+rax]
	mov	edi, 2
	call	g
	movsx	r12d, al
	mov	edi, 1
	call	g
	movsx	eax, al
	add	r12d, eax
	mov	edi, 2
	call	g
	movsx	r15d, al
	mov	edi, 0
	call	g
	movsx	eax, al
	add	eax, r15d
	mov	r8d, r14d
	mov	ecx, ebx
	mov	edx, r13d
	mov	esi, r12d
	mov	edi, eax
	call	foo
	mov	eax, 0
	add	rsp, 24
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"62637064.c"
	.text
	.align	2
	.global	foo
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo, %function
foo:
	@ args = 4, 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-8]
	bl	putint
	ldr	r0, [fp, #-12]
	bl	putint
	ldr	r0, [fp, #-16]
	bl	putint
	ldr	r0, [fp, #-20]
	bl	putint
	ldr	r0, [fp, #4]
	bl	putint
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	foo, .-foo
	.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
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	f, .-f
	.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
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
	mov	r3, #1
	b	.L6
.L5:
	ldrb	r3, [fp, #-5]
	sub	r3, r3, #1
	and	r3, r3, #255
	mov	r0, r3
	bl	g
	mov	r3, r0
	lsl	r3, r3, #1
	and	r3, r3, #255
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	g, .-g
	.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	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	mov	r3, #4
	str	r3, [sp]
	mov	r3, #3
	mov	r2, #2
	mov	r1, #1
	mov	r0, #0
	bl	foo
	mov	r3, #5
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	add	r1, r3, #1
	ldr	r3, [fp, #-24]
	add	r2, r3, #2
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	lsl	r0, r3, #1
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #1
	sub	r3, r3, #1
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, [fp, #-24]
	bl	foo
	mov	r0, #0
	bl	f
	mov	r4, r0
	mov	r0, #0
	bl	f
	mov	r3, r0
	mov	r0, r3
	bl	f
	mov	r5, r0
	mov	r0, #0
	bl	f
	mov	r3, r0
	mov	r0, r3
	bl	f
	mov	r3, r0
	mov	r0, r3
	bl	f
	mov	r6, r0
	mov	r0, #2
	bl	g
	mov	r3, r0
	str	r3, [sp]
	mov	r3, r6
	mov	r2, r5
	mov	r1, r4
	mov	r0, #0
	bl	foo
	mov	r0, #2
	bl	g
	mov	r3, r0
	mov	r4, r3
	mov	r0, #0
	bl	g
	mov	r3, r0
	add	r5, r4, r3
	mov	r0, #2
	bl	g
	mov	r3, r0
	mov	r4, r3
	mov	r0, #1
	bl	g
	mov	r3, r0
	add	r6, r4, r3
	mov	r0, #0
	bl	g
	mov	r3, r0
	mov	r4, r3
	mov	r0, #1
	bl	g
	mov	r3, r0
	add	r4, r4, r3
	mov	r0, #2
	bl	g
	mov	r3, r0
	add	r4, r4, r3
	mov	r0, #3
	bl	g
	mov	r3, r0
	mov	r7, r3
	mov	r0, #4
	bl	g
	mov	r3, r0
	sub	r3, r3, #7
	str	r3, [sp]
	mov	r3, r7
	mov	r2, r4
	mov	r1, r6
	mov	r0, r5
	bl	foo
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
