	.file	"242331700.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Address of alloc on device different from host address."
	.align 8
.LC1:
	.string	"Address of data on device different from host address."
.LC2:
	.string	"Succeeded"
.LC3:
	.string	"Failed"
	.align 8
.LC4:
	.string	"Alloc host values not updated: %s\n"
	.align 8
.LC5:
	.string	"Data host values not updated: %s\n"
	.align 8
.LC6:
	.string	"Alloc device values are correct: %s\n"
	.align 8
.LC7:
	.string	"Data device values are correct: %s\n"
	.align 8
.LC8:
	.string	"Alloc host values updated: %s\n"
.LC9:
	.string	"Data host values updated: %s\n"
.LC10:
	.string	"Done!"
	.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
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	add	rsp, -128
	mov	DWORD PTR -4212[rbp], edi
	mov	QWORD PTR -4224[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 4096
	call	malloc@PLT
	mov	QWORD PTR -4152[rbp], rax
	mov	DWORD PTR -4192[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4192[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -4152[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 10
	mov	eax, DWORD PTR -4192[rbp]
	cdqe
	mov	DWORD PTR -4112[rbp+rax*4], 1
	add	DWORD PTR -4192[rbp], 1
.L2:
	cmp	DWORD PTR -4192[rbp], 1023
	jle	.L3
	lea	rax, -4112[rbp]
	mov	QWORD PTR -4144[rbp], rax
	mov	rax, QWORD PTR -4152[rbp]
	mov	QWORD PTR -4136[rbp], rax
	lea	rax, -4112[rbp]
	mov	QWORD PTR -4128[rbp], rax
	mov	rax, QWORD PTR -4152[rbp]
	mov	QWORD PTR -4120[rbp], rax
	mov	DWORD PTR -4188[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -4188[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -4152[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4188[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -4152[rbp]
	add	rax, rcx
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -4188[rbp]
	cdqe
	mov	eax, DWORD PTR -4112[rbp+rax*4]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -4188[rbp]
	cdqe
	mov	DWORD PTR -4112[rbp+rax*4], edx
	add	DWORD PTR -4188[rbp], 1
.L4:
	cmp	DWORD PTR -4188[rbp], 1023
	jle	.L5
	mov	rax, QWORD PTR -4120[rbp]
	cmp	rax, QWORD PTR -4136[rbp]
	je	.L6
	lea	rdi, .LC0[rip]
	call	puts@PLT
.L6:
	mov	rax, QWORD PTR -4128[rbp]
	cmp	rax, QWORD PTR -4144[rbp]
	je	.L7
	lea	rdi, .LC1[rip]
	call	puts@PLT
.L7:
	mov	DWORD PTR -4196[rbp], 0
	mov	DWORD PTR -4184[rbp], 0
	jmp	.L8
.L10:
	mov	eax, DWORD PTR -4184[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -4152[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 10
	je	.L9
	add	DWORD PTR -4196[rbp], 1
.L9:
	add	DWORD PTR -4184[rbp], 1
.L8:
	cmp	DWORD PTR -4184[rbp], 1023
	jle	.L10
	cmp	DWORD PTR -4196[rbp], 0
	jne	.L11
	lea	rax, .LC2[rip]
	jmp	.L12
.L11:
	lea	rax, .LC3[rip]
.L12:
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4196[rbp], 0
	mov	DWORD PTR -4180[rbp], 0
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -4180[rbp]
	cdqe
	mov	eax, DWORD PTR -4112[rbp+rax*4]
	cmp	eax, 1
	je	.L14
	add	DWORD PTR -4196[rbp], 1
.L14:
	add	DWORD PTR -4180[rbp], 1
.L13:
	cmp	DWORD PTR -4180[rbp], 1023
	jle	.L15
	cmp	DWORD PTR -4196[rbp], 0
	jne	.L16
	lea	rax, .LC2[rip]
	jmp	.L17
.L16:
	lea	rax, .LC3[rip]
.L17:
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4176[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -4176[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -4152[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4176[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -4152[rbp]
	add	rax, rcx
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -4176[rbp]
	cdqe
	mov	eax, DWORD PTR -4112[rbp+rax*4]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -4176[rbp]
	cdqe
	mov	DWORD PTR -4112[rbp+rax*4], edx
	add	DWORD PTR -4176[rbp], 1
.L18:
	cmp	DWORD PTR -4176[rbp], 1023
	jle	.L19
	mov	DWORD PTR -4196[rbp], 0
	mov	DWORD PTR -4172[rbp], 0
	jmp	.L20
.L22:
	mov	eax, DWORD PTR -4172[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -4152[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L21
	add	DWORD PTR -4196[rbp], 1
.L21:
	add	DWORD PTR -4172[rbp], 1
.L20:
	cmp	DWORD PTR -4172[rbp], 1023
	jle	.L22
	cmp	DWORD PTR -4196[rbp], 0
	jne	.L23
	lea	rax, .LC2[rip]
	jmp	.L24
.L23:
	lea	rax, .LC3[rip]
.L24:
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4196[rbp], 0
	mov	DWORD PTR -4168[rbp], 0
	jmp	.L25
.L27:
	mov	eax, DWORD PTR -4168[rbp]
	cdqe
	mov	eax, DWORD PTR -4112[rbp+rax*4]
	cmp	eax, 2
	je	.L26
	add	DWORD PTR -4196[rbp], 1
.L26:
	add	DWORD PTR -4168[rbp], 1
.L25:
	cmp	DWORD PTR -4168[rbp], 1023
	jle	.L27
	cmp	DWORD PTR -4196[rbp], 0
	jne	.L28
	lea	rax, .LC2[rip]
	jmp	.L29
.L28:
	lea	rax, .LC3[rip]
.L29:
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4164[rbp], 0
	jmp	.L30
.L31:
	mov	eax, DWORD PTR -4164[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -4152[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4164[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -4152[rbp]
	add	rax, rcx
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -4164[rbp]
	cdqe
	mov	eax, DWORD PTR -4112[rbp+rax*4]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -4164[rbp]
	cdqe
	mov	DWORD PTR -4112[rbp+rax*4], edx
	add	DWORD PTR -4164[rbp], 1
.L30:
	cmp	DWORD PTR -4164[rbp], 1023
	jle	.L31
	mov	DWORD PTR -4196[rbp], 0
	mov	DWORD PTR -4160[rbp], 0
	jmp	.L32
.L34:
	mov	eax, DWORD PTR -4160[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -4152[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 12
	je	.L33
	add	DWORD PTR -4196[rbp], 1
.L33:
	add	DWORD PTR -4160[rbp], 1
.L32:
	cmp	DWORD PTR -4160[rbp], 1023
	jle	.L34
	cmp	DWORD PTR -4196[rbp], 0
	jne	.L35
	lea	rax, .LC2[rip]
	jmp	.L36
.L35:
	lea	rax, .LC3[rip]
.L36:
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4196[rbp], 0
	mov	DWORD PTR -4156[rbp], 0
	jmp	.L37
.L39:
	mov	eax, DWORD PTR -4156[rbp]
	cdqe
	mov	eax, DWORD PTR -4112[rbp+rax*4]
	cmp	eax, 3
	je	.L38
	add	DWORD PTR -4196[rbp], 1
.L38:
	add	DWORD PTR -4156[rbp], 1
.L37:
	cmp	DWORD PTR -4156[rbp], 1023
	jle	.L39
	cmp	DWORD PTR -4196[rbp], 0
	jne	.L40
	lea	rax, .LC2[rip]
	jmp	.L41
.L40:
	lea	rax, .LC3[rip]
.L41:
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -4152[rbp]
	mov	rdi, rax
	call	free@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	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	"242331700.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Address of alloc on device different from host addr"
	.ascii	"ess.\000"
	.align	2
.LC1:
	.ascii	"Address of data on device different from host addre"
	.ascii	"ss.\000"
	.align	2
.LC2:
	.ascii	"Succeeded\000"
	.align	2
.LC3:
	.ascii	"Failed\000"
	.align	2
.LC4:
	.ascii	"Alloc host values not updated: %s\012\000"
	.align	2
.LC5:
	.ascii	"Data host values not updated: %s\012\000"
	.align	2
.LC6:
	.ascii	"Alloc device values are correct: %s\012\000"
	.align	2
.LC7:
	.ascii	"Data device values are correct: %s\012\000"
	.align	2
.LC8:
	.ascii	"Alloc host values updated: %s\012\000"
	.align	2
.LC9:
	.ascii	"Data host values updated: %s\012\000"
	.align	2
.LC10:
	.ascii	"Done!\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4160
	sub	sp, sp, #20
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-76]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-80]
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, #4096
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #-24]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-64]
	b	.L2
.L3:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-24]
	add	r3, r2, r3
	mov	r2, #10
	str	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	add	r3, r3, #1
	str	r3, [r2, #-64]
.L2:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	cmp	r3, #1024
	blt	.L3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	str	r3, [r2, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	str	r3, [r2, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-60]
	b	.L4
.L5:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-24]
	add	r3, r2, r3
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	lsl	r3, r3, #2
	sub	r1, fp, #4096
	sub	r1, r1, #12
	ldr	r1, [r1, #-24]
	add	r3, r1, r3
	add	r2, r2, #1
	str	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	add	r2, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	add	r3, r3, #1
	str	r3, [r2, #-60]
.L4:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	cmp	r3, #1024
	blt	.L5
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-8]
	ldr	r3, [r3, #-16]
	cmp	r2, r3
	beq	.L6
	ldr	r0, .L44+4
	bl	puts
.L6:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-12]
	ldr	r3, [r3, #-20]
	cmp	r2, r3
	beq	.L7
	ldr	r0, .L44+8
	bl	puts
.L7:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-68]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-56]
	b	.L8
.L10:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-56]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #10
	beq	.L9
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	add	r3, r3, #1
	str	r3, [r2, #-68]
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-56]
	add	r3, r3, #1
	str	r3, [r2, #-56]
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-56]
	cmp	r3, #1024
	blt	.L10
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #0
	bne	.L11
	ldr	r3, .L44+12
	b	.L12
.L11:
	ldr	r3, .L44+16
.L12:
	mov	r1, r3
	ldr	r0, .L44+20
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-68]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-52]
	b	.L13
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	cmp	r3, #1
	beq	.L14
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	add	r3, r3, #1
	str	r3, [r2, #-68]
.L14:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	add	r3, r3, #1
	str	r3, [r2, #-52]
.L13:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	cmp	r3, #1024
	blt	.L15
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L44+12
	b	.L17
.L16:
	ldr	r3, .L44+16
.L17:
	mov	r1, r3
	ldr	r0, .L44+24
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-48]
	b	.L18
.L19:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-24]
	add	r3, r2, r3
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	lsl	r3, r3, #2
	sub	r1, fp, #4096
	sub	r1, r1, #12
	ldr	r1, [r1, #-24]
	add	r3, r1, r3
	add	r2, r2, #1
	str	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	add	r2, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r3, r3, #1
	str	r3, [r2, #-48]
.L18:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	cmp	r3, #1024
	blt	.L19
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-68]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-44]
	b	.L20
.L22:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L21
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	add	r3, r3, #1
	str	r3, [r2, #-68]
.L21:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	add	r3, r3, #1
	str	r3, [r2, #-44]
.L20:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	cmp	r3, #1024
	blt	.L22
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #0
	bne	.L23
	ldr	r3, .L44+12
	b	.L24
.L23:
	ldr	r3, .L44+16
.L24:
	mov	r1, r3
	ldr	r0, .L44+28
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-68]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-40]
	b	.L25
.L27:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	cmp	r3, #2
	beq	.L26
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	add	r3, r3, #1
	str	r3, [r2, #-68]
.L26:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	add	r3, r3, #1
	str	r3, [r2, #-40]
.L25:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	cmp	r3, #1024
	blt	.L27
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #0
	bne	.L28
	ldr	r3, .L44+12
	b	.L29
.L28:
	ldr	r3, .L44+16
.L29:
	mov	r1, r3
	ldr	r0, .L44+32
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-36]
	b	.L30
.L31:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-24]
	add	r3, r2, r3
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	lsl	r3, r3, #2
	sub	r1, fp, #4096
	sub	r1, r1, #12
	ldr	r1, [r1, #-24]
	add	r3, r1, r3
	add	r2, r2, #1
	str	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	add	r2, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	add	r3, r3, #1
	str	r3, [r2, #-36]
.L30:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	cmp	r3, #1024
	blt	.L31
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-68]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-32]
	b	.L32
.L34:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #12
	beq	.L33
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	add	r3, r3, #1
	str	r3, [r2, #-68]
.L33:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r3, #1
	str	r3, [r2, #-32]
.L32:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	cmp	r3, #1024
	blt	.L34
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #0
	bne	.L35
	ldr	r3, .L44+12
	b	.L36
.L35:
	ldr	r3, .L44+16
.L36:
	mov	r1, r3
	ldr	r0, .L44+36
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-68]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-28]
	b	.L37
.L39:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	cmp	r3, #3
	beq	.L38
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	add	r3, r3, #1
	str	r3, [r2, #-68]
.L38:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	add	r3, r3, #1
	str	r3, [r2, #-28]
.L37:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	cmp	r3, #1024
	blt	.L39
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #0
	bne	.L40
	ldr	r3, .L44+12
	b	.L41
.L40:
	ldr	r3, .L44+16
.L41:
	mov	r1, r3
	ldr	r0, .L44+40
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-24]
	bl	free
	ldr	r0, .L44+44
	bl	puts
	mov	r3, #0
	ldr	r2, .L44
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC11
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
