	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function mercator_to_xyz
LCPI0_0:
	.long	0xbf800000                      ## float -1
LCPI0_1:
	.long	0x3f800000                      ## float 1
LCPI0_2:
	.long	0xc0000000                      ## float -2
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_3:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mercator_to_xyz:                       ## @mercator_to_xyz
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	cvtsi2ss	%esi, %xmm1
	addss	%xmm1, %xmm1
	cvtsi2ss	%ecx, %xmm0
	divss	%xmm0, %xmm1
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	movaps	%xmm0, %xmm2
	movq	_M_PI@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movq	_M_PI_2@GOTPCREL(%rip), %rax
	mulss	%xmm0, %xmm1
	addss	(%rax), %xmm1
	movss	%xmm1, -32(%rbp)                ## 4-byte Spill
	movq	%r9, %rbx
	cvtsi2ss	%edx, %xmm3
	addss	%xmm3, %xmm3
	xorps	%xmm1, %xmm1
	cvtsi2ss	%r8d, %xmm1
	divss	%xmm1, %xmm3
	addss	%xmm2, %xmm3
	mulss	%xmm0, %xmm3
	movss	%xmm3, -16(%rbp)                ## 4-byte Spill
	movaps	%xmm3, %xmm0
	addss	%xmm3, %xmm0
	callq	_expf
	movaps	%xmm0, -48(%rbp)                ## 16-byte Spill
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	movss	%xmm1, -12(%rbp)                ## 4-byte Spill
	movss	-32(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	___sincosf_stret
	movaps	%xmm0, -32(%rbp)                ## 16-byte Spill
	movshdup	%xmm0, %xmm0                    ## xmm0 = xmm0[1,1,3,3]
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	movss	-16(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_expf
	mulss	LCPI0_2(%rip), %xmm0
	movss	-12(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	divss	%xmm2, %xmm0
	movaps	-48(%rbp), %xmm1                ## 16-byte Reload
	addss	LCPI0_0(%rip), %xmm1
	xorps	LCPI0_3(%rip), %xmm1
	divss	%xmm2, %xmm1
	movaps	-64(%rbp), %xmm2                ## 16-byte Reload
	mulss	%xmm0, %xmm2
	movss	%xmm2, (%rbx)
	movss	%xmm1, 4(%rbx)
	mulss	-32(%rbp), %xmm0                ## 16-byte Folded Reload
	movss	%xmm0, 8(%rbx)
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PI,4,2                       ## @M_PI
	.comm	_M_PI_2,4,2                     ## @M_PI_2
	.no_dead_strip	_mercator_to_xyz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mercator_to_xyz
_mercator_to_xyz:                       ; @mercator_to_xyz
	.cfi_startproc
; %bb.0:
	stp	d13, d12, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	.cfi_offset b10, -56
	.cfi_offset b11, -64
	.cfi_offset b12, -72
	.cfi_offset b13, -80
	mov	x19, x5
	fmov	s12, #-1.00000000
	scvtf	s0, w1
	fadd	s0, s0, s0
	scvtf	s1, w3
	fdiv	s0, s0, s1
	fadd	s0, s0, s12
Lloh0:
	adrp	x8, _M_PI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_PI@GOTPAGEOFF]
Lloh2:
	adrp	x9, _M_PI_2@GOTPAGE
Lloh3:
	ldr	x9, [x9, _M_PI_2@GOTPAGEOFF]
Lloh4:
	ldr	s1, [x8]
Lloh5:
	ldr	s2, [x9]
	fmadd	s8, s0, s1, s2
	scvtf	s0, w2
	fadd	s0, s0, s0
	scvtf	s2, w4
	fdiv	s0, s0, s2
	fadd	s0, s0, s12
	fmul	s9, s0, s1
	fadd	s0, s9, s9
	bl	_expf
	fmov	s10, s0
	fmov	s0, #1.00000000
	fadd	s13, s10, s0
	fmov	s0, s8
	bl	___sincosf_stret
	fmov	s8, s0
	fmov	s11, s1
	fmov	s0, s9
	bl	_expf
	fmov	s1, #-2.00000000
	fmul	s0, s0, s1
	fdiv	s0, s0, s13
	fadd	s1, s10, s12
	fneg	s1, s1
	fdiv	s1, s1, s13
	fmul	s2, s11, s0
	stp	s2, s1, [x19]
	fmul	s0, s8, s0
	str	s0, [x19, #8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PI,4,2                       ; @M_PI
	.comm	_M_PI_2,4,2                     ; @M_PI_2
	.no_dead_strip	_mercator_to_xyz
.subsections_via_symbols
