	.file	"127351.c"
	.intel_syntax noprefix
	.text
	.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
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	cmp	DWORD PTR -4[rbp], 0
	jle	.L2
	cmp	DWORD PTR -8[rbp], 0
	jle	.L2
	mov	eax, DWORD PTR -8[rbp]
	neg	eax
	cmp	DWORD PTR -4[rbp], eax
	jg	.L3
.L2:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L4
	cmp	DWORD PTR -8[rbp], 0
	jns	.L4
	mov	eax, DWORD PTR -8[rbp]
	neg	eax
	cmp	DWORD PTR -4[rbp], eax
	jge	.L4
.L3:
	mov	eax, 1
	jmp	.L5
.L4:
	mov	eax, 0
.L5:
	test	eax, eax
	jne	.L8
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
.L8:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	foo, .-foo
	.globl	g_4
	.bss
	.align 4
	.type	g_4, @object
	.size	g_4, 4
g_4:
	.zero	4
	.globl	g_54
	.data
	.align 2
	.type	g_54, @object
	.size	g_54, 2
g_54:
	.value	3428
	.text
	.globl	int324
	.type	int324, @function
int324:
.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, 32
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	QWORD PTR -32[rbp], rcx
	mov	rax, QWORD PTR -32[rbp]
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, g_4[rip]
	mov	rdi, rax
	call	func_21
	mov	edx, eax
	mov	eax, DWORD PTR g_4[rip]
	mov	esi, edx
	mov	edi, eax
	call	foo
	test	eax, eax
	je	.L13
	jmp	.L11
.L12:
	movzx	eax, WORD PTR g_54[rip]
	add	eax, 1
	mov	WORD PTR g_54[rip], ax
.L11:
	movzx	eax, WORD PTR g_54[rip]
	test	ax, ax
	jne	.L12
.L13:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	int324, .-int324
	.globl	func_21
	.type	func_21, @function
func_21:
.LFB2:
	.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	QWORD PTR -48[rbp], rcx
.L15:
	cmp	DWORD PTR -36[rbp], 0
	jne	.L25
	add	DWORD PTR -36[rbp], 1
	jmp	.L15
.L25:
	nop
.L17:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L18
.L20:
	cmp	DWORD PTR -36[rbp], 0
	je	.L19
	jmp	.L15
.L19:
	add	DWORD PTR -36[rbp], 1
.L18:
	cmp	DWORD PTR -36[rbp], 8
	jbe	.L20
	jmp	.L21
.L22:
	lea	rax, foo[rip]
	mov	WORD PTR -2[rbp], ax
.L21:
	cmp	WORD PTR -2[rbp], 0
	jne	.L22
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	func_21, .-func_21
	.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	"127351.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo, %function
foo:
	@ 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]
	cmp	r3, #0
	ble	.L2
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L2
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bgt	.L3
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L4
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L4
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L4
.L3:
	mov	r3, #1
	b	.L5
.L4:
	mov	r3, #0
.L5:
	cmp	r3, #0
	bne	.L8
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
.L8:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	foo, .-foo
	.comm	g_4,4,4
	.global	g_54
	.data
	.align	2
	.type	g_54, %object
	.size	g_54, 2
g_54:
	.short	3428
	.text
	.align	2
	.global	int324
	.syntax unified
	.arm
	.fpu softvfp
	.type	int324, %function
int324:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, .L14
	ldr	r4, [r3]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L14
	ldr	r0, [fp, #-28]
	bl	func_21
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	foo
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	b	.L11
.L12:
	ldr	r3, .L14+4
	ldrh	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L14+4
	strh	r3, [r2]	@ movhi
.L11:
	ldr	r3, .L14+4
	ldrh	r3, [r3]
	cmp	r3, #0
	bne	.L12
.L13:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L15:
	.align	2
.L14:
	.word	g_4
	.word	g_54
	.size	int324, .-int324
	.align	2
	.global	func_21
	.syntax unified
	.arm
	.fpu softvfp
	.type	func_21, %function
func_21:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
.L17:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L17
.L27:
	nop
.L19:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L20
.L22:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L21
	b	.L17
.L21:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L20:
	ldr	r3, [fp, #-24]
	cmp	r3, #8
	bls	.L22
	b	.L23
.L24:
	ldr	r3, .L28
	strh	r3, [fp, #-6]	@ movhi
.L23:
	ldrh	r3, [fp, #-6]
	cmp	r3, #0
	bne	.L24
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L29:
	.align	2
.L28:
	.word	foo
	.size	func_21, .-func_21
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
