	.file	"534860.c"
	.intel_syntax noprefix
	.text
	.globl	foo1
	.type	foo1, @function
foo1:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	mov	eax, 3
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	foo1, .-foo1
	.globl	foo2
	.type	foo2, @function
foo2:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	cmp	eax, 1
	jg	.L4
	test	eax, eax
	jns	.L5
	jmp	.L6
.L4:
	sub	eax, 254
	cmp	eax, 1
	ja	.L6
	jmp	.L9
.L5:
	mov	eax, 1
	jmp	.L8
.L9:
	mov	eax, 2
	jmp	.L8
.L6:
	mov	eax, 3
.L8:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	foo2, .-foo2
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 10
	call	foo1
	cmp	eax, 3
	je	.L11
	call	abort@PLT
.L11:
	mov	edi, 10
	call	foo2
	cmp	eax, 3
	je	.L12
	call	abort@PLT
.L12:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE2:
	.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	"534860.c"
	.text
	.align	2
	.global	foo1
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo1, %function
foo1:
	@ 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
	mov	r3, r0
	strb	r3, [fp, #-5]
	mov	r3, #3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	foo1, .-foo1
	.align	2
	.global	foo2
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo2, %function
foo2:
	@ 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
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #1
	bgt	.L4
	cmp	r3, #0
	bge	.L5
	b	.L6
.L4:
	sub	r3, r3, #254
	cmp	r3, #1
	bhi	.L6
	b	.L9
.L5:
	mov	r3, #1
	b	.L8
.L9:
	mov	r3, #2
	b	.L8
.L6:
	mov	r3, #3
.L8:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	foo2, .-foo2
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #10
	bl	foo1
	mov	r3, r0
	cmp	r3, #3
	beq	.L11
	bl	abort
.L11:
	mov	r0, #10
	bl	foo2
	mov	r3, r0
	cmp	r3, #3
	beq	.L12
	bl	abort
.L12:
	mov	r0, #0
	bl	exit
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
