	.file	"154549.c"
	.intel_syntax noprefix
	.text
	.globl	x
	.data
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.long	1
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.long	1
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.long	1
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.long	1
	.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
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR x[rip]
	cmp	eax, 1
	je	.L2
	cmp	DWORD PTR -4[rbp], 2
	jne	.L3
.L2:
	mov	DWORD PTR a[rip], 1
	jmp	.L4
.L3:
	mov	DWORD PTR a[rip], 2
.L4:
	mov	eax, DWORD PTR x[rip]
	cmp	eax, 1
	jne	.L5
	cmp	DWORD PTR -4[rbp], 3
	jne	.L6
.L5:
	mov	DWORD PTR b[rip], 3
	jmp	.L7
.L6:
	mov	DWORD PTR b[rip], 4
.L7:
	cmp	DWORD PTR -4[rbp], 3
	jne	.L8
	cmp	DWORD PTR -4[rbp], 2
	jne	.L9
.L8:
	mov	DWORD PTR c[rip], 5
	jmp	.L10
.L9:
	mov	DWORD PTR c[rip], 6
.L10:
	mov	eax, DWORD PTR c[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	f, .-f
	.section	.rodata
.LC0:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L15:
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 7
	je	.L13
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	f
	mov	DWORD PTR -12[rbp], eax
	jmp	.L14
.L13:
	mov	DWORD PTR -12[rbp], 7
.L14:
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
	.cfi_endproc
.LFE1:
	.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	"154549.c"
	.text
	.global	x
	.data
	.align	2
	.type	x, %object
	.size	x, 4
x:
	.word	1
	.global	a
	.align	2
	.type	a, %object
	.size	a, 4
a:
	.word	1
	.global	b
	.align	2
	.type	b, %object
	.size	b, 4
b:
	.word	1
	.global	c
	.align	2
	.type	c, %object
	.size	c, 4
c:
	.word	1
	.text
	.align	2
	.global	f
	.syntax unified
	.arm
	.fpu softvfp
	.type	f, %function
f:
	@ 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
	str	r0, [fp, #-8]
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r3, #1
	beq	.L2
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L3
.L2:
	ldr	r3, .L12+4
	mov	r2, #1
	str	r2, [r3]
	b	.L4
.L3:
	ldr	r3, .L12+4
	mov	r2, #2
	str	r2, [r3]
.L4:
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L5
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	bne	.L6
.L5:
	ldr	r3, .L12+8
	mov	r2, #3
	str	r2, [r3]
	b	.L7
.L6:
	ldr	r3, .L12+8
	mov	r2, #4
	str	r2, [r3]
.L7:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	bne	.L8
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L9
.L8:
	ldr	r3, .L12+12
	mov	r2, #5
	str	r2, [r3]
	b	.L10
.L9:
	ldr	r3, .L12+12
	mov	r2, #6
	str	r2, [r3]
.L10:
	ldr	r3, .L12+12
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L13:
	.align	2
.L12:
	.word	x
	.word	a
	.word	b
	.word	c
	.size	f, .-f
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L17:
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L19+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	cmp	r3, #7
	beq	.L15
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	f
	str	r0, [fp, #-12]
	b	.L16
.L15:
	mov	r3, #7
	str	r3, [fp, #-12]
.L16:
	ldr	r1, [fp, #-12]
	ldr	r0, .L19+4
	bl	printf
	b	.L17
.L20:
	.align	2
.L19:
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
