	.file	"375438.c"
	.intel_syntax noprefix
	.text
	.globl	Y
	.bss
	.align 4
	.type	Y, @object
	.size	Y, 4
Y:
	.zero	4
	.globl	X
	.align 4
	.type	X, @object
	.size	X, 4
X:
	.zero	4
	.text
	.globl	initialDir
	.type	initialDir, @function
initialDir:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	QWORD PTR -16[rbp], rsi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 78
	jne	.L2
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 0
	mov	eax, 1
	jmp	.L3
.L2:
	cmp	BYTE PTR -4[rbp], 76
	jne	.L4
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 1
	mov	eax, 1
	jmp	.L3
.L4:
	cmp	BYTE PTR -4[rbp], 83
	jne	.L5
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 2
	mov	eax, 1
	jmp	.L3
.L5:
	cmp	BYTE PTR -4[rbp], 79
	jne	.L6
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 3
	mov	eax, 1
	jmp	.L3
.L6:
	mov	eax, 0
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	initialDir, .-initialDir
	.globl	move
	.type	move, @function
move:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	eax, ecx
	mov	BYTE PTR -44[rbp], al
	mov	eax, DWORD PTR X[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -8[rbp], rdx
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	cmp	BYTE PTR -44[rbp], 69
	jne	.L8
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jns	.L9
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 8[rax], 3
.L9:
	mov	eax, 0
	jmp	.L10
.L8:
	cmp	BYTE PTR -44[rbp], 68
	jne	.L11
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 3
	jle	.L12
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 8[rax], 0
.L12:
	mov	eax, 0
	jmp	.L10
.L11:
	cmp	BYTE PTR -44[rbp], 70
	jne	.L13
	mov	rdx, QWORD PTR -32[rbp]
	mov	ecx, DWORD PTR [rdx]
	mov	rdx, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR 8[rdx]
	movsx	rdx, edx
	lea	rsi, 0[0+rdx*8]
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rsi
	mov	edx, DWORD PTR [rdx]
	add	edx, ecx
	mov	DWORD PTR -16[rbp], edx
	mov	rdx, QWORD PTR -32[rbp]
	mov	ecx, DWORD PTR 4[rdx]
	mov	rdx, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR 8[rdx]
	movsx	rdx, edx
	lea	rsi, 0[0+rdx*8]
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rsi
	mov	edx, DWORD PTR 4[rdx]
	add	edx, ecx
	mov	DWORD PTR -12[rbp], edx
	cmp	DWORD PTR -16[rbp], 0
	js	.L13
	mov	edx, DWORD PTR Y[rip]
	cmp	DWORD PTR -16[rbp], edx
	jge	.L13
	cmp	DWORD PTR -12[rbp], 0
	js	.L13
	mov	edx, DWORD PTR X[rip]
	cmp	DWORD PTR -12[rbp], edx
	jge	.L13
	mov	edx, DWORD PTR -16[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rcx, rdx
	mov	rdx, QWORD PTR -24[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	movzx	edx, BYTE PTR [rcx+rdx]
	cmp	dl, 35
	je	.L13
	mov	rdx, QWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -16[rbp]
	mov	DWORD PTR [rdx], ecx
	mov	rdx, QWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	DWORD PTR 4[rdx], ecx
	mov	edx, DWORD PTR -16[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rcx, rdx
	mov	rdx, QWORD PTR -24[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	movzx	edx, BYTE PTR [rcx+rdx]
	cmp	dl, 42
	jne	.L14
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	cdqe
	imul	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 46
	mov	eax, 1
	jmp	.L10
.L14:
	mov	eax, 0
	jmp	.L10
.L13:
	mov	eax, 0
.L10:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	move, .-move
	.section	.rodata
.LC0:
	.string	"%c"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d %d %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 184
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -96[rbp], -1
	mov	DWORD PTR -92[rbp], 0
	mov	DWORD PTR -88[rbp], 0
	mov	DWORD PTR -84[rbp], 1
	mov	DWORD PTR -80[rbp], 1
	mov	DWORD PTR -76[rbp], 0
	mov	DWORD PTR -72[rbp], 0
	mov	DWORD PTR -68[rbp], -1
	jmp	.L16
.L32:
	mov	rax, rsp
	mov	QWORD PTR -216[rbp], rax
	mov	esi, DWORD PTR X[rip]
	mov	edi, DWORD PTR Y[rip]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -136[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -208[rbp], rax
	mov	QWORD PTR -200[rbp], 0
	movsx	rbx, esi
	movsx	rax, edi
	sub	rax, 1
	mov	QWORD PTR -128[rbp], rax
	movsx	rax, esi
	mov	r12, rax
	mov	r13d, 0
	movsx	rax, edi
	mov	r14, rax
	mov	r15d, 0
	mov	rdx, r13
	imul	rdx, r14
	mov	rax, r15
	imul	rax, r12
	lea	rcx, [rdx+rax]
	mov	rax, r12
	mul	r14
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rax, esi
	mov	QWORD PTR -176[rbp], rax
	mov	QWORD PTR -168[rbp], 0
	movsx	rax, edi
	mov	QWORD PTR -192[rbp], rax
	mov	QWORD PTR -184[rbp], 0
	mov	r8, QWORD PTR -176[rbp]
	mov	r9, QWORD PTR -168[rbp]
	mov	rdx, r9
	mov	r10, QWORD PTR -192[rbp]
	mov	r11, QWORD PTR -184[rbp]
	imul	rdx, r10
	mov	rax, r11
	imul	rax, r8
	lea	rcx, [rdx+rax]
	mov	rax, r8
	mul	r10
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	movsx	rax, edi
	imul	rax, rdx
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L17:
	cmp	rsp, rdx
	je	.L18
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L17
.L18:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L19
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L19:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -120[rbp], rax
	mov	BYTE PTR -145[rbp], 0
	jmp	.L20
.L26:
	mov	BYTE PTR -146[rbp], 0
	jmp	.L21
.L25:
	movsx	eax, BYTE PTR -145[rbp]
	movsx	edx, BYTE PTR -146[rbp]
	movsx	rdx, edx
	cdqe
	imul	rax, rbx
	add	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movsx	edx, BYTE PTR -145[rbp]
	movsx	eax, BYTE PTR -146[rbp]
	mov	rsi, QWORD PTR -120[rbp]
	movsx	rcx, eax
	movsx	rax, edx
	imul	rax, rbx
	mov	rdx, rax
	lea	rax, [rsi+rcx]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L22
	movsx	edx, BYTE PTR -145[rbp]
	movsx	eax, BYTE PTR -146[rbp]
	mov	rsi, QWORD PTR -120[rbp]
	movsx	rcx, eax
	movsx	rax, edx
	imul	rax, rbx
	mov	rdx, rax
	lea	rax, [rsi+rcx]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L23
.L22:
	movzx	eax, BYTE PTR -146[rbp]
	sub	eax, 1
	mov	BYTE PTR -146[rbp], al
	jmp	.L24
.L23:
	movsx	edx, BYTE PTR -145[rbp]
	movsx	eax, BYTE PTR -146[rbp]
	mov	rsi, QWORD PTR -120[rbp]
	movsx	rcx, eax
	movsx	rax, edx
	imul	rax, rbx
	mov	rdx, rax
	lea	rax, [rsi+rcx]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	lea	rdx, -108[rbp]
	add	rdx, 8
	mov	rsi, rdx
	mov	edi, eax
	call	initialDir
	test	eax, eax
	je	.L24
	movsx	edx, BYTE PTR -145[rbp]
	movsx	eax, BYTE PTR -146[rbp]
	mov	rsi, QWORD PTR -120[rbp]
	movsx	rcx, eax
	movsx	rax, edx
	imul	rax, rbx
	mov	rdx, rax
	lea	rax, [rsi+rcx]
	add	rax, rdx
	mov	BYTE PTR [rax], 46
	movsx	eax, BYTE PTR -146[rbp]
	mov	DWORD PTR -104[rbp], eax
	movsx	eax, BYTE PTR -145[rbp]
	mov	DWORD PTR -108[rbp], eax
.L24:
	movzx	eax, BYTE PTR -146[rbp]
	add	eax, 1
	mov	BYTE PTR -146[rbp], al
.L21:
	movsx	edx, BYTE PTR -146[rbp]
	mov	eax, DWORD PTR X[rip]
	cmp	edx, eax
	jl	.L25
	movzx	eax, BYTE PTR -145[rbp]
	add	eax, 1
	mov	BYTE PTR -145[rbp], al
.L20:
	movsx	edx, BYTE PTR -145[rbp]
	mov	eax, DWORD PTR Y[rip]
	cmp	edx, eax
	jl	.L26
	mov	DWORD PTR -140[rbp], 0
	jmp	.L27
.L30:
	lea	rax, -147[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -147[rbp]
	cmp	al, 32
	je	.L27
	movzx	eax, BYTE PTR -147[rbp]
	cmp	al, 10
	jne	.L29
	jmp	.L27
.L29:
	movzx	eax, BYTE PTR -147[rbp]
	movsx	eax, al
	lea	rdx, -96[rbp]
	lea	rsi, -108[rbp]
	mov	rdi, QWORD PTR -120[rbp]
	mov	ecx, eax
	call	move
	add	DWORD PTR -140[rbp], eax
	mov	eax, DWORD PTR -144[rbp]
	sub	eax, 1
	mov	DWORD PTR -144[rbp], eax
.L27:
	mov	eax, DWORD PTR -144[rbp]
	test	eax, eax
	jg	.L30
	mov	eax, DWORD PTR -140[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rsp, QWORD PTR -216[rbp]
.L16:
	lea	rax, -144[rbp]
	mov	rcx, rax
	lea	rdx, X[rip]
	lea	rsi, Y[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	je	.L31
	mov	eax, DWORD PTR Y[rip]
	test	eax, eax
	jne	.L32
	mov	eax, DWORD PTR X[rip]
	test	eax, eax
	jne	.L32
	mov	eax, DWORD PTR -144[rbp]
	test	eax, eax
	jne	.L32
.L31:
	mov	eax, 0
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"375438.c"
	.text
	.comm	Y,4,4
	.comm	X,4,4
	.align	2
	.global	initialDir
	.syntax unified
	.arm
	.fpu softvfp
	.type	initialDir, %function
initialDir:
	@ 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
	mov	r3, r0
	str	r1, [fp, #-12]
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #78
	bne	.L2
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #1
	b	.L3
.L2:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #76
	bne	.L4
	ldr	r3, [fp, #-12]
	mov	r2, #1
	str	r2, [r3]
	mov	r3, #1
	b	.L3
.L4:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #83
	bne	.L5
	ldr	r3, [fp, #-12]
	mov	r2, #2
	str	r2, [r3]
	mov	r3, #1
	b	.L3
.L5:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #79
	bne	.L6
	ldr	r3, [fp, #-12]
	mov	r2, #3
	str	r2, [r3]
	mov	r3, #1
	b	.L3
.L6:
	mov	r3, #0
.L3:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	initialDir, .-initialDir
	.align	2
	.global	move
	.syntax unified
	.arm
	.fpu softvfp
	.type	move, %function
move:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	strb	r3, [fp, #-33]
	ldr	r3, .L15
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-16]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #69
	bne	.L8
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-28]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bge	.L9
	ldr	r3, [fp, #-28]
	mov	r2, #3
	str	r2, [r3, #8]
.L9:
	mov	r3, #0
	b	.L10
.L8:
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #68
	bne	.L11
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #8]
	add	r2, r3, #1
	ldr	r3, [fp, #-28]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #8]
	cmp	r3, #3
	ble	.L12
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3, #8]
.L12:
	mov	r3, #0
	b	.L10
.L11:
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #70
	bne	.L13
	ldr	r3, [fp, #-28]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #8]
	lsl	r3, r3, #3
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #8]
	lsl	r3, r3, #3
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L13
	ldr	r3, .L15+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L13
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L13
	ldr	r3, .L15
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L13
	mov	r2, ip
	ldr	r3, [fp, #-12]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L13
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	mov	r2, ip
	ldr	r3, [fp, #-12]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L14
	mov	r2, ip
	ldr	r3, [fp, #-12]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #46
	strb	r2, [r3]
	mov	r3, #1
	b	.L10
.L14:
	mov	r3, #0
	b	.L10
.L13:
	mov	r3, #0
.L10:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L16:
	.align	2
.L15:
	.word	X
	.word	Y
	.size	move, .-move
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%c\000"
	.align	2
.LC1:
	.ascii	"%d\012\000"
	.align	2
.LC2:
	.ascii	"%d %d %d\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #76
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #1
	str	r3, [fp, #-52]
	mov	r3, #1
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	mvn	r3, #0
	str	r3, [fp, #-36]
	b	.L18
.L31:
	mov	r3, sp
	mov	r8, r3
	ldr	r3, .L34+4
	ldr	ip, [r3]
	ldr	r3, .L34+8
	ldr	lr, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-88]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r6, ip
	sub	r3, lr, #1
	str	r3, [fp, #-84]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r7, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r7, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r7, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r7, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-80]
	mov	r3, #0
	strb	r3, [fp, #-97]
	b	.L19
.L25:
	mov	r3, #0
	strb	r3, [fp, #-98]
	b	.L20
.L24:
	ldrb	r2, [fp, #-97]	@ zero_extendqisi2
	ldrb	r3, [fp, #-98]	@ zero_extendqisi2
	mul	r2, r6, r2
	add	r3, r2, r3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L34+12
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-97]	@ zero_extendqisi2
	ldrb	r2, [fp, #-98]	@ zero_extendqisi2
	ldr	r1, [fp, #-80]
	mul	r3, r6, r3
	add	r2, r1, r2
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L21
	ldrb	r3, [fp, #-97]	@ zero_extendqisi2
	ldrb	r2, [fp, #-98]	@ zero_extendqisi2
	ldr	r1, [fp, #-80]
	mul	r3, r6, r3
	add	r2, r1, r2
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L22
.L21:
	ldrb	r3, [fp, #-98]	@ zero_extendqisi2
	sub	r3, r3, #1
	strb	r3, [fp, #-98]
	b	.L23
.L22:
	ldrb	r3, [fp, #-97]	@ zero_extendqisi2
	ldrb	r2, [fp, #-98]	@ zero_extendqisi2
	ldr	r1, [fp, #-80]
	mul	r3, r6, r3
	add	r2, r1, r2
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	sub	r3, fp, #76
	add	r3, r3, #8
	mov	r1, r3
	mov	r0, r2
	bl	initialDir
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldrb	r3, [fp, #-97]	@ zero_extendqisi2
	ldrb	r2, [fp, #-98]	@ zero_extendqisi2
	ldr	r1, [fp, #-80]
	mul	r3, r6, r3
	add	r2, r1, r2
	add	r3, r2, r3
	mov	r2, #46
	strb	r2, [r3]
	ldrb	r3, [fp, #-98]	@ zero_extendqisi2
	str	r3, [fp, #-72]
	ldrb	r3, [fp, #-97]	@ zero_extendqisi2
	str	r3, [fp, #-76]
.L23:
	ldrb	r3, [fp, #-98]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-98]
.L20:
	ldrb	r2, [fp, #-98]	@ zero_extendqisi2
	ldr	r3, .L34+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L24
	ldrb	r3, [fp, #-97]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-97]
.L19:
	ldrb	r2, [fp, #-97]	@ zero_extendqisi2
	ldr	r3, .L34+8
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L25
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L26
.L29:
	sub	r3, fp, #99
	mov	r1, r3
	ldr	r0, .L34+12
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-99]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L26
	ldrb	r3, [fp, #-99]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L28
	b	.L26
.L28:
	ldrb	r3, [fp, #-99]	@ zero_extendqisi2
	sub	r2, fp, #64
	sub	r1, fp, #76
	ldr	r0, [fp, #-80]
	bl	move
	mov	r2, r0
	ldr	r3, [fp, #-92]
	add	r3, r3, r2
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-96]
	sub	r3, r3, #1
	str	r3, [fp, #-96]
.L26:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bgt	.L29
	ldr	r1, [fp, #-92]
	ldr	r0, .L34+16
	bl	printf
	mov	sp, r8
.L18:
	sub	r3, fp, #96
	ldr	r2, .L34+4
	ldr	r1, .L34+8
	ldr	r0, .L34+20
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	ldr	r3, .L34+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L31
	ldr	r3, .L34+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L31
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L31
.L30:
	mov	r3, #0
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC3
	.word	X
	.word	Y
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
