	.file	"339749.c"
	.intel_syntax noprefix
	.text
	.globl	map
	.data
	.align 32
	.type	map, @object
	.size	map, 40960
map:
	.long	1
	.zero	4092
	.long	2
	.zero	4092
	.long	3
	.zero	4092
	.long	4
	.zero	4092
	.long	5
	.zero	4092
	.long	6
	.zero	4092
	.long	7
	.zero	4092
	.long	8
	.zero	4092
	.long	9
	.zero	4092
	.long	10
	.zero	4092
	.section	.rodata
.LC0:
	.string	"Running toy example..."
.LC1:
	.string	"%i %p\n"
.LC2:
	.string	"r"
.LC3:
	.string	"char.txt"
.LC4:
	.string	"%c"
.LC5:
	.string	"%i"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -40[rbp], 0
	jmp	.L2
.L3:
	mov	DWORD PTR -28[rbp], 0
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 12
	mov	rdx, rax
	lea	rax, map[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -40[rbp], 1
.L2:
	cmp	DWORD PTR -40[rbp], 9
	jle	.L3
.L9:
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rdx, -9[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -32[rbp], eax
	lea	rdx, -44[rbp]
	lea	rax, -9[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	test	eax, eax
	je	.L11
	mov	ecx, DWORD PTR -44[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	movsx	rax, edx
	sal	rax, 12
	mov	rdx, rax
	lea	rax, map[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L6
	mov	edi, -1
	call	exit@PLT
.L6:
	mov	edi, 1000
	call	usleep@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L7
.L8:
	call	sched_yield@PLT
	add	DWORD PTR -36[rbp], 1
.L7:
	cmp	DWORD PTR -36[rbp], 24
	jle	.L8
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L9
.L11:
	nop
	jmp	.L9
	.cfi_endproc
.LFE6:
	.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	"339749.c"
	.text
	.global	map
	.data
	.align	2
	.type	map, %object
	.size	map, 40960
map:
	.word	1
	.space	4092
	.word	2
	.space	4092
	.word	3
	.space	4092
	.word	4
	.space	4092
	.word	5
	.space	4092
	.word	6
	.space	4092
	.word	7
	.space	4092
	.word	8
	.space	4092
	.word	9
	.space	4092
	.word	10
	.space	4092
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Running toy example...\000"
	.align	2
.LC1:
	.ascii	"%i %p\012\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"char.txt\000"
	.align	2
.LC4:
	.ascii	"%c\000"
	.align	2
.LC5:
	.ascii	"%i\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 = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L12+4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L2
.L3:
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #12
	ldr	r2, .L12+8
	add	r3, r3, r2
	mov	r2, r3
	ldr	r1, [fp, #-32]
	ldr	r0, .L12+12
	bl	printf
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L2:
	ldr	r3, [fp, #-32]
	cmp	r3, #9
	ble	.L3
.L9:
	ldr	r1, .L12+16
	ldr	r0, .L12+20
	bl	fopen
	str	r0, [fp, #-24]
	sub	r3, fp, #12
	mov	r2, r3
	ldr	r1, .L12+24
	ldr	r0, [fp, #-24]
	bl	__isoc99_fscanf
	str	r0, [fp, #-20]
	sub	r2, fp, #36
	sub	r3, fp, #12
	ldr	r1, .L12+28
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r1, [fp, #-36]
	ldr	r3, .L12+32
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	ldr	r3, .L12+8
	ldr	r3, [r3, r2, lsl #12]
	cmp	r3, #0
	bne	.L6
	mvn	r0, #0
	bl	exit
.L6:
	mov	r0, #1000
	bl	usleep
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L7
.L8:
	bl	sched_yield
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L7:
	ldr	r3, [fp, #-28]
	cmp	r3, #24
	ble	.L8
	ldr	r0, [fp, #-24]
	bl	fclose
	b	.L9
.L11:
	nop
	b	.L9
.L13:
	.align	2
.L12:
	.word	.LC6
	.word	.LC0
	.word	map
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1717986919
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
