	.file	"86507.c"
	.intel_syntax noprefix
	.text
	.globl	function_v3
	.type	function_v3, @function
function_v3:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR state.5[rip]
	test	eax, eax
	je	.L2
	cmp	eax, 15
	je	.L3
	jmp	.L4
.L2:
	mov	DWORD PTR i.4[rip], 0
	jmp	.L5
.L7:
	mov	DWORD PTR state.5[rip], 15
	mov	eax, DWORD PTR i.4[rip]
	jmp	.L1
.L3:
	mov	eax, DWORD PTR i.4[rip]
	add	eax, 1
	mov	DWORD PTR i.4[rip], eax
.L5:
	mov	eax, DWORD PTR i.4[rip]
	cmp	eax, 9
	jle	.L7
.L4:
.L1:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	function_v3, .-function_v3
	.globl	function_v2
	.type	function_v2, @function
function_v2:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR state.3[rip]
	test	eax, eax
	je	.L9
	cmp	eax, 1
	je	.L10
	jmp	.L11
.L9:
	mov	DWORD PTR i.2[rip], 0
	jmp	.L12
.L14:
	mov	DWORD PTR state.3[rip], 1
	mov	eax, DWORD PTR i.2[rip]
	jmp	.L8
.L10:
	mov	eax, DWORD PTR i.2[rip]
	add	eax, 1
	mov	DWORD PTR i.2[rip], eax
.L12:
	mov	eax, DWORD PTR i.2[rip]
	cmp	eax, 9
	jle	.L14
.L11:
.L8:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	function_v2, .-function_v2
	.globl	function_v1
	.type	function_v1, @function
function_v1:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR state.1[rip]
	test	eax, eax
	je	.L23
	cmp	eax, 1
	je	.L24
	jmp	.L18
.L23:
	nop
.L18:
	mov	DWORD PTR i.0[rip], 0
	jmp	.L20
.L22:
	mov	DWORD PTR state.1[rip], 1
	mov	eax, DWORD PTR i.0[rip]
	jmp	.L15
.L24:
	nop
.L19:
	mov	eax, DWORD PTR i.0[rip]
	add	eax, 1
	mov	DWORD PTR i.0[rip], eax
.L20:
	mov	eax, DWORD PTR i.0[rip]
	cmp	eax, 9
	jle	.L22
.L15:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	function_v1, .-function_v1
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.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
	call	function_v3
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	call	function_v3
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	call	function_v3
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	call	function_v3
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.local	state.5
	.comm	state.5,4,4
	.local	i.4
	.comm	i.4,4,4
	.local	state.3
	.comm	state.3,4,4
	.local	i.2
	.comm	i.2,4,4
	.local	state.1
	.comm	state.1,4,4
	.local	i.0
	.comm	i.0,4,4
	.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	"86507.c"
	.text
	.align	2
	.global	function_v3
	.syntax unified
	.arm
	.fpu softvfp
	.type	function_v3, %function
function_v3:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L2
	cmp	r3, #15
	beq	.L3
	b	.L4
.L2:
	ldr	r3, .L8+4
	mov	r2, #0
	str	r2, [r3]
	b	.L5
.L7:
	ldr	r3, .L8
	mov	r2, #15
	str	r2, [r3]
	ldr	r3, .L8+4
	ldr	r3, [r3]
	b	.L1
.L3:
	ldr	r3, .L8+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L8+4
	str	r3, [r2]
.L5:
	ldr	r3, .L8+4
	ldr	r3, [r3]
	cmp	r3, #9
	ble	.L7
.L4:
.L1:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L9:
	.align	2
.L8:
	.word	state.5468
	.word	i.5467
	.size	function_v3, .-function_v3
	.align	2
	.global	function_v2
	.syntax unified
	.arm
	.fpu softvfp
	.type	function_v2, %function
function_v2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L17
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L11
	cmp	r3, #1
	beq	.L12
	b	.L13
.L11:
	ldr	r3, .L17+4
	mov	r2, #0
	str	r2, [r3]
	b	.L14
.L16:
	ldr	r3, .L17
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L17+4
	ldr	r3, [r3]
	b	.L10
.L12:
	ldr	r3, .L17+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L17+4
	str	r3, [r2]
.L14:
	ldr	r3, .L17+4
	ldr	r3, [r3]
	cmp	r3, #9
	ble	.L16
.L13:
.L10:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L18:
	.align	2
.L17:
	.word	state.5478
	.word	i.5477
	.size	function_v2, .-function_v2
	.align	2
	.global	function_v1
	.syntax unified
	.arm
	.fpu softvfp
	.type	function_v1, %function
function_v1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L29
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L27
	cmp	r3, #1
	beq	.L28
	b	.L22
.L27:
	nop
.L22:
	ldr	r3, .L29+4
	mov	r2, #0
	str	r2, [r3]
	b	.L24
.L26:
	ldr	r3, .L29
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L29+4
	ldr	r3, [r3]
	b	.L19
.L28:
	nop
.L23:
	ldr	r3, .L29+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L29+4
	str	r3, [r2]
.L24:
	ldr	r3, .L29+4
	ldr	r3, [r3]
	cmp	r3, #9
	ble	.L26
.L19:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L30:
	.align	2
.L29:
	.word	state.5488
	.word	i.5487
	.size	function_v1, .-function_v1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.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
	bl	function_v3
	str	r0, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, .L33
	bl	printf
	bl	function_v3
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, .L33
	bl	printf
	bl	function_v3
	str	r0, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, .L33
	bl	printf
	bl	function_v3
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L33
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC0
	.size	main, .-main
	.local	state.5468
	.comm	state.5468,4,4
	.local	i.5467
	.comm	i.5467,4,4
	.local	state.5478
	.comm	state.5478,4,4
	.local	i.5477
	.comm	i.5477,4,4
	.local	state.5488
	.comm	state.5488,4,4
	.local	i.5487
	.comm	i.5487,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
