	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function hammer_to_xyz
LCPI0_0:
	.long	0xbf800000                      ## float -1
LCPI0_1:
	.long	0x3f000000                      ## float 0.5
LCPI0_2:
	.long	0x3f800000                      ## float 1
LCPI0_3:
	.long	0xc0000000                      ## float -2
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_4:
	.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
_hammer_to_xyz:                         ## @hammer_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	%r9, %rdi
	cvtsi2ss	%esi, %xmm0
	addss	%xmm0, %xmm0
	cvtsi2ss	%ecx, %xmm1
	divss	%xmm1, %xmm0
	movss	LCPI0_0(%rip), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	xorps	%xmm1, %xmm1
	cvtsi2ss	%edx, %xmm1
	addss	%xmm3, %xmm0
	cvtsi2ss	%r8d, %xmm2
	addss	%xmm1, %xmm1
	divss	%xmm2, %xmm1
	addss	%xmm3, %xmm1
	movaps	%xmm1, %xmm4
	mulss	%xmm1, %xmm4
	movaps	%xmm0, %xmm2
	mulss	%xmm0, %xmm2
	movss	LCPI0_1(%rip), %xmm5            ## xmm5 = mem[0],zero,zero,zero
	mulss	%xmm5, %xmm2
	movss	LCPI0_2(%rip), %xmm6            ## xmm6 = mem[0],zero,zero,zero
	movaps	%xmm6, %xmm7
	subss	%xmm2, %xmm7
	mulss	%xmm4, %xmm5
	subss	%xmm5, %xmm7
	xorps	%xmm2, %xmm2
	sqrtss	%xmm7, %xmm2
	movq	_M_SQRT2@GOTPCREL(%rip), %rax
	mulss	(%rax), %xmm0
	mulss	%xmm2, %xmm0
	movaps	%xmm2, %xmm5
	addss	%xmm2, %xmm5
	mulss	%xmm2, %xmm5
	mulss	LCPI0_3(%rip), %xmm4
	addss	%xmm3, %xmm5
	mulss	%xmm2, %xmm4
	mulss	%xmm2, %xmm4
	addss	%xmm6, %xmm4
	xorps	%xmm3, %xmm3
	sqrtss	%xmm4, %xmm3
	movaps	%xmm3, %xmm4
	addss	%xmm3, %xmm4
	mulss	%xmm0, %xmm4
	mulss	%xmm5, %xmm4
	mulss	%xmm5, %xmm5
	mulss	%xmm0, %xmm0
	movaps	%xmm5, %xmm6
	addss	%xmm0, %xmm6
	divss	%xmm6, %xmm4
	movss	%xmm4, (%r9)
	movss	(%rax), %xmm4                   ## xmm4 = mem[0],zero,zero,zero
	movaps	LCPI0_4(%rip), %xmm7            ## xmm7 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	xorps	%xmm7, %xmm4
	mulss	%xmm1, %xmm4
	mulss	%xmm2, %xmm4
	movss	%xmm4, 4(%r9)
	xorps	%xmm7, %xmm3
	subss	%xmm0, %xmm5
	mulss	%xmm3, %xmm5
	divss	%xmm6, %xmm5
	movss	%xmm5, 8(%r9)
	popq	%rbp
	jmp	_normalize_vector               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_M_SQRT2,4,2                    ## @M_SQRT2
	.no_dead_strip	_hammer_to_xyz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hammer_to_xyz
_hammer_to_xyz:                         ; @hammer_to_xyz
	.cfi_startproc
; %bb.0:
	mov	x0, x5
	fmov	s0, #-1.00000000
	scvtf	s1, w1
	fadd	s1, s1, s1
	scvtf	s2, w3
	fdiv	s1, s1, s2
	fadd	s1, s1, s0
	scvtf	s2, w2
	scvtf	s3, w4
	fadd	s2, s2, s2
	fdiv	s2, s2, s3
	fadd	s2, s2, s0
	fmul	s3, s2, s2
	fneg	s4, s1
	fmul	s4, s1, s4
	fmov	s5, #1.00000000
	fmov	s6, #0.50000000
	fmadd	s4, s4, s6, s5
	fmsub	s4, s3, s6, s4
Lloh0:
	adrp	x8, _M_SQRT2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_SQRT2@GOTPAGEOFF]
	fsqrt	s4, s4
	ldr	s6, [x8]
	fmul	s1, s1, s6
	fmul	s1, s4, s1
	fadd	s6, s4, s4
	fmadd	s0, s6, s4, s0
	fmul	s6, s1, s1
	fmul	s7, s0, s0
	fmov	s16, #-2.00000000
	fmul	s3, s3, s16
	fmul	s3, s3, s4
	fmadd	s3, s3, s4, s5
	fsqrt	s3, s3
	fadd	s5, s3, s3
	fmul	s1, s5, s1
	fmul	s0, s0, s1
	fadd	s1, s7, s6
	fdiv	s0, s0, s1
	str	s0, [x5]
	ldr	s0, [x8]
	fneg	s0, s0
	fmul	s0, s2, s0
	fmul	s0, s4, s0
	fneg	s2, s3
	fsub	s3, s7, s6
	fmul	s2, s3, s2
	fdiv	s1, s2, s1
	stp	s0, s1, [x5, #4]
	b	_normalize_vector
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_M_SQRT2,4,2                    ; @M_SQRT2
	.no_dead_strip	_hammer_to_xyz
.subsections_via_symbols
