	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function point_inside
_point_inside:                          ## @point_inside
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testl	%esi, %esi
	setg	%dil
	callq	_Assert
	movl	4(%r15), %edi
	movl	4(%rbx), %esi
	callq	_float8_mi
	movl	%eax, %r13d
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movl	(%r15), %edi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %esi
	callq	_float8_mi
	movl	%eax, %r12d
	xorl	%ebx, %ebx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movl	%r13d, %r15d
	cmpl	$2, %r14d
	jl	LBB0_5
## %bb.1:
	movl	%r14d, %eax
	decq	%rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	12(%rbx,%r13,8), %edi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	4(%r12), %esi
	callq	_float8_mi
	movl	%eax, %r15d
	movl	8(%rbx,%r13,8), %edi
	movl	(%r12), %esi
	callq	_float8_mi
	movl	%eax, %r12d
	movl	%r15d, %edi
	movl	%eax, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	callq	_lseg_crossing
	movq	_POINT_ON_POLYGON@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	addl	%eax, %ebx
	incq	%r13
	movl	%r15d, %eax
	movl	%r12d, %r14d
	cmpq	%r13, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_2
LBB0_5:
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	movl	%r12d, %ecx
	callq	_lseg_crossing
	movl	%eax, %ecx
	movq	_POINT_ON_POLYGON@GOTPCREL(%rip), %rdx
	movl	$2, %eax
	cmpl	(%rdx), %ecx
	je	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	addl	%ecx, %ebx
	setne	%al
	jmp	LBB0_7
LBB0_3:
	movl	$2, %eax
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_POINT_ON_POLYGON,4,2           ## @POINT_ON_POLYGON
	.no_dead_strip	_point_inside
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function point_inside
_point_inside:                          ; @point_inside
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	cmp	w1, #0
	cset	w0, gt
	bl	_Assert
	ldr	w0, [x22, #4]
	ldr	w1, [x19, #4]
	bl	_float8_mi
	mov	x24, x0
	ldr	w0, [x22]
	ldr	w1, [x19]
	bl	_float8_mi
	mov	x21, x0
Lloh0:
	adrp	x27, _POINT_ON_POLYGON@GOTPAGE
Lloh1:
	ldr	x27, [x27, _POINT_ON_POLYGON@GOTPAGEOFF]
	cmp	w23, #2
	str	w24, [sp, #12]                  ; 4-byte Folded Spill
	mov	w26, #0
	b.lt	LBB0_4
; %bb.1:
	mov	w8, w23
	add	x28, x22, #12
	sub	x20, x8, #1
	mov	x25, x21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x28]
	ldr	w1, [x19, #4]
	bl	_float8_mi
	mov	x22, x0
	ldur	w0, [x28, #-4]
	ldr	w1, [x19]
	bl	_float8_mi
	mov	x23, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	bl	_lseg_crossing
	ldr	w8, [x27]
	cmp	w0, w8
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w26, w0, w26
	add	x28, x28, #8
	mov	x24, x22
	mov	x25, x23
	subs	x20, x20, #1
	b.ne	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	x23, x21
	mov	x22, x24
LBB0_5:
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	bl	_lseg_crossing
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_7
LBB0_6:
	mov	w0, #2
	b	LBB0_8
LBB0_7:
	cmn	w26, w0
	cset	w0, ne
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_POINT_ON_POLYGON,4,2           ; @POINT_ON_POLYGON
	.no_dead_strip	_point_inside
.subsections_via_symbols
