	.file	"517438.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"id = "
.LC1:
	.string	"%d "
.LC2:
	.string	"..."
	.text
	.globl	print_id
	.type	print_id, @function
print_id:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L2:
	cmp	DWORD PTR -4[rbp], 9
	jle	.L3
	lea	rdi, .LC2[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	print_id, .-print_id
	.section	.rodata
.LC3:
	.string	" %d %d\n"
.LC4:
	.string	"Number of accesses = %d\n"
.LC5:
	.string	"%d %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
	lea	r11, -77824[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 2224
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -80036[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -80036[rbp]
	cdqe
	mov	edx, DWORD PTR -80036[rbp]
	mov	DWORD PTR -80016[rbp+rax*4], edx
	mov	eax, DWORD PTR -80036[rbp]
	cdqe
	mov	DWORD PTR -40016[rbp+rax*4], 1
	add	DWORD PTR -80036[rbp], 1
.L5:
	cmp	DWORD PTR -80036[rbp], 9999
	jle	.L6
	jmp	.L7
.L15:
	mov	eax, DWORD PTR -80044[rbp]
	mov	DWORD PTR -80036[rbp], eax
	add	DWORD PTR -80028[rbp], 1
	jmp	.L8
.L9:
	add	DWORD PTR -80028[rbp], 3
	mov	eax, DWORD PTR -80036[rbp]
	mov	DWORD PTR -80020[rbp], eax
	mov	eax, DWORD PTR -80020[rbp]
	cdqe
	mov	eax, DWORD PTR -80016[rbp+rax*4]
	cdqe
	mov	eax, DWORD PTR -80016[rbp+rax*4]
	mov	DWORD PTR -80036[rbp], eax
	mov	eax, DWORD PTR -80020[rbp]
	cdqe
	mov	edx, DWORD PTR -80036[rbp]
	mov	DWORD PTR -80016[rbp+rax*4], edx
	mov	eax, DWORD PTR -80036[rbp]
	cdqe
	mov	eax, DWORD PTR -80016[rbp+rax*4]
	mov	DWORD PTR -80036[rbp], eax
.L8:
	mov	eax, DWORD PTR -80036[rbp]
	cdqe
	mov	eax, DWORD PTR -80016[rbp+rax*4]
	cmp	DWORD PTR -80036[rbp], eax
	jne	.L9
	mov	eax, DWORD PTR -80040[rbp]
	mov	DWORD PTR -80032[rbp], eax
	add	DWORD PTR -80028[rbp], 1
	jmp	.L10
.L11:
	add	DWORD PTR -80028[rbp], 3
	mov	eax, DWORD PTR -80032[rbp]
	mov	DWORD PTR -80024[rbp], eax
	mov	eax, DWORD PTR -80024[rbp]
	cdqe
	mov	eax, DWORD PTR -80016[rbp+rax*4]
	cdqe
	mov	eax, DWORD PTR -80016[rbp+rax*4]
	mov	DWORD PTR -80032[rbp], eax
	mov	eax, DWORD PTR -80024[rbp]
	cdqe
	mov	edx, DWORD PTR -80032[rbp]
	mov	DWORD PTR -80016[rbp+rax*4], edx
	mov	eax, DWORD PTR -80032[rbp]
	cdqe
	mov	eax, DWORD PTR -80016[rbp+rax*4]
	mov	DWORD PTR -80032[rbp], eax
.L10:
	mov	eax, DWORD PTR -80032[rbp]
	cdqe
	mov	eax, DWORD PTR -80016[rbp+rax*4]
	cmp	DWORD PTR -80032[rbp], eax
	jne	.L11
	mov	eax, DWORD PTR -80036[rbp]
	cmp	eax, DWORD PTR -80032[rbp]
	jne	.L12
	jmp	.L7
.L12:
	add	DWORD PTR -80028[rbp], 2
	mov	eax, DWORD PTR -80036[rbp]
	cdqe
	mov	edx, DWORD PTR -40016[rbp+rax*4]
	mov	eax, DWORD PTR -80032[rbp]
	cdqe
	mov	eax, DWORD PTR -40016[rbp+rax*4]
	cmp	edx, eax
	jge	.L13
	add	DWORD PTR -80028[rbp], 1
	mov	eax, DWORD PTR -80036[rbp]
	cdqe
	mov	edx, DWORD PTR -80032[rbp]
	mov	DWORD PTR -80016[rbp+rax*4], edx
	mov	eax, DWORD PTR -80032[rbp]
	cdqe
	mov	edx, DWORD PTR -40016[rbp+rax*4]
	mov	eax, DWORD PTR -80036[rbp]
	cdqe
	mov	eax, DWORD PTR -40016[rbp+rax*4]
	add	edx, eax
	mov	eax, DWORD PTR -80032[rbp]
	cdqe
	mov	DWORD PTR -40016[rbp+rax*4], edx
	jmp	.L14
.L13:
	add	DWORD PTR -80028[rbp], 1
	mov	eax, DWORD PTR -80032[rbp]
	cdqe
	mov	edx, DWORD PTR -80036[rbp]
	mov	DWORD PTR -80016[rbp+rax*4], edx
	mov	eax, DWORD PTR -80036[rbp]
	cdqe
	mov	edx, DWORD PTR -40016[rbp+rax*4]
	mov	eax, DWORD PTR -80032[rbp]
	cdqe
	mov	eax, DWORD PTR -40016[rbp+rax*4]
	add	edx, eax
	mov	eax, DWORD PTR -80036[rbp]
	cdqe
	mov	DWORD PTR -40016[rbp+rax*4], edx
.L14:
	lea	rax, -80016[rbp]
	mov	rdi, rax
	call	print_id
	mov	edx, DWORD PTR -80040[rbp]
	mov	eax, DWORD PTR -80044[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -80028[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L7:
	lea	rdx, -80040[rbp]
	lea	rax, -80044[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, 2
	je	.L15
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.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	"517438.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"id = \000"
	.align	2
.LC1:
	.ascii	"%d \000"
	.align	2
.LC2:
	.ascii	"...\000"
	.text
	.align	2
	.global	print_id
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_id, %function
print_id:
	@ 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]
	ldr	r0, .L4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L4+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	ble	.L3
	ldr	r0, .L4+8
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	print_id, .-print_id
	.section	.rodata
	.align	2
.LC3:
	.ascii	" %d %d\012\000"
	.align	2
.LC4:
	.ascii	"Number of accesses = %d\012\000"
	.align	2
.LC5:
	.ascii	"%d %d\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #79872
	sub	sp, sp, #160
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2200]
	b	.L7
.L8:
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2200]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #77824
	sub	r2, r2, #4
	ldr	r2, [r2, #-2200]
	str	r2, [r3, #-2180]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2200]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-3140]
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2200]
	add	r3, r3, #1
	str	r3, [r2, #-2200]
.L7:
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2200]
	ldr	r2, .L20+4
	cmp	r3, r2
	ble	.L8
	b	.L9
.L17:
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2208]
	str	r3, [r2, #-2200]
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2192]
	add	r3, r3, #1
	str	r3, [r2, #-2192]
	b	.L10
.L11:
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2192]
	add	r3, r3, #3
	str	r3, [r2, #-2192]
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2200]
	str	r3, [r2, #-2184]
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2184]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-2180]
	sub	r2, fp, #77824
	sub	r2, r2, #4
	sub	r1, fp, #77824
	sub	r1, r1, #4
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-2180]
	str	r3, [r2, #-2200]
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2184]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #77824
	sub	r2, r2, #4
	ldr	r2, [r2, #-2200]
	str	r2, [r3, #-2180]
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2200]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-2180]
	str	r3, [r2, #-2200]
.L10:
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2200]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-2180]
	sub	r2, fp, #77824
	sub	r2, r2, #4
	ldr	r2, [r2, #-2200]
	cmp	r2, r3
	bne	.L11
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2204]
	str	r3, [r2, #-2196]
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2192]
	add	r3, r3, #1
	str	r3, [r2, #-2192]
	b	.L12
.L13:
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2192]
	add	r3, r3, #3
	str	r3, [r2, #-2192]
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2196]
	str	r3, [r2, #-2188]
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2188]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-2180]
	sub	r2, fp, #77824
	sub	r2, r2, #4
	sub	r1, fp, #77824
	sub	r1, r1, #4
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-2180]
	str	r3, [r2, #-2196]
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2188]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #77824
	sub	r2, r2, #4
	ldr	r2, [r2, #-2196]
	str	r2, [r3, #-2180]
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2196]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-2180]
	str	r3, [r2, #-2196]
.L12:
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2196]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-2180]
	sub	r2, fp, #77824
	sub	r2, r2, #4
	ldr	r2, [r2, #-2196]
	cmp	r2, r3
	bne	.L13
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r2, [r2, #-2200]
	ldr	r3, [r3, #-2196]
	cmp	r2, r3
	bne	.L14
	b	.L9
.L14:
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2192]
	add	r3, r3, #2
	str	r3, [r2, #-2192]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2200]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-3140]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2196]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-3140]
	cmp	r2, r3
	bge	.L15
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2192]
	add	r3, r3, #1
	str	r3, [r2, #-2192]
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2200]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #77824
	sub	r2, r2, #4
	ldr	r2, [r2, #-2196]
	str	r2, [r3, #-2180]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2196]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-3140]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2200]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-3140]
	add	r2, r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2196]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-3140]
	b	.L16
.L15:
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2192]
	add	r3, r3, #1
	str	r3, [r2, #-2192]
	sub	r3, fp, #77824
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2196]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #77824
	sub	r2, r2, #4
	ldr	r2, [r2, #-2200]
	str	r2, [r3, #-2180]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2200]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-3140]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2196]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-3140]
	add	r2, r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2200]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-3140]
.L16:
	sub	r3, fp, #79872
	sub	r3, r3, #4
	sub	r3, r3, #132
	mov	r0, r3
	bl	print_id
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r3, [r3, #-2208]
	sub	r2, fp, #77824
	sub	r2, r2, #4
	ldr	r2, [r2, #-2204]
	mov	r1, r3
	ldr	r0, .L20+8
	bl	printf
	sub	r3, fp, #77824
	sub	r3, r3, #4
	ldr	r1, [r3, #-2192]
	ldr	r0, .L20+12
	bl	printf
.L9:
	sub	r2, fp, #79872
	sub	r2, r2, #4
	sub	r2, r2, #156
	sub	r3, fp, #79872
	sub	r3, r3, #4
	sub	r3, r3, #160
	mov	r1, r3
	ldr	r0, .L20+16
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L17
	mov	r3, #0
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC6
	.word	9999
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
