	.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_SetIndTexMatrix
LCPI0_0:
	.long	0x44800000                      ## float 1024
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_GX_SetIndTexMatrix
	.p2align	4, 0x90
_GX_SetIndTexMatrix:                    ## @GX_SetIndTexMatrix
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r14
                                        ## kill: def $edi killed $edi def $rdi
	leal	-1(%rdi), %r15d
	cmpl	$3, %r15d
	jb	LBB0_3
## %bb.1:
	leal	-5(%rdi), %r15d
	cmpl	$3, %r15d
	jb	LBB0_3
## %bb.2:
	addl	$-9, %edi
	xorl	%r15d, %r15d
	cmpl	$3, %edi
	cmovbl	%edi, %r15d
LBB0_3:
	addl	$17, %r12d
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movss	(%r14), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	cvttss2si	%xmm0, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movss	12(%r14), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	cvttss2si	%xmm0, %r13d
	leal	(%r15,%r15,2), %edi
	addl	$6, %edi
	movl	$24, %esi
	movl	$8, %edx
	callq	__SHIFTL
	movl	%eax, %ebx
	movl	%r12d, %edi
	movl	$22, %esi
	movl	$2, %edx
	callq	__SHIFTL
	orl	%eax, %ebx
	movl	%r13d, %edi
	movl	$11, %esi
	movl	$11, %edx
	callq	__SHIFTL
	orl	%eax, %ebx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	movl	$11, %edx
	callq	__SHIFTL
	orl	%eax, %ebx
	movl	%ebx, %edi
	callq	_GX_LOAD_BP_REG
	movss	4(%r14), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	cvttss2si	%xmm0, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movss	16(%r14), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	cvttss2si	%xmm0, %r13d
	leal	(%r15,%r15,2), %edi
	addl	$7, %edi
	movl	$24, %esi
	movl	$8, %edx
	callq	__SHIFTL
	movl	%eax, %ebx
	movl	%r12d, %edi
	sarl	$2, %edi
	movl	$22, %esi
	movl	$2, %edx
	callq	__SHIFTL
	orl	%eax, %ebx
	movl	%r13d, %edi
	movl	$11, %esi
	movl	$11, %edx
	callq	__SHIFTL
	orl	%eax, %ebx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	movl	$11, %edx
	callq	__SHIFTL
	orl	%eax, %ebx
	movl	%ebx, %edi
	callq	_GX_LOAD_BP_REG
	movss	8(%r14), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	cvttss2si	%xmm0, %r13d
	mulss	20(%r14), %xmm1
	cvttss2si	%xmm1, %r14d
	leal	(%r15,%r15,2), %edi
	addl	$8, %edi
	movl	$24, %esi
	movl	$8, %edx
	callq	__SHIFTL
	movl	%eax, %ebx
	sarl	$4, %r12d
	movl	%r12d, %edi
	movl	$22, %esi
	movl	$2, %edx
	callq	__SHIFTL
	orl	%eax, %ebx
	movl	%r14d, %edi
	movl	$11, %esi
	movl	$11, %edx
	callq	__SHIFTL
	orl	%eax, %ebx
	movl	%r13d, %edi
	xorl	%esi, %esi
	movl	$11, %edx
	callq	__SHIFTL
	orl	%eax, %ebx
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_GX_LOAD_BP_REG                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_SetIndTexMatrix             ; -- Begin function GX_SetIndTexMatrix
	.p2align	2
_GX_SetIndTexMatrix:                    ; @GX_SetIndTexMatrix
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	sub	w8, w0, #1
	cmp	w8, #3
	b.lo	LBB0_2
; %bb.1:
	sub	w8, w0, #5
	sub	w9, w0, #9
	cmp	w9, #3
	csel	w9, w9, wzr, lo
	cmp	w8, #3
	csel	w8, w8, w9, lo
LBB0_2:
	add	w20, w2, #17
	add	w24, w8, w8, lsl #1
	ldr	s0, [x19]
	fcvtzs	w21, s0, #10
	ldr	s0, [x19, #12]
	fcvtzs	w22, s0, #10
	add	w0, w24, #6
	mov	w1, #24
	mov	w2, #8
	bl	__SHIFTL
	mov	x23, x0
	mov	x0, x20
	mov	w1, #22
	mov	w2, #2
	bl	__SHIFTL
	orr	w23, w0, w23
	mov	x0, x22
	mov	w1, #11
	mov	w2, #11
	bl	__SHIFTL
	orr	w22, w23, w0
	mov	x0, x21
	mov	w1, #0
	mov	w2, #11
	bl	__SHIFTL
	orr	w0, w22, w0
	bl	_GX_LOAD_BP_REG
	ldr	s0, [x19, #4]
	fcvtzs	w21, s0, #10
	ldr	s0, [x19, #16]
	fcvtzs	w22, s0, #10
	add	w0, w24, #7
	mov	w1, #24
	mov	w2, #8
	bl	__SHIFTL
	mov	x23, x0
	asr	w0, w20, #2
	mov	w1, #22
	mov	w2, #2
	bl	__SHIFTL
	orr	w23, w0, w23
	mov	x0, x22
	mov	w1, #11
	mov	w2, #11
	bl	__SHIFTL
	orr	w22, w23, w0
	mov	x0, x21
	mov	w1, #0
	mov	w2, #11
	bl	__SHIFTL
	orr	w0, w22, w0
	bl	_GX_LOAD_BP_REG
	ldr	s0, [x19, #8]
	fcvtzs	w21, s0, #10
	ldr	s0, [x19, #20]
	fcvtzs	w19, s0, #10
	add	w0, w24, #8
	mov	w1, #24
	mov	w2, #8
	bl	__SHIFTL
	mov	x22, x0
	asr	w0, w20, #4
	mov	w1, #22
	mov	w2, #2
	bl	__SHIFTL
	orr	w20, w0, w22
	mov	x0, x19
	mov	w1, #11
	mov	w2, #11
	bl	__SHIFTL
	orr	w19, w20, w0
	mov	x0, x21
	mov	w1, #0
	mov	w2, #11
	bl	__SHIFTL
	orr	w0, w19, w0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_GX_LOAD_BP_REG
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
