	.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_InitLightSpot
LCPI0_0:
	.long	0x42b40000                      ## float 90
LCPI0_1:
	.long	0x43340000                      ## float 180
LCPI0_2:
	.long	0x3f800000                      ## float 1
LCPI0_3:
	.long	0x40800000                      ## float 4
LCPI0_5:
	.long	0xc0800000                      ## float -4
LCPI0_7:
	.long	0xc0000000                      ## float -2
LCPI0_11:
	.long	0xc47a0000                      ## float -1000
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_4:
	.long	0xc0000000                      ## float -2
	.space	4
	.space	4
	.space	4
LCPI0_6:
	.long	0xc0800000                      ## float -4
	.space	4
	.space	4
	.space	4
LCPI0_8:
	.long	0xbf800000                      ## float -1
	.long	0x40000000                      ## float 2
	.space	4
	.space	4
LCPI0_9:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
LCPI0_10:
	.long	0x3f800000                      ## float 1
	.space	4
	.space	4
	.space	4
LCPI0_12:
	.long	0x00000000                      ## float 0
	.long	0x447a0000                      ## float 1000
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_GX_InitLightSpot
	.p2align	4, 0x90
_GX_InitLightSpot:                      ## @GX_InitLightSpot
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	ucomiss	LCPI0_0(%rip), %xmm0
	movl	$131, %eax
	cmoval	%eax, %ebx
	movq	%rdi, %r14
	xorps	%xmm1, %xmm1
	ucomiss	%xmm0, %xmm1
	cmoval	%eax, %ebx
	movq	_M_PI@GOTPCREL(%rip), %rax
	mulss	(%rax), %xmm0
	divss	LCPI0_1(%rip), %xmm0
	callq	_cosf
	xorps	%xmm2, %xmm2
	movss	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	addl	$-128, %ebx
	cmpl	$6, %ebx
	ja	LBB0_10
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_5:
	movss	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm2
	mulss	%xmm2, %xmm2
	movss	LCPI0_7(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	mulss	%xmm0, %xmm1
	movsldup	%xmm2, %xmm0                    ## xmm0 = xmm2[0,0,2,2]
	movaps	LCPI0_8(%rip), %xmm2            ## xmm2 = <-1.0E+0,2.0E+0,u,u>
	jmp	LBB0_9
LBB0_7:
	movss	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm3
	subss	%xmm0, %xmm3
	mulss	%xmm3, %xmm3
	movaps	%xmm0, %xmm2
	addss	%xmm0, %xmm2
	mulss	%xmm0, %xmm2
	divss	%xmm3, %xmm2
	subss	%xmm2, %xmm1
	mulss	LCPI0_3(%rip), %xmm0
	movaps	LCPI0_4(%rip), %xmm2            ## xmm2 = <-2.0E+0,u,u,u>
	jmp	LBB0_8
LBB0_6:
	movss	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movaps	%xmm2, %xmm3
	subss	%xmm0, %xmm3
	mulss	%xmm3, %xmm3
	movss	LCPI0_5(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	divss	%xmm3, %xmm1
	addss	%xmm2, %xmm0
	mulss	LCPI0_3(%rip), %xmm0
	movaps	LCPI0_6(%rip), %xmm2            ## xmm2 = <-4.0E+0,u,u,u>
LBB0_8:
	insertps	$16, %xmm0, %xmm2               ## xmm2 = xmm2[0],xmm0[0],xmm2[2,3]
	movsldup	%xmm3, %xmm0                    ## xmm0 = xmm3[0,0,2,2]
LBB0_9:
	divps	%xmm0, %xmm2
	jmp	LBB0_10
LBB0_2:
	mulss	LCPI0_11(%rip), %xmm0
	movaps	LCPI0_12(%rip), %xmm2           ## xmm2 = <0.0E+0,1.0E+3,u,u>
	movaps	%xmm0, %xmm1
	jmp	LBB0_10
LBB0_4:
	movaps	LCPI0_9(%rip), %xmm1            ## xmm1 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	xorps	%xmm0, %xmm1
	movss	LCPI0_2(%rip), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm3
	movaps	LCPI0_10(%rip), %xmm2           ## xmm2 = <1.0E+0,u,u,u>
	unpcklps	%xmm1, %xmm2                    ## xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
	movsldup	%xmm3, %xmm0                    ## xmm0 = xmm3[0,0,2,2]
	divps	%xmm0, %xmm2
	xorps	%xmm1, %xmm1
	jmp	LBB0_10
LBB0_3:
	movaps	LCPI0_9(%rip), %xmm1            ## xmm1 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	xorps	%xmm0, %xmm1
	movss	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movaps	%xmm2, %xmm3
	subss	%xmm0, %xmm3
	divss	%xmm3, %xmm1
	divss	%xmm3, %xmm2
	insertps	$29, %xmm2, %xmm2               ## xmm2 = zero,xmm2[0],zero,zero
LBB0_10:
	movss	%xmm1, (%r14)
	extractps	$1, %xmm2, 4(%r14)
	movss	%xmm2, 8(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_M_PI,4,2                       ## @M_PI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function GX_InitLightSpot
lCPI0_0:
	.long	0x40000000                      ; float 2
	.long	0xbf800000                      ; float -1
lCPI0_1:
	.long	0x447a0000                      ; float 1000
	.long	0x00000000                      ; float 0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_GX_InitLightSpot
	.p2align	2
_GX_InitLightSpot:                      ; @GX_InitLightSpot
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w8, #1119092736
	fmov	s1, w8
	fcmp	s0, s1
	movi	d1, #0000000000000000
	fccmp	s0, s1, #8, le
	mov	w8, #131
Lloh0:
	adrp	x9, _M_PI@GOTPAGE
Lloh1:
	ldr	x9, [x9, _M_PI@GOTPAGEOFF]
	csel	w20, w8, w1, mi
Lloh2:
	ldr	s1, [x9]
	fmul	s0, s1, s0
	mov	w8, #1127481344
	fmov	s1, w8
	fdiv	s0, s0, s1
	bl	_cosf
	movi	d2, #0000000000000000
	fmov	s1, #1.00000000
	sub	w8, w20, #128
	cmp	w8, #6
	b.hi	LBB0_8
; %bb.1:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	fmov	s1, #1.00000000
	fsub	s1, s1, s0
	fmul	s2, s1, s1
	fmov	s1, #-2.00000000
	fadd	s1, s0, s1
	fmul	s1, s0, s1
	dup.2s	v0, v2[0]
Lloh5:
	adrp	x8, lCPI0_0@PAGE
Lloh6:
	ldr	d2, [x8, lCPI0_0@PAGEOFF]
	fdiv.2s	v2, v2, v0
	b	LBB0_8
LBB0_3:
	fmov	s1, #1.00000000
	fsub	s2, s1, s0
	fmul	s2, s2, s2
	fadd	s3, s0, s0
	fmul	s3, s0, s3
	fdiv	s3, s3, s2
	fsub	s1, s1, s3
	fmov	s3, #4.00000000
	fmul	s0, s0, s3
	movi.2s	v3, #192, lsl #24
	mov.s	v3[0], v0[0]
	dup.2s	v0, v2[0]
	fdiv.2s	v2, v3, v0
	b	LBB0_8
LBB0_4:
	fmov	s2, #1.00000000
	fsub	s1, s2, s0
	fmul	s3, s1, s1
	fmov	s1, #-4.00000000
	fmul	s1, s0, s1
	fdiv	s1, s1, s3
	fadd	s0, s0, s2
	fmov	s2, #4.00000000
	fmul	s0, s0, s2
	fmov.2s	v2, #-4.00000000
	mov.s	v2[0], v0[0]
	dup.2s	v0, v3[0]
	fdiv.2s	v2, v2, v0
	b	LBB0_8
LBB0_5:
	mov	w8, #-998637568
	fmov	s1, w8
	fmul	s1, s0, s1
Lloh7:
	adrp	x8, lCPI0_1@PAGE
Lloh8:
	ldr	d2, [x8, lCPI0_1@PAGEOFF]
	b	LBB0_8
LBB0_6:
	fneg	s1, s0
	fmov	s2, #1.00000000
	fsub	s0, s2, s0
	fmov.2s	v2, #1.00000000
	mov.s	v2[0], v1[0]
	dup.2s	v0, v0[0]
	fdiv.2s	v2, v2, v0
	movi	d1, #0000000000000000
	b	LBB0_8
LBB0_7:
	fneg	s1, s0
	fmov	s2, #1.00000000
	fsub	s0, s2, s0
	fdiv	s1, s1, s0
	fdiv	s0, s2, s0
	movi	d2, #0000000000000000
	mov.s	v2[0], v0[0]
LBB0_8:
	str	s1, [x19]
	stur	d2, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdr	Lloh7, Lloh8
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_M_PI,4,2                       ; @M_PI
.subsections_via_symbols
