	.file	"593027.c"
	.intel_syntax noprefix
	.text
	.globl	distance
	.type	distance, @function
distance:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm3, QWORD PTR [rax]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm3, QWORD PTR [rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	distance, .-distance
	.section	.rodata
.LC0:
	.string	"%lf %lf"
	.align 8
.LC3:
	.string	"The gopher can escape through the hole at (%.3lf,%.3lf).\n"
.LC4:
	.string	"The gopher cannot escape."
.LC5:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L4
.L10:
	lea	rax, -64[rbp]
	lea	rdx, 8[rax]
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -80[rbp]
	lea	rdx, 8[rax]
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	BYTE PTR -105[rbp], 0
	mov	DWORD PTR -100[rbp], 0
	jmp	.L5
.L8:
	lea	rax, -48[rbp]
	lea	rdx, 8[rax]
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	BYTE PTR -105[rbp], 0
	jne	.L6
	lea	rdx, -48[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -96[rbp], rax
	lea	rdx, -48[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -88[rbp], rax
	movsd	xmm0, QWORD PTR -96[rbp]
	movsd	xmm1, QWORD PTR .LC1[rip]
	divsd	xmm0, xmm1
	subsd	xmm0, QWORD PTR -88[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jb	.L6
	mov	BYTE PTR -105[rbp], 1
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR -24[rbp], xmm0
.L6:
	add	DWORD PTR -100[rbp], 1
.L5:
	mov	eax, DWORD PTR -104[rbp]
	cmp	DWORD PTR -100[rbp], eax
	jl	.L8
	cmp	BYTE PTR -105[rbp], 1
	jne	.L9
	movsd	xmm0, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L4
.L9:
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L4:
	lea	rax, -104[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L10
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1073741824
	.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	"593027.c"
	.text
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
	.global	distance
	.syntax unified
	.arm
	.fpu softvfp
	.type	distance, %function
distance:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #8
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-24]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-28]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-24]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-28]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	distance, .-distance
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%lf %lf\000"
	.global	__aeabi_ddiv
	.global	__aeabi_dcmpge
	.align	2
.LC1:
	.ascii	"The gopher can escape through the hole at (%.3lf,%."
	.ascii	"3lf).\012\000"
	.align	2
.LC2:
	.ascii	"The gopher cannot escape.\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L4
.L10:
	sub	r3, fp, #60
	add	r2, r3, #8
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L14+4
	bl	__isoc99_scanf
	sub	r3, fp, #76
	add	r2, r3, #8
	sub	r3, fp, #76
	mov	r1, r3
	ldr	r0, .L14+4
	bl	__isoc99_scanf
	mov	r3, #0
	strb	r3, [fp, #-101]
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L5
.L8:
	sub	r3, fp, #44
	add	r2, r3, #8
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L14+4
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-101]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L6
	sub	r2, fp, #44
	sub	r3, fp, #76
	mov	r1, r2
	mov	r0, r3
	bl	distance
	str	r0, [fp, #-92]
	str	r1, [fp, #-88]
	sub	r2, fp, #44
	sub	r3, fp, #60
	mov	r1, r2
	mov	r0, r3
	bl	distance
	str	r0, [fp, #-84]
	str	r1, [fp, #-80]
	mov	r2, #0
	mov	r3, #1073741824
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	mov	r3, #1
	strb	r3, [fp, #-101]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
.L6:
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L5:
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-96]
	cmp	r2, r3
	blt	.L8
	ldrb	r3, [fp, #-101]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L9
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L14+8
	bl	printf
	b	.L4
.L9:
	ldr	r0, .L14+12
	bl	puts
.L4:
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, .L14+16
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L10
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
