	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_InitTexCacheRegion          ## -- Begin function GX_InitTexCacheRegion
	.p2align	4, 0x90
_GX_InitTexCacheRegion:                 ## @GX_InitTexCacheRegion
	.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	%r9d, %r12d
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	xorl	%ebx, %ebx
	cmpl	$130, %ecx
	sete	%bl
	addl	$3, %ebx
	cmpl	$128, %ecx
	movl	$5, %eax
	cmovel	%eax, %ebx
	movl	$0, (%rdi)
	movl	%edx, %edi
	movl	$5, %esi
	movl	$15, %edx
	callq	__SHIFTR
	movl	%eax, %r14d
	movl	%eax, (%r13)
	andl	$-229377, %r14d                 ## imm = 0xFFFC7FFF
	movl	%ebx, %edi
	movl	$15, %esi
	movl	$3, %edx
	callq	__SHIFTL
	movl	%eax, %r15d
	orl	%r14d, %r15d
	movl	%r15d, (%r13)
	andl	$-1835009, %r15d                ## imm = 0xFFE3FFFF
	movl	%ebx, %edi
	movl	$18, %esi
	movl	$3, %edx
	callq	__SHIFTL
	orl	%r15d, %eax
	movl	%eax, (%r13)
	xorl	%r15d, %r15d
	cmpl	$130, %r12d
	sete	%r15b
	addl	$3, %r15d
	cmpl	$128, %r12d
	movl	$5, %eax
	cmovel	%eax, %r15d
	movl	$0, 4(%r13)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	$5, %esi
	movl	$15, %edx
	callq	__SHIFTR
	movl	%eax, %r14d
	movl	%eax, 4(%r13)
	andl	$-229377, %r14d                 ## imm = 0xFFFC7FFF
	movl	%r15d, %edi
	movl	$15, %esi
	movl	$3, %edx
	callq	__SHIFTL
	movl	%eax, %ebx
	orl	%r14d, %ebx
	movl	%ebx, 4(%r13)
	andl	$-1835009, %ebx                 ## imm = 0xFFE3FFFF
	movl	%r15d, %edi
	movl	$18, %esi
	movl	$3, %edx
	callq	__SHIFTL
	orl	%ebx, %eax
	movl	%eax, 4(%r13)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r13)
	movl	$1, 12(%r13)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_InitTexCacheRegion          ; -- Begin function GX_InitTexCacheRegion
	.p2align	2
_GX_InitTexCacheRegion:                 ; @GX_InitTexCacheRegion
	.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
	mov	x21, x5
	mov	x22, x4
	mov	x20, x1
	mov	x19, x0
	cmp	w3, #130
	mov	w24, #3
	cinc	w8, w24, eq
	mov	w25, #5
	cmp	w3, #128
	csel	w23, w25, w8, eq
	str	wzr, [x0]
	mov	x0, x2
	mov	w1, #5
	mov	w2, #15
	bl	__SHIFTR
	str	w0, [x19]
	and	w26, w0, #0xfffc7fff
	mov	x0, x23
	mov	w1, #15
	mov	w2, #3
	bl	__SHIFTL
	orr	w8, w0, w26
	str	w8, [x19]
	and	w26, w8, #0xffe3ffff
	mov	x0, x23
	mov	w1, #18
	mov	w2, #3
	bl	__SHIFTL
	orr	w8, w26, w0
	cmp	w21, #130
	cinc	w9, w24, eq
	cmp	w21, #128
	csel	w21, w25, w9, eq
	stp	w8, wzr, [x19]
	mov	x0, x22
	mov	w1, #5
	mov	w2, #15
	bl	__SHIFTR
	str	w0, [x19, #4]
	and	w22, w0, #0xfffc7fff
	mov	x0, x21
	mov	w1, #15
	mov	w2, #3
	bl	__SHIFTL
	orr	w8, w0, w22
	str	w8, [x19, #4]
	and	w22, w8, #0xffe3ffff
	mov	x0, x21
	mov	w1, #18
	mov	w2, #3
	bl	__SHIFTL
	orr	w8, w22, w0
	stp	w8, w20, [x19, #4]
	mov	w8, #1
	str	w8, [x19, #12]
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
