	.file	"extr_polylib.c_WindingBounds.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	WindingBounds
	.type	WindingBounds, @function
WindingBounds:
.LFB0:
	.cfi_startproc
	endbr64
	mov	ecx, DWORD PTR [rdi]
	mov	QWORD PTR 16[rsi], 99999
	mov	QWORD PTR 8[rsi], 99999
	mov	QWORD PTR [rsi], 99999
	mov	QWORD PTR 16[rdx], -99999
	mov	QWORD PTR 8[rdx], -99999
	mov	QWORD PTR [rdx], -99999
	test	ecx, ecx
	jle	.L1
	mov	rax, QWORD PTR 8[rdi]
	sub	ecx, 1
	lea	r8, 8[rax]
	lea	r9, [r8+rcx*8]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, QWORD PTR [rax]
	xor	eax, eax
.L5:
	mov	rcx, QWORD PTR [rdi+rax]
	cmp	QWORD PTR [rsi+rax], rcx
	jle	.L3
	mov	QWORD PTR [rsi+rax], rcx
.L3:
	cmp	QWORD PTR [rdx+rax], rcx
	jge	.L4
	mov	QWORD PTR [rdx+rax], rcx
.L4:
	add	rax, 8
	cmp	rax, 24
	jne	.L5
	mov	rax, r8
	cmp	r8, r9
	je	.L1
	add	r8, 8
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	WindingBounds, .-WindingBounds
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_polylib.c_WindingBounds.c"
	.text
	.align	2
	.global	WindingBounds
	.syntax unified
	.arm
	.fpu softvfp
	.type	WindingBounds, %function
WindingBounds:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r7, [r0]
	ldr	ip, .L11
	ldr	r3, .L11+4
	cmp	r7, #0
	str	ip, [r1, #8]
	str	ip, [r1, #4]
	str	ip, [r1]
	str	r3, [r2, #8]
	str	r3, [r2, #4]
	str	r3, [r2]
	pople	{r4, r5, r6, r7, pc}
	ldr	r5, [r0, #4]
	sub	r6, r1, #4
	sub	r5, r5, #4
	add	r7, r5, r7, lsl #2
.L6:
	mov	ip, r6
	mov	r1, r2
	ldr	lr, [r5, #4]!
	sub	r0, lr, #4
	add	lr, lr, #8
.L5:
	ldr	r3, [r0, #4]!
	ldr	r4, [ip, #4]!
	add	r1, r1, #4
	cmp	r4, r3
	strgt	r3, [ip]
	ldr	r4, [r1, #-4]
	cmp	r4, r3
	strlt	r3, [r1, #-4]
	cmp	lr, r0
	bne	.L5
	cmp	r5, r7
	bne	.L6
	pop	{r4, r5, r6, r7, pc}
.L12:
	.align	2
.L11:
	.word	99999
	.word	-99999
	.size	WindingBounds, .-WindingBounds
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
