	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_SetTevOp                    ## -- Begin function GX_SetTevOp
	.p2align	4, 0x90
_GX_SetTevOp:                           ## @GX_SetTevOp
	.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	%rdi, %rbx
	movq	_GX_TEVSTAGE0@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	movq	_GX_CA_APREV@GOTPCREL(%rip), %rax
	cmoveq	_GX_CA_RASA@GOTPCREL(%rip), %rax
	movq	_GX_CC_CPREV@GOTPCREL(%rip), %rcx
	cmoveq	_GX_CC_RASC@GOTPCREL(%rip), %rcx
	addq	$-128, %rsi
	cmpq	$4, %rsi
	ja	LBB0_9
## %bb.1:
	movq	(%rax), %r14
	movq	(%rcx), %rax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rsi,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_5:
	movq	_GX_CC_ZERO@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_GX_CC_TEXC@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%rbx, %rdi
	movq	%rcx, %rsi
	movq	%rcx, %rdx
	callq	_GX_SetTevColorIn
	movq	_GX_CA_ZERO@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_GX_CA_TEXA@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%rbx, %rdi
	movq	%rcx, %rsi
	movq	%rcx, %rdx
	jmp	LBB0_8
LBB0_6:
	movq	_GX_CC_ZERO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rbx, %rdi
	movq	%rcx, %rsi
	movq	%rcx, %rdx
	movq	%rax, %r8
	callq	_GX_SetTevColorIn
	movq	_GX_CC_A2@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	_GX_CC_ZERO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	_GX_CC_TEXC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%rbx, %rdi
	movq	%rax, %rcx
	movq	%rsi, %r8
	callq	_GX_SetTevColorIn
	movq	_GX_CA_ZERO@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_GX_CA_TEXA@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rcx
	movq	%rsi, %r8
	jmp	LBB0_8
LBB0_3:
	movq	_GX_CC_TEXC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	_GX_CC_TEXA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_GX_CC_ZERO@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r8
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_GX_SetTevColorIn
	movq	_GX_CA_ZERO@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rcx
	movq	%rbx, %rdi
	movq	%rcx, %rsi
	movq	%rcx, %rdx
	movq	%r14, %r8
	jmp	LBB0_8
LBB0_4:
	movq	_GX_CC_ONE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	_GX_CC_TEXC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_GX_CC_ZERO@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r8
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_GX_SetTevColorIn
	movq	_GX_CA_ZERO@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_GX_CA_TEXA@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_GX_CA_RASA@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%rbx, %rdi
	movq	%r14, %rcx
LBB0_8:
	callq	_GX_SetTevAlphaIn
LBB0_9:
	movq	_GX_TEV_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GX_TB_ZERO@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_GX_CS_SCALE_1@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	_GX_TRUE@GOTPCREL(%rip), %r14
	movl	(%r14), %r8d
	movq	_GX_TEVPREV@GOTPCREL(%rip), %r15
	movl	(%r15), %r9d
	movq	%rbx, %rdi
	callq	_GX_SetTevColorOp
	movq	_GX_TEV_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movl	(%r13), %ecx
	movl	(%r14), %r8d
	movl	(%r15), %r9d
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_GX_SetTevAlphaOp               ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_GX_CC_RASC,8,3                 ## @GX_CC_RASC
	.comm	_GX_CA_RASA,8,3                 ## @GX_CA_RASA
	.comm	_GX_TEVSTAGE0,8,3               ## @GX_TEVSTAGE0
	.comm	_GX_CC_CPREV,8,3                ## @GX_CC_CPREV
	.comm	_GX_CA_APREV,8,3                ## @GX_CA_APREV
	.comm	_GX_CC_ZERO,8,3                 ## @GX_CC_ZERO
	.comm	_GX_CC_TEXC,8,3                 ## @GX_CC_TEXC
	.comm	_GX_CA_ZERO,8,3                 ## @GX_CA_ZERO
	.comm	_GX_CA_TEXA,8,3                 ## @GX_CA_TEXA
	.comm	_GX_CC_TEXA,8,3                 ## @GX_CC_TEXA
	.comm	_GX_CC_ONE,8,3                  ## @GX_CC_ONE
	.comm	_GX_CC_A2,8,3                   ## @GX_CC_A2
	.comm	_GX_TEV_ADD,4,2                 ## @GX_TEV_ADD
	.comm	_GX_TB_ZERO,4,2                 ## @GX_TB_ZERO
	.comm	_GX_CS_SCALE_1,4,2              ## @GX_CS_SCALE_1
	.comm	_GX_TRUE,4,2                    ## @GX_TRUE
	.comm	_GX_TEVPREV,4,2                 ## @GX_TEVPREV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_SetTevOp                    ; -- Begin function GX_SetTevOp
	.p2align	2
_GX_SetTevOp:                           ; @GX_SetTevOp
	.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, x0
Lloh0:
	adrp	x8, _GX_TEVSTAGE0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GX_TEVSTAGE0@GOTPAGEOFF]
Lloh2:
	adrp	x21, _GX_CA_RASA@GOTPAGE
Lloh3:
	ldr	x21, [x21, _GX_CA_RASA@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _GX_CA_APREV@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GX_CA_APREV@GOTPAGEOFF]
Lloh7:
	adrp	x11, _GX_CC_RASC@GOTPAGE
Lloh8:
	ldr	x11, [x11, _GX_CC_RASC@GOTPAGEOFF]
	cmp	x8, x0
	csel	x10, x21, x9, eq
Lloh9:
	adrp	x8, _GX_CC_CPREV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GX_CC_CPREV@GOTPAGEOFF]
	csel	x8, x11, x8, eq
	sub	x9, x1, #128
	cmp	x9, #4
	b.hi	LBB0_9
; %bb.1:
	ldr	x20, [x10]
	ldr	x8, [x8]
Lloh11:
	adrp	x10, lJTI0_0@PAGE
Lloh12:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh13:
	adrp	x8, _GX_CC_ZERO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GX_CC_ZERO@GOTPAGEOFF]
Lloh15:
	ldr	x1, [x8]
Lloh16:
	adrp	x8, _GX_CC_TEXC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GX_CC_TEXC@GOTPAGEOFF]
Lloh18:
	ldr	x4, [x8]
	mov	x0, x19
	mov	x2, x1
	mov	x3, x1
	bl	_GX_SetTevColorIn
Lloh19:
	adrp	x8, _GX_CA_ZERO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GX_CA_ZERO@GOTPAGEOFF]
Lloh21:
	ldr	x1, [x8]
Lloh22:
	adrp	x8, _GX_CA_TEXA@GOTPAGE
Lloh23:
	ldr	x8, [x8, _GX_CA_TEXA@GOTPAGEOFF]
Lloh24:
	ldr	x4, [x8]
	mov	x0, x19
	mov	x2, x1
	mov	x3, x1
	b	LBB0_8
LBB0_3:
Lloh25:
	adrp	x9, _GX_CC_ZERO@GOTPAGE
Lloh26:
	ldr	x9, [x9, _GX_CC_ZERO@GOTPAGEOFF]
Lloh27:
	ldr	x1, [x9]
	mov	x0, x19
	mov	x2, x1
	mov	x3, x1
	mov	x4, x8
	bl	_GX_SetTevColorIn
Lloh28:
	adrp	x8, _GX_CC_A2@GOTPAGE
Lloh29:
	ldr	x8, [x8, _GX_CC_A2@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh30:
	adrp	x9, _GX_CC_ZERO@GOTPAGE
Lloh31:
	ldr	x9, [x9, _GX_CC_ZERO@GOTPAGEOFF]
Lloh32:
	ldr	x1, [x9]
Lloh33:
	adrp	x9, _GX_CC_TEXC@GOTPAGE
Lloh34:
	ldr	x9, [x9, _GX_CC_TEXC@GOTPAGEOFF]
Lloh35:
	ldr	x2, [x9]
	mov	x0, x19
	mov	x3, x8
	mov	x4, x1
	bl	_GX_SetTevColorIn
Lloh36:
	adrp	x8, _GX_CA_ZERO@GOTPAGE
Lloh37:
	ldr	x8, [x8, _GX_CA_ZERO@GOTPAGEOFF]
Lloh38:
	ldr	x1, [x8]
Lloh39:
	adrp	x8, _GX_CA_TEXA@GOTPAGE
Lloh40:
	ldr	x8, [x8, _GX_CA_TEXA@GOTPAGEOFF]
Lloh41:
	ldr	x2, [x8]
	mov	x0, x19
	mov	x3, x20
	mov	x4, x1
	b	LBB0_8
LBB0_5:
Lloh42:
	adrp	x9, _GX_CC_TEXC@GOTPAGE
Lloh43:
	ldr	x9, [x9, _GX_CC_TEXC@GOTPAGEOFF]
Lloh44:
	ldr	x2, [x9]
Lloh45:
	adrp	x9, _GX_CC_TEXA@GOTPAGE
Lloh46:
	ldr	x9, [x9, _GX_CC_TEXA@GOTPAGEOFF]
Lloh47:
	ldr	x3, [x9]
Lloh48:
	adrp	x9, _GX_CC_ZERO@GOTPAGE
Lloh49:
	ldr	x9, [x9, _GX_CC_ZERO@GOTPAGEOFF]
Lloh50:
	ldr	x4, [x9]
	mov	x0, x19
	mov	x1, x8
	bl	_GX_SetTevColorIn
Lloh51:
	adrp	x8, _GX_CA_ZERO@GOTPAGE
Lloh52:
	ldr	x8, [x8, _GX_CA_ZERO@GOTPAGEOFF]
LBB0_6:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, x1
	mov	x3, x1
	mov	x4, x20
	b	LBB0_8
LBB0_7:
Lloh53:
	adrp	x9, _GX_CC_ONE@GOTPAGE
Lloh54:
	ldr	x9, [x9, _GX_CC_ONE@GOTPAGEOFF]
Lloh55:
	ldr	x2, [x9]
Lloh56:
	adrp	x9, _GX_CC_TEXC@GOTPAGE
Lloh57:
	ldr	x9, [x9, _GX_CC_TEXC@GOTPAGEOFF]
Lloh58:
	ldr	x3, [x9]
Lloh59:
	adrp	x9, _GX_CC_ZERO@GOTPAGE
Lloh60:
	ldr	x9, [x9, _GX_CC_ZERO@GOTPAGEOFF]
Lloh61:
	ldr	x4, [x9]
	mov	x0, x19
	mov	x1, x8
	bl	_GX_SetTevColorIn
Lloh62:
	adrp	x8, _GX_CA_ZERO@GOTPAGE
Lloh63:
	ldr	x8, [x8, _GX_CA_ZERO@GOTPAGEOFF]
Lloh64:
	ldr	x1, [x8]
Lloh65:
	adrp	x8, _GX_CA_TEXA@GOTPAGE
Lloh66:
	ldr	x8, [x8, _GX_CA_TEXA@GOTPAGEOFF]
Lloh67:
	ldr	x2, [x8]
	ldr	x4, [x21]
	mov	x0, x19
	mov	x3, x20
LBB0_8:
	bl	_GX_SetTevAlphaIn
LBB0_9:
Lloh68:
	adrp	x20, _GX_TEV_ADD@GOTPAGE
Lloh69:
	ldr	x20, [x20, _GX_TEV_ADD@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh70:
	adrp	x21, _GX_TB_ZERO@GOTPAGE
Lloh71:
	ldr	x21, [x21, _GX_TB_ZERO@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh72:
	adrp	x22, _GX_CS_SCALE_1@GOTPAGE
Lloh73:
	ldr	x22, [x22, _GX_CS_SCALE_1@GOTPAGEOFF]
	ldr	w3, [x22]
Lloh74:
	adrp	x23, _GX_TRUE@GOTPAGE
Lloh75:
	ldr	x23, [x23, _GX_TRUE@GOTPAGEOFF]
	ldr	w4, [x23]
Lloh76:
	adrp	x24, _GX_TEVPREV@GOTPAGE
Lloh77:
	ldr	x24, [x24, _GX_TEVPREV@GOTPAGEOFF]
	ldr	w5, [x24]
	mov	x0, x19
	bl	_GX_SetTevColorOp
	ldr	w1, [x20]
	ldr	w2, [x21]
	ldr	w3, [x22]
	ldr	w4, [x23]
	ldr	w5, [x24]
	mov	x0, x19
	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_SetTevAlphaOp
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh68, Lloh69
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_GX_CC_RASC,8,3                 ; @GX_CC_RASC
	.comm	_GX_CA_RASA,8,3                 ; @GX_CA_RASA
	.comm	_GX_TEVSTAGE0,8,3               ; @GX_TEVSTAGE0
	.comm	_GX_CC_CPREV,8,3                ; @GX_CC_CPREV
	.comm	_GX_CA_APREV,8,3                ; @GX_CA_APREV
	.comm	_GX_CC_ZERO,8,3                 ; @GX_CC_ZERO
	.comm	_GX_CC_TEXC,8,3                 ; @GX_CC_TEXC
	.comm	_GX_CA_ZERO,8,3                 ; @GX_CA_ZERO
	.comm	_GX_CA_TEXA,8,3                 ; @GX_CA_TEXA
	.comm	_GX_CC_TEXA,8,3                 ; @GX_CC_TEXA
	.comm	_GX_CC_ONE,8,3                  ; @GX_CC_ONE
	.comm	_GX_CC_A2,8,3                   ; @GX_CC_A2
	.comm	_GX_TEV_ADD,4,2                 ; @GX_TEV_ADD
	.comm	_GX_TB_ZERO,4,2                 ; @GX_TB_ZERO
	.comm	_GX_CS_SCALE_1,4,2              ; @GX_CS_SCALE_1
	.comm	_GX_TRUE,4,2                    ; @GX_TRUE
	.comm	_GX_TEVPREV,4,2                 ; @GX_TEVPREV
.subsections_via_symbols
