	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __GX_SetSUTexRegs
___GX_SetSUTexRegs:                     ## @__GX_SetSUTexRegs
	.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
	movq	___gx@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax), %edi
	movl	$10, %esi
	movl	$4, %edx
	callq	__SHIFTR
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rax
	movl	(%rax), %edi
	movl	$16, %esi
	movl	$3, %edx
	callq	__SHIFTR
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	movl	%eax, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r13d
	cmpl	%r13d, %r15d
	je	LBB0_4
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-128(%r13), %eax
	movl	$0, %r12d
	movl	$0, %ebx
	cmpl	$3, %eax
	ja	LBB0_17
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movl	8(%rax), %edi
	movl	$18, %esi
	movl	$3, %edx
	callq	__SHIFTR
	movl	%eax, %r12d
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movl	8(%rax), %edi
	movl	$21, %esi
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movl	8(%rax), %edi
	movl	$12, %esi
	movl	$3, %edx
	callq	__SHIFTR
	movl	%eax, %r12d
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movl	8(%rax), %edi
	movl	$15, %esi
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movl	8(%rax), %edi
	movl	$6, %esi
	movl	$3, %edx
	callq	__SHIFTR
	movl	%eax, %r12d
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movl	8(%rax), %edi
	movl	$9, %esi
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movl	8(%rax), %edi
	movl	%edi, %r12d
	andl	$7, %r12d
	movl	$3, %esi
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$3, %edx
	callq	__SHIFTR
	movl	%eax, %ebx
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	movl	%ebx, %esi
	movl	$1, %edx
	callq	__SHIFTL
	movq	(%r14), %rcx
	testl	%eax, 16(%rcx)
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %edi
	movl	%ebx, %esi
	callq	___SetSURegs
	jmp	LBB0_19
LBB0_4:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_11
## %bb.5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	cmpq	%rbx, -48(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movl	$1, %esi
	movl	$3, %edx
	callq	__SHIFTR
	movq	(%r14), %rcx
	movq	8(%rcx), %rdx
	movq	24(%rcx), %rcx
	movzbl	(%rcx,%rbx,4), %r15d
	testb	$1, %bl
	cltq
	movl	12(%rdx,%rax,4), %edi
	movl	$15, %esi
	movl	$3, %eax
	cmovel	%eax, %esi
	movl	$3, %edx
	callq	__SHIFTR
	movl	%eax, %r12d
	movl	$1, %edi
	movl	%ebx, %esi
	movl	$1, %edx
	callq	__SHIFTL
	movl	%eax, %r13d
	movl	$1, %edi
	movl	%r12d, %esi
	movl	$1, %edx
	callq	__SHIFTL
	cmpl	$255, %r15d
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rcx
	testl	%r13d, 32(%rcx)
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	testl	%eax, 16(%rcx)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	___SetSURegs
	jmp	LBB0_10
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_14
	.long	L0_0_set_13
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	___gx,8,3                       ## @__gx
	.no_dead_strip	___GX_SetSUTexRegs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __GX_SetSUTexRegs
___GX_SetSUTexRegs:                     ; @__GX_SetSUTexRegs
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x23, ___gx@GOTPAGE
Lloh1:
	ldr	x23, [x23, ___gx@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	w0, [x8]
	mov	w1, #10
	mov	w2, #4
	bl	__SHIFTR
	mov	x19, x0
	ldr	x8, [x23]
	ldr	w0, [x8]
	mov	w1, #16
	mov	w2, #3
	bl	__SHIFTR
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x20, x0
	mov	w24, #0
Lloh2:
	adrp	x25, lJTI0_0@PAGE
Lloh3:
	add	x25, x25, lJTI0_0@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w24, w24, #1
	cmp	w20, w24
	b.eq	LBB0_13
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w24, #128
	cmp	w8, #3
	b.hi	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x9, LBB0_5
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	ldr	w0, [x8, #8]
	mov	w1, #18
	mov	w2, #3
	bl	__SHIFTR
	mov	x21, x0
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	ldr	w0, [x8, #8]
	mov	w1, #21
	b	LBB0_10
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w21, #0
	mov	w22, #0
	b	LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	ldr	w0, [x8, #8]
	mov	w1, #12
	mov	w2, #3
	bl	__SHIFTR
	mov	x21, x0
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	ldr	w0, [x8, #8]
	mov	w1, #15
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	ldr	w0, [x8, #8]
	mov	w1, #6
	mov	w2, #3
	bl	__SHIFTR
	mov	x21, x0
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	ldr	w0, [x8, #8]
	mov	w1, #9
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	ldr	w0, [x8, #8]
	and	w21, w0, #0x7
	mov	w1, #3
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w2, #3
	bl	__SHIFTR
	mov	x22, x0
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #1
	mov	x1, x22
	mov	w2, #1
	bl	__SHIFTL
	ldr	x8, [x23]
	ldr	w8, [x8, #16]
	tst	w8, w0
	b.ne	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	___SetSURegs
	b	LBB0_2
LBB0_13:
	tbnz	w19, #31, LBB0_20
; %bb.14:
	mov	x20, #0
	add	w24, w19, #1
	mov	w25, #3
	mov	w26, #15
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x20, x20, #1
	cmp	x24, x20
	b.eq	LBB0_20
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #1
	mov	w2, #3
	bl	__SHIFTR
	ldr	x8, [x23]
	ldr	x9, [x8, #24]
	lsl	x10, x20, #2
	ldrb	w19, [x9, x10]
	add	w9, w0, #3
	ldr	x8, [x8, #8]
	ldr	w0, [x8, w9, sxtw #2]
	tst	w20, #0x1
	csel	w1, w25, w26, eq
	mov	w2, #3
	bl	__SHIFTR
	mov	x21, x0
	mov	w0, #1
	mov	x1, x20
	mov	w2, #1
	bl	__SHIFTL
	mov	x22, x0
	mov	w0, #1
	mov	x1, x21
	mov	w2, #1
	bl	__SHIFTL
	cmp	w19, #255
	b.eq	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x23]
	ldr	w9, [x8, #32]
	tst	w9, w22
	b.eq	LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w8, [x8, #16]
	tst	w8, w0
	b.ne	LBB0_15
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	___SetSURegs
	b	LBB0_15
LBB0_20:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
                                        ; -- End function
	.comm	___gx,8,3                       ; @__gx
	.no_dead_strip	___GX_SetSUTexRegs
.subsections_via_symbols
