	.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
	.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_3
## %bb.1:
	cmpq	$0, 16(%rbx)
	jle	LBB0_4
## %bb.2:
	movl	$0, (%r14)
	jmp	LBB0_5
LBB0_3:
	callq	_atan2
	movl	%eax, %edi
	callq	_RAD2DEG
	mulss	LCPI0_0(%rip), %xmm0
	cvttss2si	%xmm0, %r15d
	movq	16(%rbx), %rdi
	callq	_acos
	movl	%eax, %edi
	callq	_RAD2DEG
	mulss	LCPI0_0(%rip), %xmm0
	cvttss2si	%xmm0, %eax
	movzbl	%al, %eax
	movl	%eax, (%r14)
	movzbl	%r15b, %eax
	jmp	LBB0_6
LBB0_4:
	movl	$128, (%r14)
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	movl	%eax, 4(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_NormalToLatLong
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function NormalToLatLong
_NormalToLatLong:                       ; @NormalToLatLong
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	mov	x19, x1
	mov	x20, x0
	ldp	x1, x0, [x0]
	orr	x8, x1, x0
	cbnz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x20, #16]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	w8, #0
	str	wzr, [x19]
	b	LBB0_5
LBB0_3:
	bl	_atan2
	bl	_RAD2DEG
	mov	w8, #21845
	movk	w8, #16181, lsl #16
	fmov	s8, w8
	fmul	s0, s0, s8
	fcvtzs	w21, s0
	ldr	x0, [x20, #16]
	bl	_acos
	bl	_RAD2DEG
	fmul	s0, s0, s8
	fcvtzs	w8, s0
	and	w8, w8, #0xff
	str	w8, [x19]
	and	w8, w21, #0xff
	b	LBB0_5
LBB0_4:
	mov	w8, #0
	mov	w9, #128
	str	w9, [x19]
LBB0_5:
	str	w8, [x19, #4]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_NormalToLatLong
.subsections_via_symbols
