	.file	"10022.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Alan"
.LC1:
	.string	"Frank"
.LC2:
	.string	"Mary"
.LC3:
	.string	"John"
.LC4:
	.string	"Lisa"
.LC5:
	.string	"%s has %d years alive. \n"
.LC6:
	.string	"----"
.LC7:
	.string	"%s is %d years old. \n"
.LC8:
	.string	"%s is %d years old again. \n"
.LC9:
	.string	"%s lived %d years so far. \n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	DWORD PTR -116[rbp], edi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -80[rbp], 23
	mov	DWORD PTR -76[rbp], 43
	mov	DWORD PTR -72[rbp], 12
	mov	DWORD PTR -68[rbp], 89
	mov	DWORD PTR -64[rbp], 2
	lea	rax, .LC0[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC2[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -100[rbp], 5
	mov	DWORD PTR -104[rbp], 0
	mov	DWORD PTR -104[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	mov	edx, DWORD PTR -80[rbp+rax*4]
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	mov	rax, QWORD PTR -48[rbp+rax*8]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -104[rbp], 1
.L2:
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L3
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, -80[rbp]
	mov	QWORD PTR -96[rbp], rax
	lea	rax, -48[rbp]
	mov	QWORD PTR -88[rbp], rax
	mov	DWORD PTR -104[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -104[rbp], 1
.L4:
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L5
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	DWORD PTR -104[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -104[rbp], 1
.L6:
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L7
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, -48[rbp]
	mov	QWORD PTR -88[rbp], rax
	lea	rax, -80[rbp]
	mov	QWORD PTR -96[rbp], rax
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -88[rbp], 8
	add	QWORD PTR -96[rbp], 4
.L8:
	lea	rdx, -80[rbp]
	mov	rax, QWORD PTR -96[rbp]
	sub	rax, rdx
	sar	rax, 2
	mov	rdx, rax
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	cmp	rdx, rax
	jl	.L9
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"10022.c"
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Alan\000"
	.align	2
.LC2:
	.ascii	"Frank\000"
	.align	2
.LC3:
	.ascii	"Mary\000"
	.align	2
.LC4:
	.ascii	"John\000"
	.align	2
.LC5:
	.ascii	"Lisa\000"
	.text
	.section	.rodata
	.align	2
.LC8:
	.ascii	"%s has %d years alive. \012\000"
	.align	2
.LC9:
	.ascii	"----\000"
	.align	2
.LC10:
	.ascii	"%s is %d years old. \012\000"
	.align	2
.LC11:
	.ascii	"%s is %d years old again. \012\000"
	.align	2
.LC12:
	.ascii	"%s lived %d years so far. \012\000"
	.align	2
.LC0:
	.word	23
	.word	43
	.word	12
	.word	89
	.word	2
	.align	2
.LC7:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L12+4
	sub	ip, fp, #48
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r3, .L12+8
	sub	ip, fp, #28
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	mov	r3, #5
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L2
.L3:
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-24]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	mov	r2, r3
	ldr	r0, .L12+12
	bl	printf
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L2:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L3
	ldr	r0, .L12+16
	bl	puts
	sub	r3, fp, #48
	str	r3, [fp, #-60]
	sub	r3, fp, #28
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L4
.L5:
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L12+20
	bl	printf
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L4:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L5
	ldr	r0, .L12+16
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L6
.L7:
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L12+24
	bl	printf
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L6:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L7
	ldr	r0, .L12+16
	bl	puts
	sub	r3, fp, #28
	str	r3, [fp, #-56]
	sub	r3, fp, #48
	str	r3, [fp, #-60]
	b	.L8
.L9:
	ldr	r3, [fp, #-56]
	ldr	r1, [r3]
	ldr	r3, [fp, #-60]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L12+28
	bl	printf
	ldr	r3, [fp, #-56]
	add	r3, r3, #4
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	str	r3, [fp, #-60]
.L8:
	sub	r3, fp, #48
	ldr	r2, [fp, #-60]
	sub	r3, r2, r3
	asr	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-52]
	cmp	r3, r2
	bgt	.L9
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC13
	.word	.LC0
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
