	.file	"804210.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
	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	DWORD PTR -24[rbp], r9d
	cmp	DWORD PTR -4[rbp], 1
	je	.L2
	cmp	DWORD PTR -4[rbp], 2
	je	.L3
	jmp	.L26
.L2:
	mov	eax, 1
	jmp	.L5
.L3:
	mov	eax, 2
	jmp	.L5
.L26:
	cmp	DWORD PTR -8[rbp], 3
	je	.L6
	cmp	DWORD PTR -8[rbp], 4
	je	.L7
	nop
	cmp	DWORD PTR -20[rbp], 0
	jne	.L9
	jmp	.L27
.L6:
	mov	eax, 4
	jmp	.L5
.L7:
	mov	eax, 3
	jmp	.L5
.L27:
	mov	eax, 1
	jmp	.L5
.L9:
	cmp	DWORD PTR -24[rbp], 0
	jne	.L10
	mov	eax, 1
	jmp	.L5
.L10:
	cmp	DWORD PTR 16[rbp], 0
	je	.L11
	cmp	DWORD PTR 16[rbp], 1
	je	.L12
	jmp	.L28
.L11:
	mov	eax, 1
	jmp	.L5
.L12:
	mov	eax, 2
	jmp	.L5
.L28:
	cmp	DWORD PTR 24[rbp], 0
	je	.L14
	cmp	DWORD PTR 24[rbp], 1
	je	.L15
	jmp	.L29
.L14:
	mov	eax, 1
	jmp	.L5
.L15:
	mov	eax, 2
	jmp	.L5
.L29:
	cmp	DWORD PTR 32[rbp], 3
	je	.L17
	cmp	DWORD PTR 32[rbp], 3
	ja	.L18
	cmp	DWORD PTR 32[rbp], 0
	je	.L19
	cmp	DWORD PTR 32[rbp], 1
	je	.L20
	jmp	.L18
.L19:
	mov	eax, 1
	jmp	.L5
.L20:
	mov	eax, 2
	jmp	.L5
.L17:
	mov	eax, 3
	jmp	.L5
.L18:
	cmp	DWORD PTR 40[rbp], 3
	je	.L21
	cmp	DWORD PTR 40[rbp], 3
	ja	.L22
	cmp	DWORD PTR 40[rbp], 0
	je	.L23
	cmp	DWORD PTR 40[rbp], 1
	je	.L24
	jmp	.L22
.L23:
	mov	eax, 1
	jmp	.L5
.L24:
	mov	eax, 2
	jmp	.L5
.L21:
	mov	eax, 3
	jmp	.L5
.L22:
	mov	eax, 0
.L5:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	foo, .-foo
	.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	"804210.c"
	.text
	.align	2
	.global	foo
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo, %function
foo:
	@ args = 24, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	beq	.L2
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	beq	.L3
	b	.L26
.L2:
	mov	r3, #1
	b	.L5
.L3:
	mov	r3, #2
	b	.L5
.L26:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	beq	.L6
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	beq	.L7
	nop
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bne	.L9
	b	.L27
.L6:
	mov	r3, #4
	b	.L5
.L7:
	mov	r3, #3
	b	.L5
.L27:
	mov	r3, #1
	b	.L5
.L9:
	ldr	r3, [fp, #8]
	cmp	r3, #0
	bne	.L10
	mov	r3, #1
	b	.L5
.L10:
	ldr	r3, [fp, #12]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #12]
	cmp	r3, #1
	beq	.L12
	b	.L28
.L11:
	mov	r3, #1
	b	.L5
.L12:
	mov	r3, #2
	b	.L5
.L28:
	ldr	r3, [fp, #16]
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #16]
	cmp	r3, #1
	beq	.L15
	b	.L29
.L14:
	mov	r3, #1
	b	.L5
.L15:
	mov	r3, #2
	b	.L5
.L29:
	ldr	r3, [fp, #20]
	cmp	r3, #3
	beq	.L17
	ldr	r3, [fp, #20]
	cmp	r3, #3
	bhi	.L18
	ldr	r3, [fp, #20]
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #20]
	cmp	r3, #1
	beq	.L20
	b	.L18
.L19:
	mov	r3, #1
	b	.L5
.L20:
	mov	r3, #2
	b	.L5
.L17:
	mov	r3, #3
	b	.L5
.L18:
	ldr	r3, [fp, #24]
	cmp	r3, #3
	beq	.L21
	ldr	r3, [fp, #24]
	cmp	r3, #3
	bhi	.L22
	ldr	r3, [fp, #24]
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #24]
	cmp	r3, #1
	beq	.L24
	b	.L22
.L23:
	mov	r3, #1
	b	.L5
.L24:
	mov	r3, #2
	b	.L5
.L21:
	mov	r3, #3
	b	.L5
.L22:
	mov	r3, #0
.L5:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	foo, .-foo
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
