	.file	"441657.c"
	.intel_syntax noprefix
	.text
	.globl	left_of
	.type	left_of, @function
left_of:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -48[rbp]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vsub@PLT
	lea	rdx, -32[rbp]
	mov	rcx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vsub@PLT
	lea	rdx, -32[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	cross@PLT
	movq	rax, xmm0
	mov	QWORD PTR -56[rbp], rax
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -56[rbp]
	jbe	.L8
	mov	eax, -1
	jmp	.L5
.L8:
	movsd	xmm0, QWORD PTR -56[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	seta	al
	movzx	eax, al
.L5:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	left_of, .-left_of
	.globl	line_sect
	.type	line_sect, @function
line_sect:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	QWORD PTR -104[rbp], rdx
	mov	QWORD PTR -112[rbp], rcx
	mov	QWORD PTR -120[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -64[rbp]
	mov	rcx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vsub@PLT
	lea	rdx, -48[rbp]
	mov	rcx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vsub@PLT
	lea	rdx, -32[rbp]
	mov	rcx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vsub@PLT
	lea	rdx, -64[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	cross@PLT
	movq	rax, xmm0
	mov	QWORD PTR -72[rbp], rax
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -72[rbp]
	jp	.L10
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -72[rbp]
	jne	.L10
	mov	eax, 0
	jmp	.L16
.L10:
	lea	rdx, -64[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	cross@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	divsd	xmm0, QWORD PTR -72[rbp]
	movsd	QWORD PTR -72[rbp], xmm0
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -72[rbp]
	jnb	.L13
	movsd	xmm0, QWORD PTR -72[rbp]
	movsd	xmm1, QWORD PTR .LC1[rip]
	comisd	xmm0, xmm1
	jb	.L19
.L13:
	mov	eax, 0
	jmp	.L16
.L19:
	mov	rax, QWORD PTR -104[rbp]
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -120[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -104[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	movsd	xmm0, QWORD PTR -40[rbp]
	mulsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -120[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	mov	eax, 1
.L16:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	line_sect, .-line_sect
	.globl	poly_new
	.type	poly_new, @function
poly_new:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, 16
	mov	edi, 1
	call	calloc@PLT
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	poly_new, .-poly_new
	.globl	poly_free
	.type	poly_free, @function
poly_free:
.LFB12:
	.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	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	poly_free, .-poly_free
	.globl	poly_append
	.type	poly_append, @function
poly_append:
.LFB13:
	.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]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jl	.L24
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	lea	edx, [rax+rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	jne	.L25
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 4[rax], 4
.L25:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rdx], rax
.L24:
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	DWORD PTR [rdx], ecx
	cdqe
	sal	rax, 4
	lea	rcx, [rsi+rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	poly_append, .-poly_append
	.globl	poly_winding
	.type	poly_winding, @function
poly_winding:
.LFB14:
	.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	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rdx, 32[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rcx, 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rcx
	mov	rdi, rax
	call	left_of
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	poly_winding, .-poly_winding
	.globl	poly_edge_clip
	.type	poly_edge_clip, @function
poly_edge_clip:
.LFB15:
	.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	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	DWORD PTR -92[rbp], ecx
	mov	QWORD PTR -104[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	sal	rax, 4
	sub	rax, 16
	add	rax, rdx
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	DWORD PTR [rax], 0
	mov	rdx, QWORD PTR -48[rbp]
	mov	rcx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	left_of
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	neg	eax
	cmp	DWORD PTR -56[rbp], eax
	je	.L29
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	poly_append
.L29:
	mov	DWORD PTR -60[rbp], 0
	jmp	.L30
.L35:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	left_of
	mov	DWORD PTR -52[rbp], eax
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	eax, edx
	test	eax, eax
	jne	.L31
	cmp	DWORD PTR -56[rbp], 0
	je	.L31
	lea	rdi, -32[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	line_sect
	test	eax, eax
	je	.L31
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	poly_append
.L31:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR [rax]
	sub	eax, 1
	cmp	DWORD PTR -60[rbp], eax
	je	.L37
	mov	eax, DWORD PTR -92[rbp]
	neg	eax
	cmp	DWORD PTR -52[rbp], eax
	je	.L34
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	poly_append
.L34:
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -56[rbp], eax
	add	DWORD PTR -60[rbp], 1
.L30:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -60[rbp], eax
	jl	.L35
	jmp	.L33
.L37:
	nop
.L33:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	poly_edge_clip, .-poly_edge_clip
	.globl	poly_clip
	.type	poly_clip, @function
poly_clip:
.LFB16:
	.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
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	eax, 0
	call	poly_new
	mov	QWORD PTR -24[rbp], rax
	mov	eax, 0
	call	poly_new
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	poly_winding
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	sal	rax, 4
	sub	rax, 16
	lea	rsi, [rcx+rax]
	mov	rdi, QWORD PTR -16[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	poly_edge_clip
	mov	DWORD PTR -32[rbp], 0
	jmp	.L39
.L42:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L40
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L41
.L40:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, 1
	sal	rax, 4
	lea	rdi, [rdx+rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 4
	lea	rsi, [rdx+rax]
	mov	rcx, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8, rcx
	mov	ecx, edx
	mov	rdx, rdi
	mov	rdi, rax
	call	poly_edge_clip
	add	DWORD PTR -32[rbp], 1
.L39:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	sub	eax, 1
	cmp	DWORD PTR -32[rbp], eax
	jl	.L42
.L41:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	poly_free
	mov	rax, QWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	poly_clip, .-poly_clip
	.section	.rodata
.LC9:
	.string	"%g %g\n"
.LC10:
	.string	"w"
.LC11:
	.string	"test.eps"
	.align 8
.LC12:
	.string	"%%!PS-Adobe-3.0\n%%%%BoundingBox: 40 40 360 360\n/l {lineto} def /m{moveto} def /s{setrgbcolor} def/c {closepath} def /gs {fill grestore stroke} def\n"
.LC13:
	.string	"0 setlinewidth %g %g m "
.LC14:
	.string	"%g %g l "
	.align 8
.LC15:
	.string	"c .5 0 0 s gsave 1 .7 .7 s gs\n"
.LC16:
	.string	"%g %g m "
	.align 8
.LC17:
	.string	"c 0 .2 .5 s gsave .4 .7 1 s gs\n"
	.align 8
.LC18:
	.string	"2 setlinewidth [10 8] 0 setdash %g %g m "
	.align 8
.LC19:
	.string	"c .5 0 .5 s gsave .7 .3 .8 s gs\n"
.LC20:
	.string	"%%%%EOF"
.LC21:
	.string	"test.eps written"
	.text
	.globl	main
	.type	main, @function
main:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 288
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -224[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -216[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -208[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -200[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -192[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -184[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -176[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -168[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR -160[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR -152[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR -144[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR -136[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC7[rip]
	movsd	QWORD PTR -128[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR -120[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC7[rip]
	movsd	QWORD PTR -112[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -104[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC8[rip]
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -88[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR -80[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC8[rip]
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR -64[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC7[rip]
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC8[rip]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR -24[rbp], xmm0
	mov	DWORD PTR -256[rbp], 4
	mov	DWORD PTR -252[rbp], 0
	lea	rax, -224[rbp]
	mov	QWORD PTR -248[rbp], rax
	mov	DWORD PTR -240[rbp], 9
	mov	DWORD PTR -236[rbp], 0
	lea	rax, -160[rbp]
	mov	QWORD PTR -232[rbp], rax
	lea	rdx, -256[rbp]
	lea	rax, -240[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	poly_clip
	mov	QWORD PTR -272[rbp], rax
	mov	DWORD PTR -276[rbp], 0
	jmp	.L45
.L46:
	mov	rax, QWORD PTR -272[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -272[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 2
	call	printf@PLT
	add	DWORD PTR -276[rbp], 1
.L45:
	mov	rax, QWORD PTR -272[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -276[rbp], eax
	jl	.L46
	lea	rsi, .LC10[rip]
	lea	rdi, .LC11[rip]
	call	fopen@PLT
	mov	QWORD PTR -264[rbp], rax
	mov	rax, QWORD PTR -264[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	movsd	xmm0, QWORD PTR -216[rbp]
	mov	rdx, QWORD PTR -224[rbp]
	mov	rax, QWORD PTR -264[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	mov	DWORD PTR -276[rbp], 1
	jmp	.L47
.L48:
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 216
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 224
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -264[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	add	DWORD PTR -276[rbp], 1
.L47:
	mov	eax, DWORD PTR -276[rbp]
	cmp	eax, 3
	jbe	.L48
	mov	rax, QWORD PTR -264[rbp]
	mov	rcx, rax
	mov	edx, 30
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
	movsd	xmm0, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR -264[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	mov	DWORD PTR -276[rbp], 1
	jmp	.L49
.L50:
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 152
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 160
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -264[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	add	DWORD PTR -276[rbp], 1
.L49:
	mov	eax, DWORD PTR -276[rbp]
	cmp	eax, 8
	jbe	.L50
	mov	rax, QWORD PTR -264[rbp]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -272[rbp]
	mov	rax, QWORD PTR 8[rax]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -272[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -264[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	mov	DWORD PTR -276[rbp], 1
	jmp	.L51
.L52:
	mov	rax, QWORD PTR -272[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -272[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -264[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	add	DWORD PTR -276[rbp], 1
.L51:
	mov	rax, QWORD PTR -272[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -276[rbp], eax
	jl	.L52
	mov	rax, QWORD PTR -264[rbp]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -264[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -264[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC21[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.align 8
.LC2:
	.long	0
	.long	1079574528
	.align 8
.LC3:
	.long	0
	.long	1081262080
	.align 8
.LC4:
	.long	0
	.long	1078525952
	.align 8
.LC5:
	.long	0
	.long	1080213504
	.align 8
.LC6:
	.long	0
	.long	1080623104
	.align 8
.LC7:
	.long	0
	.long	1081466880
	.align 8
.LC8:
	.long	0
	.long	1081032704
	.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	"441657.c"
	.text
	.global	__aeabi_dcmplt
	.global	__aeabi_dcmpgt
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	left_of
	.syntax unified
	.arm
	.fpu softvfp
	.type	left_of, %function
left_of:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #68
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #52
	mov	r2, r3
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-68]
	bl	vsub
	sub	r3, fp, #36
	mov	r2, r3
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-72]
	bl	vsub
	sub	r2, fp, #36
	sub	r3, fp, #52
	mov	r1, r2
	mov	r0, r3
	bl	cross
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	mvn	r3, #0
	b	.L6
.L9:
	mov	r3, #1
	mov	r4, r3
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	mov	r3, #0
	mov	r4, r3
.L5:
	and	r3, r4, #255
.L6:
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC2
	.size	left_of, .-left_of
	.global	__aeabi_dcmpeq
	.global	__aeabi_ddiv
	.global	__aeabi_dcmple
	.global	__aeabi_dcmpge
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	line_sect
	.syntax unified
	.arm
	.fpu softvfp
	.type	line_sect, %function
line_sect:
	@ args = 4, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #88
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	str	r2, [fp, #-88]
	str	r3, [fp, #-92]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-96]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #68
	mov	r2, r3
	ldr	r1, [fp, #-80]
	ldr	r0, [fp, #-84]
	bl	vsub
	sub	r3, fp, #52
	mov	r2, r3
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-92]
	bl	vsub
	sub	r3, fp, #36
	mov	r2, r3
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-80]
	bl	vsub
	sub	r2, fp, #68
	sub	r3, fp, #52
	mov	r1, r2
	mov	r0, r3
	bl	cross
	str	r0, [fp, #-76]
	str	r1, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	mov	r3, #0
	b	.L19
.L22:
	sub	r2, fp, #68
	sub	r3, fp, #36
	mov	r1, r2
	mov	r0, r3
	bl	cross
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	mov	r2, #0
	ldr	r3, .L24+4
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
.L16:
	mov	r3, #0
	b	.L19
.L23:
	ldr	r3, [fp, #-88]
	ldmia	r3, {r4-r5}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-96]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-88]
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-96]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	mov	r3, #1
.L19:
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC3
	.word	1072693248
	.size	line_sect, .-line_sect
	.align	2
	.global	poly_new
	.syntax unified
	.arm
	.fpu softvfp
	.type	poly_new, %function
poly_new:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r1, #12
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	mov	r0, r3
	pop	{fp, pc}
	.size	poly_new, .-poly_new
	.align	2
	.global	poly_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	poly_free, %function
poly_free:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	poly_free, .-poly_free
	.align	2
	.global	poly_append
	.syntax unified
	.arm
	.fpu softvfp
	.type	poly_append, %function
poly_append:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	blt	.L30
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L31
	ldr	r3, [fp, #-8]
	mov	r2, #4
	str	r2, [r3, #4]
.L31:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	lsl	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
.L30:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r0, r3, #1
	ldr	r1, [fp, #-8]
	str	r0, [r1]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	mov	ip, r2
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	poly_append, .-poly_append
	.align	2
	.global	poly_winding
	.syntax unified
	.arm
	.fpu softvfp
	.type	poly_winding, %function
poly_winding:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	add	r1, r3, #16
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	add	r3, r3, #32
	mov	r2, r3
	bl	left_of
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	poly_winding, .-poly_winding
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	poly_edge_clip
	.syntax unified
	.arm
	.fpu softvfp
	.type	poly_edge_clip, %function
poly_edge_clip:
	@ args = 4, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-72]
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	sub	r3, r3, #-268435455
	lsl	r3, r3, #4
	add	r3, r2, r3
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-72]
	mov	r2, #0
	str	r2, [r3]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-60]
	bl	left_of
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-68]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	beq	.L35
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-72]
	bl	poly_append
.L35:
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L36
.L41:
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #4
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-60]
	bl	left_of
	str	r0, [fp, #-32]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	cmp	r3, #0
	bne	.L37
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L37
	sub	r3, fp, #28
	str	r3, [sp]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-60]
	bl	line_sect
	mov	r3, r0
	cmp	r3, #0
	beq	.L37
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	poly_append
.L37:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	beq	.L43
	ldr	r3, [fp, #-68]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	beq	.L40
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-72]
	bl	poly_append
.L40:
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L36:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L41
	b	.L39
.L43:
	nop
.L39:
	nop
	ldr	r3, .L44
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC4
	.size	poly_edge_clip, .-poly_edge_clip
	.align	2
	.global	poly_clip
	.syntax unified
	.arm
	.fpu softvfp
	.type	poly_clip, %function
poly_clip:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	bl	poly_new
	str	r0, [fp, #-20]
	bl	poly_new
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-36]
	bl	poly_winding
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	sub	r3, r3, #-268435455
	lsl	r3, r3, #4
	add	r1, r2, r3
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	str	r3, [sp]
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-32]
	bl	poly_edge_clip
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L47
.L50:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L48
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]
	b	.L49
.L48:
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #4
	add	r1, r2, r3
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r3, [sp]
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-20]
	bl	poly_edge_clip
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L47:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L50
.L49:
	ldr	r0, [fp, #-20]
	bl	poly_free
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	poly_clip, .-poly_clip
	.section	.rodata
	.align	2
.LC5:
	.ascii	"%g %g\012\000"
	.align	2
.LC6:
	.ascii	"w\000"
	.align	2
.LC7:
	.ascii	"test.eps\000"
	.align	2
.LC8:
	.ascii	"%%!PS-Adobe-3.0\012%%%%BoundingBox: 40 40 360 360\012"
	.ascii	"/l {lineto} def /m{moveto} def /s{setrgbcolor} def/"
	.ascii	"c {closepath} def /gs {fill grestore stroke} def\012"
	.ascii	"\000"
	.align	2
.LC9:
	.ascii	"0 setlinewidth %g %g m \000"
	.align	2
.LC10:
	.ascii	"%g %g l \000"
	.align	2
.LC11:
	.ascii	"c .5 0 0 s gsave 1 .7 .7 s gs\012\000"
	.align	2
.LC12:
	.ascii	"%g %g m \000"
	.align	2
.LC13:
	.ascii	"c 0 .2 .5 s gsave .4 .7 1 s gs\012\000"
	.align	2
.LC14:
	.ascii	"2 setlinewidth [10 8] 0 setdash %g %g m \000"
	.align	2
.LC15:
	.ascii	"c .5 0 .5 s gsave .7 .3 .8 s gs\012\000"
	.align	2
.LC16:
	.ascii	"%%%%EOF\000"
	.align	2
.LC17:
	.ascii	"test.eps written\000"
	.align	3
.LC0:
	.word	0
	.word	1079574528
	.word	0
	.word	1079574528
	.word	0
	.word	1081262080
	.word	0
	.word	1079574528
	.word	0
	.word	1081262080
	.word	0
	.word	1081262080
	.word	0
	.word	1079574528
	.word	0
	.word	1081262080
	.align	3
.LC1:
	.word	0
	.word	1078525952
	.word	0
	.word	1080213504
	.word	0
	.word	1080623104
	.word	0
	.word	1078525952
	.word	0
	.word	1081466880
	.word	0
	.word	1080213504
	.word	0
	.word	1081466880
	.word	0
	.word	1081262080
	.word	0
	.word	1081032704
	.word	0
	.word	1081262080
	.word	0
	.word	1080623104
	.word	0
	.word	1081032704
	.word	0
	.word	1080213504
	.word	0
	.word	1081466880
	.word	0
	.word	1079574528
	.word	0
	.word	1081032704
	.word	0
	.word	1079574528
	.word	0
	.word	1080623104
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 256
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #264
	ldr	r3, .L63
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L63+4
	sub	ip, fp, #220
	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}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r2, .L63+8
	sub	r3, fp, #156
	mov	r1, r2
	mov	r2, #144
	mov	r0, r3
	bl	memcpy
	mov	r3, #4
	str	r3, [fp, #-244]
	mov	r3, #0
	str	r3, [fp, #-240]
	sub	r3, fp, #220
	str	r3, [fp, #-236]
	mov	r3, #9
	str	r3, [fp, #-232]
	mov	r3, #0
	str	r3, [fp, #-228]
	sub	r3, fp, #156
	str	r3, [fp, #-224]
	sub	r2, fp, #244
	sub	r3, fp, #232
	mov	r1, r2
	mov	r0, r3
	bl	poly_clip
	str	r0, [fp, #-252]
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L53
.L54:
	ldr	r3, [fp, #-252]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-256]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-252]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-256]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L63+12
	bl	printf
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L53:
	ldr	r3, [fp, #-252]
	ldr	r3, [r3]
	ldr	r2, [fp, #-256]
	cmp	r2, r3
	blt	.L54
	ldr	r1, .L63+16
	ldr	r0, .L63+20
	bl	fopen
	str	r0, [fp, #-248]
	ldr	r1, .L63+24
	ldr	r0, [fp, #-248]
	bl	fprintf
	sub	r1, fp, #220
	ldmia	r1, {r0-r1}
	sub	r3, fp, #212
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L63+28
	ldr	r0, [fp, #-248]
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-256]
	b	.L55
.L56:
	ldr	r3, [fp, #-256]
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #216
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-256]
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #208
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L63+32
	ldr	r0, [fp, #-248]
	bl	fprintf
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L55:
	ldr	r3, [fp, #-256]
	cmp	r3, #3
	bls	.L56
	ldr	r3, [fp, #-248]
	mov	r2, #30
	mov	r1, #1
	ldr	r0, .L63+36
	bl	fwrite
	sub	r1, fp, #156
	ldmia	r1, {r0-r1}
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L63+40
	ldr	r0, [fp, #-248]
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-256]
	b	.L57
.L58:
	ldr	r3, [fp, #-256]
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #152
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-256]
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #144
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L63+32
	ldr	r0, [fp, #-248]
	bl	fprintf
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L57:
	ldr	r3, [fp, #-256]
	cmp	r3, #8
	bls	.L58
	ldr	r3, [fp, #-248]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L63+44
	bl	fwrite
	ldr	r3, [fp, #-252]
	ldr	r3, [r3, #8]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-252]
	ldr	r3, [r3, #8]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L63+48
	ldr	r0, [fp, #-248]
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-256]
	b	.L59
.L60:
	ldr	r3, [fp, #-252]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-256]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-252]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-256]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L63+32
	ldr	r0, [fp, #-248]
	bl	fprintf
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L59:
	ldr	r3, [fp, #-252]
	ldr	r3, [r3]
	ldr	r2, [fp, #-256]
	cmp	r2, r3
	blt	.L60
	ldr	r3, [fp, #-248]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L63+52
	bl	fwrite
	ldr	r1, .L63+56
	ldr	r0, [fp, #-248]
	bl	fprintf
	ldr	r0, [fp, #-248]
	bl	fclose
	ldr	r0, .L63+60
	bl	puts
	mov	r3, #0
	ldr	r2, .L63
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L62
	bl	__stack_chk_fail
.L62:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L64:
	.align	2
.L63:
	.word	.LC18
	.word	.LC0
	.word	.LC1
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
