	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function dfisheye_to_xyz
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
LCPI0_1:
	.long	0x3f800000                      ## float 1
LCPI0_2:
	.long	0xbf800000                      ## float -1
	.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
_dfisheye_to_xyz:                       ## @dfisheye_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	$72, %rsp
	.cfi_offset %rbx, -24
	cvtsi2ss	%ecx, %xmm1
	movq	%r9, %rbx
	cvtsi2ss	%esi, %xmm2
	mulss	LCPI0_0(%rip), %xmm1
	ucomiss	%xmm1, %xmm2
	movaps	%xmm1, %xmm4
	cmpnless	%xmm2, %xmm4
	movss	LCPI0_1(%rip), %xmm5            ## xmm5 = mem[0],zero,zero,zero
	movaps	%xmm4, %xmm3
	andps	%xmm5, %xmm3
	movss	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	andnps	%xmm0, %xmm4
	orps	%xmm3, %xmm4
	movaps	%xmm4, -32(%rbp)                ## 16-byte Spill
	xorps	%xmm3, %xmm3
	jb	LBB0_2
## %bb.1:
	movaps	%xmm1, %xmm3
LBB0_2:
	xorps	%xmm4, %xmm4
	cvtsi2ss	%r8d, %xmm4
	subss	%xmm3, %xmm2
	movss	(%rdi), %xmm3                   ## xmm3 = mem[0],zero,zero,zero
	addss	%xmm5, %xmm3
	cvttps2dq	%xmm2, %xmm2
	cvtdq2ps	%xmm2, %xmm2
	addss	%xmm2, %xmm2
	divss	%xmm1, %xmm2
	addss	%xmm0, %xmm2
	mulss	%xmm3, %xmm2
	movaps	%xmm2, -64(%rbp)                ## 16-byte Spill
	xorps	%xmm1, %xmm1
	cvtsi2ss	%edx, %xmm1
	addss	%xmm1, %xmm1
	divss	%xmm4, %xmm1
	addss	%xmm0, %xmm1
	mulss	%xmm3, %xmm1
	movaps	%xmm1, -80(%rbp)                ## 16-byte Spill
	movaps	%xmm2, %xmm0
	callq	_hypotf
	xorps	%xmm2, %xmm2
	cmpltss	%xmm0, %xmm2
	movaps	%xmm2, %xmm1
	andps	%xmm0, %xmm1
	movss	LCPI0_1(%rip), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	andnps	%xmm3, %xmm2
	orps	%xmm1, %xmm2
	movaps	%xmm2, -48(%rbp)                ## 16-byte Spill
	movq	_M_PI_2@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	mulss	-32(%rbp), %xmm1                ## 16-byte Folded Reload
	movaps	%xmm3, %xmm2
	subss	%xmm0, %xmm2
	mulss	%xmm1, %xmm2
	movaps	%xmm2, %xmm0
	callq	___sincosf_stret
	movshdup	%xmm0, %xmm1                    ## xmm1 = xmm0[1,1,3,3]
	movaps	-32(%rbp), %xmm4                ## 16-byte Reload
	mulss	%xmm1, %xmm4
	movaps	LCPI0_3(%rip), %xmm2            ## xmm2 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	movaps	-64(%rbp), %xmm3                ## 16-byte Reload
	xorps	%xmm2, %xmm3
	mulss	%xmm4, %xmm3
	movaps	-48(%rbp), %xmm4                ## 16-byte Reload
	divss	%xmm4, %xmm3
	movss	%xmm3, (%rbx)
	movaps	-80(%rbp), %xmm3                ## 16-byte Reload
	xorps	%xmm2, %xmm3
	mulss	%xmm1, %xmm3
	divss	%xmm4, %xmm3
	movss	%xmm3, 4(%rbx)
	movss	%xmm0, 8(%rbx)
	movq	%rbx, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_normalize_vector               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PI_2,4,2                     ## @M_PI_2
	.no_dead_strip	_dfisheye_to_xyz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dfisheye_to_xyz
_dfisheye_to_xyz:                       ; @dfisheye_to_xyz
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x5
	ldr	s0, [x0]
	scvtf	s1, w3
	fmov	s2, #0.50000000
	fmul	s1, s1, s2
	scvtf	s2, w1
	fcmp	s1, s2
	fmov	s3, #-1.00000000
	fmov	s8, #1.00000000
	fcsel	s9, s8, s3, hi
	movi	d3, #0000000000000000
	fcsel	s3, s3, s1, hi
	fsub	s2, s2, s3
	scvtf	s3, w4
	fadd	s0, s0, s8
	fcvtzs	w8, s2
Lloh0:
	adrp	x9, _M_PI_2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _M_PI_2@GOTPAGEOFF]
Lloh2:
	ldr	s2, [x9]
	fmul	s10, s9, s2
	fmov	s2, w8
	mov.s	v2[1], w2
	scvtf.2s	v2, v2
	mov.s	v1[1], v3[0]
	fadd.2s	v2, v2, v2
	fdiv.2s	v1, v2, v1
	fmov.2s	v2, #-1.00000000
	fadd.2s	v1, v1, v2
	fmul.2s	v0, v1, v0[0]
	str	q0, [sp]                        ; 16-byte Folded Spill
	mov	s1, v0[1]
                                        ; kill: def $s0 killed $s0 killed $q0
	bl	_hypotf
	fcmp	s0, #0.0
	fcsel	s1, s0, s8, gt
	str	q1, [sp, #16]                   ; 16-byte Folded Spill
	fsub	s0, s8, s0
	fmul	s0, s0, s10
	bl	___sincosf_stret
                                        ; kill: def $s1 killed $s1 def $q1
	fmul	s2, s9, s1
	ldr	q3, [sp]                        ; 16-byte Folded Reload
	fneg.2s	v3, v3
	mov.s	v2[1], v1[0]
	fmul.2s	v1, v2, v3
	ldr	q2, [sp, #16]                   ; 16-byte Folded Reload
	dup.2s	v2, v2[0]
	fdiv.2s	v1, v1, v2
	str	d1, [x19]
	str	s0, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_normalize_vector
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PI_2,4,2                     ; @M_PI_2
	.no_dead_strip	_dfisheye_to_xyz
.subsections_via_symbols
