	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function flat_to_xyz
LCPI0_0:
	.long	0xbf800000                      ## float -1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.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
_flat_to_xyz:                           ## @flat_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
	movq	(%rdi), %rax
	cvtsi2ss	%esi, %xmm0
	addss	%xmm0, %xmm0
	cvtsi2ss	%ecx, %xmm1
	divss	%xmm1, %xmm0
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm0
	mulss	(%rax), %xmm0
	movss	4(%rax), %xmm2                  ## xmm2 = mem[0],zero,zero,zero
	xorps	LCPI0_1(%rip), %xmm2
	cvtsi2ss	%edx, %xmm3
	cvtsi2ss	%r8d, %xmm4
	movq	%r9, %rdi
	addss	%xmm3, %xmm3
	divss	%xmm4, %xmm3
	addss	%xmm1, %xmm3
	mulss	%xmm2, %xmm3
	movss	%xmm0, (%r9)
	movss	%xmm3, 4(%r9)
	movl	$-1082130432, 8(%r9)            ## imm = 0xBF800000
	popq	%rbp
	jmp	_normalize_vector               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_flat_to_xyz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flat_to_xyz
_flat_to_xyz:                           ; @flat_to_xyz
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	fmov	s0, w1
	mov.s	v0[1], w2
	scvtf.2s	v0, v0
	fmov	s1, w3
	mov.s	v1[1], w4
	scvtf.2s	v1, v1
	ldp	s2, s3, [x8]
	fneg	s3, s3
	fadd.2s	v0, v0, v0
	fdiv.2s	v0, v0, v1
	fmov.2s	v1, #-1.00000000
	mov.s	v2[1], v3[0]
	fadd.2s	v0, v0, v1
	fmul.2s	v0, v0, v2
	str	d0, [x5]
	mov	w8, #-1082130432
	str	w8, [x5, #8]
	mov	x0, x5
	b	_normalize_vector
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_flat_to_xyz
.subsections_via_symbols
