	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gxResetRendering
_gxResetRendering:                      ## @gxResetRendering
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_GX_ClearVtxDesc
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	_GX_BM_BLEND@GOTPCREL(%rip), %rax
	movl	(%rax), %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_VTXFMT0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_GX_VA_POS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_GX_POS_XY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GX_S16@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r8d, %r8d
	callq	_GX_SetVtxAttrFmt
	movl	(%rbx), %edi
	movq	_GX_VA_CLR0@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_GX_CLR_RGBA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GX_RGBA8@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r8d, %r8d
	callq	_GX_SetVtxAttrFmt
	movl	(%rbx), %edi
	movq	_GX_VA_TEX0@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_GX_TEX_ST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GX_F32@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r8d, %r8d
	callq	_GX_SetVtxAttrFmt
	movl	(%r14), %edi
	movq	_GX_DIRECT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_GX_SetVtxDesc
	movl	(%r12), %edi
	movl	(%rbx), %esi
	callq	_GX_SetVtxDesc
	movl	(%r15), %edi
	movl	(%rbx), %esi
	callq	_GX_SetVtxDesc
	movl	$1, %r14d
	movq	_GX_COLOR0A0@GOTPCREL(%rip), %r15
	movq	_GX_MODULATE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_GX_BM_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %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_VTXFMT0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_GX_VA_POS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_GX_POS_XYZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GX_S16@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r8d, %r8d
	callq	_GX_SetVtxAttrFmt
	movl	(%rbx), %edi
	movq	_GX_VA_TEX0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_GX_TEX_ST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GX_F32@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r8d, %r8d
	callq	_GX_SetVtxAttrFmt
	movl	(%r15), %edi
	movq	_GX_INDEX8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GX_SetVtxDesc
	movl	(%rbx), %edi
	movq	_GX_DIRECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GX_SetVtxDesc
	movl	(%r15), %edi
	movq	_square@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$12, %edx
	callq	_GX_SetArray
	movq	_GX_COLORNULL@GOTPCREL(%rip), %r15
	movq	_GX_REPLACE@GOTPCREL(%rip), %rax
LBB0_3:
	movq	_GX_TEVSTAGE0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	(%rax), %esi
	callq	_GX_SetTevOp
	movl	(%rbx), %edi
	movq	_GX_TEXCOORD0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GX_TEXMAP0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	callq	_GX_SetTevOrder
	movl	$1, %edi
	callq	_GX_SetNumTexGens
	movl	%r14d, %edi
	callq	_GX_SetNumChans
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_GX_Flush                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GX_BM_BLEND,4,2                ## @GX_BM_BLEND
	.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_VTXFMT0,4,2                 ## @GX_VTXFMT0
	.comm	_GX_VA_POS,4,2                  ## @GX_VA_POS
	.comm	_GX_POS_XY,4,2                  ## @GX_POS_XY
	.comm	_GX_S16,4,2                     ## @GX_S16
	.comm	_GX_VA_CLR0,4,2                 ## @GX_VA_CLR0
	.comm	_GX_CLR_RGBA,4,2                ## @GX_CLR_RGBA
	.comm	_GX_RGBA8,4,2                   ## @GX_RGBA8
	.comm	_GX_VA_TEX0,4,2                 ## @GX_VA_TEX0
	.comm	_GX_TEX_ST,4,2                  ## @GX_TEX_ST
	.comm	_GX_F32,4,2                     ## @GX_F32
	.comm	_GX_DIRECT,4,2                  ## @GX_DIRECT
	.comm	_GX_TEVSTAGE0,4,2               ## @GX_TEVSTAGE0
	.comm	_GX_MODULATE,4,2                ## @GX_MODULATE
	.comm	_GX_TEXCOORD0,4,2               ## @GX_TEXCOORD0
	.comm	_GX_TEXMAP0,4,2                 ## @GX_TEXMAP0
	.comm	_GX_COLOR0A0,4,2                ## @GX_COLOR0A0
	.comm	_GX_BM_NONE,4,2                 ## @GX_BM_NONE
	.comm	_GX_POS_XYZ,4,2                 ## @GX_POS_XYZ
	.comm	_GX_INDEX8,4,2                  ## @GX_INDEX8
	.comm	_square,4,2                     ## @square
	.comm	_GX_REPLACE,4,2                 ## @GX_REPLACE
	.comm	_GX_COLORNULL,4,2               ## @GX_COLORNULL
	.no_dead_strip	_gxResetRendering
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gxResetRendering
_gxResetRendering:                      ; @gxResetRendering
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_GX_ClearVtxDesc
	cbz	x19, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _GX_BM_BLEND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GX_BM_BLEND@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _GX_BL_SRCALPHA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GX_BL_SRCALPHA@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _GX_BL_INVSRCALPHA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GX_BL_INVSRCALPHA@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _GX_LO_CLEAR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GX_LO_CLEAR@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	bl	_GX_SetBlendMode
Lloh12:
	adrp	x19, _GX_VTXFMT0@GOTPAGE
Lloh13:
	ldr	x19, [x19, _GX_VTXFMT0@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh14:
	adrp	x20, _GX_VA_POS@GOTPAGE
Lloh15:
	ldr	x20, [x20, _GX_VA_POS@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh16:
	adrp	x8, _GX_POS_XY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GX_POS_XY@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x8, _GX_S16@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GX_S16@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	mov	w4, #0
	bl	_GX_SetVtxAttrFmt
	ldr	w0, [x19]
Lloh22:
	adrp	x21, _GX_VA_CLR0@GOTPAGE
Lloh23:
	ldr	x21, [x21, _GX_VA_CLR0@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh24:
	adrp	x8, _GX_CLR_RGBA@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GX_CLR_RGBA@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
Lloh27:
	adrp	x8, _GX_RGBA8@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GX_RGBA8@GOTPAGEOFF]
Lloh29:
	ldr	w3, [x8]
	mov	w4, #0
	bl	_GX_SetVtxAttrFmt
	ldr	w0, [x19]
Lloh30:
	adrp	x19, _GX_VA_TEX0@GOTPAGE
Lloh31:
	ldr	x19, [x19, _GX_VA_TEX0@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh32:
	adrp	x8, _GX_TEX_ST@GOTPAGE
Lloh33:
	ldr	x8, [x8, _GX_TEX_ST@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
Lloh35:
	adrp	x8, _GX_F32@GOTPAGE
Lloh36:
	ldr	x8, [x8, _GX_F32@GOTPAGEOFF]
Lloh37:
	ldr	w3, [x8]
	mov	w4, #0
	bl	_GX_SetVtxAttrFmt
	ldr	w0, [x20]
Lloh38:
	adrp	x20, _GX_DIRECT@GOTPAGE
Lloh39:
	ldr	x20, [x20, _GX_DIRECT@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_GX_SetVtxDesc
	ldr	w0, [x19]
	ldr	w1, [x20]
	bl	_GX_SetVtxDesc
	ldr	w0, [x21]
	ldr	w1, [x20]
	bl	_GX_SetVtxDesc
	mov	w19, #1
Lloh40:
	adrp	x20, _GX_COLOR0A0@GOTPAGE
Lloh41:
	ldr	x20, [x20, _GX_COLOR0A0@GOTPAGEOFF]
Lloh42:
	adrp	x8, _GX_MODULATE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _GX_MODULATE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh44:
	adrp	x8, _GX_BM_NONE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _GX_BM_NONE@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
Lloh47:
	adrp	x8, _GX_BL_SRCALPHA@GOTPAGE
Lloh48:
	ldr	x8, [x8, _GX_BL_SRCALPHA@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
Lloh50:
	adrp	x8, _GX_BL_INVSRCALPHA@GOTPAGE
Lloh51:
	ldr	x8, [x8, _GX_BL_INVSRCALPHA@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
Lloh53:
	adrp	x8, _GX_LO_CLEAR@GOTPAGE
Lloh54:
	ldr	x8, [x8, _GX_LO_CLEAR@GOTPAGEOFF]
Lloh55:
	ldr	w3, [x8]
	bl	_GX_SetBlendMode
Lloh56:
	adrp	x19, _GX_VTXFMT0@GOTPAGE
Lloh57:
	ldr	x19, [x19, _GX_VTXFMT0@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh58:
	adrp	x20, _GX_VA_POS@GOTPAGE
Lloh59:
	ldr	x20, [x20, _GX_VA_POS@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh60:
	adrp	x8, _GX_POS_XYZ@GOTPAGE
Lloh61:
	ldr	x8, [x8, _GX_POS_XYZ@GOTPAGEOFF]
Lloh62:
	ldr	w2, [x8]
Lloh63:
	adrp	x8, _GX_S16@GOTPAGE
Lloh64:
	ldr	x8, [x8, _GX_S16@GOTPAGEOFF]
Lloh65:
	ldr	w3, [x8]
	mov	w4, #0
	bl	_GX_SetVtxAttrFmt
	ldr	w0, [x19]
Lloh66:
	adrp	x19, _GX_VA_TEX0@GOTPAGE
Lloh67:
	ldr	x19, [x19, _GX_VA_TEX0@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh68:
	adrp	x8, _GX_TEX_ST@GOTPAGE
Lloh69:
	ldr	x8, [x8, _GX_TEX_ST@GOTPAGEOFF]
Lloh70:
	ldr	w2, [x8]
Lloh71:
	adrp	x8, _GX_F32@GOTPAGE
Lloh72:
	ldr	x8, [x8, _GX_F32@GOTPAGEOFF]
Lloh73:
	ldr	w3, [x8]
	mov	w4, #0
	bl	_GX_SetVtxAttrFmt
	ldr	w0, [x20]
Lloh74:
	adrp	x8, _GX_INDEX8@GOTPAGE
Lloh75:
	ldr	x8, [x8, _GX_INDEX8@GOTPAGEOFF]
Lloh76:
	ldr	w1, [x8]
	bl	_GX_SetVtxDesc
	ldr	w0, [x19]
Lloh77:
	adrp	x8, _GX_DIRECT@GOTPAGE
Lloh78:
	ldr	x8, [x8, _GX_DIRECT@GOTPAGEOFF]
Lloh79:
	ldr	w1, [x8]
	bl	_GX_SetVtxDesc
	ldr	w0, [x20]
Lloh80:
	adrp	x8, _square@GOTPAGE
Lloh81:
	ldr	x8, [x8, _square@GOTPAGEOFF]
Lloh82:
	ldr	w1, [x8]
	mov	w2, #12
	bl	_GX_SetArray
	mov	w19, #0
Lloh83:
	adrp	x20, _GX_COLORNULL@GOTPAGE
Lloh84:
	ldr	x20, [x20, _GX_COLORNULL@GOTPAGEOFF]
Lloh85:
	adrp	x8, _GX_REPLACE@GOTPAGE
Lloh86:
	ldr	x8, [x8, _GX_REPLACE@GOTPAGEOFF]
LBB0_3:
Lloh87:
	adrp	x21, _GX_TEVSTAGE0@GOTPAGE
Lloh88:
	ldr	x21, [x21, _GX_TEVSTAGE0@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x8]
	bl	_GX_SetTevOp
Lloh89:
	adrp	x8, _GX_TEXCOORD0@GOTPAGE
Lloh90:
	ldr	x8, [x8, _GX_TEXCOORD0@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh91:
	ldr	w1, [x8]
Lloh92:
	adrp	x8, _GX_TEXMAP0@GOTPAGE
Lloh93:
	ldr	x8, [x8, _GX_TEXMAP0@GOTPAGEOFF]
Lloh94:
	ldr	w2, [x8]
	ldr	w3, [x20]
	bl	_GX_SetTevOrder
	mov	w0, #1
	bl	_GX_SetNumTexGens
	mov	x0, x19
	bl	_GX_SetNumChans
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_GX_Flush
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh87, Lloh88
	.cfi_endproc
                                        ; -- End function
	.comm	_GX_BM_BLEND,4,2                ; @GX_BM_BLEND
	.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_VTXFMT0,4,2                 ; @GX_VTXFMT0
	.comm	_GX_VA_POS,4,2                  ; @GX_VA_POS
	.comm	_GX_POS_XY,4,2                  ; @GX_POS_XY
	.comm	_GX_S16,4,2                     ; @GX_S16
	.comm	_GX_VA_CLR0,4,2                 ; @GX_VA_CLR0
	.comm	_GX_CLR_RGBA,4,2                ; @GX_CLR_RGBA
	.comm	_GX_RGBA8,4,2                   ; @GX_RGBA8
	.comm	_GX_VA_TEX0,4,2                 ; @GX_VA_TEX0
	.comm	_GX_TEX_ST,4,2                  ; @GX_TEX_ST
	.comm	_GX_F32,4,2                     ; @GX_F32
	.comm	_GX_DIRECT,4,2                  ; @GX_DIRECT
	.comm	_GX_TEVSTAGE0,4,2               ; @GX_TEVSTAGE0
	.comm	_GX_MODULATE,4,2                ; @GX_MODULATE
	.comm	_GX_TEXCOORD0,4,2               ; @GX_TEXCOORD0
	.comm	_GX_TEXMAP0,4,2                 ; @GX_TEXMAP0
	.comm	_GX_COLOR0A0,4,2                ; @GX_COLOR0A0
	.comm	_GX_BM_NONE,4,2                 ; @GX_BM_NONE
	.comm	_GX_POS_XYZ,4,2                 ; @GX_POS_XYZ
	.comm	_GX_INDEX8,4,2                  ; @GX_INDEX8
	.comm	_square,4,2                     ; @square
	.comm	_GX_REPLACE,4,2                 ; @GX_REPLACE
	.comm	_GX_COLORNULL,4,2               ; @GX_COLORNULL
	.no_dead_strip	_gxResetRendering
.subsections_via_symbols
