	.file	"7440.c"
	.intel_syntax noprefix
	.text
	.globl	polygons
	.data
	.align 32
	.type	polygons, @object
	.size	polygons, 272
polygons:
	.long	4
	.zero	16
	.zero	16
	.long	1092616192
	.long	1092616192
	.long	1101004800
	.long	1101004800
	.long	1109393408
	.long	1106247680
	.long	1109393408
	.long	1084227584
	.long	4
	.zero	16
	.zero	16
	.long	-1043857408
	.long	0
	.long	-1041235968
	.long	-1054867456
	.long	-1038090240
	.long	-1046478848
	.long	-1054867456
	.long	-1041235968
	.long	4
	.zero	16
	.zero	16
	.long	-1054867456
	.long	1092616192
	.long	-1046478848
	.long	1092616192
	.long	-1041235968
	.long	1106247680
	.long	-1054867456
	.long	1101004800
	.long	4
	.zero	16
	.zero	16
	.long	1036831949
	.long	1057971241
	.long	1048911544
	.long	1057635697
	.long	1050924810
	.long	1059984507
	.long	1017370378
	.long	1063675494
	.globl	polygons_cnt
	.align 4
	.type	polygons_cnt, @object
	.size	polygons_cnt, 4
polygons_cnt:
	.long	4
	.text
	.globl	precalc_values
	.type	precalc_values, @function
precalc_values:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -28[rbp], 0
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, polygons[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	eax, 1
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L2
.L8:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L3
.L7:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rcx, 4[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	sal	rcx, 3
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, polygons[rip+4]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, 4[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	sal	rcx, 3
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, polygons[rip+4]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -12[rbp], xmm0
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rcx, 4[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	sal	rcx, 3
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, polygons[rip+8]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -8[rbp], xmm0
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, 4[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	sal	rcx, 3
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, polygons[rip+8]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR -4[rbp]
	ucomiss	xmm0, DWORD PTR -8[rbp]
	jp	.L4
	movss	xmm0, DWORD PTR -4[rbp]
	ucomiss	xmm0, DWORD PTR -8[rbp]
	jne	.L4
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	add	rax, rcx
	add	rax, 4
	lea	rdx, 0[0+rax*4]
	lea	rax, polygons[rip+4]
	movss	xmm0, DWORD PTR -16[rbp]
	movss	DWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, polygons[rip+4]
	pxor	xmm0, xmm0
	movss	DWORD PTR [rdx+rax], xmm0
	jmp	.L6
.L4:
	movss	xmm0, DWORD PTR -8[rbp]
	mulss	xmm0, DWORD PTR -12[rbp]
	movss	xmm1, DWORD PTR -4[rbp]
	movaps	xmm2, xmm1
	subss	xmm2, DWORD PTR -8[rbp]
	movaps	xmm1, xmm0
	divss	xmm1, xmm2
	movss	xmm0, DWORD PTR -16[rbp]
	movaps	xmm2, xmm0
	subss	xmm2, xmm1
	movss	xmm0, DWORD PTR -8[rbp]
	mulss	xmm0, DWORD PTR -16[rbp]
	movss	xmm1, DWORD PTR -4[rbp]
	subss	xmm1, DWORD PTR -8[rbp]
	divss	xmm0, xmm1
	addss	xmm0, xmm2
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	add	rax, rcx
	add	rax, 4
	lea	rdx, 0[0+rax*4]
	lea	rax, polygons[rip+4]
	movss	DWORD PTR [rdx+rax], xmm0
	movss	xmm0, DWORD PTR -12[rbp]
	subss	xmm0, DWORD PTR -16[rbp]
	movss	xmm1, DWORD PTR -4[rbp]
	subss	xmm1, DWORD PTR -8[rbp]
	divss	xmm0, xmm1
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, polygons[rip+4]
	movss	DWORD PTR [rdx+rax], xmm0
.L6:
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -20[rbp], eax
	add	DWORD PTR -24[rbp], 1
.L3:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, polygons[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L7
	add	DWORD PTR -28[rbp], 1
.L2:
	mov	eax, DWORD PTR polygons_cnt[rip]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L8
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	precalc_values, .-precalc_values
	.section	.rodata
	.align 8
.LC1:
	.string	"Point %f %f is inside polygon %d\n"
	.align 8
.LC2:
	.string	"Point %f %f does not lie within any polygon\n"
	.text
	.globl	point_in_polygon
	.type	point_in_polygon, @function
point_in_polygon:
.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, 48
	movss	DWORD PTR -36[rbp], xmm0
	movss	DWORD PTR -40[rbp], xmm1
	mov	BYTE PTR -29[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, polygons[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	eax, 1
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L11
.L22:
	mov	BYTE PTR -29[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L12
.L19:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rcx, 4[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	sal	rcx, 3
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, polygons[rip+4]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, 4[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	sal	rcx, 3
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, polygons[rip+4]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -12[rbp], xmm0
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rcx, 4[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	sal	rcx, 3
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, polygons[rip+8]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -8[rbp], xmm0
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, 4[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	sal	rcx, 3
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, polygons[rip+8]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR -40[rbp]
	comiss	xmm0, DWORD PTR -8[rbp]
	jbe	.L13
	movss	xmm0, DWORD PTR -4[rbp]
	comiss	xmm0, DWORD PTR -40[rbp]
	jnb	.L15
.L13:
	movss	xmm0, DWORD PTR -40[rbp]
	comiss	xmm0, DWORD PTR -4[rbp]
	jbe	.L16
	movss	xmm0, DWORD PTR -8[rbp]
	comiss	xmm0, DWORD PTR -40[rbp]
	jb	.L16
.L15:
	movzx	ecx, BYTE PTR -29[rbp]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, polygons[rip+4]
	movss	xmm0, DWORD PTR [rdx+rax]
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	add	rax, rsi
	add	rax, 4
	lea	rdx, 0[0+rax*4]
	lea	rax, polygons[rip+4]
	movss	xmm0, DWORD PTR [rdx+rax]
	addss	xmm1, xmm0
	movss	xmm0, DWORD PTR -36[rbp]
	comiss	xmm0, xmm1
	seta	al
	movzx	eax, al
	xor	eax, ecx
	test	eax, eax
	setne	al
	mov	BYTE PTR -29[rbp], al
.L16:
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -20[rbp], eax
	add	DWORD PTR -24[rbp], 1
.L12:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, polygons[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L19
	cmp	BYTE PTR -29[rbp], 0
	je	.L20
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -40[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -36[rbp]
	movq	rax, xmm2
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC1[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L21
.L20:
	add	DWORD PTR -28[rbp], 1
.L11:
	mov	eax, DWORD PTR polygons_cnt[rip]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L22
.L21:
	mov	eax, DWORD PTR polygons_cnt[rip]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L23
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -40[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -36[rbp]
	movq	rax, xmm3
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 2
	call	printf@PLT
.L23:
	movzx	eax, BYTE PTR -29[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	point_in_polygon, .-point_in_polygon
	.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
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movss	xmm0, DWORD PTR .LC3[rip]
	movss	DWORD PTR -48[rbp], xmm0
	movss	xmm0, DWORD PTR .LC4[rip]
	movss	DWORD PTR -44[rbp], xmm0
	movss	xmm0, DWORD PTR .LC5[rip]
	movss	DWORD PTR -40[rbp], xmm0
	movss	xmm0, DWORD PTR .LC6[rip]
	movss	DWORD PTR -36[rbp], xmm0
	movss	xmm0, DWORD PTR .LC7[rip]
	movss	DWORD PTR -32[rbp], xmm0
	movss	xmm0, DWORD PTR .LC8[rip]
	movss	DWORD PTR -28[rbp], xmm0
	movss	xmm0, DWORD PTR .LC9[rip]
	movss	DWORD PTR -24[rbp], xmm0
	movss	xmm0, DWORD PTR .LC10[rip]
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm0, DWORD PTR .LC11[rip]
	movss	DWORD PTR -16[rbp], xmm0
	movss	xmm0, DWORD PTR .LC9[rip]
	movss	DWORD PTR -12[rbp], xmm0
	mov	eax, 0
	call	precalc_values
	mov	DWORD PTR -52[rbp], 0
	jmp	.L28
.L29:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	movss	xmm0, DWORD PTR -44[rbp+rax*8]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*8]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	point_in_polygon
	add	DWORD PTR -52[rbp], 1
.L28:
	cmp	DWORD PTR -52[rbp], 2
	jle	.L29
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC3:
	.long	1048576000
	.align 4
.LC4:
	.long	1041865114
	.align 4
.LC5:
	.long	1036831949
	.align 4
.LC6:
	.long	1060320051
	.align 4
.LC7:
	.long	-1049624576
	.align 4
.LC8:
	.long	-1043857408
	.align 4
.LC9:
	.long	1097859072
	.align 4
.LC10:
	.long	1103626240
	.align 4
.LC11:
	.long	-1046478848
	.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	"7440.c"
	.text
	.global	polygons
	.data
	.align	2
	.type	polygons, %object
	.size	polygons, 272
polygons:
	.word	4
	.space	16
	.space	16
	.word	1092616192
	.word	1092616192
	.word	1101004800
	.word	1101004800
	.word	1109393408
	.word	1106247680
	.word	1109393408
	.word	1084227584
	.word	4
	.space	16
	.space	16
	.word	3251109888
	.word	0
	.word	3253731328
	.word	3240099840
	.word	3256877056
	.word	3248488448
	.word	3240099840
	.word	3253731328
	.word	4
	.space	16
	.space	16
	.word	3240099840
	.word	1092616192
	.word	3248488448
	.word	1092616192
	.word	3253731328
	.word	1106247680
	.word	3240099840
	.word	1101004800
	.word	4
	.space	16
	.space	16
	.word	1036831949
	.word	1057971241
	.word	1048911544
	.word	1057635697
	.word	1050924810
	.word	1059984507
	.word	1017370378
	.word	1063675494
	.global	polygons_cnt
	.align	2
	.type	polygons_cnt, %object
	.size	polygons_cnt, 4
polygons_cnt:
	.word	4
	.global	__aeabi_fcmpeq
	.global	__aeabi_fmul
	.global	__aeabi_fsub
	.global	__aeabi_fdiv
	.global	__aeabi_fadd
	.text
	.align	2
	.global	precalc_values
	.syntax unified
	.arm
	.fpu softvfp
	.type	precalc_values, %function
precalc_values:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r1, .L11
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L2
.L8:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L3
.L7:
	ldr	r0, .L11
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r2, [fp, #-40]
	lsl	r1, r3, #3
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-28]	@ float
	ldr	r0, .L11
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	ldr	r2, [fp, #-40]
	lsl	r1, r3, #3
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-24]	@ float
	ldr	r0, .L11
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r2, [fp, #-40]
	lsl	r1, r3, #3
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r0, r3
	add	r3, r3, #8
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-20]	@ float
	ldr	r0, .L11
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	ldr	r2, [fp, #-40]
	lsl	r1, r3, #3
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r0, r3
	add	r3, r3, #8
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-16]	@ float
	ldr	r1, [fp, #-20]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r1, .L11
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, [fp, #-36]
	add	r3, r3, r2
	add	r3, r3, #4
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [fp, #-28]	@ float
	str	r2, [r3, #4]	@ float
	ldr	r1, .L11
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, [fp, #-36]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #4]	@ float
	b	.L6
.L10:
	ldr	r1, [fp, #-24]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r1, [fp, #-20]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r4, r3
	ldr	r1, [fp, #-28]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r5, r3
	ldr	r1, [fp, #-20]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	ldr	r1, .L11
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, [fp, #-36]
	add	r3, r3, r2
	add	r3, r3, #4
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r0, [r3, #4]	@ float
	ldr	r1, [fp, #-28]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r4, r3
	ldr	r1, [fp, #-20]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	ldr	r1, .L11
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, [fp, #-36]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r0, [r3, #4]	@ float
.L6:
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L3:
	ldr	r1, .L11
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L7
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L2:
	ldr	r3, .L11+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L8
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L12:
	.align	2
.L11:
	.word	polygons
	.word	polygons_cnt
	.size	precalc_values, .-precalc_values
	.global	__aeabi_fcmplt
	.global	__aeabi_fcmpge
	.global	__aeabi_fcmpgt
	.global	__aeabi_f2d
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Point %f %f is inside polygon %d\012\000"
	.align	2
.LC2:
	.ascii	"Point %f %f does not lie within any polygon\012\000"
	.text
	.align	2
	.global	point_in_polygon
	.syntax unified
	.arm
	.fpu softvfp
	.type	point_in_polygon, %function
point_in_polygon:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #56
	str	r0, [fp, #-48]	@ float
	str	r1, [fp, #-52]	@ float
	mov	r3, #0
	strb	r3, [fp, #-41]
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r1, .L31
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L14
.L26:
	mov	r3, #0
	strb	r3, [fp, #-41]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L15
.L23:
	ldr	r0, .L31
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r2, [fp, #-40]
	lsl	r1, r3, #3
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-28]	@ float
	ldr	r0, .L31
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	ldr	r2, [fp, #-40]
	lsl	r1, r3, #3
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-24]	@ float
	ldr	r0, .L31
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r2, [fp, #-40]
	lsl	r1, r3, #3
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r0, r3
	add	r3, r3, #8
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-20]	@ float
	ldr	r0, .L31
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	ldr	r2, [fp, #-40]
	lsl	r1, r3, #3
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r0, r3
	add	r3, r3, #8
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-16]	@ float
	ldr	r1, [fp, #-52]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r1, [fp, #-52]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
.L16:
	ldr	r1, [fp, #-52]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r1, [fp, #-52]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
.L18:
	ldrb	r4, [fp, #-41]	@ zero_extendqisi2
	ldr	r1, .L31
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, [fp, #-36]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]	@ float
	ldr	r1, [fp, #-52]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	ldr	r1, .L31
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, [fp, #-36]
	add	r3, r3, r2
	add	r3, r3, #4
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]	@ float
	mov	r1, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, #1
	mov	r5, r2
	mov	r1, r3
	ldr	r0, [fp, #-48]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	mov	r3, #0
	mov	r5, r3
.L22:
	and	r3, r5, #255
	eor	r3, r3, r4
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-41]
.L19:
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L15:
	ldr	r1, .L31
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L23
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L24
	ldr	r0, [fp, #-48]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-40]
	str	r1, [sp, #8]
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L31+4
	bl	printf
	b	.L25
.L24:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L14:
	ldr	r3, .L31+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L26
.L25:
	ldr	r3, .L31+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bne	.L27
	ldr	r0, [fp, #-48]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L31+12
	bl	printf
.L27:
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L32:
	.align	2
.L31:
	.word	polygons
	.word	.LC1
	.word	polygons_cnt
	.word	.LC2
	.size	point_in_polygon, .-point_in_polygon
	.section	.rodata
	.align	2
.LC0:
	.word	1048576000
	.word	1041865114
	.word	1036831949
	.word	1060320051
	.word	3245342720
	.word	3251109888
	.word	1097859072
	.word	1103626240
	.word	3248488448
	.word	1097859072
	.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 = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L38+4
	sub	ip, fp, #48
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	bl	precalc_values
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L34
.L35:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]	@ float
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-40]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	point_in_polygon
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L34:
	ldr	r3, [fp, #-52]
	cmp	r3, #2
	ble	.L35
	mov	r3, #0
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC3
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
