	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function circle_check_line
_circle_check_line:                     ## @circle_check_line
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$96, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movsd	%xmm2, -40(%rbp)                ## 8-byte Spill
	movsd	%xmm1, -32(%rbp)                ## 8-byte Spill
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movl	4(%rbx), %eax
	leal	(%rax,%rdi), %r14d
	subl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_fabs
	movd	%r14d, %xmm0
	pinsrd	$1, %eax, %xmm0
	movdqa	%xmm0, %xmm1
	psrld	$31, %xmm1
	paddd	%xmm0, %xmm1
	psrad	$1, %xmm1
	cvtdq2pd	%xmm1, %xmm0
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	movl	8(%rbx), %edi
	movl	12(%rbx), %eax
	leal	(%rax,%rdi), %ebx
	subl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_fabs
	movd	%ebx, %xmm0
	pinsrd	$1, %eax, %xmm0
	movdqa	%xmm0, %xmm1
	psrld	$31, %xmm1
	paddd	%xmm0, %xmm1
	psrad	$1, %xmm1
	cvtdq2pd	%xmm1, %xmm5
	movapd	-64(%rbp), %xmm0                ## 16-byte Reload
	movapd	%xmm0, %xmm6
	unpckhpd	%xmm0, %xmm6                    ## xmm6 = xmm6[1],xmm0[1]
	movapd	%xmm0, %xmm2
	movapd	%xmm0, %xmm4
	subsd	%xmm6, %xmm2
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	subsd	%xmm0, %xmm2
	movapd	%xmm5, %xmm1
	unpckhpd	%xmm5, %xmm1                    ## xmm1 = xmm1[1],xmm5[1]
	movapd	%xmm5, %xmm3
	subsd	%xmm1, %xmm3
	subsd	%xmm0, %xmm3
	movapd	%xmm6, -112(%rbp)               ## 16-byte Spill
	addsd	%xmm6, %xmm4
	addsd	%xmm0, %xmm4
	movapd	%xmm5, -80(%rbp)                ## 16-byte Spill
	movapd	%xmm1, -96(%rbp)                ## 16-byte Spill
	addsd	%xmm1, %xmm5
	addsd	%xmm0, %xmm5
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	-32(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	callq	_circle_check
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movsd	-40(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movapd	-112(%rbp), %xmm4               ## 16-byte Reload
	subsd	%xmm1, %xmm4
	xorl	%eax, %eax
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm0, %xmm4
	jbe	LBB0_7
## %bb.2:
	movapd	-96(%rbp), %xmm5                ## 16-byte Reload
	subsd	%xmm1, %xmm5
	ucomisd	%xmm0, %xmm5
	jbe	LBB0_7
## %bb.3:
	movapd	-64(%rbp), %xmm0                ## 16-byte Reload
	movapd	%xmm0, %xmm2
	subsd	%xmm4, %xmm2
	movapd	-80(%rbp), %xmm1                ## 16-byte Reload
	movapd	%xmm1, %xmm3
	subsd	%xmm5, %xmm3
	addsd	%xmm0, %xmm4
	addsd	%xmm1, %xmm5
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	-32(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	callq	_circle_check
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.4:
	movq	_INSIDE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_OUTSIDE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
LBB0_7:
	addq	$96, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INSIDE,4,2                     ## @INSIDE
	.comm	_OUTSIDE,4,2                    ## @OUTSIDE
	.no_dead_strip	_circle_check_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function circle_check_line
_circle_check_line:                     ; @circle_check_line
	.cfi_startproc
; %bb.0:
	stp	d15, d14, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	d13, d12, [sp, #16]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	.cfi_offset b10, -56
	.cfi_offset b11, -64
	.cfi_offset b12, -72
	.cfi_offset b13, -80
	.cfi_offset b14, -88
	.cfi_offset b15, -96
	fmov	d10, d2
	fmov	d8, d1
	fmov	d9, d0
	mov	x19, x0
	ldp	w8, w9, [x0]
	add	w10, w9, w8
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w10, w10, #1
	scvtf	d11, w10
	sub	w0, w8, w9
	bl	_fabs
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w8, w8, #1
	scvtf	d13, w8
	ldp	w8, w9, [x19, #8]
	add	w10, w9, w8
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w10, w10, #1
	scvtf	d12, w10
	sub	w0, w8, w9
	bl	_fabs
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w8, w8, #1
	scvtf	d14, w8
	fsub	d0, d11, d13
	fsub	d2, d0, d10
	fsub	d0, d12, d14
	fsub	d3, d0, d10
	fadd	d0, d11, d13
	fadd	d4, d0, d10
	fadd	d0, d12, d14
	fadd	d5, d0, d10
	fmov	d0, d9
	fmov	d1, d8
	bl	_circle_check
	cbz	x0, LBB0_4
; %bb.1:
	mov	w0, #0
	fsub	d0, d13, d10
	fcmp	d0, #0.0
	b.le	LBB0_5
; %bb.2:
	fsub	d1, d14, d10
	fcmp	d1, #0.0
	b.le	LBB0_5
; %bb.3:
	fsub	d2, d11, d0
	fsub	d3, d12, d1
	fadd	d4, d0, d11
	fadd	d5, d1, d12
	fmov	d0, d9
	fmov	d1, d8
	bl	_circle_check
Lloh0:
	adrp	x8, _INSIDE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INSIDE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, wzr, w8, eq
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _OUTSIDE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OUTSIDE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #16]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INSIDE,4,2                     ; @INSIDE
	.comm	_OUTSIDE,4,2                    ; @OUTSIDE
	.no_dead_strip	_circle_check_line
.subsections_via_symbols
