	.file	"793798.c"
	.intel_syntax noprefix
	.text
	.globl	f
	.type	f, @function
f:
.LFB0:
	.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
	sub	rsp, 48
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	DWORD PTR -68[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -68[rbp], 1
	je	.L2
	cmp	DWORD PTR -68[rbp], 2
	je	.L3
	jmp	.L4
.L2:
	mov	edi, 0
	call	bar@PLT
.L3:
	mov	edi, 99
	call	bar@PLT
.L4:
	cmp	DWORD PTR -68[rbp], 1
	je	.L5
	cmp	DWORD PTR -68[rbp], 2
	je	.L6
	jmp	.L7
.L5:
	mov	rax, rsp
	mov	rsi, rax
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -56[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ecx, 16
	mov	edx, 0
	div	rcx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L8:
	cmp	rsp, rdx
	je	.L9
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L8
.L9:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L10
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L10:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -48[rbp], rax
	mov	rsp, rsi
.L6:
	mov	edi, 99
	call	bar@PLT
.L7:
	cmp	DWORD PTR -68[rbp], 1
	je	.L11
	cmp	DWORD PTR -68[rbp], 2
	je	.L12
	jmp	.L13
.L11:
	mov	DWORD PTR -64[rbp], 0
	jmp	.L14
.L15:
	mov	rdx, QWORD PTR map[rip]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR -64[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -64[rbp], 1
.L14:
	cmp	DWORD PTR -64[rbp], 9
	jle	.L15
.L12:
	mov	edi, 99
	call	bar@PLT
.L13:
	cmp	DWORD PTR -68[rbp], 1
	je	.L16
	cmp	DWORD PTR -68[rbp], 2
	je	.L17
	jmp	.L18
.L37:
	nop
.L16:
	mov	edi, 2
	call	bar@PLT
	sub	DWORD PTR -68[rbp], 1
	cmp	DWORD PTR -68[rbp], 0
	jne	.L37
.L17:
	mov	edi, 99
	call	bar@PLT
.L18:
	cmp	DWORD PTR -68[rbp], 5
	je	.L19
	cmp	DWORD PTR -68[rbp], 5
	jg	.L20
	cmp	DWORD PTR -68[rbp], 1
	je	.L21
	cmp	DWORD PTR -68[rbp], 2
	je	.L22
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -68[rbp]
	add	eax, 2
	cmp	eax, 4
	jne	.L19
	mov	edi, 1
	call	bar@PLT
.L19:
	mov	edi, 5
	call	bar@PLT
	jmp	.L1
.L22:
	mov	edi, 99
	call	bar@PLT
.L20:
	cmp	DWORD PTR -68[rbp], 1
	je	.L24
	cmp	DWORD PTR -68[rbp], 2
	je	.L25
	jmp	.L26
.L24:
	mov	eax, DWORD PTR -68[rbp]
	and	eax, 1
	test	eax, eax
	je	.L25
	mov	edi, 23
	call	bar@PLT
	jmp	.L26
.L25:
	mov	edi, 99
	call	bar@PLT
.L26:
	cmp	DWORD PTR -68[rbp], 1
	je	.L27
	cmp	DWORD PTR -68[rbp], 2
	je	.L28
	jmp	.L29
.L27:
	cmp	DWORD PTR -68[rbp], 9
	jle	.L28
	mov	edi, 9
	call	bar@PLT
	cmp	DWORD PTR -68[rbp], 10
	jne	.L28
	mov	edi, 10
	call	bar@PLT
	jmp	.L29
.L28:
	mov	edi, 99
	call	bar@PLT
.L29:
	cmp	DWORD PTR -68[rbp], 1
	je	.L30
	cmp	DWORD PTR -68[rbp], 2
	je	.L31
	jmp	.L32
.L30:
	call	bar2@PLT
	mov	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -60[rbp], 0
	jne	.L38
.L31:
	mov	edi, 99
	call	bar@PLT
	jmp	.L32
.L38:
	nop
.L32:
	cmp	DWORD PTR -68[rbp], 1
	je	.L33
	cmp	DWORD PTR -68[rbp], 2
	je	.L34
	jmp	.L1
.L33:
	call	bar2@PLT
	mov	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -60[rbp], 0
	jne	.L39
	cmp	DWORD PTR -68[rbp], 0
	je	.L40
.L34:
	mov	edi, 99
	call	bar@PLT
	jmp	.L1
.L39:
	nop
	jmp	.L1
.L40:
	nop
.L1:
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	lea	rsp, -32[rbp]
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	f, .-f
	.data
	.align 4
	.type	i.0, @object
	.size	i.0, 4
i.0:
	.long	10
	.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	"793798.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	f
	.syntax unified
	.arm
	.fpu softvfp
	.type	f, %function
f:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	beq	.L2
	ldr	r3, [fp, #-32]
	cmp	r3, #2
	beq	.L3
	b	.L4
.L2:
	mov	r0, #0
	bl	bar
.L3:
	mov	r0, #99
	bl	bar
.L4:
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	beq	.L5
	ldr	r3, [fp, #-32]
	cmp	r3, #2
	beq	.L6
	b	.L7
.L5:
	mov	r3, sp
	mov	lr, r3
	ldr	ip, [fp, #-32]
	sub	r3, ip, #1
	str	r3, [fp, #-20]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-16]
	mov	sp, lr
.L6:
	mov	r0, #99
	bl	bar
.L7:
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	beq	.L8
	ldr	r3, [fp, #-32]
	cmp	r3, #2
	beq	.L9
	b	.L10
.L8:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L11
.L12:
	ldr	r3, .L38+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L11:
	ldr	r3, [fp, #-24]
	cmp	r3, #9
	ble	.L12
.L9:
	mov	r0, #99
	bl	bar
.L10:
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	beq	.L13
	ldr	r3, [fp, #-32]
	cmp	r3, #2
	beq	.L14
	b	.L15
.L34:
	nop
.L13:
	mov	r0, #2
	bl	bar
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L34
.L14:
	mov	r0, #99
	bl	bar
.L15:
	ldr	r3, [fp, #-32]
	cmp	r3, #5
	beq	.L16
	ldr	r3, [fp, #-32]
	cmp	r3, #5
	bgt	.L17
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	beq	.L18
	ldr	r3, [fp, #-32]
	cmp	r3, #2
	beq	.L19
	b	.L17
.L18:
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	cmp	r3, #4
	bne	.L16
	mov	r0, #1
	bl	bar
.L16:
	mov	r0, #5
	bl	bar
	b	.L1
.L19:
	mov	r0, #99
	bl	bar
.L17:
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	beq	.L21
	ldr	r3, [fp, #-32]
	cmp	r3, #2
	beq	.L22
	b	.L23
.L21:
	ldr	r3, [fp, #-32]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L22
	mov	r0, #23
	bl	bar
	b	.L23
.L22:
	mov	r0, #99
	bl	bar
.L23:
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	beq	.L24
	ldr	r3, [fp, #-32]
	cmp	r3, #2
	beq	.L25
	b	.L26
.L24:
	ldr	r3, [fp, #-32]
	cmp	r3, #9
	ble	.L25
	mov	r0, #9
	bl	bar
	ldr	r3, [fp, #-32]
	cmp	r3, #10
	bne	.L25
	mov	r0, #10
	bl	bar
	b	.L26
.L25:
	mov	r0, #99
	bl	bar
.L26:
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	beq	.L27
	ldr	r3, [fp, #-32]
	cmp	r3, #2
	beq	.L28
	b	.L29
.L27:
	bl	bar2
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L35
.L28:
	mov	r0, #99
	bl	bar
	b	.L29
.L35:
	nop
.L29:
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	beq	.L30
	ldr	r3, [fp, #-32]
	cmp	r3, #2
	beq	.L31
	b	.L1
.L30:
	bl	bar2
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L36
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L37
.L31:
	mov	r0, #99
	bl	bar
	b	.L1
.L36:
	nop
	b	.L1
.L37:
	nop
.L1:
	ldr	r3, .L38
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC0
	.word	map
	.size	f, .-f
	.data
	.align	2
	.type	i.4203, %object
	.size	i.4203, 4
i.4203:
	.word	10
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
