	.file	"309969.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Please enter Pac-mans X Coordinate: "
.LC1:
	.string	"%lf"
	.align 8
.LC2:
	.string	"Please enter Pac-mans Y Coordinate: "
.LC3:
	.string	"Pac-mans coordinate's are: "
.LC4:
	.string	"(%d, "
.LC5:
	.string	"%d)"
	.align 8
.LC6:
	.string	"The Distance between Pac-man and his destination is: "
.LC7:
	.string	"%d)\n"
.LC8:
	.string	"Pac-Man moved right. "
.LC9:
	.string	"Pac-man moved left. "
.LC10:
	.string	"Pac-man moved up, "
.LC11:
	.string	"Pac-man moved down."
	.align 8
.LC12:
	.string	"Pac-man has arrived at his destination, "
.LC13:
	.string	"(%d,"
.LC14:
	.string	"%d) \n"
	.text
	.globl	main
	.type	main, @function
main:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -24[rbp], -5
	mov	DWORD PTR -20[rbp], -6
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, edx
	mov	DWORD PTR -16[rbp], eax
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, edx
	mov	DWORD PTR -12[rbp], eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -32[rbp]
	cmp	DWORD PTR -24[rbp], eax
	jle	.L2
	jmp	.L3
.L4:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	mov	DWORD PTR -32[rbp], eax
.L3:
	mov	eax, DWORD PTR -32[rbp]
	cmp	DWORD PTR -24[rbp], eax
	jg	.L4
	jmp	.L5
.L2:
	mov	eax, DWORD PTR -32[rbp]
	cmp	DWORD PTR -24[rbp], eax
	jge	.L5
	jmp	.L6
.L7:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 1
	mov	DWORD PTR -32[rbp], eax
.L6:
	mov	eax, DWORD PTR -32[rbp]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L7
.L5:
	mov	eax, DWORD PTR -28[rbp]
	cmp	DWORD PTR -20[rbp], eax
	jle	.L8
	jmp	.L9
.L10:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	mov	DWORD PTR -28[rbp], eax
.L9:
	mov	eax, DWORD PTR -28[rbp]
	cmp	DWORD PTR -20[rbp], eax
	jg	.L10
	jmp	.L11
.L8:
	mov	eax, DWORD PTR -28[rbp]
	cmp	DWORD PTR -20[rbp], eax
	jge	.L11
	jmp	.L12
.L13:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	mov	DWORD PTR -28[rbp], eax
.L12:
	mov	eax, DWORD PTR -28[rbp]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L13
.L11:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"309969.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Please enter Pac-mans X Coordinate: \000"
	.align	2
.LC1:
	.ascii	"%lf\000"
	.align	2
.LC2:
	.ascii	"Please enter Pac-mans Y Coordinate: \000"
	.align	2
.LC3:
	.ascii	"Pac-mans coordinate's are: \000"
	.align	2
.LC4:
	.ascii	"(%d, \000"
	.align	2
.LC5:
	.ascii	"%d)\000"
	.align	2
.LC6:
	.ascii	"The Distance between Pac-man and his destination is"
	.ascii	": \000"
	.align	2
.LC7:
	.ascii	"%d)\012\000"
	.align	2
.LC8:
	.ascii	"Pac-Man moved right. \000"
	.align	2
.LC9:
	.ascii	"Pac-man moved left. \000"
	.align	2
.LC10:
	.ascii	"Pac-man moved up, \000"
	.align	2
.LC11:
	.ascii	"Pac-man moved down.\000"
	.align	2
.LC12:
	.ascii	"Pac-man has arrived at his destination, \000"
	.align	2
.LC13:
	.ascii	"(%d,\000"
	.align	2
.LC14:
	.ascii	"%d) \012\000"
	.align	2
.LC15:
	.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, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L16+4
	bl	puts
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L16+8
	bl	__isoc99_scanf
	ldr	r0, .L16+12
	bl	puts
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L16+8
	bl	__isoc99_scanf
	ldr	r0, .L16+16
	bl	puts
	ldr	r3, [fp, #-32]
	mov	r1, r3
	ldr	r0, .L16+20
	bl	printf
	ldr	r3, [fp, #-28]
	mov	r1, r3
	ldr	r0, .L16+24
	bl	printf
	mvn	r3, #4
	str	r3, [fp, #-24]
	mvn	r3, #5
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-24]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-20]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r0, .L16+28
	bl	printf
	ldr	r1, [fp, #-16]
	ldr	r0, .L16+20
	bl	printf
	ldr	r1, [fp, #-12]
	ldr	r0, .L16+32
	bl	printf
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L2
	b	.L3
.L4:
	ldr	r0, .L16+36
	bl	puts
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L3:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bgt	.L4
	b	.L5
.L2:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bge	.L5
	b	.L6
.L7:
	ldr	r0, .L16+40
	bl	puts
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
.L6:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L7
.L5:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L8
	b	.L9
.L10:
	ldr	r0, .L16+44
	bl	puts
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L9:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bgt	.L10
	b	.L11
.L8:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L11
	b	.L12
.L13:
	ldr	r0, .L16+48
	bl	puts
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
.L12:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L13
.L11:
	ldr	r0, .L16+52
	bl	puts
	ldr	r3, [fp, #-32]
	mov	r1, r3
	ldr	r0, .L16+56
	bl	printf
	ldr	r3, [fp, #-28]
	mov	r1, r3
	ldr	r0, .L16+60
	bl	printf
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC15
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
