	.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_InitGX
LCPI0_0:
	.quad	0x3fb999999999999a              ## double 0.10000000000000001
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
___GX_InitGX:                           ## @__GX_InitGX
	.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
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -64(%rbp)
	movl	$1, -96(%rbp)
	movl	$1, -76(%rbp)
	movl	$1, -56(%rbp)
	xorl	%edi, %edi
	callq	_VIDEO_GetPreferredMode
	movq	%rax, %r15
	movq	_BLACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$16777215, %esi                 ## imm = 0xFFFFFF
	callq	_GX_SetCopyClear
	movq	_GX_TEXCOORD0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rax, %r14
	movq	_GX_TG_MTX2x4@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_GX_TG_TEX0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GX_IDENTITY@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	callq	_GX_SetTexCoordGen
	movq	_GX_TEXCOORD1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movq	_GX_TG_TEX1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	callq	_GX_SetTexCoordGen
	movq	_GX_TEXCOORD2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movq	_GX_TG_TEX2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	callq	_GX_SetTexCoordGen
	movq	_GX_TEXCOORD3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movq	_GX_TG_TEX3@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	callq	_GX_SetTexCoordGen
	movq	_GX_TEXCOORD4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movq	_GX_TG_TEX4@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	callq	_GX_SetTexCoordGen
	movq	_GX_TEXCOORD5@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movq	_GX_TG_TEX5@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	callq	_GX_SetTexCoordGen
	movq	_GX_TEXCOORD6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movq	_GX_TG_TEX6@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	callq	_GX_SetTexCoordGen
	movq	_GX_TEXCOORD7@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	(%rbx), %esi
	movq	_GX_TG_TEX7@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	callq	_GX_SetTexCoordGen
	movl	$1, %edi
	callq	_GX_SetNumTexGens
	xorl	%eax, %eax
	callq	_GX_ClearVtxDesc
	xorl	%eax, %eax
	callq	_GX_InvVtxCache
	movq	_GX_TO_ZERO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$6, %edi
	callq	_GX_SetLineWidth
	movl	(%rbx), %esi
	movl	$6, %edi
	callq	_GX_SetPointSize
	movl	(%r14), %edi
	movq	_GX_DISABLE@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	%edx, %esi
	callq	_GX_EnableTexOffsets
	movq	_GX_TEXCOORD1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	movl	%edx, %esi
	callq	_GX_EnableTexOffsets
	movq	_GX_TEXCOORD2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	movl	%edx, %esi
	callq	_GX_EnableTexOffsets
	movq	_GX_TEXCOORD3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	movl	%edx, %esi
	callq	_GX_EnableTexOffsets
	movq	_GX_TEXCOORD4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	movl	%edx, %esi
	callq	_GX_EnableTexOffsets
	movq	_GX_TEXCOORD5@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	movl	%edx, %esi
	callq	_GX_EnableTexOffsets
	movq	_GX_TEXCOORD6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	movl	%edx, %esi
	callq	_GX_EnableTexOffsets
	movl	(%r13), %edi
	movl	(%r14), %edx
	movl	%edx, %esi
	callq	_GX_EnableTexOffsets
	movq	_GX_PNMTX0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movaps	-96(%rbp), %xmm0
	movaps	-80(%rbp), %xmm1
	movaps	-64(%rbp), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_GX_LoadPosMtxImm
	movl	(%rbx), %edi
	movaps	-96(%rbp), %xmm0
	movaps	-80(%rbp), %xmm1
	movaps	-64(%rbp), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_GX_LoadNrmMtxImm
	movl	(%rbx), %edi
	callq	_GX_SetCurrentMtx
	movl	(%r12), %edi
	movq	_GX_MTX3x4@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movaps	-96(%rbp), %xmm0
	movaps	-80(%rbp), %xmm1
	movaps	-64(%rbp), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_GX_LoadTexMtxImm
	movq	_GX_DTTIDENTITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movaps	-96(%rbp), %xmm0
	movaps	-80(%rbp), %xmm1
	movaps	-64(%rbp), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_GX_LoadTexMtxImm
	movl	8(%r15), %ecx
	movl	12(%r15), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_GX_SetViewport
	movl	(%r14), %edi
	callq	_GX_SetCoPlanar
	movq	_GX_CULL_BACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GX_SetCullMode
	movq	_GX_CLIP_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GX_SetClipMode
	movl	8(%r15), %ecx
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movl	12(%r15), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_GX_SetScissor
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_GX_SetScissorBoxOffset
	xorl	%edi, %edi
	callq	_GX_SetNumChans
	movq	_GX_COLOR0A0@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	(%r14), %esi
	movq	_GX_SRC_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GX_SRC_VTX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_GX_LIGHTNULL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_GX_DF_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_GX_AF_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	callq	_GX_SetChanCtrl
	movl	(%r12), %edi
	movq	_BLACK@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_GX_SetChanAmbColor
	movl	(%r12), %edi
	movq	_WHITE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_GX_SetChanMatColor
	movq	_GX_COLOR1A1@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%r14), %esi
	movq	_GX_SRC_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GX_SRC_VTX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_GX_LIGHTNULL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_GX_DF_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_GX_AF_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	callq	_GX_SetChanCtrl
	movl	(%r15), %edi
	movl	(%r13), %esi
	callq	_GX_SetChanAmbColor
	movl	(%r15), %edi
	movl	(%rbx), %esi
	callq	_GX_SetChanMatColor
	xorl	%eax, %eax
	callq	_GX_InvalidateTexAll
	movq	___GXDefTexRegionCallback@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GX_SetTexRegionCallback
	movq	___GXDefTlutRegionCallback@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GX_SetTlutRegionCallback
	movq	_GX_TEVSTAGE0@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_GX_TEXCOORD0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GX_TEXMAP0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	callq	_GX_SetTevOrder
	movq	_GX_TEVSTAGE1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GX_TEXCOORD1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GX_TEXMAP1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	callq	_GX_SetTevOrder
	movq	_GX_TEVSTAGE2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GX_TEXCOORD2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GX_TEXMAP2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	callq	_GX_SetTevOrder
	movq	_GX_TEVSTAGE3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GX_TEXCOORD3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GX_TEXMAP3@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	callq	_GX_SetTevOrder
	movq	_GX_TEVSTAGE4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GX_TEXCOORD4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GX_TEXMAP4@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	callq	_GX_SetTevOrder
	movq	_GX_TEVSTAGE5@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GX_TEXCOORD5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GX_TEXMAP5@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	callq	_GX_SetTevOrder
	movq	_GX_TEVSTAGE6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GX_TEXCOORD6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GX_TEXMAP6@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	callq	_GX_SetTevOrder
	movq	_GX_TEVSTAGE7@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GX_TEXCOORD7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GX_TEXMAP7@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	callq	_GX_SetTevOrder
	movq	_GX_TEVSTAGE8@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GX_TEXCOORDNULL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_GX_TEXMAP_NULL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_GX_COLORNULL@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	callq	_GX_SetTevOrder
	movq	_GX_TEVSTAGE9@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	movl	(%rbx), %edx
	movl	(%r13), %ecx
	callq	_GX_SetTevOrder
	movq	_GX_TEVSTAGE10@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	movl	(%rbx), %edx
	movl	(%r13), %ecx
	callq	_GX_SetTevOrder
	movq	_GX_TEVSTAGE11@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	movl	(%rbx), %edx
	movl	(%r13), %ecx
	callq	_GX_SetTevOrder
	movq	_GX_TEVSTAGE12@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	movl	(%rbx), %edx
	movl	(%r13), %ecx
	callq	_GX_SetTevOrder
	movq	_GX_TEVSTAGE13@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	movl	(%rbx), %edx
	movl	(%r13), %ecx
	callq	_GX_SetTevOrder
	movq	_GX_TEVSTAGE14@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	movl	(%rbx), %edx
	movl	(%r13), %ecx
	callq	_GX_SetTevOrder
	movq	_GX_TEVSTAGE15@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	movl	(%rbx), %edx
	movl	(%r13), %ecx
	callq	_GX_SetTevOrder
	movl	$1, %edi
	callq	_GX_SetNumTevStages
	movl	(%r14), %edi
	movq	_GX_REPLACE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GX_SetTevOp
	movq	_GX_ALWAYS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_GX_AOP_AND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ecx, %edi
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_GX_SetAlphaCompare
	movq	_GX_ZT_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GX_TF_Z8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_GX_SetZTexture
	movq	_GX_MAX_TEVSTAGE@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_GX_TEV_KCSEL_1_4@GOTPCREL(%rip), %r14
	movq	_GX_TEV_KASEL_1@GOTPCREL(%rip), %r15
	movq	_GX_TEV_SWAP0@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_GX_SetTevKColorSel
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_GX_SetTevKAlphaSel
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_GX_SetTevSwapMode
	incq	%rbx
	cmpq	(%r12), %rbx
	jl	LBB0_2
LBB0_3:
	movq	_GX_TEV_SWAP0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GX_CH_RED@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_GX_CH_GREEN@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_GX_CH_BLUE@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	_GX_CH_ALPHA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	callq	_GX_SetTevSwapModeTable
	movq	_GX_TEV_SWAP1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %ecx
	movl	(%rbx), %r8d
	movl	%ecx, %esi
	movl	%ecx, %edx
	callq	_GX_SetTevSwapModeTable
	movq	_GX_TEV_SWAP2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13), %ecx
	movl	(%rbx), %r8d
	movl	%ecx, %esi
	movl	%ecx, %edx
	callq	_GX_SetTevSwapModeTable
	movq	_GX_TEV_SWAP3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %ecx
	movl	(%rbx), %r8d
	movl	%ecx, %esi
	movl	%ecx, %edx
	callq	_GX_SetTevSwapModeTable
	cmpq	$0, (%r12)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_GX_SetTevDirect
	incq	%rbx
	cmpq	(%r12), %rbx
	jl	LBB0_5
LBB0_6:
	xorl	%edi, %edi
	callq	_GX_SetNumIndStages
	movq	_GX_INDTEXSTAGE0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GX_ITS_1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%edx, %esi
	callq	_GX_SetIndTexCoordScale
	movq	_GX_INDTEXSTAGE1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	movl	%edx, %esi
	callq	_GX_SetIndTexCoordScale
	movq	_GX_INDTEXSTAGE2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	movl	%edx, %esi
	callq	_GX_SetIndTexCoordScale
	movq	_GX_INDTEXSTAGE3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	movl	%edx, %esi
	callq	_GX_SetIndTexCoordScale
	movq	_GX_FOG_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BLACK@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_GX_SetFog
	movq	_GX_DISABLE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_GX_SetFogRangeAdj
	movq	_GX_BM_NONE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_GX_BL_SRCALPHA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GX_BL_INVSRCALPHA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GX_LO_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_GX_SetBlendMode
	movq	_GX_ENABLE@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_GX_SetColorUpdate
	movl	(%r13), %edi
	callq	_GX_SetAlphaUpdate
	movl	(%r13), %edi
	movq	_GX_LEQUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GX_TRUE@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_GX_SetZMode
	movl	(%r14), %edi
	callq	_GX_SetZCompLoc
	movl	(%r13), %edi
	callq	_GX_SetDither
	movl	(%r15), %edi
	xorl	%esi, %esi
	callq	_GX_SetDstAlpha
	movq	_GX_PF_RGB8_Z24@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GX_ZC_LINEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GX_SetPixelFmt
	movl	(%r13), %edi
	movl	%edi, %esi
	callq	_GX_SetFieldMask
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	4(%rbx), %eax
	addl	%eax, %eax
	xorl	%esi, %esi
	cmpl	%eax, (%rbx)
	sete	%sil
	movl	16(%rbx), %edi
	callq	_GX_SetFieldMode
	movq	_GX_DEFAULT_BG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$16777215, %esi                 ## imm = 0xFFFFFF
	callq	_GX_SetCopyClear
	movl	8(%rbx), %ecx
	movl	12(%rbx), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_GX_SetDispCopySrc
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	callq	_GX_SetDispCopyDst
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_GX_SetDispCopyYScale
	movq	_GX_CLAMP_TOP@GOTPCREL(%rip), %rax
	movq	_GX_CLAMP_BOTTOM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_GX_SetCopyClamp
	movq	_GX_FALSE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	xorl	%esi, %esi
	movl	%edi, %edx
	xorl	%ecx, %ecx
	callq	_GX_SetCopyFilter
	movq	_GX_GM_1_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GX_SetDispCopyGamma
	movq	_GX_COPY_PROGRESSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GX_SetDispCopyFrame2Field
	xorl	%eax, %eax
	callq	_GX_ClearBoundingBox
	movl	(%r14), %edi
	callq	_GX_PokeColorUpdate
	movl	(%r14), %edi
	callq	_GX_PokeAlphaUpdate
	movl	(%rbx), %edi
	callq	_GX_PokeDither
	movl	(%r12), %edi
	movq	_GX_BL_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GX_BL_ONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GX_LO_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_GX_PokeBlendMode
	movq	_GX_ALWAYS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_GX_PokeAlphaMode
	movq	_GX_READ_FF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GX_PokeAlphaRead
	movl	(%r15), %edi
	xorl	%esi, %esi
	callq	_GX_PokeDstAlpha
	movl	(%r14), %edi
	movl	(%rbx), %esi
	movl	%edi, %edx
	callq	_GX_PokeZMode
	movq	_GX_PERF0_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GX_PERF1_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GX_SetGPMetric
	xorl	%eax, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_GX_ClearGPMetric               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BLACK,8,3                      ## @BLACK
	.comm	_GX_TEXCOORD0,4,2               ## @GX_TEXCOORD0
	.comm	_GX_TG_MTX2x4,4,2               ## @GX_TG_MTX2x4
	.comm	_GX_TG_TEX0,4,2                 ## @GX_TG_TEX0
	.comm	_GX_IDENTITY,4,2                ## @GX_IDENTITY
	.comm	_GX_TEXCOORD1,4,2               ## @GX_TEXCOORD1
	.comm	_GX_TG_TEX1,4,2                 ## @GX_TG_TEX1
	.comm	_GX_TEXCOORD2,4,2               ## @GX_TEXCOORD2
	.comm	_GX_TG_TEX2,4,2                 ## @GX_TG_TEX2
	.comm	_GX_TEXCOORD3,4,2               ## @GX_TEXCOORD3
	.comm	_GX_TG_TEX3,4,2                 ## @GX_TG_TEX3
	.comm	_GX_TEXCOORD4,4,2               ## @GX_TEXCOORD4
	.comm	_GX_TG_TEX4,4,2                 ## @GX_TG_TEX4
	.comm	_GX_TEXCOORD5,4,2               ## @GX_TEXCOORD5
	.comm	_GX_TG_TEX5,4,2                 ## @GX_TG_TEX5
	.comm	_GX_TEXCOORD6,4,2               ## @GX_TEXCOORD6
	.comm	_GX_TG_TEX6,4,2                 ## @GX_TG_TEX6
	.comm	_GX_TEXCOORD7,4,2               ## @GX_TEXCOORD7
	.comm	_GX_TG_TEX7,4,2                 ## @GX_TG_TEX7
	.comm	_GX_TO_ZERO,4,2                 ## @GX_TO_ZERO
	.comm	_GX_DISABLE,4,2                 ## @GX_DISABLE
	.comm	_GX_PNMTX0,4,2                  ## @GX_PNMTX0
	.comm	_GX_MTX3x4,4,2                  ## @GX_MTX3x4
	.comm	_GX_DTTIDENTITY,4,2             ## @GX_DTTIDENTITY
	.comm	_GX_CULL_BACK,4,2               ## @GX_CULL_BACK
	.comm	_GX_CLIP_ENABLE,4,2             ## @GX_CLIP_ENABLE
	.comm	_GX_COLOR0A0,4,2                ## @GX_COLOR0A0
	.comm	_GX_SRC_REG,4,2                 ## @GX_SRC_REG
	.comm	_GX_SRC_VTX,4,2                 ## @GX_SRC_VTX
	.comm	_GX_LIGHTNULL,4,2               ## @GX_LIGHTNULL
	.comm	_GX_DF_NONE,4,2                 ## @GX_DF_NONE
	.comm	_GX_AF_NONE,4,2                 ## @GX_AF_NONE
	.comm	_WHITE,8,3                      ## @WHITE
	.comm	_GX_COLOR1A1,4,2                ## @GX_COLOR1A1
	.comm	___GXDefTexRegionCallback,4,2   ## @__GXDefTexRegionCallback
	.comm	___GXDefTlutRegionCallback,4,2  ## @__GXDefTlutRegionCallback
	.comm	_GX_TEVSTAGE0,4,2               ## @GX_TEVSTAGE0
	.comm	_GX_TEXMAP0,4,2                 ## @GX_TEXMAP0
	.comm	_GX_TEVSTAGE1,4,2               ## @GX_TEVSTAGE1
	.comm	_GX_TEXMAP1,4,2                 ## @GX_TEXMAP1
	.comm	_GX_TEVSTAGE2,4,2               ## @GX_TEVSTAGE2
	.comm	_GX_TEXMAP2,4,2                 ## @GX_TEXMAP2
	.comm	_GX_TEVSTAGE3,4,2               ## @GX_TEVSTAGE3
	.comm	_GX_TEXMAP3,4,2                 ## @GX_TEXMAP3
	.comm	_GX_TEVSTAGE4,4,2               ## @GX_TEVSTAGE4
	.comm	_GX_TEXMAP4,4,2                 ## @GX_TEXMAP4
	.comm	_GX_TEVSTAGE5,4,2               ## @GX_TEVSTAGE5
	.comm	_GX_TEXMAP5,4,2                 ## @GX_TEXMAP5
	.comm	_GX_TEVSTAGE6,4,2               ## @GX_TEVSTAGE6
	.comm	_GX_TEXMAP6,4,2                 ## @GX_TEXMAP6
	.comm	_GX_TEVSTAGE7,4,2               ## @GX_TEVSTAGE7
	.comm	_GX_TEXMAP7,4,2                 ## @GX_TEXMAP7
	.comm	_GX_TEVSTAGE8,4,2               ## @GX_TEVSTAGE8
	.comm	_GX_TEXCOORDNULL,4,2            ## @GX_TEXCOORDNULL
	.comm	_GX_TEXMAP_NULL,4,2             ## @GX_TEXMAP_NULL
	.comm	_GX_COLORNULL,4,2               ## @GX_COLORNULL
	.comm	_GX_TEVSTAGE9,4,2               ## @GX_TEVSTAGE9
	.comm	_GX_TEVSTAGE10,4,2              ## @GX_TEVSTAGE10
	.comm	_GX_TEVSTAGE11,4,2              ## @GX_TEVSTAGE11
	.comm	_GX_TEVSTAGE12,4,2              ## @GX_TEVSTAGE12
	.comm	_GX_TEVSTAGE13,4,2              ## @GX_TEVSTAGE13
	.comm	_GX_TEVSTAGE14,4,2              ## @GX_TEVSTAGE14
	.comm	_GX_TEVSTAGE15,4,2              ## @GX_TEVSTAGE15
	.comm	_GX_REPLACE,4,2                 ## @GX_REPLACE
	.comm	_GX_ALWAYS,4,2                  ## @GX_ALWAYS
	.comm	_GX_AOP_AND,4,2                 ## @GX_AOP_AND
	.comm	_GX_ZT_DISABLE,4,2              ## @GX_ZT_DISABLE
	.comm	_GX_TF_Z8,4,2                   ## @GX_TF_Z8
	.comm	_GX_MAX_TEVSTAGE,8,3            ## @GX_MAX_TEVSTAGE
	.comm	_GX_TEV_KCSEL_1_4,4,2           ## @GX_TEV_KCSEL_1_4
	.comm	_GX_TEV_KASEL_1,4,2             ## @GX_TEV_KASEL_1
	.comm	_GX_TEV_SWAP0,4,2               ## @GX_TEV_SWAP0
	.comm	_GX_CH_RED,4,2                  ## @GX_CH_RED
	.comm	_GX_CH_GREEN,4,2                ## @GX_CH_GREEN
	.comm	_GX_CH_BLUE,4,2                 ## @GX_CH_BLUE
	.comm	_GX_CH_ALPHA,4,2                ## @GX_CH_ALPHA
	.comm	_GX_TEV_SWAP1,4,2               ## @GX_TEV_SWAP1
	.comm	_GX_TEV_SWAP2,4,2               ## @GX_TEV_SWAP2
	.comm	_GX_TEV_SWAP3,4,2               ## @GX_TEV_SWAP3
	.comm	_GX_INDTEXSTAGE0,4,2            ## @GX_INDTEXSTAGE0
	.comm	_GX_ITS_1,4,2                   ## @GX_ITS_1
	.comm	_GX_INDTEXSTAGE1,4,2            ## @GX_INDTEXSTAGE1
	.comm	_GX_INDTEXSTAGE2,4,2            ## @GX_INDTEXSTAGE2
	.comm	_GX_INDTEXSTAGE3,4,2            ## @GX_INDTEXSTAGE3
	.comm	_GX_FOG_NONE,4,2                ## @GX_FOG_NONE
	.comm	_GX_BM_NONE,4,2                 ## @GX_BM_NONE
	.comm	_GX_BL_SRCALPHA,4,2             ## @GX_BL_SRCALPHA
	.comm	_GX_BL_INVSRCALPHA,4,2          ## @GX_BL_INVSRCALPHA
	.comm	_GX_LO_CLEAR,4,2                ## @GX_LO_CLEAR
	.comm	_GX_ENABLE,4,2                  ## @GX_ENABLE
	.comm	_GX_LEQUAL,4,2                  ## @GX_LEQUAL
	.comm	_GX_TRUE,4,2                    ## @GX_TRUE
	.comm	_GX_PF_RGB8_Z24,4,2             ## @GX_PF_RGB8_Z24
	.comm	_GX_ZC_LINEAR,4,2               ## @GX_ZC_LINEAR
	.comm	_GX_DEFAULT_BG,8,3              ## @GX_DEFAULT_BG
	.comm	_GX_CLAMP_TOP,4,2               ## @GX_CLAMP_TOP
	.comm	_GX_CLAMP_BOTTOM,4,2            ## @GX_CLAMP_BOTTOM
	.comm	_GX_FALSE,4,2                   ## @GX_FALSE
	.comm	_GX_GM_1_0,4,2                  ## @GX_GM_1_0
	.comm	_GX_COPY_PROGRESSIVE,4,2        ## @GX_COPY_PROGRESSIVE
	.comm	_GX_BL_ZERO,4,2                 ## @GX_BL_ZERO
	.comm	_GX_BL_ONE,4,2                  ## @GX_BL_ONE
	.comm	_GX_LO_SET,4,2                  ## @GX_LO_SET
	.comm	_GX_READ_FF,4,2                 ## @GX_READ_FF
	.comm	_GX_PERF0_NONE,4,2              ## @GX_PERF0_NONE
	.comm	_GX_PERF1_NONE,4,2              ## @GX_PERF1_NONE
	.no_dead_strip	___GX_InitGX
.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_InitGX
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
___GX_InitGX:                           ; @__GX_InitGX
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	d9, d8, [sp, #64]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x0, #0
	bl	_VIDEO_GetPreferredMode
	mov	x25, x0
Lloh0:
	adrp	x8, _BLACK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLACK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #16777215
	bl	_GX_SetCopyClear
Lloh3:
	adrp	x8, _GX_TEXCOORD0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GX_TEXCOORD0@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x21, _GX_TG_MTX2x4@GOTPAGE
Lloh7:
	ldr	x21, [x21, _GX_TG_MTX2x4@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh8:
	adrp	x8, _GX_TG_TEX0@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GX_TG_TEX0@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x20, _GX_IDENTITY@GOTPAGE
Lloh12:
	ldr	x20, [x20, _GX_IDENTITY@GOTPAGEOFF]
	ldr	w3, [x20]
	bl	_GX_SetTexCoordGen
Lloh13:
	adrp	x8, _GX_TEXCOORD1@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GX_TEXCOORD1@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	w1, [x21]
Lloh16:
	adrp	x8, _GX_TG_TEX1@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GX_TG_TEX1@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	ldr	w3, [x20]
	bl	_GX_SetTexCoordGen
Lloh19:
	adrp	x8, _GX_TEXCOORD2@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GX_TEXCOORD2@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldr	w1, [x21]
Lloh22:
	adrp	x8, _GX_TG_TEX2@GOTPAGE
Lloh23:
	ldr	x8, [x8, _GX_TG_TEX2@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	ldr	w3, [x20]
	bl	_GX_SetTexCoordGen
Lloh25:
	adrp	x8, _GX_TEXCOORD3@GOTPAGE
Lloh26:
	ldr	x8, [x8, _GX_TEXCOORD3@GOTPAGEOFF]
	ldr	w0, [x8]
	mov	x26, x8
	ldr	w1, [x21]
Lloh27:
	adrp	x8, _GX_TG_TEX3@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GX_TG_TEX3@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	ldr	w3, [x20]
	bl	_GX_SetTexCoordGen
Lloh30:
	adrp	x8, _GX_TEXCOORD4@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GX_TEXCOORD4@GOTPAGEOFF]
	ldr	w0, [x8]
	mov	x27, x8
	ldr	w1, [x21]
Lloh32:
	adrp	x8, _GX_TG_TEX4@GOTPAGE
Lloh33:
	ldr	x8, [x8, _GX_TG_TEX4@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	ldr	w3, [x20]
	bl	_GX_SetTexCoordGen
Lloh35:
	adrp	x8, _GX_TEXCOORD5@GOTPAGE
Lloh36:
	ldr	x8, [x8, _GX_TEXCOORD5@GOTPAGEOFF]
	ldr	w0, [x8]
	mov	x28, x8
	ldr	w1, [x21]
Lloh37:
	adrp	x8, _GX_TG_TEX5@GOTPAGE
Lloh38:
	ldr	x8, [x8, _GX_TG_TEX5@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	ldr	w3, [x20]
	bl	_GX_SetTexCoordGen
Lloh40:
	adrp	x23, _GX_TEXCOORD6@GOTPAGE
Lloh41:
	ldr	x23, [x23, _GX_TEXCOORD6@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w1, [x21]
Lloh42:
	adrp	x8, _GX_TG_TEX6@GOTPAGE
Lloh43:
	ldr	x8, [x8, _GX_TG_TEX6@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	ldr	w3, [x20]
	bl	_GX_SetTexCoordGen
Lloh45:
	adrp	x24, _GX_TEXCOORD7@GOTPAGE
Lloh46:
	ldr	x24, [x24, _GX_TEXCOORD7@GOTPAGEOFF]
	ldr	w0, [x24]
	ldr	w1, [x21]
Lloh47:
	adrp	x8, _GX_TG_TEX7@GOTPAGE
Lloh48:
	ldr	x8, [x8, _GX_TG_TEX7@GOTPAGEOFF]
Lloh49:
	ldr	w2, [x8]
	ldr	w3, [x20]
	bl	_GX_SetTexCoordGen
	mov	w22, #1
	mov	w0, #1
	bl	_GX_SetNumTexGens
	bl	_GX_ClearVtxDesc
	bl	_GX_InvVtxCache
Lloh50:
	adrp	x21, _GX_TO_ZERO@GOTPAGE
Lloh51:
	ldr	x21, [x21, _GX_TO_ZERO@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w0, #6
	bl	_GX_SetLineWidth
	ldr	w1, [x21]
	mov	w0, #6
	bl	_GX_SetPointSize
Lloh52:
	adrp	x8, _GX_TEXCOORD0@GOTPAGE
Lloh53:
	ldr	x8, [x8, _GX_TEXCOORD0@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
Lloh55:
	adrp	x19, _GX_DISABLE@GOTPAGE
Lloh56:
	ldr	x19, [x19, _GX_DISABLE@GOTPAGEOFF]
	ldr	w1, [x19]
	mov	x2, x1
	bl	_GX_EnableTexOffsets
Lloh57:
	adrp	x8, _GX_TEXCOORD1@GOTPAGE
Lloh58:
	ldr	x8, [x8, _GX_TEXCOORD1@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x8]
	ldr	w1, [x19]
	mov	x2, x1
	bl	_GX_EnableTexOffsets
Lloh60:
	adrp	x8, _GX_TEXCOORD2@GOTPAGE
Lloh61:
	ldr	x8, [x8, _GX_TEXCOORD2@GOTPAGEOFF]
Lloh62:
	ldr	w0, [x8]
	ldr	w1, [x19]
	mov	x2, x1
	bl	_GX_EnableTexOffsets
	ldr	w0, [x26]
	ldr	w1, [x19]
	mov	x2, x1
	bl	_GX_EnableTexOffsets
	ldr	w0, [x27]
	ldr	w1, [x19]
	mov	x2, x1
	bl	_GX_EnableTexOffsets
	ldr	w0, [x28]
	ldr	w1, [x19]
	mov	x2, x1
	bl	_GX_EnableTexOffsets
	ldr	w0, [x23]
	ldr	w1, [x19]
	mov	x2, x1
	bl	_GX_EnableTexOffsets
	ldr	w0, [x24]
	ldr	w1, [x19]
	mov	x2, x1
	bl	_GX_EnableTexOffsets
Lloh63:
	adrp	x23, _GX_PNMTX0@GOTPAGE
Lloh64:
	ldr	x23, [x23, _GX_PNMTX0@GOTPAGEOFF]
	ldr	w1, [x23]
	str	w22, [sp, #16]
	stur	xzr, [sp, #28]
	stur	xzr, [sp, #20]
	str	w22, [sp, #36]
	stp	xzr, xzr, [sp, #40]
Lloh65:
	adrp	x8, lCPI0_0@PAGE
Lloh66:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
	str	d8, [sp, #56]
	add	x0, sp, #16
	bl	_GX_LoadPosMtxImm
	ldr	w1, [x23]
	str	w22, [sp, #16]
	stur	xzr, [sp, #28]
	stur	xzr, [sp, #20]
	str	w22, [sp, #36]
	stp	xzr, xzr, [sp, #40]
	str	d8, [sp, #56]
	add	x0, sp, #16
	bl	_GX_LoadNrmMtxImm
	ldr	w0, [x23]
	bl	_GX_SetCurrentMtx
	ldr	w1, [x20]
Lloh67:
	adrp	x20, _GX_MTX3x4@GOTPAGE
Lloh68:
	ldr	x20, [x20, _GX_MTX3x4@GOTPAGEOFF]
	ldr	w2, [x20]
	str	w22, [sp, #16]
	stur	xzr, [sp, #28]
	stur	xzr, [sp, #20]
	str	w22, [sp, #36]
	stp	xzr, xzr, [sp, #40]
	str	d8, [sp, #56]
	add	x0, sp, #16
	bl	_GX_LoadTexMtxImm
Lloh69:
	adrp	x8, _GX_DTTIDENTITY@GOTPAGE
Lloh70:
	ldr	x8, [x8, _GX_DTTIDENTITY@GOTPAGEOFF]
Lloh71:
	ldr	w1, [x8]
	ldr	w2, [x20]
	str	w22, [sp, #16]
	stur	xzr, [sp, #28]
	stur	xzr, [sp, #20]
	str	w22, [sp, #36]
	stp	xzr, xzr, [sp, #40]
	str	d8, [sp, #56]
	add	x0, sp, #16
	bl	_GX_LoadTexMtxImm
	ldp	w3, w2, [x25, #8]
	mov	w0, #0
	mov	w1, #0
	mov	w4, #0
	mov	w5, #1
	bl	_GX_SetViewport
	ldr	w0, [x19]
	bl	_GX_SetCoPlanar
Lloh72:
	adrp	x8, _GX_CULL_BACK@GOTPAGE
Lloh73:
	ldr	x8, [x8, _GX_CULL_BACK@GOTPAGEOFF]
Lloh74:
	ldr	w0, [x8]
	bl	_GX_SetCullMode
Lloh75:
	adrp	x8, _GX_CLIP_ENABLE@GOTPAGE
Lloh76:
	ldr	x8, [x8, _GX_CLIP_ENABLE@GOTPAGEOFF]
Lloh77:
	ldr	w0, [x8]
	bl	_GX_SetClipMode
	ldp	w3, w2, [x25, #8]
	str	x25, [sp, #8]                   ; 8-byte Folded Spill
	mov	w0, #0
	mov	w1, #0
	bl	_GX_SetScissor
	mov	w0, #0
	mov	w1, #0
	bl	_GX_SetScissorBoxOffset
	mov	w0, #0
	bl	_GX_SetNumChans
Lloh78:
	adrp	x22, _GX_COLOR0A0@GOTPAGE
Lloh79:
	ldr	x22, [x22, _GX_COLOR0A0@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	w1, [x19]
Lloh80:
	adrp	x20, _GX_SRC_REG@GOTPAGE
Lloh81:
	ldr	x20, [x20, _GX_SRC_REG@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh82:
	adrp	x23, _GX_SRC_VTX@GOTPAGE
Lloh83:
	ldr	x23, [x23, _GX_SRC_VTX@GOTPAGEOFF]
	ldr	w3, [x23]
Lloh84:
	adrp	x24, _GX_LIGHTNULL@GOTPAGE
Lloh85:
	ldr	x24, [x24, _GX_LIGHTNULL@GOTPAGEOFF]
	ldr	w4, [x24]
Lloh86:
	adrp	x25, _GX_DF_NONE@GOTPAGE
Lloh87:
	ldr	x25, [x25, _GX_DF_NONE@GOTPAGEOFF]
	ldr	w5, [x25]
Lloh88:
	adrp	x26, _GX_AF_NONE@GOTPAGE
Lloh89:
	ldr	x26, [x26, _GX_AF_NONE@GOTPAGEOFF]
	ldr	w6, [x26]
	bl	_GX_SetChanCtrl
	ldr	w0, [x22]
Lloh90:
	adrp	x21, _BLACK@GOTPAGE
Lloh91:
	ldr	x21, [x21, _BLACK@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_GX_SetChanAmbColor
	ldr	w0, [x22]
Lloh92:
	adrp	x27, _WHITE@GOTPAGE
Lloh93:
	ldr	x27, [x27, _WHITE@GOTPAGEOFF]
	ldr	w1, [x27]
	bl	_GX_SetChanMatColor
Lloh94:
	adrp	x28, _GX_COLOR1A1@GOTPAGE
Lloh95:
	ldr	x28, [x28, _GX_COLOR1A1@GOTPAGEOFF]
	ldr	w0, [x28]
	ldr	w1, [x19]
	ldr	w2, [x20]
	ldr	w3, [x23]
	ldr	w4, [x24]
	ldr	w5, [x25]
	ldr	w6, [x26]
	bl	_GX_SetChanCtrl
	ldr	w0, [x28]
	ldr	w1, [x21]
	bl	_GX_SetChanAmbColor
	ldr	w0, [x28]
	ldr	w1, [x27]
	bl	_GX_SetChanMatColor
	bl	_GX_InvalidateTexAll
Lloh96:
	adrp	x8, ___GXDefTexRegionCallback@GOTPAGE
Lloh97:
	ldr	x8, [x8, ___GXDefTexRegionCallback@GOTPAGEOFF]
Lloh98:
	ldr	w0, [x8]
	bl	_GX_SetTexRegionCallback
Lloh99:
	adrp	x8, ___GXDefTlutRegionCallback@GOTPAGE
Lloh100:
	ldr	x8, [x8, ___GXDefTlutRegionCallback@GOTPAGEOFF]
Lloh101:
	ldr	w0, [x8]
	bl	_GX_SetTlutRegionCallback
Lloh102:
	adrp	x20, _GX_TEVSTAGE0@GOTPAGE
Lloh103:
	ldr	x20, [x20, _GX_TEVSTAGE0@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh104:
	adrp	x8, _GX_TEXCOORD0@GOTPAGE
Lloh105:
	ldr	x8, [x8, _GX_TEXCOORD0@GOTPAGEOFF]
Lloh106:
	ldr	w1, [x8]
Lloh107:
	adrp	x8, _GX_TEXMAP0@GOTPAGE
Lloh108:
	ldr	x8, [x8, _GX_TEXMAP0@GOTPAGEOFF]
Lloh109:
	ldr	w2, [x8]
	ldr	w3, [x22]
	bl	_GX_SetTevOrder
Lloh110:
	adrp	x8, _GX_TEVSTAGE1@GOTPAGE
Lloh111:
	ldr	x8, [x8, _GX_TEVSTAGE1@GOTPAGEOFF]
Lloh112:
	ldr	w0, [x8]
Lloh113:
	adrp	x8, _GX_TEXCOORD1@GOTPAGE
Lloh114:
	ldr	x8, [x8, _GX_TEXCOORD1@GOTPAGEOFF]
Lloh115:
	ldr	w1, [x8]
Lloh116:
	adrp	x8, _GX_TEXMAP1@GOTPAGE
Lloh117:
	ldr	x8, [x8, _GX_TEXMAP1@GOTPAGEOFF]
Lloh118:
	ldr	w2, [x8]
	ldr	w3, [x22]
	bl	_GX_SetTevOrder
Lloh119:
	adrp	x8, _GX_TEVSTAGE2@GOTPAGE
Lloh120:
	ldr	x8, [x8, _GX_TEVSTAGE2@GOTPAGEOFF]
Lloh121:
	ldr	w0, [x8]
Lloh122:
	adrp	x8, _GX_TEXCOORD2@GOTPAGE
Lloh123:
	ldr	x8, [x8, _GX_TEXCOORD2@GOTPAGEOFF]
Lloh124:
	ldr	w1, [x8]
Lloh125:
	adrp	x8, _GX_TEXMAP2@GOTPAGE
Lloh126:
	ldr	x8, [x8, _GX_TEXMAP2@GOTPAGEOFF]
Lloh127:
	ldr	w2, [x8]
	ldr	w3, [x22]
	bl	_GX_SetTevOrder
Lloh128:
	adrp	x8, _GX_TEVSTAGE3@GOTPAGE
Lloh129:
	ldr	x8, [x8, _GX_TEVSTAGE3@GOTPAGEOFF]
Lloh130:
	ldr	w0, [x8]
Lloh131:
	adrp	x8, _GX_TEXCOORD3@GOTPAGE
Lloh132:
	ldr	x8, [x8, _GX_TEXCOORD3@GOTPAGEOFF]
Lloh133:
	ldr	w1, [x8]
Lloh134:
	adrp	x8, _GX_TEXMAP3@GOTPAGE
Lloh135:
	ldr	x8, [x8, _GX_TEXMAP3@GOTPAGEOFF]
Lloh136:
	ldr	w2, [x8]
	ldr	w3, [x22]
	bl	_GX_SetTevOrder
Lloh137:
	adrp	x8, _GX_TEVSTAGE4@GOTPAGE
Lloh138:
	ldr	x8, [x8, _GX_TEVSTAGE4@GOTPAGEOFF]
Lloh139:
	ldr	w0, [x8]
Lloh140:
	adrp	x8, _GX_TEXCOORD4@GOTPAGE
Lloh141:
	ldr	x8, [x8, _GX_TEXCOORD4@GOTPAGEOFF]
Lloh142:
	ldr	w1, [x8]
Lloh143:
	adrp	x8, _GX_TEXMAP4@GOTPAGE
Lloh144:
	ldr	x8, [x8, _GX_TEXMAP4@GOTPAGEOFF]
Lloh145:
	ldr	w2, [x8]
	ldr	w3, [x22]
	bl	_GX_SetTevOrder
Lloh146:
	adrp	x8, _GX_TEVSTAGE5@GOTPAGE
Lloh147:
	ldr	x8, [x8, _GX_TEVSTAGE5@GOTPAGEOFF]
Lloh148:
	ldr	w0, [x8]
Lloh149:
	adrp	x8, _GX_TEXCOORD5@GOTPAGE
Lloh150:
	ldr	x8, [x8, _GX_TEXCOORD5@GOTPAGEOFF]
Lloh151:
	ldr	w1, [x8]
Lloh152:
	adrp	x8, _GX_TEXMAP5@GOTPAGE
Lloh153:
	ldr	x8, [x8, _GX_TEXMAP5@GOTPAGEOFF]
Lloh154:
	ldr	w2, [x8]
	ldr	w3, [x22]
	bl	_GX_SetTevOrder
Lloh155:
	adrp	x8, _GX_TEVSTAGE6@GOTPAGE
Lloh156:
	ldr	x8, [x8, _GX_TEVSTAGE6@GOTPAGEOFF]
Lloh157:
	ldr	w0, [x8]
Lloh158:
	adrp	x8, _GX_TEXCOORD6@GOTPAGE
Lloh159:
	ldr	x8, [x8, _GX_TEXCOORD6@GOTPAGEOFF]
Lloh160:
	ldr	w1, [x8]
Lloh161:
	adrp	x8, _GX_TEXMAP6@GOTPAGE
Lloh162:
	ldr	x8, [x8, _GX_TEXMAP6@GOTPAGEOFF]
Lloh163:
	ldr	w2, [x8]
	ldr	w3, [x22]
	bl	_GX_SetTevOrder
Lloh164:
	adrp	x8, _GX_TEVSTAGE7@GOTPAGE
Lloh165:
	ldr	x8, [x8, _GX_TEVSTAGE7@GOTPAGEOFF]
Lloh166:
	ldr	w0, [x8]
Lloh167:
	adrp	x8, _GX_TEXCOORD7@GOTPAGE
Lloh168:
	ldr	x8, [x8, _GX_TEXCOORD7@GOTPAGEOFF]
Lloh169:
	ldr	w1, [x8]
Lloh170:
	adrp	x8, _GX_TEXMAP7@GOTPAGE
Lloh171:
	ldr	x8, [x8, _GX_TEXMAP7@GOTPAGEOFF]
Lloh172:
	ldr	w2, [x8]
	ldr	w3, [x22]
	bl	_GX_SetTevOrder
Lloh173:
	adrp	x8, _GX_TEVSTAGE8@GOTPAGE
Lloh174:
	ldr	x8, [x8, _GX_TEVSTAGE8@GOTPAGEOFF]
Lloh175:
	ldr	w0, [x8]
Lloh176:
	adrp	x22, _GX_TEXCOORDNULL@GOTPAGE
Lloh177:
	ldr	x22, [x22, _GX_TEXCOORDNULL@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh178:
	adrp	x23, _GX_TEXMAP_NULL@GOTPAGE
Lloh179:
	ldr	x23, [x23, _GX_TEXMAP_NULL@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh180:
	adrp	x24, _GX_COLORNULL@GOTPAGE
Lloh181:
	ldr	x24, [x24, _GX_COLORNULL@GOTPAGEOFF]
	ldr	w3, [x24]
	bl	_GX_SetTevOrder
Lloh182:
	adrp	x8, _GX_TEVSTAGE9@GOTPAGE
Lloh183:
	ldr	x8, [x8, _GX_TEVSTAGE9@GOTPAGEOFF]
Lloh184:
	ldr	w0, [x8]
	ldr	w1, [x22]
	ldr	w2, [x23]
	ldr	w3, [x24]
	bl	_GX_SetTevOrder
Lloh185:
	adrp	x8, _GX_TEVSTAGE10@GOTPAGE
Lloh186:
	ldr	x8, [x8, _GX_TEVSTAGE10@GOTPAGEOFF]
Lloh187:
	ldr	w0, [x8]
	ldr	w1, [x22]
	ldr	w2, [x23]
	ldr	w3, [x24]
	bl	_GX_SetTevOrder
Lloh188:
	adrp	x8, _GX_TEVSTAGE11@GOTPAGE
Lloh189:
	ldr	x8, [x8, _GX_TEVSTAGE11@GOTPAGEOFF]
Lloh190:
	ldr	w0, [x8]
	ldr	w1, [x22]
	ldr	w2, [x23]
	ldr	w3, [x24]
	bl	_GX_SetTevOrder
Lloh191:
	adrp	x8, _GX_TEVSTAGE12@GOTPAGE
Lloh192:
	ldr	x8, [x8, _GX_TEVSTAGE12@GOTPAGEOFF]
Lloh193:
	ldr	w0, [x8]
	ldr	w1, [x22]
	ldr	w2, [x23]
	ldr	w3, [x24]
	bl	_GX_SetTevOrder
Lloh194:
	adrp	x8, _GX_TEVSTAGE13@GOTPAGE
Lloh195:
	ldr	x8, [x8, _GX_TEVSTAGE13@GOTPAGEOFF]
Lloh196:
	ldr	w0, [x8]
	ldr	w1, [x22]
	ldr	w2, [x23]
	ldr	w3, [x24]
	bl	_GX_SetTevOrder
Lloh197:
	adrp	x8, _GX_TEVSTAGE14@GOTPAGE
Lloh198:
	ldr	x8, [x8, _GX_TEVSTAGE14@GOTPAGEOFF]
Lloh199:
	ldr	w0, [x8]
	ldr	w1, [x22]
	ldr	w2, [x23]
	ldr	w3, [x24]
	bl	_GX_SetTevOrder
Lloh200:
	adrp	x8, _GX_TEVSTAGE15@GOTPAGE
Lloh201:
	ldr	x8, [x8, _GX_TEVSTAGE15@GOTPAGEOFF]
Lloh202:
	ldr	w0, [x8]
	ldr	w1, [x22]
	ldr	w2, [x23]
	ldr	w3, [x24]
	bl	_GX_SetTevOrder
	mov	w0, #1
	bl	_GX_SetNumTevStages
	ldr	w0, [x20]
Lloh203:
	adrp	x8, _GX_REPLACE@GOTPAGE
Lloh204:
	ldr	x8, [x8, _GX_REPLACE@GOTPAGEOFF]
Lloh205:
	ldr	w1, [x8]
	bl	_GX_SetTevOp
Lloh206:
	adrp	x22, _GX_ALWAYS@GOTPAGE
Lloh207:
	ldr	x22, [x22, _GX_ALWAYS@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh208:
	adrp	x8, _GX_AOP_AND@GOTPAGE
Lloh209:
	ldr	x8, [x8, _GX_AOP_AND@GOTPAGEOFF]
Lloh210:
	ldr	w2, [x8]
	mov	w1, #0
	mov	x3, x0
	mov	w4, #0
	bl	_GX_SetAlphaCompare
Lloh211:
	adrp	x8, _GX_ZT_DISABLE@GOTPAGE
Lloh212:
	ldr	x8, [x8, _GX_ZT_DISABLE@GOTPAGEOFF]
Lloh213:
	ldr	w0, [x8]
Lloh214:
	adrp	x8, _GX_TF_Z8@GOTPAGE
Lloh215:
	ldr	x8, [x8, _GX_TF_Z8@GOTPAGEOFF]
Lloh216:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_GX_SetZTexture
Lloh217:
	adrp	x23, _GX_MAX_TEVSTAGE@GOTPAGE
Lloh218:
	ldr	x23, [x23, _GX_MAX_TEVSTAGE@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh219:
	adrp	x24, _GX_TEV_SWAP0@GOTPAGE
Lloh220:
	ldr	x24, [x24, _GX_TEV_SWAP0@GOTPAGEOFF]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
Lloh221:
	adrp	x25, _GX_TEV_KCSEL_1_4@GOTPAGE
Lloh222:
	ldr	x25, [x25, _GX_TEV_KCSEL_1_4@GOTPAGEOFF]
Lloh223:
	adrp	x26, _GX_TEV_KASEL_1@GOTPAGE
Lloh224:
	ldr	x26, [x26, _GX_TEV_KASEL_1@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	mov	x0, x20
	bl	_GX_SetTevKColorSel
	ldr	w1, [x26]
	mov	x0, x20
	bl	_GX_SetTevKAlphaSel
	ldr	w1, [x24]
	mov	x0, x20
	mov	x2, x1
	bl	_GX_SetTevSwapMode
	add	x20, x20, #1
	ldr	x8, [x23]
	cmp	x20, x8
	b.lt	LBB0_2
LBB0_3:
	ldr	w0, [x24]
Lloh225:
	adrp	x20, _GX_CH_RED@GOTPAGE
Lloh226:
	ldr	x20, [x20, _GX_CH_RED@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh227:
	adrp	x24, _GX_CH_GREEN@GOTPAGE
Lloh228:
	ldr	x24, [x24, _GX_CH_GREEN@GOTPAGEOFF]
	ldr	w2, [x24]
Lloh229:
	adrp	x25, _GX_CH_BLUE@GOTPAGE
Lloh230:
	ldr	x25, [x25, _GX_CH_BLUE@GOTPAGEOFF]
	ldr	w3, [x25]
Lloh231:
	adrp	x26, _GX_CH_ALPHA@GOTPAGE
Lloh232:
	ldr	x26, [x26, _GX_CH_ALPHA@GOTPAGEOFF]
	ldr	w4, [x26]
	bl	_GX_SetTevSwapModeTable
Lloh233:
	adrp	x8, _GX_TEV_SWAP1@GOTPAGE
Lloh234:
	ldr	x8, [x8, _GX_TEV_SWAP1@GOTPAGEOFF]
Lloh235:
	ldr	w0, [x8]
	ldr	w1, [x20]
	ldr	w4, [x26]
	mov	x2, x1
	mov	x3, x1
	bl	_GX_SetTevSwapModeTable
Lloh236:
	adrp	x8, _GX_TEV_SWAP2@GOTPAGE
Lloh237:
	ldr	x8, [x8, _GX_TEV_SWAP2@GOTPAGEOFF]
Lloh238:
	ldr	w0, [x8]
	ldr	w1, [x24]
	ldr	w4, [x26]
	mov	x2, x1
	mov	x3, x1
	bl	_GX_SetTevSwapModeTable
Lloh239:
	adrp	x8, _GX_TEV_SWAP3@GOTPAGE
Lloh240:
	ldr	x8, [x8, _GX_TEV_SWAP3@GOTPAGEOFF]
Lloh241:
	ldr	w0, [x8]
	ldr	w1, [x25]
	ldr	w4, [x26]
	mov	x2, x1
	mov	x3, x1
	bl	_GX_SetTevSwapModeTable
	ldr	x8, [x23]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_GX_SetTevDirect
	add	x20, x20, #1
	ldr	x8, [x23]
	cmp	x20, x8
	b.lt	LBB0_5
LBB0_6:
	mov	w0, #0
	bl	_GX_SetNumIndStages
Lloh242:
	adrp	x8, _GX_INDTEXSTAGE0@GOTPAGE
Lloh243:
	ldr	x8, [x8, _GX_INDTEXSTAGE0@GOTPAGEOFF]
Lloh244:
	ldr	w0, [x8]
Lloh245:
	adrp	x20, _GX_ITS_1@GOTPAGE
Lloh246:
	ldr	x20, [x20, _GX_ITS_1@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x2, x1
	bl	_GX_SetIndTexCoordScale
Lloh247:
	adrp	x8, _GX_INDTEXSTAGE1@GOTPAGE
Lloh248:
	ldr	x8, [x8, _GX_INDTEXSTAGE1@GOTPAGEOFF]
Lloh249:
	ldr	w0, [x8]
	ldr	w1, [x20]
	mov	x2, x1
	bl	_GX_SetIndTexCoordScale
Lloh250:
	adrp	x8, _GX_INDTEXSTAGE2@GOTPAGE
Lloh251:
	ldr	x8, [x8, _GX_INDTEXSTAGE2@GOTPAGEOFF]
Lloh252:
	ldr	w0, [x8]
	ldr	w1, [x20]
	mov	x2, x1
	bl	_GX_SetIndTexCoordScale
Lloh253:
	adrp	x8, _GX_INDTEXSTAGE3@GOTPAGE
Lloh254:
	ldr	x8, [x8, _GX_INDTEXSTAGE3@GOTPAGEOFF]
Lloh255:
	ldr	w0, [x8]
	ldr	w1, [x20]
	mov	x2, x1
	bl	_GX_SetIndTexCoordScale
Lloh256:
	adrp	x8, _GX_FOG_NONE@GOTPAGE
Lloh257:
	ldr	x8, [x8, _GX_FOG_NONE@GOTPAGEOFF]
Lloh258:
	ldr	w0, [x8]
Lloh259:
	adrp	x8, _BLACK@GOTPAGE
Lloh260:
	ldr	x8, [x8, _BLACK@GOTPAGEOFF]
Lloh261:
	ldr	w4, [x8]
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16313, lsl #48
	fmov	d0, x8
	mov	w1, #0
	mov	w2, #1
	mov	w3, #1
	bl	_GX_SetFog
Lloh262:
	adrp	x21, _GX_DISABLE@GOTPAGE
Lloh263:
	ldr	x21, [x21, _GX_DISABLE@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	w1, #0
	mov	x2, #0
	bl	_GX_SetFogRangeAdj
Lloh264:
	adrp	x23, _GX_BM_NONE@GOTPAGE
Lloh265:
	ldr	x23, [x23, _GX_BM_NONE@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh266:
	adrp	x8, _GX_BL_SRCALPHA@GOTPAGE
Lloh267:
	ldr	x8, [x8, _GX_BL_SRCALPHA@GOTPAGEOFF]
Lloh268:
	ldr	w1, [x8]
Lloh269:
	adrp	x8, _GX_BL_INVSRCALPHA@GOTPAGE
Lloh270:
	ldr	x8, [x8, _GX_BL_INVSRCALPHA@GOTPAGEOFF]
Lloh271:
	ldr	w2, [x8]
Lloh272:
	adrp	x8, _GX_LO_CLEAR@GOTPAGE
Lloh273:
	ldr	x8, [x8, _GX_LO_CLEAR@GOTPAGEOFF]
Lloh274:
	ldr	w3, [x8]
	bl	_GX_SetBlendMode
Lloh275:
	adrp	x24, _GX_ENABLE@GOTPAGE
Lloh276:
	ldr	x24, [x24, _GX_ENABLE@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_GX_SetColorUpdate
	ldr	w0, [x24]
	bl	_GX_SetAlphaUpdate
	ldr	w0, [x24]
Lloh277:
	adrp	x8, _GX_LEQUAL@GOTPAGE
Lloh278:
	ldr	x8, [x8, _GX_LEQUAL@GOTPAGEOFF]
Lloh279:
	ldr	w1, [x8]
Lloh280:
	adrp	x20, _GX_TRUE@GOTPAGE
Lloh281:
	ldr	x20, [x20, _GX_TRUE@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_GX_SetZMode
	ldr	w0, [x20]
	bl	_GX_SetZCompLoc
	ldr	w0, [x24]
	bl	_GX_SetDither
	ldr	w0, [x21]
	mov	w1, #0
	bl	_GX_SetDstAlpha
Lloh282:
	adrp	x8, _GX_PF_RGB8_Z24@GOTPAGE
Lloh283:
	ldr	x8, [x8, _GX_PF_RGB8_Z24@GOTPAGEOFF]
Lloh284:
	ldr	w0, [x8]
Lloh285:
	adrp	x8, _GX_ZC_LINEAR@GOTPAGE
Lloh286:
	ldr	x8, [x8, _GX_ZC_LINEAR@GOTPAGEOFF]
Lloh287:
	ldr	w1, [x8]
	bl	_GX_SetPixelFmt
	ldr	w0, [x24]
	mov	x1, x0
	bl	_GX_SetFieldMask
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	ldp	w8, w9, [x19]
	cmp	w8, w9, lsl #1
	cset	w1, eq
	ldr	w0, [x19, #16]
	bl	_GX_SetFieldMode
Lloh288:
	adrp	x8, _GX_DEFAULT_BG@GOTPAGE
Lloh289:
	ldr	x8, [x8, _GX_DEFAULT_BG@GOTPAGEOFF]
Lloh290:
	ldr	w0, [x8]
	mov	w1, #16777215
	bl	_GX_SetCopyClear
	ldp	w3, w2, [x19, #8]
	mov	w0, #0
	mov	w1, #0
	bl	_GX_SetDispCopySrc
	ldp	w1, w0, [x19, #8]
	bl	_GX_SetDispCopyDst
	fmov	d0, #1.00000000
	bl	_GX_SetDispCopyYScale
Lloh291:
	adrp	x8, _GX_CLAMP_TOP@GOTPAGE
Lloh292:
	ldr	x8, [x8, _GX_CLAMP_TOP@GOTPAGEOFF]
Lloh293:
	ldr	w8, [x8]
Lloh294:
	adrp	x9, _GX_CLAMP_BOTTOM@GOTPAGE
Lloh295:
	ldr	x9, [x9, _GX_CLAMP_BOTTOM@GOTPAGEOFF]
Lloh296:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_GX_SetCopyClamp
Lloh297:
	adrp	x19, _GX_FALSE@GOTPAGE
Lloh298:
	ldr	x19, [x19, _GX_FALSE@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	x1, #0
	mov	x2, x0
	mov	x3, #0
	bl	_GX_SetCopyFilter
Lloh299:
	adrp	x8, _GX_GM_1_0@GOTPAGE
Lloh300:
	ldr	x8, [x8, _GX_GM_1_0@GOTPAGEOFF]
Lloh301:
	ldr	w0, [x8]
	bl	_GX_SetDispCopyGamma
Lloh302:
	adrp	x8, _GX_COPY_PROGRESSIVE@GOTPAGE
Lloh303:
	ldr	x8, [x8, _GX_COPY_PROGRESSIVE@GOTPAGEOFF]
Lloh304:
	ldr	w0, [x8]
	bl	_GX_SetDispCopyFrame2Field
	bl	_GX_ClearBoundingBox
	ldr	w0, [x20]
	bl	_GX_PokeColorUpdate
	ldr	w0, [x20]
	bl	_GX_PokeAlphaUpdate
	ldr	w0, [x19]
	bl	_GX_PokeDither
	ldr	w0, [x23]
Lloh305:
	adrp	x8, _GX_BL_ZERO@GOTPAGE
Lloh306:
	ldr	x8, [x8, _GX_BL_ZERO@GOTPAGEOFF]
Lloh307:
	ldr	w1, [x8]
Lloh308:
	adrp	x8, _GX_BL_ONE@GOTPAGE
Lloh309:
	ldr	x8, [x8, _GX_BL_ONE@GOTPAGEOFF]
Lloh310:
	ldr	w2, [x8]
Lloh311:
	adrp	x8, _GX_LO_SET@GOTPAGE
Lloh312:
	ldr	x8, [x8, _GX_LO_SET@GOTPAGEOFF]
Lloh313:
	ldr	w3, [x8]
	bl	_GX_PokeBlendMode
	ldr	w0, [x22]
	mov	w1, #0
	bl	_GX_PokeAlphaMode
Lloh314:
	adrp	x8, _GX_READ_FF@GOTPAGE
Lloh315:
	ldr	x8, [x8, _GX_READ_FF@GOTPAGEOFF]
Lloh316:
	ldr	w0, [x8]
	bl	_GX_PokeAlphaRead
	ldr	w0, [x21]
	mov	w1, #0
	bl	_GX_PokeDstAlpha
	ldr	w0, [x20]
	ldr	w1, [x22]
	mov	x2, x0
	bl	_GX_PokeZMode
Lloh317:
	adrp	x8, _GX_PERF0_NONE@GOTPAGE
Lloh318:
	ldr	x8, [x8, _GX_PERF0_NONE@GOTPAGEOFF]
Lloh319:
	ldr	w0, [x8]
Lloh320:
	adrp	x8, _GX_PERF1_NONE@GOTPAGE
Lloh321:
	ldr	x8, [x8, _GX_PERF1_NONE@GOTPAGEOFF]
Lloh322:
	ldr	w1, [x8]
	bl	_GX_SetGPMetric
	bl	_GX_ClearGPMetric
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh219, Lloh220
	.loh AdrpLdrGot	Lloh217, Lloh218
	.loh AdrpLdrGotLdr	Lloh214, Lloh215, Lloh216
	.loh AdrpLdrGotLdr	Lloh211, Lloh212, Lloh213
	.loh AdrpLdrGotLdr	Lloh208, Lloh209, Lloh210
	.loh AdrpLdrGot	Lloh206, Lloh207
	.loh AdrpLdrGotLdr	Lloh203, Lloh204, Lloh205
	.loh AdrpLdrGotLdr	Lloh200, Lloh201, Lloh202
	.loh AdrpLdrGotLdr	Lloh197, Lloh198, Lloh199
	.loh AdrpLdrGotLdr	Lloh194, Lloh195, Lloh196
	.loh AdrpLdrGotLdr	Lloh191, Lloh192, Lloh193
	.loh AdrpLdrGotLdr	Lloh188, Lloh189, Lloh190
	.loh AdrpLdrGotLdr	Lloh185, Lloh186, Lloh187
	.loh AdrpLdrGotLdr	Lloh182, Lloh183, Lloh184
	.loh AdrpLdrGot	Lloh180, Lloh181
	.loh AdrpLdrGot	Lloh178, Lloh179
	.loh AdrpLdrGot	Lloh176, Lloh177
	.loh AdrpLdrGotLdr	Lloh173, Lloh174, Lloh175
	.loh AdrpLdrGotLdr	Lloh170, Lloh171, Lloh172
	.loh AdrpLdrGotLdr	Lloh167, Lloh168, Lloh169
	.loh AdrpLdrGotLdr	Lloh164, Lloh165, Lloh166
	.loh AdrpLdrGotLdr	Lloh161, Lloh162, Lloh163
	.loh AdrpLdrGotLdr	Lloh158, Lloh159, Lloh160
	.loh AdrpLdrGotLdr	Lloh155, Lloh156, Lloh157
	.loh AdrpLdrGotLdr	Lloh152, Lloh153, Lloh154
	.loh AdrpLdrGotLdr	Lloh149, Lloh150, Lloh151
	.loh AdrpLdrGotLdr	Lloh146, Lloh147, Lloh148
	.loh AdrpLdrGotLdr	Lloh143, Lloh144, Lloh145
	.loh AdrpLdrGotLdr	Lloh140, Lloh141, Lloh142
	.loh AdrpLdrGotLdr	Lloh137, Lloh138, Lloh139
	.loh AdrpLdrGotLdr	Lloh134, Lloh135, Lloh136
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGot	Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGot	Lloh94, Lloh95
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdr	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh223, Lloh224
	.loh AdrpLdrGot	Lloh221, Lloh222
	.loh AdrpLdrGotLdr	Lloh239, Lloh240, Lloh241
	.loh AdrpLdrGotLdr	Lloh236, Lloh237, Lloh238
	.loh AdrpLdrGotLdr	Lloh233, Lloh234, Lloh235
	.loh AdrpLdrGot	Lloh231, Lloh232
	.loh AdrpLdrGot	Lloh229, Lloh230
	.loh AdrpLdrGot	Lloh227, Lloh228
	.loh AdrpLdrGot	Lloh225, Lloh226
	.loh AdrpLdrGotLdr	Lloh320, Lloh321, Lloh322
	.loh AdrpLdrGotLdr	Lloh317, Lloh318, Lloh319
	.loh AdrpLdrGotLdr	Lloh314, Lloh315, Lloh316
	.loh AdrpLdrGotLdr	Lloh311, Lloh312, Lloh313
	.loh AdrpLdrGotLdr	Lloh308, Lloh309, Lloh310
	.loh AdrpLdrGotLdr	Lloh305, Lloh306, Lloh307
	.loh AdrpLdrGotLdr	Lloh302, Lloh303, Lloh304
	.loh AdrpLdrGotLdr	Lloh299, Lloh300, Lloh301
	.loh AdrpLdrGot	Lloh297, Lloh298
	.loh AdrpLdrGotLdr	Lloh294, Lloh295, Lloh296
	.loh AdrpLdrGotLdr	Lloh291, Lloh292, Lloh293
	.loh AdrpLdrGotLdr	Lloh288, Lloh289, Lloh290
	.loh AdrpLdrGotLdr	Lloh285, Lloh286, Lloh287
	.loh AdrpLdrGotLdr	Lloh282, Lloh283, Lloh284
	.loh AdrpLdrGot	Lloh280, Lloh281
	.loh AdrpLdrGotLdr	Lloh277, Lloh278, Lloh279
	.loh AdrpLdrGot	Lloh275, Lloh276
	.loh AdrpLdrGotLdr	Lloh272, Lloh273, Lloh274
	.loh AdrpLdrGotLdr	Lloh269, Lloh270, Lloh271
	.loh AdrpLdrGotLdr	Lloh266, Lloh267, Lloh268
	.loh AdrpLdrGot	Lloh264, Lloh265
	.loh AdrpLdrGot	Lloh262, Lloh263
	.loh AdrpLdrGotLdr	Lloh259, Lloh260, Lloh261
	.loh AdrpLdrGotLdr	Lloh256, Lloh257, Lloh258
	.loh AdrpLdrGotLdr	Lloh253, Lloh254, Lloh255
	.loh AdrpLdrGotLdr	Lloh250, Lloh251, Lloh252
	.loh AdrpLdrGotLdr	Lloh247, Lloh248, Lloh249
	.loh AdrpLdrGot	Lloh245, Lloh246
	.loh AdrpLdrGotLdr	Lloh242, Lloh243, Lloh244
	.cfi_endproc
                                        ; -- End function
	.comm	_BLACK,8,3                      ; @BLACK
	.comm	_GX_TEXCOORD0,4,2               ; @GX_TEXCOORD0
	.comm	_GX_TG_MTX2x4,4,2               ; @GX_TG_MTX2x4
	.comm	_GX_TG_TEX0,4,2                 ; @GX_TG_TEX0
	.comm	_GX_IDENTITY,4,2                ; @GX_IDENTITY
	.comm	_GX_TEXCOORD1,4,2               ; @GX_TEXCOORD1
	.comm	_GX_TG_TEX1,4,2                 ; @GX_TG_TEX1
	.comm	_GX_TEXCOORD2,4,2               ; @GX_TEXCOORD2
	.comm	_GX_TG_TEX2,4,2                 ; @GX_TG_TEX2
	.comm	_GX_TEXCOORD3,4,2               ; @GX_TEXCOORD3
	.comm	_GX_TG_TEX3,4,2                 ; @GX_TG_TEX3
	.comm	_GX_TEXCOORD4,4,2               ; @GX_TEXCOORD4
	.comm	_GX_TG_TEX4,4,2                 ; @GX_TG_TEX4
	.comm	_GX_TEXCOORD5,4,2               ; @GX_TEXCOORD5
	.comm	_GX_TG_TEX5,4,2                 ; @GX_TG_TEX5
	.comm	_GX_TEXCOORD6,4,2               ; @GX_TEXCOORD6
	.comm	_GX_TG_TEX6,4,2                 ; @GX_TG_TEX6
	.comm	_GX_TEXCOORD7,4,2               ; @GX_TEXCOORD7
	.comm	_GX_TG_TEX7,4,2                 ; @GX_TG_TEX7
	.comm	_GX_TO_ZERO,4,2                 ; @GX_TO_ZERO
	.comm	_GX_DISABLE,4,2                 ; @GX_DISABLE
	.comm	_GX_PNMTX0,4,2                  ; @GX_PNMTX0
	.comm	_GX_MTX3x4,4,2                  ; @GX_MTX3x4
	.comm	_GX_DTTIDENTITY,4,2             ; @GX_DTTIDENTITY
	.comm	_GX_CULL_BACK,4,2               ; @GX_CULL_BACK
	.comm	_GX_CLIP_ENABLE,4,2             ; @GX_CLIP_ENABLE
	.comm	_GX_COLOR0A0,4,2                ; @GX_COLOR0A0
	.comm	_GX_SRC_REG,4,2                 ; @GX_SRC_REG
	.comm	_GX_SRC_VTX,4,2                 ; @GX_SRC_VTX
	.comm	_GX_LIGHTNULL,4,2               ; @GX_LIGHTNULL
	.comm	_GX_DF_NONE,4,2                 ; @GX_DF_NONE
	.comm	_GX_AF_NONE,4,2                 ; @GX_AF_NONE
	.comm	_WHITE,8,3                      ; @WHITE
	.comm	_GX_COLOR1A1,4,2                ; @GX_COLOR1A1
	.comm	___GXDefTexRegionCallback,4,2   ; @__GXDefTexRegionCallback
	.comm	___GXDefTlutRegionCallback,4,2  ; @__GXDefTlutRegionCallback
	.comm	_GX_TEVSTAGE0,4,2               ; @GX_TEVSTAGE0
	.comm	_GX_TEXMAP0,4,2                 ; @GX_TEXMAP0
	.comm	_GX_TEVSTAGE1,4,2               ; @GX_TEVSTAGE1
	.comm	_GX_TEXMAP1,4,2                 ; @GX_TEXMAP1
	.comm	_GX_TEVSTAGE2,4,2               ; @GX_TEVSTAGE2
	.comm	_GX_TEXMAP2,4,2                 ; @GX_TEXMAP2
	.comm	_GX_TEVSTAGE3,4,2               ; @GX_TEVSTAGE3
	.comm	_GX_TEXMAP3,4,2                 ; @GX_TEXMAP3
	.comm	_GX_TEVSTAGE4,4,2               ; @GX_TEVSTAGE4
	.comm	_GX_TEXMAP4,4,2                 ; @GX_TEXMAP4
	.comm	_GX_TEVSTAGE5,4,2               ; @GX_TEVSTAGE5
	.comm	_GX_TEXMAP5,4,2                 ; @GX_TEXMAP5
	.comm	_GX_TEVSTAGE6,4,2               ; @GX_TEVSTAGE6
	.comm	_GX_TEXMAP6,4,2                 ; @GX_TEXMAP6
	.comm	_GX_TEVSTAGE7,4,2               ; @GX_TEVSTAGE7
	.comm	_GX_TEXMAP7,4,2                 ; @GX_TEXMAP7
	.comm	_GX_TEVSTAGE8,4,2               ; @GX_TEVSTAGE8
	.comm	_GX_TEXCOORDNULL,4,2            ; @GX_TEXCOORDNULL
	.comm	_GX_TEXMAP_NULL,4,2             ; @GX_TEXMAP_NULL
	.comm	_GX_COLORNULL,4,2               ; @GX_COLORNULL
	.comm	_GX_TEVSTAGE9,4,2               ; @GX_TEVSTAGE9
	.comm	_GX_TEVSTAGE10,4,2              ; @GX_TEVSTAGE10
	.comm	_GX_TEVSTAGE11,4,2              ; @GX_TEVSTAGE11
	.comm	_GX_TEVSTAGE12,4,2              ; @GX_TEVSTAGE12
	.comm	_GX_TEVSTAGE13,4,2              ; @GX_TEVSTAGE13
	.comm	_GX_TEVSTAGE14,4,2              ; @GX_TEVSTAGE14
	.comm	_GX_TEVSTAGE15,4,2              ; @GX_TEVSTAGE15
	.comm	_GX_REPLACE,4,2                 ; @GX_REPLACE
	.comm	_GX_ALWAYS,4,2                  ; @GX_ALWAYS
	.comm	_GX_AOP_AND,4,2                 ; @GX_AOP_AND
	.comm	_GX_ZT_DISABLE,4,2              ; @GX_ZT_DISABLE
	.comm	_GX_TF_Z8,4,2                   ; @GX_TF_Z8
	.comm	_GX_MAX_TEVSTAGE,8,3            ; @GX_MAX_TEVSTAGE
	.comm	_GX_TEV_KCSEL_1_4,4,2           ; @GX_TEV_KCSEL_1_4
	.comm	_GX_TEV_KASEL_1,4,2             ; @GX_TEV_KASEL_1
	.comm	_GX_TEV_SWAP0,4,2               ; @GX_TEV_SWAP0
	.comm	_GX_CH_RED,4,2                  ; @GX_CH_RED
	.comm	_GX_CH_GREEN,4,2                ; @GX_CH_GREEN
	.comm	_GX_CH_BLUE,4,2                 ; @GX_CH_BLUE
	.comm	_GX_CH_ALPHA,4,2                ; @GX_CH_ALPHA
	.comm	_GX_TEV_SWAP1,4,2               ; @GX_TEV_SWAP1
	.comm	_GX_TEV_SWAP2,4,2               ; @GX_TEV_SWAP2
	.comm	_GX_TEV_SWAP3,4,2               ; @GX_TEV_SWAP3
	.comm	_GX_INDTEXSTAGE0,4,2            ; @GX_INDTEXSTAGE0
	.comm	_GX_ITS_1,4,2                   ; @GX_ITS_1
	.comm	_GX_INDTEXSTAGE1,4,2            ; @GX_INDTEXSTAGE1
	.comm	_GX_INDTEXSTAGE2,4,2            ; @GX_INDTEXSTAGE2
	.comm	_GX_INDTEXSTAGE3,4,2            ; @GX_INDTEXSTAGE3
	.comm	_GX_FOG_NONE,4,2                ; @GX_FOG_NONE
	.comm	_GX_BM_NONE,4,2                 ; @GX_BM_NONE
	.comm	_GX_BL_SRCALPHA,4,2             ; @GX_BL_SRCALPHA
	.comm	_GX_BL_INVSRCALPHA,4,2          ; @GX_BL_INVSRCALPHA
	.comm	_GX_LO_CLEAR,4,2                ; @GX_LO_CLEAR
	.comm	_GX_ENABLE,4,2                  ; @GX_ENABLE
	.comm	_GX_LEQUAL,4,2                  ; @GX_LEQUAL
	.comm	_GX_TRUE,4,2                    ; @GX_TRUE
	.comm	_GX_PF_RGB8_Z24,4,2             ; @GX_PF_RGB8_Z24
	.comm	_GX_ZC_LINEAR,4,2               ; @GX_ZC_LINEAR
	.comm	_GX_DEFAULT_BG,8,3              ; @GX_DEFAULT_BG
	.comm	_GX_CLAMP_TOP,4,2               ; @GX_CLAMP_TOP
	.comm	_GX_CLAMP_BOTTOM,4,2            ; @GX_CLAMP_BOTTOM
	.comm	_GX_FALSE,4,2                   ; @GX_FALSE
	.comm	_GX_GM_1_0,4,2                  ; @GX_GM_1_0
	.comm	_GX_COPY_PROGRESSIVE,4,2        ; @GX_COPY_PROGRESSIVE
	.comm	_GX_BL_ZERO,4,2                 ; @GX_BL_ZERO
	.comm	_GX_BL_ONE,4,2                  ; @GX_BL_ONE
	.comm	_GX_LO_SET,4,2                  ; @GX_LO_SET
	.comm	_GX_READ_FF,4,2                 ; @GX_READ_FF
	.comm	_GX_PERF0_NONE,4,2              ; @GX_PERF0_NONE
	.comm	_GX_PERF1_NONE,4,2              ; @GX_PERF1_NONE
	.no_dead_strip	___GX_InitGX
.subsections_via_symbols
