	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_PointToAngle                 ## -- Begin function R_PointToAngle
	.p2align	4, 0x90
_R_PointToAngle:                        ## @R_PointToAngle
	.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
	movl	%edi, %eax
	movq	_viewx@GOTPCREL(%rip), %rdx
	movq	_viewy@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subl	(%rdx), %eax
	jne	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	cmpl	%esi, %ecx
	je	LBB0_19
LBB0_2:
	subl	%ecx, %esi
	testl	%eax, %eax
	js	LBB0_11
## %bb.3:
	testl	%esi, %esi
	js	LBB0_7
## %bb.4:
	cmpl	%esi, %eax
	jbe	LBB0_6
## %bb.5:
	movq	_tantoangle@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	movl	%esi, %edi
	movl	%eax, %esi
	callq	_SlopeDiv
	movl	(%rbx,%rax,4), %ebx
	jmp	LBB0_19
LBB0_11:
	movl	%eax, %ecx
	negl	%ecx
	testl	%esi, %esi
	js	LBB0_15
## %bb.12:
	cmpl	%ecx, %esi
	jae	LBB0_14
## %bb.13:
	movq	_ANG180@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_tantoangle@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%esi, %edi
	movl	%ecx, %esi
	jmp	LBB0_18
LBB0_7:
	negl	%esi
	cmpl	%esi, %eax
	jbe	LBB0_9
## %bb.8:
	movq	_tantoangle@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	movl	%esi, %edi
	movl	%eax, %esi
	callq	_SlopeDiv
	xorl	%ebx, %ebx
	subl	(%r14,%rax,4), %ebx
	jmp	LBB0_19
LBB0_6:
	movq	_ANG90@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movq	_tantoangle@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	movl	%eax, %edi
	jmp	LBB0_18
LBB0_15:
	movl	%esi, %edx
	negl	%edx
	cmpl	%eax, %esi
	jbe	LBB0_17
## %bb.16:
	movq	_ANG180@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_tantoangle@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	%edx, %edi
	movl	%ecx, %esi
	jmp	LBB0_10
LBB0_14:
	movq	_ANG90@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_tantoangle@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	%ecx, %edi
	jmp	LBB0_10
LBB0_9:
	movq	_ANG270@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_tantoangle@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	movl	%eax, %edi
LBB0_10:
	callq	_SlopeDiv
	addl	(%r14,%rax,4), %ebx
	jmp	LBB0_19
LBB0_17:
	movq	_ANG270@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_tantoangle@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%ecx, %edi
	movl	%edx, %esi
LBB0_18:
	callq	_SlopeDiv
	movl	(%rbx,%rax,4), %ebx
	notl	%ebx
	addl	%r14d, %ebx
LBB0_19:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_viewx,8,3                      ## @viewx
	.comm	_viewy,8,3                      ## @viewy
	.comm	_tantoangle,8,3                 ## @tantoangle
	.comm	_ANG90,4,2                      ## @ANG90
	.comm	_ANG270,4,2                     ## @ANG270
	.comm	_ANG180,4,2                     ## @ANG180
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_PointToAngle                 ; -- Begin function R_PointToAngle
	.p2align	2
_R_PointToAngle:                        ; @R_PointToAngle
	.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	w9, [x8]
Lloh3:
	adrp	x8, _viewy@GOTPAGE
Lloh4:
	ldr	x8, [x8, _viewy@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	subs	w11, w0, w9
	ccmp	w8, w1, #0, eq
	b.eq	LBB0_5
; %bb.1:
	sub	w8, w1, w8
	tbnz	w11, #31, LBB0_6
; %bb.2:
	tbnz	w8, #31, LBB0_9
; %bb.3:
	cmp	w11, w8
	b.ls	LBB0_11
; %bb.4:
Lloh6:
	adrp	x9, _tantoangle@GOTPAGE
Lloh7:
	ldr	x9, [x9, _tantoangle@GOTPAGEOFF]
Lloh8:
	ldr	x19, [x9]
	mov	x0, x8
	mov	x1, x11
	bl	_SlopeDiv
	ldr	w0, [x19, x0, lsl #2]
	b	LBB0_20
LBB0_5:
	mov	w0, #0
	b	LBB0_20
LBB0_6:
	neg	w9, w11
	tbnz	w8, #31, LBB0_12
; %bb.7:
	cmp	w8, w9
	b.hs	LBB0_14
; %bb.8:
Lloh9:
	adrp	x10, _ANG180@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ANG180@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x10]
Lloh12:
	adrp	x10, _tantoangle@GOTPAGE
Lloh13:
	ldr	x10, [x10, _tantoangle@GOTPAGEOFF]
Lloh14:
	ldr	x20, [x10]
	mov	x0, x8
	mov	x1, x9
	b	LBB0_19
LBB0_9:
	neg	w8, w8
	cmp	w11, w8
	b.ls	LBB0_15
; %bb.10:
Lloh15:
	adrp	x9, _tantoangle@GOTPAGE
Lloh16:
	ldr	x9, [x9, _tantoangle@GOTPAGEOFF]
Lloh17:
	ldr	x19, [x9]
	mov	x0, x8
	mov	x1, x11
	bl	_SlopeDiv
	ldr	w8, [x19, x0, lsl #2]
	neg	w0, w8
	b	LBB0_20
LBB0_11:
Lloh18:
	adrp	x9, _ANG90@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ANG90@GOTPAGEOFF]
Lloh20:
	ldr	w19, [x9]
Lloh21:
	adrp	x9, _tantoangle@GOTPAGE
Lloh22:
	ldr	x9, [x9, _tantoangle@GOTPAGEOFF]
Lloh23:
	ldr	x20, [x9]
	mov	x0, x11
	mov	x1, x8
	b	LBB0_19
LBB0_12:
	neg	w10, w8
	cmp	w8, w11
	b.ls	LBB0_18
; %bb.13:
Lloh24:
	adrp	x8, _ANG180@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ANG180@GOTPAGEOFF]
Lloh26:
	ldr	w19, [x8]
Lloh27:
	adrp	x8, _tantoangle@GOTPAGE
Lloh28:
	ldr	x8, [x8, _tantoangle@GOTPAGEOFF]
Lloh29:
	ldr	x20, [x8]
	mov	x0, x10
	mov	x1, x9
	b	LBB0_17
LBB0_14:
Lloh30:
	adrp	x10, _ANG90@GOTPAGE
Lloh31:
	ldr	x10, [x10, _ANG90@GOTPAGEOFF]
Lloh32:
	ldr	w19, [x10]
Lloh33:
	adrp	x10, _tantoangle@GOTPAGE
Lloh34:
	ldr	x10, [x10, _tantoangle@GOTPAGEOFF]
Lloh35:
	ldr	x20, [x10]
	mov	x0, x9
	b	LBB0_16
LBB0_15:
Lloh36:
	adrp	x9, _ANG270@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ANG270@GOTPAGEOFF]
Lloh38:
	ldr	w19, [x9]
Lloh39:
	adrp	x9, _tantoangle@GOTPAGE
Lloh40:
	ldr	x9, [x9, _tantoangle@GOTPAGEOFF]
Lloh41:
	ldr	x20, [x9]
	mov	x0, x11
LBB0_16:
	mov	x1, x8
LBB0_17:
	bl	_SlopeDiv
	ldr	w8, [x20, x0, lsl #2]
	add	w0, w8, w19
	b	LBB0_20
LBB0_18:
Lloh42:
	adrp	x8, _ANG270@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ANG270@GOTPAGEOFF]
Lloh44:
	ldr	w19, [x8]
Lloh45:
	adrp	x8, _tantoangle@GOTPAGE
Lloh46:
	ldr	x8, [x8, _tantoangle@GOTPAGEOFF]
Lloh47:
	ldr	x20, [x8]
	mov	x0, x9
	mov	x1, x10
LBB0_19:
	bl	_SlopeDiv
	ldr	w8, [x20, x0, lsl #2]
	mvn	w8, w8
	add	w0, w19, w8
LBB0_20:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_viewx,8,3                      ; @viewx
	.comm	_viewy,8,3                      ; @viewy
	.comm	_tantoangle,8,3                 ; @tantoangle
	.comm	_ANG90,4,2                      ; @ANG90
	.comm	_ANG270,4,2                     ; @ANG270
	.comm	_ANG180,4,2                     ; @ANG180
.subsections_via_symbols
