	.file	"706572.c"
	.intel_syntax noprefix
	.text
	.globl	interrupted
	.bss
	.align 4
	.type	interrupted, @object
	.size	interrupted, 4
interrupted:
	.zero	4
	.text
	.globl	signal_handler
	.type	signal_handler, @function
signal_handler:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR interrupted[rip], 1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	signal_handler, .-signal_handler
	.section	.rodata
.LC0:
	.string	"/dev/mem"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"0.1"
.LC3:
	.string	"%s version %s\n"
	.align 8
.LC4:
	.string	"Syntax: %s [filename] [trig lvl](in ADC value) [n points]\n  ex: %s data.dat 300\n"
.LC5:
	.string	"ab"
	.align 8
.LC6:
	.string	"Error al abrir el archivo de destino!"
.LC7:
	.string	"open"
.LC8:
	.string	"%5hd %5hd\n"
.LC9:
	.string	"# t %d %d\n"
.LC10:
	.string	"# c %d\n"
.LC11:
	.string	"# E @@@"
	.align 8
.LC12:
	.string	"# E 3 - unknown word from FPGA: %d %x\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -56[rbp], 0
	lea	rax, .LC0[rip]
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -76[rbp], 0
	mov	DWORD PTR -84[rbp], 0
	mov	DWORD PTR -80[rbp], 0
	mov	DWORD PTR -72[rbp], 0
	mov	eax, DWORD PTR -100[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -100[rbp], 1
	jg	.L3
	mov	rax, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, .LC2[rip]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L4
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -68[rbp], eax
	cmp	DWORD PTR -68[rbp], 0
	jns	.L5
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L30
.L5:
	mov	edi, 30
	call	sysconf@PLT
	mov	rsi, rax
	mov	eax, DWORD PTR -68[rbp]
	mov	r9d, 1073741824
	mov	r8d, eax
	mov	ecx, 1
	mov	edx, 3
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	edi, 30
	call	sysconf@PLT
	mov	rsi, rax
	mov	eax, DWORD PTR -68[rbp]
	mov	r9d, 1073745920
	mov	r8d, eax
	mov	ecx, 1
	mov	edx, 3
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	edi, 30
	call	sysconf@PLT
	sal	rax, 10
	mov	rsi, rax
	mov	eax, DWORD PTR -68[rbp]
	mov	r9d, 503316480
	mov	r8d, eax
	mov	ecx, 1
	mov	edx, 3
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rsi, signal_handler[rip]
	mov	edi, 2
	call	signal@PLT
	mov	DWORD PTR -88[rbp], 524288
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, 8
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 10
	mov	DWORD PTR [rax], 8190
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 12
	mov	DWORD PTR [rax], 8190
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 14
	mov	DWORD PTR [rax], 8190
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, -2
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, -5
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, -3
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 4
	mov	DWORD PTR [rax], 1048576
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	or	eax, 2
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	or	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	or	eax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L7
.L23:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -88[rbp], 0
	jle	.L8
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -88[rbp]
	jg	.L9
.L8:
	cmp	DWORD PTR -88[rbp], 0
	jne	.L10
	cmp	DWORD PTR -92[rbp], 524287
	jg	.L10
.L9:
	cmp	DWORD PTR -88[rbp], 0
	jle	.L11
	mov	eax, 0
	jmp	.L12
.L11:
	mov	eax, 524288
.L12:
	mov	DWORD PTR -64[rbp], eax
	cmp	DWORD PTR -88[rbp], 0
	jle	.L13
	mov	eax, 0
	jmp	.L14
.L13:
	mov	eax, 524288
.L14:
	mov	DWORD PTR -88[rbp], eax
	mov	DWORD PTR -96[rbp], 0
	jmp	.L15
.L22:
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -96[rbp]
	sal	eax, 2
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -12[rbp], ax
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -96[rbp]
	sal	eax, 2
	cdqe
	add	rax, rdx
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -10[rbp], ax
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -96[rbp]
	sal	eax, 2
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	shr	eax, 30
	cmp	eax, 2
	je	.L16
	cmp	eax, 2
	ja	.L17
	test	eax, eax
	je	.L18
	cmp	eax, 1
	je	.L19
	jmp	.L17
.L18:
	movzx	eax, WORD PTR -10[rbp]
	sar	ax, 13
	cwde
	sal	eax, 14
	mov	edx, eax
	movzx	eax, WORD PTR -10[rbp]
	sar	ax, 13
	cwde
	sal	eax, 15
	add	edx, eax
	movzx	eax, WORD PTR -10[rbp]
	cwde
	lea	ecx, [rdx+rax]
	movzx	eax, WORD PTR -12[rbp]
	sar	ax, 13
	cwde
	sal	eax, 14
	mov	edx, eax
	movzx	eax, WORD PTR -12[rbp]
	sar	ax, 13
	cwde
	sal	eax, 15
	add	edx, eax
	movzx	eax, WORD PTR -12[rbp]
	cwde
	add	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L20
.L19:
	mov	eax, DWORD PTR -60[rbp]
	and	eax, 134217727
	mov	ecx, eax
	mov	eax, DWORD PTR -60[rbp]
	shr	eax, 27
	and	eax, 7
	mov	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L20
.L16:
	mov	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	and	eax, 1073741823
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	sub	eax, DWORD PTR -72[rbp]
	sub	eax, 1
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], 0
	jle	.L21
	cmp	DWORD PTR -72[rbp], 0
	je	.L21
	mov	eax, DWORD PTR -76[rbp]
	add	DWORD PTR -84[rbp], eax
.L21:
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L20
.L17:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -60[rbp]
	shr	eax, 27
	mov	edx, eax
	mov	eax, DWORD PTR -60[rbp]
	shr	eax, 27
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L20:
	add	DWORD PTR -96[rbp], 1
.L15:
	cmp	DWORD PTR -96[rbp], 524287
	jle	.L22
	jmp	.L7
.L10:
	mov	edi, 100
	call	usleep@PLT
.L7:
	mov	eax, DWORD PTR interrupted[rip]
	test	eax, eax
	je	.L23
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, -2
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, -3
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, -5
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	cmp	DWORD PTR -88[rbp], 0
	jle	.L24
	mov	eax, 0
	jmp	.L25
.L24:
	mov	eax, 524288
.L25:
	mov	DWORD PTR -64[rbp], eax
	cmp	DWORD PTR -88[rbp], 0
	jg	.L26
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, 524288
	jmp	.L27
.L26:
	mov	eax, DWORD PTR -92[rbp]
.L27:
	mov	DWORD PTR -88[rbp], eax
	mov	DWORD PTR -96[rbp], 0
	jmp	.L28
.L29:
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -96[rbp]
	sal	eax, 2
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -60[rbp], eax
	add	DWORD PTR -96[rbp], 1
.L28:
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, DWORD PTR -88[rbp]
	jl	.L29
	mov	edi, 30
	call	sysconf@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	mov	edi, 30
	call	sysconf@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	mov	edi, 30
	call	sysconf@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	mov	eax, 0
.L30:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"706572.c"
	.text
	.global	interrupted
	.bss
	.align	2
	.type	interrupted, %object
	.size	interrupted, 4
interrupted:
	.space	4
	.text
	.align	2
	.global	signal_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	signal_handler, %function
signal_handler:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, .L2
	mov	r2, #1
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	interrupted
	.size	signal_handler, .-signal_handler
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/dev/mem\000"
	.align	2
.LC1:
	.ascii	"%d\012\000"
	.align	2
.LC2:
	.ascii	"0.1\000"
	.align	2
.LC3:
	.ascii	"%s version %s\012\000"
	.align	2
.LC4:
	.ascii	"Syntax: %s [filename] [trig lvl](in ADC value) [n p"
	.ascii	"oints]\012  ex: %s data.dat 300\012\000"
	.align	2
.LC5:
	.ascii	"ab\000"
	.align	2
.LC6:
	.ascii	"Error al abrir el archivo de destino!\000"
	.align	2
.LC7:
	.ascii	"open\000"
	.align	2
.LC8:
	.ascii	"%5hd %5hd\012\000"
	.align	2
.LC9:
	.ascii	"# t %d %d\012\000"
	.align	2
.LC10:
	.ascii	"# c %d\012\000"
	.align	2
.LC11:
	.ascii	"# E @@@\000"
	.align	2
.LC12:
	.ascii	"# E 3 - unknown word from FPGA: %d %x\012\000"
	.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 = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r3, .L34+4
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r1, [fp, #-80]
	ldr	r0, .L34+8
	bl	printf
	ldr	r3, [fp, #-80]
	cmp	r3, #1
	bgt	.L5
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	ldr	r2, .L34+12
	mov	r1, r3
	ldr	r0, .L34+16
	bl	printf
	ldr	r3, [fp, #-84]
	ldr	r1, [r3]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L34+20
	bl	printf
	mov	r0, #1
	bl	exit
.L5:
	ldr	r3, [fp, #-84]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L34+24
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L6
	ldr	r0, .L34+28
	bl	puts
	mov	r0, #1
	bl	exit
.L6:
	mov	r1, #2
	ldr	r0, [fp, #-48]
	bl	open
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bge	.L7
	ldr	r0, .L34+32
	bl	perror
	mov	r3, #1
	b	.L32
.L7:
	mov	r0, #30
	bl	sysconf
	mov	r3, r0
	mov	r1, r3
	mov	r3, #1073741824
	str	r3, [sp, #4]
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #3
	mov	r0, #0
	bl	mmap
	str	r0, [fp, #-32]
	mov	r0, #30
	bl	sysconf
	mov	r3, r0
	mov	r1, r3
	ldr	r3, .L34+36
	str	r3, [sp, #4]
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #3
	mov	r0, #0
	bl	mmap
	str	r0, [fp, #-28]
	mov	r0, #30
	bl	sysconf
	mov	r3, r0
	lsl	r3, r3, #10
	mov	r1, r3
	mov	r3, #503316480
	str	r3, [sp, #4]
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #3
	mov	r0, #0
	bl	mmap
	str	r0, [fp, #-24]
	ldr	r1, .L34+40
	mov	r0, #2
	bl	signal
	mov	r3, #524288
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-84]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-32]
	add	r3, r3, #8
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #10
	ldr	r2, .L34+44
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #12
	ldr	r2, .L34+44
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #14
	ldr	r2, .L34+44
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	bic	r2, r3, #1
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	bic	r2, r3, #4
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	bic	r2, r3, #2
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	mov	r2, #1048576
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	orr	r2, r3, #2
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	orr	r2, r3, #1
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	orr	r2, r3, #4
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	b	.L9
.L25:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	ble	.L10
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	bgt	.L11
.L10:
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-68]
	cmp	r3, #524288
	bge	.L12
.L11:
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	ble	.L13
	mov	r3, #0
	b	.L14
.L13:
	mov	r3, #524288
.L14:
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	ble	.L15
	mov	r3, #0
	b	.L16
.L15:
	mov	r3, #524288
.L16:
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L17
.L24:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrsh	r3, [r3]
	strh	r3, [fp, #-12]	@ movhi
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	add	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrsh	r3, [r3]
	strh	r3, [fp, #-10]	@ movhi
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsr	r3, r3, #30
	cmp	r3, #2
	beq	.L18
	cmp	r3, #2
	bhi	.L19
	cmp	r3, #0
	beq	.L20
	cmp	r3, #1
	beq	.L21
	b	.L19
.L20:
	ldrsh	r3, [fp, #-12]
	asr	r3, r3, #13
	lsl	r3, r3, #16
	asr	r3, r3, #16
	lsl	r2, r3, #14
	ldrsh	r3, [fp, #-12]
	asr	r3, r3, #13
	lsl	r3, r3, #16
	asr	r3, r3, #16
	lsl	r3, r3, #15
	add	r3, r2, r3
	ldrsh	r2, [fp, #-12]
	add	r1, r3, r2
	ldrsh	r3, [fp, #-10]
	asr	r3, r3, #13
	lsl	r3, r3, #16
	asr	r3, r3, #16
	lsl	r2, r3, #14
	ldrsh	r3, [fp, #-10]
	asr	r3, r3, #13
	lsl	r3, r3, #16
	asr	r3, r3, #16
	lsl	r3, r3, #15
	add	r3, r2, r3
	ldrsh	r2, [fp, #-10]
	add	r3, r3, r2
	mov	r2, r1
	ldr	r1, .L34+48
	ldr	r0, [fp, #-52]
	bl	fprintf
	b	.L22
.L21:
	ldr	r3, [fp, #-16]
	lsr	r3, r3, #27
	and	r2, r3, #7
	ldr	r3, [fp, #-16]
	bic	r3, r3, #-134217728
	ldr	r1, .L34+52
	ldr	r0, [fp, #-52]
	bl	fprintf
	b	.L22
.L18:
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-16]
	bic	r3, r3, #-1073741824
	str	r3, [fp, #-56]
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-40]
	sub	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	ble	.L23
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L23
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-60]
.L23:
	ldr	r2, [fp, #-56]
	ldr	r1, .L34+56
	ldr	r0, [fp, #-52]
	bl	fprintf
	b	.L22
.L19:
	ldr	r0, .L34+60
	bl	puts
	ldr	r3, [fp, #-16]
	lsr	r1, r3, #27
	ldr	r3, [fp, #-16]
	lsr	r3, r3, #27
	mov	r2, r3
	ldr	r0, .L34+64
	bl	printf
	nop
.L22:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L17:
	ldr	r3, [fp, #-72]
	cmp	r3, #524288
	blt	.L24
	b	.L9
.L12:
	mov	r0, #100
	bl	usleep
.L9:
	ldr	r3, .L34+68
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	bic	r2, r3, #1
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	bic	r2, r3, #2
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	bic	r2, r3, #4
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	ble	.L26
	mov	r3, #0
	b	.L27
.L26:
	mov	r3, #524288
.L27:
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bgt	.L28
	ldr	r3, [fp, #-68]
	sub	r3, r3, #524288
	b	.L29
.L28:
	ldr	r3, [fp, #-68]
.L29:
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L30
.L31:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L30:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L31
	mov	r0, #30
	bl	sysconf
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	munmap
	mov	r0, #30
	bl	sysconf
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	munmap
	mov	r0, #30
	bl	sysconf
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	munmap
	mov	r3, #0
.L32:
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC13
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	1073745920
	.word	signal_handler
	.word	8190
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	interrupted
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
