	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function GX_InitSpecularDir
LCPI0_0:
	.long	0x3f800000                      ## 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
	.globl	_GX_InitSpecularDir
	.p2align	4, 0x90
_GX_InitSpecularDir:                    ## @GX_InitSpecularDir
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movss	LCPI0_0(%rip), %xmm5            ## xmm5 = mem[0],zero,zero,zero
	movaps	%xmm5, %xmm3
	subss	%xmm2, %xmm3
	movaps	%xmm1, %xmm4
	mulss	%xmm1, %xmm4
	movaps	%xmm0, %xmm6
	mulss	%xmm0, %xmm6
	addss	%xmm4, %xmm6
	movaps	%xmm3, %xmm4
	mulss	%xmm3, %xmm4
	addss	%xmm6, %xmm4
	xorps	%xmm6, %xmm6
	ucomiss	%xmm6, %xmm4
	jne	LBB0_1
	jnp	LBB0_2
LBB0_1:
	sqrtss	%xmm4, %xmm4
	divss	%xmm4, %xmm5
	movaps	%xmm5, %xmm4
LBB0_2:
	movaps	LCPI0_1(%rip), %xmm5            ## xmm5 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	movaps	%xmm0, %xmm6
	xorps	%xmm5, %xmm6
	xorps	%xmm1, %xmm5
	mulss	%xmm4, %xmm5
	mulss	%xmm4, %xmm3
	movq	_LARGE_NUMBER@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm7                   ## xmm7 = mem[0],zero,zero,zero
	insertps	$16, %xmm4, %xmm7               ## xmm7 = xmm7[0],xmm4[0],xmm7[2,3]
	shufps	$64, %xmm7, %xmm7               ## xmm7 = xmm7[0,0,0,1]
	insertps	$16, %xmm1, %xmm0               ## xmm0 = xmm0[0],xmm1[0],xmm0[2,3]
	insertps	$32, %xmm2, %xmm0               ## xmm0 = xmm0[0,1],xmm2[0],xmm0[3]
	insertps	$48, %xmm6, %xmm0               ## xmm0 = xmm0[0,1,2],xmm6[0]
	mulps	%xmm7, %xmm0
	movups	%xmm0, (%rdi)
	movss	%xmm5, 16(%rdi)
	movss	%xmm3, 20(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LARGE_NUMBER,4,2               ## @LARGE_NUMBER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_InitSpecularDir             ; -- Begin function GX_InitSpecularDir
	.p2align	2
_GX_InitSpecularDir:                    ; @GX_InitSpecularDir
	.cfi_startproc
; %bb.0:
                                        ; kill: def $s1 killed $s1 def $q1
                                        ; kill: def $s0 killed $s0 def $q0
	fmov	s5, #1.00000000
	fsub	s4, s5, s2
	fmul	s3, s1, s1
	fmadd	s3, s0, s0, s3
	fmadd	s3, s4, s4, s3
	fcmp	s3, #0.0
	b.eq	LBB0_2
; %bb.1:
	fsqrt	s3, s3
	fdiv	s3, s5, s3
LBB0_2:
	mov.16b	v5, v0
	mov.s	v5[1], v1[0]
	fneg.2s	v5, v5
	fmul	s4, s4, s3
Lloh0:
	adrp	x8, _LARGE_NUMBER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LARGE_NUMBER@GOTPAGEOFF]
Lloh2:
	ldr	s6, [x8]
	fmul	s0, s6, s0
	fmul	s1, s6, s1
	fmul	s2, s6, s2
	stp	s0, s1, [x0]
	str	s2, [x0, #8]
	fmul.2s	v0, v5, v3[0]
	stur	d0, [x0, #12]
	str	s4, [x0, #20]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LARGE_NUMBER,4,2               ; @LARGE_NUMBER
.subsections_via_symbols
