	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function NormalToLatLong
LCPI0_0:
	.long	0x3f355555                      ## float 0.708333313
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_NormalToLatLong
	.p2align	4, 0x90
_NormalToLatLong:                       ## @NormalToLatLong
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	movq	8(%rdi), %rdi
	movq	%rsi, %rax
	orq	%rdi, %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	cmpq	$0, 16(%rbx)
	setle	%al
	shll	$7, %eax
	xorl	%r15d, %r15d
	jmp	LBB0_3
LBB0_2:
	callq	_atan2
	movl	%eax, %edi
	callq	_RAD2DEG
	mulss	LCPI0_0(%rip), %xmm0
	cvttss2si	%xmm0, %eax
	movzbl	%al, %r15d
	movq	16(%rbx), %rdi
	callq	_acos
	movl	%eax, %edi
	callq	_RAD2DEG
	mulss	LCPI0_0(%rip), %xmm0
	cvttss2si	%xmm0, %eax
	movzbl	%al, %eax
LBB0_3:
	movl	%eax, (%r14)
	movl	%r15d, 4(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NormalToLatLong                ; -- Begin function NormalToLatLong
	.p2align	2
_NormalToLatLong:                       ; @NormalToLatLong
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldp	x1, x0, [x0]
	orr	x8, x1, x0
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x20, #16]
	cmp	x8, #1
	cset	w8, lt
	lsl	w8, w8, #7
	movi	d0, #0000000000000000
	mov.s	v0[0], w8
	b	LBB0_3
LBB0_2:
	bl	_atan2
	bl	_RAD2DEG
	str	d0, [sp]                        ; 16-byte Folded Spill
	ldr	x0, [x20, #16]
	bl	_acos
	bl	_RAD2DEG
                                        ; kill: def $s0 killed $s0 def $q0
	ldr	q1, [sp]                        ; 16-byte Folded Reload
	mov.s	v0[1], v1[0]
	mov	w8, #21845
	movk	w8, #16181, lsl #16
	dup.2s	v1, w8
	fmul.2s	v0, v0, v1
	fcvtzs.2s	v0, v0
	movi	d1, #0x0000ff000000ff
	and.8b	v0, v0, v1
LBB0_3:
	str	d0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
