	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_PointToDist                  ## -- Begin function R_PointToDist
	.p2align	4, 0x90
_R_PointToDist:                         ## @R_PointToDist
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_viewx@GOTPCREL(%rip), %rax
	subq	(%rax), %rbx
	movq	%rbx, %rax
	negq	%rax
	cmovnsq	%rax, %rbx
	movq	_viewy@GOTPCREL(%rip), %rax
	subq	(%rax), %rsi
	movq	%rsi, %rax
	negq	%rax
	cmovsq	%rsi, %rax
	cmpq	%rbx, %rax
	movq	%rbx, %rdi
	cmovaq	%rax, %rbx
	cmovbq	%rax, %rdi
	movq	_tantoangle@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%rbx, %rsi
	callq	_FixedDiv
	movq	_DBITS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrq	%cl, %rax
	movq	_ANG90@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	addl	(%r14,%rax,4), %edx
	movq	_ANGLETOFINESHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edx
	movq	_finesine@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edx, %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_FixedDiv                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_viewx,8,3                      ## @viewx
	.comm	_viewy,8,3                      ## @viewy
	.comm	_tantoangle,8,3                 ## @tantoangle
	.comm	_DBITS,8,3                      ## @DBITS
	.comm	_ANG90,4,2                      ## @ANG90
	.comm	_ANGLETOFINESHIFT,4,2           ## @ANGLETOFINESHIFT
	.comm	_finesine,8,3                   ## @finesine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_PointToDist                  ; -- Begin function R_PointToDist
	.p2align	2
_R_PointToDist:                         ; @R_PointToDist
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _viewx@GOTPAGE
Lloh1:
	ldr	x8, [x8, _viewx@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	subs	x8, x0, x8
	cneg	x8, x8, mi
Lloh3:
	adrp	x9, _viewy@GOTPAGE
Lloh4:
	ldr	x9, [x9, _viewy@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	subs	x9, x1, x9
	cneg	x9, x9, mi
	cmp	x9, x8
	csel	x0, x9, x8, lo
	csel	x19, x9, x8, hi
Lloh6:
	adrp	x8, _tantoangle@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tantoangle@GOTPAGEOFF]
Lloh8:
	ldr	x20, [x8]
	mov	x1, x19
	bl	_FixedDiv
Lloh9:
	adrp	x8, _DBITS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DBITS@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	lsr	x8, x0, x8
	ldr	w8, [x20, x8, lsl #2]
Lloh12:
	adrp	x9, _ANG90@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ANG90@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	add	w8, w9, w8
Lloh15:
	adrp	x9, _ANGLETOFINESHIFT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ANGLETOFINESHIFT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _finesine@GOTPAGE
Lloh19:
	ldr	x10, [x10, _finesine@GOTPAGEOFF]
	asr	w8, w8, w9
Lloh20:
	ldr	x9, [x10]
	ldr	x1, [x9, w8, sxtw #3]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_FixedDiv
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_viewx,8,3                      ; @viewx
	.comm	_viewy,8,3                      ; @viewy
	.comm	_tantoangle,8,3                 ; @tantoangle
	.comm	_DBITS,8,3                      ; @DBITS
	.comm	_ANG90,4,2                      ; @ANG90
	.comm	_ANGLETOFINESHIFT,4,2           ; @ANGLETOFINESHIFT
	.comm	_finesine,8,3                   ; @finesine
.subsections_via_symbols
