	.file	"150144187.c"
	.intel_syntax noprefix
	.text
	.globl	s
	.bss
	.align 2
	.type	s, @object
	.size	s, 2
s:
	.zero	2
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	l
	.align 8
	.type	l, @object
	.size	l, 8
l:
	.zero	8
	.globl	v
	.data
	.type	v, @object
	.size	v, 1
v:
	.byte	-1
	.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	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 2
	jne	.L2
	movzx	eax, WORD PTR s[rip]
	cmp	ax, 255
	je	.L2
	call	abort@PLT
.L2:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L3
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 255
	je	.L3
	call	abort@PLT
.L3:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L5
	mov	rax, QWORD PTR l[rip]
	cmp	rax, 255
	je	.L5
	call	abort@PLT
.L5:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	bar, .-bar
	.globl	foo
	.type	foo, @function
foo:
.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	movzx	eax, BYTE PTR v[rip]
	mov	BYTE PTR -1[rbp], al
	cmp	DWORD PTR -28[rbp], 2
	jne	.L7
	movzx	eax, BYTE PTR -1[rbp]
	mov	WORD PTR s[rip], ax
	jmp	.L8
.L7:
	cmp	DWORD PTR -28[rbp], 1
	jne	.L9
	movzx	eax, BYTE PTR -1[rbp]
	mov	DWORD PTR i[rip], eax
	jmp	.L8
.L9:
	cmp	DWORD PTR -28[rbp], 0
	jne	.L8
	movzx	eax, BYTE PTR -1[rbp]
	mov	QWORD PTR l[rip], rax
.L8:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	bar
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	foo, .-foo
	.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	esi, 0
	lea	rdi, v[rip]
	call	foo
	mov	esi, 1
	lea	rdi, v[rip]
	call	foo
	mov	esi, 2
	lea	rdi, v[rip]
	call	foo
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.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	"150144187.c"
	.text
	.comm	s,2,2
	.comm	i,4,4
	.comm	l,4,4
	.global	v
	.data
	.type	v, %object
	.size	v, 1
v:
	.byte	-1
	.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
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L2
	ldr	r3, .L6
	ldrh	r3, [r3]
	cmp	r3, #255
	beq	.L2
	bl	abort
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L3
	ldr	r3, .L6+4
	ldr	r3, [r3]
	cmp	r3, #255
	beq	.L3
	bl	abort
.L3:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L6+8
	ldr	r3, [r3]
	cmp	r3, #255
	beq	.L5
	bl	abort
.L5:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	s
	.word	i
	.word	l
	.size	bar, .-bar
	.align	2
	.global	foo
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo, %function
foo:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L12
	ldrb	r3, [r3]
	strb	r3, [fp, #-5]
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bne	.L9
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L12+4
	strh	r3, [r2]	@ movhi
	b	.L10
.L9:
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bne	.L11
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, .L12+8
	str	r3, [r2]
	b	.L10
.L11:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L10
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, .L12+12
	str	r3, [r2]
.L10:
	ldr	r0, [fp, #-20]
	bl	bar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	v
	.word	s
	.word	i
	.word	l
	.size	foo, .-foo
	.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	r1, #0
	ldr	r0, .L16
	bl	foo
	mov	r1, #1
	ldr	r0, .L16
	bl	foo
	mov	r1, #2
	ldr	r0, .L16
	bl	foo
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	v
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
