	.file	"417653.c"
	.intel_syntax noprefix
	.text
	.globl	bar
	.type	bar, @function
bar:
.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, 16
	mov	edi, 0
	call	foo@PLT
	mov	BYTE PTR -5[rbp], al
	movsx	eax, BYTE PTR -5[rbp]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 7
	jg	.L2
	cmp	DWORD PTR -4[rbp], 0
	jle	.L14
	cmp	DWORD PTR -4[rbp], 7
	ja	.L14
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L5[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L5[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L14-.L5
	.long	.L11-.L5
	.long	.L10-.L5
	.long	.L9-.L5
	.long	.L8-.L5
	.long	.L7-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
.L2:
	cmp	DWORD PTR -4[rbp], 255
	je	.L12
	jmp	.L14
.L11:
	mov	edi, 1
	call	foo@PLT
	jmp	.L13
.L10:
	mov	edi, 2
	call	foo@PLT
	jmp	.L13
.L9:
	mov	edi, 3
	call	foo@PLT
	jmp	.L13
.L8:
	mov	edi, 4
	call	foo@PLT
	jmp	.L13
.L7:
	mov	edi, 5
	call	foo@PLT
	jmp	.L13
.L6:
	mov	edi, 6
	call	foo@PLT
	jmp	.L13
.L4:
	mov	edi, 7
	call	foo@PLT
	jmp	.L13
.L12:
	mov	edi, 8
	call	foo@PLT
	jmp	.L13
.L14:
	nop
.L13:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	bar, .-bar
	.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	"417653.c"
	.text
	.align	2
	.global	bar
	.syntax unified
	.arm
	.fpu softvfp
	.type	bar, %function
bar:
	@ 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	r0, #0
	bl	foo
	mov	r3, r0
	strb	r3, [fp, #-9]
	ldrsb	r3, [fp, #-9]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	bgt	.L2
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L14
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L14
.L5:
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L4
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #255
	beq	.L12
	b	.L14
.L11:
	mov	r0, #1
	bl	foo
	b	.L13
.L10:
	mov	r0, #2
	bl	foo
	b	.L13
.L9:
	mov	r0, #3
	bl	foo
	b	.L13
.L8:
	mov	r0, #4
	bl	foo
	b	.L13
.L7:
	mov	r0, #5
	bl	foo
	b	.L13
.L6:
	mov	r0, #6
	bl	foo
	b	.L13
.L4:
	mov	r0, #7
	bl	foo
	b	.L13
.L12:
	mov	r0, #8
	bl	foo
	b	.L13
.L14:
	nop
.L13:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	bar, .-bar
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
