	.file	"928833.c"
	.intel_syntax noprefix
	.text
	.globl	inputData
	.bss
	.align 32
	.type	inputData, @object
	.size	inputData, 4096
inputData:
	.zero	4096
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"input.txt"
.LC2:
	.string	"%c%hd "
.LC3:
	.string	"ARG:%d\n"
.LC4:
	.string	"XDir:%hd YDir:%hd\n"
.LC5:
	.string	"X:%hd Y:%hd\n"
	.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	WORD PTR -34[rbp], 0
	mov	WORD PTR -30[rbp], 0
	mov	WORD PTR -28[rbp], 0
	mov	BYTE PTR -38[rbp], 1
	mov	BYTE PTR -37[rbp], 0
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	jmp	.L2
.L3:
	movzx	edx, WORD PTR -34[rbp]
	movzx	eax, BYTE PTR -10[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, inputData[rip]
	mov	BYTE PTR [rcx+rdx], al
	movzx	edx, WORD PTR -34[rbp]
	movzx	eax, WORD PTR -36[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, inputData[rip+2]
	mov	WORD PTR [rcx+rdx], ax
	movzx	eax, WORD PTR -34[rbp]
	add	eax, 1
	mov	WORD PTR -34[rbp], ax
.L2:
	lea	rcx, -36[rbp]
	lea	rdx, -10[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L3
	movzx	eax, WORD PTR -34[rbp]
	mov	WORD PTR -26[rbp], ax
	mov	WORD PTR -34[rbp], 0
	jmp	.L4
.L24:
	movzx	eax, WORD PTR -34[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, inputData[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 78
	jne	.L5
	movzx	eax, WORD PTR -34[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, inputData[rip+2]
	movzx	eax, WORD PTR [rdx+rax]
	add	WORD PTR -28[rbp], ax
.L5:
	movzx	eax, WORD PTR -34[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, inputData[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 69
	jne	.L6
	movzx	eax, WORD PTR -34[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, inputData[rip+2]
	movzx	eax, WORD PTR [rdx+rax]
	add	WORD PTR -30[rbp], ax
.L6:
	movzx	eax, WORD PTR -34[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, inputData[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 83
	jne	.L7
	movzx	eax, WORD PTR -34[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, inputData[rip+2]
	movzx	eax, WORD PTR [rdx+rax]
	sub	WORD PTR -28[rbp], ax
.L7:
	movzx	eax, WORD PTR -34[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, inputData[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 87
	jne	.L8
	movzx	eax, WORD PTR -34[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, inputData[rip+2]
	movzx	eax, WORD PTR [rdx+rax]
	sub	WORD PTR -30[rbp], ax
.L8:
	movzx	eax, WORD PTR -34[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, inputData[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 70
	jne	.L9
	movsx	ax, BYTE PTR -38[rbp]
	movzx	edx, WORD PTR -34[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, inputData[rip+2]
	movzx	edx, WORD PTR [rcx+rdx]
	imul	eax, edx
	add	WORD PTR -30[rbp], ax
	movsx	ax, BYTE PTR -37[rbp]
	movzx	edx, WORD PTR -34[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, inputData[rip+2]
	movzx	edx, WORD PTR [rcx+rdx]
	imul	eax, edx
	add	WORD PTR -28[rbp], ax
.L9:
	movzx	eax, WORD PTR -34[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, inputData[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 82
	jne	.L10
	movzx	eax, WORD PTR -34[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, inputData[rip+2]
	movzx	eax, WORD PTR [rdx+rax]
	movsx	edx, ax
	imul	edx, edx, 11651
	shr	edx, 16
	sar	dx, 4
	sar	ax, 15
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cwde
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	WORD PTR -32[rbp], 0
	jmp	.L11
.L16:
	cmp	BYTE PTR -38[rbp], 1
	jne	.L12
	mov	BYTE PTR -38[rbp], 0
	mov	BYTE PTR -37[rbp], -1
	movsx	edx, BYTE PTR -37[rbp]
	movsx	eax, BYTE PTR -38[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L12:
	cmp	BYTE PTR -37[rbp], -1
	jne	.L14
	mov	BYTE PTR -38[rbp], -1
	mov	BYTE PTR -37[rbp], 0
	movsx	edx, BYTE PTR -37[rbp]
	movsx	eax, BYTE PTR -38[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L14:
	cmp	BYTE PTR -38[rbp], -1
	jne	.L15
	mov	BYTE PTR -38[rbp], 0
	mov	BYTE PTR -37[rbp], 1
	movsx	edx, BYTE PTR -37[rbp]
	movsx	eax, BYTE PTR -38[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L15:
	cmp	BYTE PTR -37[rbp], 1
	jne	.L13
	mov	BYTE PTR -38[rbp], 1
	mov	BYTE PTR -37[rbp], 0
	movsx	edx, BYTE PTR -37[rbp]
	movsx	eax, BYTE PTR -38[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L13:
	movzx	eax, WORD PTR -32[rbp]
	add	eax, 1
	mov	WORD PTR -32[rbp], ax
.L11:
	movzx	edx, WORD PTR -32[rbp]
	movzx	eax, WORD PTR -34[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, inputData[rip+2]
	movzx	eax, WORD PTR [rcx+rax]
	movsx	ecx, ax
	imul	ecx, ecx, 11651
	shr	ecx, 16
	sar	cx, 4
	sar	ax, 15
	mov	esi, eax
	mov	eax, ecx
	sub	eax, esi
	cwde
	cmp	edx, eax
	jl	.L16
.L10:
	movzx	eax, WORD PTR -34[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, inputData[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 76
	jne	.L17
	movzx	eax, WORD PTR -34[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, inputData[rip+2]
	movzx	eax, WORD PTR [rdx+rax]
	movsx	edx, ax
	imul	edx, edx, 11651
	shr	edx, 16
	sar	dx, 4
	sar	ax, 15
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cwde
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	WORD PTR -32[rbp], 0
	jmp	.L18
.L23:
	cmp	BYTE PTR -38[rbp], 1
	jne	.L19
	mov	BYTE PTR -38[rbp], 0
	mov	BYTE PTR -37[rbp], 1
	movsx	edx, BYTE PTR -37[rbp]
	movsx	eax, BYTE PTR -38[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L20
.L19:
	cmp	BYTE PTR -37[rbp], 1
	jne	.L21
	mov	BYTE PTR -38[rbp], -1
	mov	BYTE PTR -37[rbp], 0
	movsx	edx, BYTE PTR -37[rbp]
	movsx	eax, BYTE PTR -38[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L20
.L21:
	cmp	BYTE PTR -38[rbp], -1
	jne	.L22
	mov	BYTE PTR -38[rbp], 0
	mov	BYTE PTR -37[rbp], -1
	movsx	edx, BYTE PTR -37[rbp]
	movsx	eax, BYTE PTR -38[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L20
.L22:
	cmp	BYTE PTR -37[rbp], -1
	jne	.L20
	mov	BYTE PTR -38[rbp], 1
	mov	BYTE PTR -37[rbp], 0
	movsx	edx, BYTE PTR -37[rbp]
	movsx	eax, BYTE PTR -38[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L20:
	movzx	eax, WORD PTR -32[rbp]
	add	eax, 1
	mov	WORD PTR -32[rbp], ax
.L18:
	movzx	edx, WORD PTR -32[rbp]
	movzx	eax, WORD PTR -34[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, inputData[rip+2]
	movzx	eax, WORD PTR [rcx+rax]
	movsx	ecx, ax
	imul	ecx, ecx, 11651
	shr	ecx, 16
	sar	cx, 4
	sar	ax, 15
	mov	esi, eax
	mov	eax, ecx
	sub	eax, esi
	cwde
	cmp	edx, eax
	jl	.L23
.L17:
	movzx	edx, WORD PTR -28[rbp]
	movzx	eax, WORD PTR -30[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR -34[rbp]
	add	eax, 1
	mov	WORD PTR -34[rbp], ax
.L4:
	movzx	eax, WORD PTR -34[rbp]
	cmp	ax, WORD PTR -26[rbp]
	jb	.L24
	movzx	edx, WORD PTR -28[rbp]
	movzx	eax, WORD PTR -30[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.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	"928833.c"
	.text
	.comm	inputData,4096,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"input.txt\000"
	.align	2
.LC2:
	.ascii	"%c%hd \000"
	.align	2
.LC3:
	.ascii	"ARG:%d\012\000"
	.align	2
.LC4:
	.ascii	"XDir:%hd YDir:%hd\012\000"
	.align	2
.LC5:
	.ascii	"X:%hd Y:%hd\012\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 = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strh	r3, [fp, #-22]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-26]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-20]	@ movhi
	mov	r3, #1
	strb	r3, [fp, #-30]
	mov	r3, #0
	strb	r3, [fp, #-29]
	ldr	r1, .L23+4
	ldr	r0, .L23+8
	bl	fopen
	str	r0, [fp, #-16]
	b	.L2
.L3:
	ldrh	r3, [fp, #-22]
	ldrb	r1, [fp, #-12]	@ zero_extendqisi2
	ldr	r2, .L23+12
	strb	r1, [r2, r3, lsl #2]
	ldrh	r3, [fp, #-22]
	ldrsh	r2, [fp, #-28]
	ldr	r1, .L23+12
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #2
	strh	r2, [r3]	@ movhi
	ldrh	r3, [fp, #-22]
	add	r3, r3, #1
	strh	r3, [fp, #-22]	@ movhi
.L2:
	sub	r3, fp, #28
	sub	r2, fp, #12
	ldr	r1, .L23+16
	ldr	r0, [fp, #-16]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L3
	ldrh	r3, [fp, #-22]	@ movhi
	strh	r3, [fp, #-18]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-22]	@ movhi
	b	.L4
.L20:
	ldrh	r3, [fp, #-22]
	ldr	r2, .L23+12
	ldrb	r3, [r2, r3, lsl #2]	@ zero_extendqisi2
	cmp	r3, #78
	bne	.L5
	ldrh	r3, [fp, #-22]
	ldr	r2, .L23+12
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r3, r3, #2
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldrh	r3, [fp, #-20]	@ movhi
	add	r3, r2, r3
	strh	r3, [fp, #-20]	@ movhi
.L5:
	ldrh	r3, [fp, #-22]
	ldr	r2, .L23+12
	ldrb	r3, [r2, r3, lsl #2]	@ zero_extendqisi2
	cmp	r3, #69
	bne	.L6
	ldrh	r3, [fp, #-22]
	ldr	r2, .L23+12
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r3, r3, #2
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldrh	r3, [fp, #-26]	@ movhi
	add	r3, r2, r3
	strh	r3, [fp, #-26]	@ movhi
.L6:
	ldrh	r3, [fp, #-22]
	ldr	r2, .L23+12
	ldrb	r3, [r2, r3, lsl #2]	@ zero_extendqisi2
	cmp	r3, #83
	bne	.L7
	ldrh	r3, [fp, #-22]
	ldr	r2, .L23+12
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r3, r3, #2
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldrh	r2, [fp, #-20]	@ movhi
	sub	r3, r2, r3
	strh	r3, [fp, #-20]	@ movhi
.L7:
	ldrh	r3, [fp, #-22]
	ldr	r2, .L23+12
	ldrb	r3, [r2, r3, lsl #2]	@ zero_extendqisi2
	cmp	r3, #87
	bne	.L8
	ldrh	r3, [fp, #-22]
	ldr	r2, .L23+12
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r3, r3, #2
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldrh	r2, [fp, #-26]	@ movhi
	sub	r3, r2, r3
	strh	r3, [fp, #-26]	@ movhi
.L8:
	ldrh	r3, [fp, #-22]
	ldr	r2, .L23+12
	ldrb	r3, [r2, r3, lsl #2]	@ zero_extendqisi2
	cmp	r3, #70
	bne	.L9
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldrh	r2, [fp, #-22]
	ldr	r1, .L23+12
	lsl	r2, r2, #2
	add	r2, r1, r2
	add	r2, r2, #2
	ldrsh	r2, [r2]
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	mul	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldrh	r3, [fp, #-26]	@ movhi
	add	r3, r2, r3
	strh	r3, [fp, #-26]	@ movhi
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldrh	r2, [fp, #-22]
	ldr	r1, .L23+12
	lsl	r2, r2, #2
	add	r2, r1, r2
	add	r2, r2, #2
	ldrsh	r2, [r2]
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	mul	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldrh	r3, [fp, #-20]	@ movhi
	add	r3, r2, r3
	strh	r3, [fp, #-20]	@ movhi
.L9:
	ldrh	r3, [fp, #-22]
	ldr	r2, .L23+12
	ldrb	r3, [r2, r3, lsl #2]	@ zero_extendqisi2
	cmp	r3, #82
	bne	.L10
	ldrh	r3, [fp, #-22]
	ldr	r2, .L23+12
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r3, r3, #2
	ldrsh	r3, [r3]
	ldr	r2, .L23+20
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mov	r1, r3
	ldr	r0, .L23+24
	bl	printf
	mov	r3, #0
	strh	r3, [fp, #-24]	@ movhi
	b	.L11
.L14:
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L12
	mov	r3, #0
	strb	r3, [fp, #-30]
	mvn	r3, #0
	strb	r3, [fp, #-29]
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	ldrb	r2, [fp, #-29]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L23+28
	bl	printf
	b	.L13
.L12:
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L13
	mov	r3, #1
	strb	r3, [fp, #-30]
	mov	r3, #0
	strb	r3, [fp, #-29]
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	ldrb	r2, [fp, #-29]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L23+28
	bl	printf
.L13:
	ldrh	r3, [fp, #-24]
	add	r3, r3, #1
	strh	r3, [fp, #-24]	@ movhi
.L11:
	ldrh	r2, [fp, #-24]
	ldrh	r3, [fp, #-22]
	ldr	r1, .L23+12
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #2
	ldrsh	r3, [r3]
	ldr	r1, .L23+20
	smull	r0, r1, r3, r1
	add	r1, r1, r3
	asr	r1, r1, #6
	asr	r3, r3, #31
	sub	r3, r1, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	cmp	r2, r3
	blt	.L14
.L10:
	ldrh	r3, [fp, #-22]
	ldr	r2, .L23+12
	ldrb	r3, [r2, r3, lsl #2]	@ zero_extendqisi2
	cmp	r3, #76
	bne	.L15
	ldrh	r3, [fp, #-22]
	ldr	r2, .L23+12
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r3, r3, #2
	ldrsh	r3, [r3]
	ldr	r2, .L23+20
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mov	r1, r3
	ldr	r0, .L23+24
	bl	printf
	mov	r3, #0
	strh	r3, [fp, #-24]	@ movhi
	b	.L16
.L19:
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L17
	mov	r3, #0
	strb	r3, [fp, #-30]
	mov	r3, #1
	strb	r3, [fp, #-29]
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	ldrb	r2, [fp, #-29]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L23+28
	bl	printf
	b	.L18
.L17:
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L18
	mvn	r3, #0
	strb	r3, [fp, #-30]
	mov	r3, #0
	strb	r3, [fp, #-29]
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	ldrb	r2, [fp, #-29]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L23+28
	bl	printf
.L18:
	ldrh	r3, [fp, #-24]
	add	r3, r3, #1
	strh	r3, [fp, #-24]	@ movhi
.L16:
	ldrh	r2, [fp, #-24]
	ldrh	r3, [fp, #-22]
	ldr	r1, .L23+12
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #2
	ldrsh	r3, [r3]
	ldr	r1, .L23+20
	smull	r0, r1, r3, r1
	add	r1, r1, r3
	asr	r1, r1, #6
	asr	r3, r3, #31
	sub	r3, r1, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	cmp	r2, r3
	blt	.L19
.L15:
	ldrh	r3, [fp, #-26]
	ldrh	r2, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L23+32
	bl	printf
	ldrh	r3, [fp, #-22]
	add	r3, r3, #1
	strh	r3, [fp, #-22]	@ movhi
.L4:
	ldrh	r2, [fp, #-22]
	ldrh	r3, [fp, #-18]
	cmp	r2, r3
	bcc	.L20
	ldrh	r3, [fp, #-26]
	ldrh	r2, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L23+32
	bl	printf
	ldr	r0, [fp, #-16]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	inputData
	.word	.LC2
	.word	-1240768329
	.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
