	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_PointOnSegSide               ## -- Begin function R_PointOnSegSide
	.p2align	4, 0x90
_R_PointOnSegSide:                      ## @R_PointOnSegSide
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rsi
	movq	(%rdx), %rdi
	movq	8(%rdx), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movq	(%rdi), %rbx
	movq	8(%rdi), %rdx
	movq	%rdx, %rdi
	subq	%rax, %rdi
	subq	%rcx, %rbx
	jne	LBB0_4
## %bb.1:
	cmpq	%rsi, %rcx
	jge	LBB0_2
## %bb.3:
	shrq	$63, %rdi
	movl	%edi, %ebx
	jmp	LBB0_11
LBB0_4:
	cmpq	%rax, %rdx
	jne	LBB0_8
## %bb.5:
	cmpq	%r14, %rax
	jge	LBB0_6
## %bb.7:
	xorl	%eax, %eax
	testq	%rbx, %rbx
	setg	%al
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_2:
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	setg	%bl
	jmp	LBB0_11
LBB0_8:
	subq	%rcx, %rsi
	subq	%rax, %r14
	movq	%rdi, %rax
	xorq	%rsi, %rax
	movl	%ebx, %ecx
	xorl	%r14d, %ecx
	xorl	%eax, %ecx
	testl	$-2147483648, %ecx              ## imm = 0x80000000
	jne	LBB0_9
## %bb.10:
	movq	_FRACBITS@GOTPCREL(%rip), %r12
	movb	(%r12), %cl
	sarq	%cl, %rdi
	callq	_FixedMul
	movq	%rax, %r15
	movb	(%r12), %cl
	sarq	%cl, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_FixedMul
	xorl	%ebx, %ebx
	cmpq	%r15, %rax
	setge	%bl
	jmp	LBB0_11
LBB0_6:
	shrq	$63, %rbx
	jmp	LBB0_11
LBB0_9:
	shrl	$31, %eax
	movl	%eax, %ebx
LBB0_11:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FRACBITS,8,3                   ## @FRACBITS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_PointOnSegSide               ; -- Begin function R_PointOnSegSide
	.p2align	2
_R_PointOnSegSide:                      ; @R_PointOnSegSide
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldp	x11, x9, [x2]
	ldp	x8, x10, [x9]
	ldp	x12, x11, [x11]
	sub	x9, x11, x10
	subs	x21, x12, x8
	b.ne	LBB0_2
; %bb.1:
	lsr	x10, x9, #63
	cmp	x9, #0
	cset	w9, gt
	cmp	x8, x0
	csel	w0, w10, w9, lt
	b	LBB0_7
LBB0_2:
	cmp	x11, x10
	b.ne	LBB0_4
; %bb.3:
	cmp	x21, #0
	cset	w8, gt
	lsr	x9, x21, #63
	cmp	x10, x1
	csel	w0, w8, w9, lt
	b	LBB0_7
LBB0_4:
	sub	x8, x0, x8
	eor	x11, x9, x8
	sub	x19, x1, x10
	eor	w10, w11, w19
	eor	w10, w10, w21
	tbnz	w10, #31, LBB0_6
; %bb.5:
Lloh0:
	adrp	x22, _FRACBITS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FRACBITS@GOTPAGEOFF]
	ldr	x10, [x22]
	asr	x0, x9, x10
	mov	x1, x8
	bl	_FixedMul
	mov	x20, x0
	ldr	x8, [x22]
	asr	x1, x21, x8
	mov	x0, x19
	bl	_FixedMul
	cmp	x0, x20
	cset	w0, ge
	b	LBB0_7
LBB0_6:
	ubfx	x0, x11, #31, #1
LBB0_7:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FRACBITS,8,3                   ; @FRACBITS
.subsections_via_symbols
