	.file	"371167.c"
	.intel_syntax noprefix
	.text
	.globl	fortress
	.bss
	.align 16
	.type	fortress, @object
	.size	fortress, 24
fortress:
	.zero	24
	.text
	.globl	belongsTo
	.type	belongsTo, @function
belongsTo:
.LFB0:
	.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm2, QWORD PTR fortress[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm2, QWORD PTR fortress[rip]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm3, QWORD PTR fortress[rip+8]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm3, QWORD PTR fortress[rip+8]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movsd	xmm2, QWORD PTR fortress[rip+16]
	movsd	xmm0, QWORD PTR fortress[rip+16]
	mulsd	xmm0, xmm2
	comisd	xmm0, xmm1
	setnb	al
	movzx	eax, al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	belongsTo, .-belongsTo
	.globl	cannon
	.bss
	.align 32
	.type	cannon, @object
	.size	cannon, 32
cannon:
	.zero	32
	.text
	.globl	getAngle
	.type	getAngle, @function
getAngle:
.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, 32
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	QWORD PTR -32[rbp], xmm1
	movsd	xmm0, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movsd	xmm0, QWORD PTR .LC0[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movsd	xmm1, QWORD PTR -24[rbp]
	divsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	acos@PLT
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -24[rbp]
	jbe	.L4
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -32[rbp]
	jbe	.L4
	movsd	xmm0, QWORD PTR .LC2[rip]
	subsd	xmm0, QWORD PTR -8[rbp]
	addsd	xmm0, xmm0
	addsd	xmm0, QWORD PTR -8[rbp]
	jmp	.L7
.L4:
	movsd	xmm0, QWORD PTR -24[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L8
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -32[rbp]
	jbe	.L8
	movsd	xmm0, QWORD PTR .LC3[rip]
	subsd	xmm0, QWORD PTR -8[rbp]
	jmp	.L7
.L8:
	movsd	xmm0, QWORD PTR -8[rbp]
.L7:
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	getAngle, .-getAngle
	.globl	isHit
	.type	isHit, @function
isHit:
.LFB2:
	.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR cannon[rip+8]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR cannon[rip]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movapd	xmm1, xmm2
	movq	xmm0, rax
	call	getAngle
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	movsd	xmm0, QWORD PTR cannon[rip+24]
	movsd	xmm1, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR cannon[rip+16]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	comisd	xmm0, xmm1
	jb	.L16
	movsd	xmm0, QWORD PTR cannon[rip+16]
	addsd	xmm0, QWORD PTR -8[rbp]
	comisd	xmm0, QWORD PTR -16[rbp]
	jb	.L16
	mov	eax, 1
	jmp	.L20
.L16:
	mov	eax, 0
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	isHit, .-isHit
	.globl	iterate
	.bss
	.align 32
	.type	iterate, @object
	.size	iterate, 72
iterate:
	.zero	72
	.section	.rodata
.LC6:
	.string	"%.1lf\n"
	.text
	.globl	scan
	.type	scan, @function
scan:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	xmm0, QWORD PTR fortress[rip+16]
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR iterate[rip+48], xmm0
	movsd	xmm1, QWORD PTR iterate[rip+48]
	movsd	xmm0, QWORD PTR iterate[rip+48]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR iterate[rip+56], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR iterate[rip+64], xmm0
	movsd	xmm0, QWORD PTR fortress[rip]
	movsd	xmm1, QWORD PTR fortress[rip+16]
	subsd	xmm0, xmm1
	movsd	QWORD PTR iterate[rip+16], xmm0
	movsd	xmm1, QWORD PTR fortress[rip]
	movsd	xmm0, QWORD PTR fortress[rip+16]
	addsd	xmm0, xmm1
	movsd	QWORD PTR iterate[rip+32], xmm0
	movsd	xmm0, QWORD PTR fortress[rip+8]
	movsd	xmm1, QWORD PTR fortress[rip+16]
	subsd	xmm0, xmm1
	movsd	QWORD PTR iterate[rip+40], xmm0
	movsd	xmm1, QWORD PTR fortress[rip+8]
	movsd	xmm0, QWORD PTR fortress[rip+16]
	addsd	xmm0, xmm1
	movsd	QWORD PTR iterate[rip+8], xmm0
	jmp	.L24
.L28:
	movsd	xmm0, QWORD PTR iterate[rip+16]
	movsd	QWORD PTR iterate[rip], xmm0
	jmp	.L25
.L27:
	lea	rsi, iterate[rip+8]
	lea	rdi, iterate[rip]
	call	belongsTo
	test	eax, eax
	je	.L26
	lea	rsi, iterate[rip+8]
	lea	rdi, iterate[rip]
	call	isHit
	test	eax, eax
	je	.L26
	movsd	xmm1, QWORD PTR iterate[rip+64]
	movsd	xmm0, QWORD PTR iterate[rip+56]
	addsd	xmm0, xmm1
	movsd	QWORD PTR iterate[rip+64], xmm0
.L26:
	movsd	xmm1, QWORD PTR iterate[rip]
	movsd	xmm0, QWORD PTR iterate[rip+48]
	addsd	xmm0, xmm1
	movsd	QWORD PTR iterate[rip], xmm0
.L25:
	movsd	xmm1, QWORD PTR iterate[rip]
	movsd	xmm0, QWORD PTR iterate[rip+32]
	comisd	xmm0, xmm1
	jnb	.L27
	movsd	xmm0, QWORD PTR iterate[rip+8]
	movsd	xmm1, QWORD PTR iterate[rip+48]
	subsd	xmm0, xmm1
	movsd	QWORD PTR iterate[rip+8], xmm0
.L24:
	movsd	xmm0, QWORD PTR iterate[rip+8]
	movsd	xmm1, QWORD PTR iterate[rip+40]
	comisd	xmm0, xmm1
	jnb	.L28
	mov	rax, QWORD PTR iterate[rip+64]
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	scan, .-scan
	.section	.rodata
.LC7:
	.string	"%lf%lf%lf"
.LC8:
	.string	"%lf%lf%lf%lf"
	.text
	.globl	getInput
	.type	getInput, @function
getInput:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rcx, fortress[rip+16]
	lea	rdx, fortress[rip+8]
	lea	rsi, fortress[rip]
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movsd	xmm0, QWORD PTR fortress[rip]
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L30
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jne	.L30
	movsd	xmm0, QWORD PTR fortress[rip+8]
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L30
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jne	.L30
	movsd	xmm0, QWORD PTR fortress[rip+16]
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L30
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jne	.L30
	mov	eax, 0
	jmp	.L34
.L30:
	lea	r8, cannon[rip+24]
	lea	rcx, cannon[rip+16]
	lea	rdx, cannon[rip+8]
	lea	rsi, cannon[rip]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movsd	xmm0, QWORD PTR cannon[rip+16]
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR cannon[rip+16], xmm0
	movsd	xmm0, QWORD PTR cannon[rip+24]
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR cannon[rip+24], xmm0
	mov	eax, 1
.L34:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	getInput, .-getInput
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	jmp	.L39
.L40:
	mov	eax, 0
	call	scan
.L39:
	mov	eax, 0
	call	getInput
	test	eax, eax
	jne	.L40
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1071644672
	.align 8
.LC2:
	.long	1413754136
	.long	1074340347
	.align 8
.LC3:
	.long	1413754136
	.long	1075388923
	.align 8
.LC4:
	.long	0
	.long	1073741824
	.align 8
.LC5:
	.long	-755914244
	.long	1062232653
	.align 8
.LC9:
	.long	0
	.long	1081507840
	.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	"371167.c"
	.text
	.comm	fortress,24,8
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_dcmple
	.align	2
	.global	belongsTo
	.syntax unified
	.arm
	.fpu softvfp
	.type	belongsTo, %function
belongsTo:
	@ 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]
	ldmia	r3, {r0-r1}
	ldr	r3, .L4
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-24]
	ldmia	r3, {r0-r1}
	ldr	r3, .L4
	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, #-28]
	ldmia	r3, {r0-r1}
	ldr	r3, .L4
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-28]
	ldmia	r3, {r0-r1}
	ldr	r3, .L4
	add	r3, r3, #8
	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	r4, r2
	mov	r5, r3
	ldr	r3, .L4
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	ldr	r3, .L4
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r1, #1
	mov	r6, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	mov	r3, #0
	mov	r6, r3
.L2:
	and	r3, r6, #255
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L5:
	.align	2
.L4:
	.word	fortress
	.size	belongsTo, .-belongsTo
	.comm	cannon,32,8
	.global	__aeabi_ddiv
	.global	__aeabi_dcmplt
	.global	__aeabi_dcmpgt
	.align	2
	.global	getAngle
	.syntax unified
	.arm
	.fpu softvfp
	.type	getAngle, %function
getAngle:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	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
	mov	r2, #0
	ldr	r3, .L18
	bl	pow
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	acos
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L18+4
	ldr	r1, .L18+8
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	b	.L10
.L7:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L18+4
	ldr	r1, .L18+12
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	b	.L10
.L11:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
.L10:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L19:
	.align	2
.L18:
	.word	1071644672
	.word	1413754136
	.word	1074340347
	.word	1075388923
	.size	getAngle, .-getAngle
	.global	__aeabi_dcmpge
	.align	2
	.global	isHit
	.syntax unified
	.arm
	.fpu softvfp
	.type	isHit, %function
isHit:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-32]
	ldmia	r3, {r0-r1}
	ldr	r3, .L28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-36]
	ldmia	r3, {r0-r1}
	ldr	r3, .L28
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	getAngle
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r3, .L28
	add	r1, r3, #24
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, .L28
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L28
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	mov	r3, #1
	b	.L25
.L21:
	mov	r3, #0
.L25:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L29:
	.align	2
.L28:
	.word	cannon
	.size	isHit, .-isHit
	.comm	iterate,72,8
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%.1lf\012\000"
	.text
	.align	2
	.global	scan
	.syntax unified
	.arm
	.fpu softvfp
	.type	scan, %function
scan:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L36
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L36+4
	ldr	r3, .L36+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L36+12
	str	r2, [r1, #48]
	str	r3, [r1, #52]
	ldr	r3, .L36+12
	add	r1, r3, #48
	ldmia	r1, {r0-r1}
	ldr	r3, .L36+12
	add	r3, r3, #48
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L36+12
	str	r2, [r1, #56]
	str	r3, [r1, #60]
	ldr	r1, .L36+12
	mov	r2, #0
	mov	r3, #0
	str	r2, [r1, #64]
	str	r3, [r1, #68]
	ldr	r3, .L36
	ldmia	r3, {r0-r1}
	ldr	r3, .L36
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L36+12
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r3, .L36
	ldmia	r3, {r0-r1}
	ldr	r3, .L36
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L36+12
	str	r2, [r1, #32]
	str	r3, [r1, #36]
	ldr	r3, .L36
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, .L36
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L36+12
	str	r2, [r1, #40]
	str	r3, [r1, #44]
	ldr	r3, .L36
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, .L36
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L36+12
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	b	.L31
.L35:
	ldr	r3, .L36+12
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	ldr	r1, .L36+12
	stm	r1, {r2-r3}
	b	.L32
.L34:
	ldr	r1, .L36+16
	ldr	r0, .L36+12
	bl	belongsTo
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	ldr	r1, .L36+16
	ldr	r0, .L36+12
	bl	isHit
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	ldr	r3, .L36+12
	add	r1, r3, #64
	ldmia	r1, {r0-r1}
	ldr	r3, .L36+12
	add	r3, r3, #56
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L36+12
	str	r2, [r1, #64]
	str	r3, [r1, #68]
.L33:
	ldr	r3, .L36+12
	ldmia	r3, {r0-r1}
	ldr	r3, .L36+12
	add	r3, r3, #48
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L36+12
	stm	r1, {r2-r3}
.L32:
	ldr	r3, .L36+12
	ldmia	r3, {r0-r1}
	ldr	r3, .L36+12
	add	r3, r3, #32
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L34
	ldr	r3, .L36+12
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, .L36+12
	add	r3, r3, #48
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L36+12
	str	r2, [r1, #8]
	str	r3, [r1, #12]
.L31:
	ldr	r3, .L36+12
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, .L36+12
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	ldr	r3, .L36+12
	add	r3, r3, #64
	ldmia	r3, {r2-r3}
	ldr	r0, .L36+20
	bl	printf
	nop
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	fortress
	.word	-755914244
	.word	1062232653
	.word	iterate
	.word	iterate+8
	.word	.LC0
	.size	scan, .-scan
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%lf%lf%lf\000"
	.global	__aeabi_dcmpeq
	.align	2
.LC2:
	.ascii	"%lf%lf%lf%lf\000"
	.text
	.align	2
	.global	getInput
	.syntax unified
	.arm
	.fpu softvfp
	.type	getInput, %function
getInput:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L47
	ldr	r2, .L47+4
	ldr	r1, .L47+8
	ldr	r0, .L47+12
	bl	__isoc99_scanf
	ldr	r3, .L47+8
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r3, .L47+8
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r3, .L47+8
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	mov	r3, #0
	b	.L43
.L39:
	ldr	r3, .L47+16
	str	r3, [sp]
	ldr	r3, .L47+20
	ldr	r2, .L47+24
	ldr	r1, .L47+28
	ldr	r0, .L47+32
	bl	__isoc99_scanf
	ldr	r3, .L47+28
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L47+36
	ldr	r3, .L47+40
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L47+44
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L47+28
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r3, .L47+28
	add	r1, r3, #24
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L47+36
	ldr	r3, .L47+40
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L47+44
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L47+28
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	mov	r3, #1
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	fortress+16
	.word	fortress+8
	.word	fortress
	.word	.LC1
	.word	cannon+24
	.word	cannon+16
	.word	cannon+8
	.word	cannon
	.word	.LC2
	.word	1413754136
	.word	1074340347
	.word	1081507840
	.size	getInput, .-getInput
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	b	.L50
.L51:
	bl	scan
.L50:
	bl	getInput
	mov	r3, r0
	cmp	r3, #0
	bne	.L51
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
