	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_SetTevAlphaOp               ## -- Begin function GX_SetTevAlphaOp
	.p2align	4, 0x90
_GX_SetTevAlphaOp:                      ## @GX_SetTevAlphaOp
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -56(%rbp)                 ## 4-byte Spill
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, %r15d
	movl	%edi, %r13d
	andl	$15, %r13d
	movq	___gx@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	$-262145, %r12d                 ## imm = 0xFFFBFFFF
	andl	(%rax,%r13,4), %r12d
	movl	%esi, %edi
	movl	$18, %esi
	movl	$1, %edx
	callq	__SHIFTL
	movl	%eax, %ebx
	orl	%r12d, %ebx
	movq	%r14, %r12
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	%ebx, (%rax,%r13,4)
	movq	_GX_TEV_SUB@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jge	LBB0_1
## %bb.2:
	andl	$-3342337, %ebx                 ## imm = 0xFFCCFFFF
	movl	%r15d, %edi
	movl	$19, %esi
	movl	$4, %edx
	callq	__SHIFTL
                                        ## kill: def $eax killed $eax def $rax
	andl	$3145728, %eax                  ## imm = 0x300000
	movq	(%r12), %rcx
	movq	(%rcx), %rcx
	addl	%eax, %ebx
	addl	$196608, %ebx                   ## imm = 0x30000
	movl	%ebx, (%rcx,%r13,4)
	jmp	LBB0_3
LBB0_1:
	andl	$-3145729, %ebx                 ## imm = 0xFFCFFFFF
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	$20, %esi
	movl	$2, %edx
	callq	__SHIFTL
	movl	%eax, %r14d
	orl	%ebx, %r14d
	movq	(%r12), %rax
	movq	(%rax), %rax
	movl	%r14d, (%rax,%r13,4)
	andl	$-196609, %r14d                 ## imm = 0xFFFCFFFF
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	$16, %esi
	movl	$2, %edx
	callq	__SHIFTL
	movl	%eax, %ebx
	orl	%r14d, %ebx
	movq	(%r12), %rax
	movq	(%rax), %rax
	movl	%ebx, (%rax,%r13,4)
LBB0_3:
	andl	$-524289, %ebx                  ## imm = 0xFFF7FFFF
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	$19, %esi
	movl	$1, %edx
	callq	__SHIFTL
	orl	%eax, %ebx
	movq	(%r12), %rax
	movq	(%rax), %rax
	movl	%ebx, (%rax,%r13,4)
	andl	$-12582913, %ebx                ## imm = 0xFF3FFFFF
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	$22, %esi
	movl	$2, %edx
	callq	__SHIFTL
	orl	%eax, %ebx
	movq	(%r12), %rax
	movq	(%rax), %rax
	movl	%ebx, (%rax,%r13,4)
	movl	%ebx, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_GX_LOAD_BP_REG                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___gx,8,3                       ## @__gx
	.comm	_GX_TEV_SUB,4,2                 ## @GX_TEV_SUB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_SetTevAlphaOp               ; -- Begin function GX_SetTevAlphaOp
	.p2align	2
_GX_SetTevAlphaOp:                      ; @GX_SetTevAlphaOp
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x5
	mov	x20, x4
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	and	w26, w0, #0xf
Lloh0:
	adrp	x24, ___gx@GOTPAGE
Lloh1:
	ldr	x24, [x24, ___gx@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x8, [x8]
	lsl	x25, x26, #2
	ldr	w8, [x8, x25]
	and	w27, w8, #0xfffbffff
	mov	x0, x1
	mov	w1, #18
	mov	w2, #1
	bl	__SHIFTL
	orr	w8, w27, w0
	ldr	x9, [x24]
	ldr	x9, [x9]
	str	w8, [x9, x25]
Lloh2:
	adrp	x9, _GX_TEV_SUB@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GX_TEV_SUB@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w9, w23
	b.ge	LBB0_2
; %bb.1:
	and	w21, w8, #0xffcfffff
	mov	x0, x23
	mov	w1, #19
	mov	w2, #4
	bl	__SHIFTL
	and	w8, w0, #0x300000
	ldr	x9, [x24]
	ldr	x9, [x9]
	orr	w8, w21, w8
	orr	w8, w8, #0x30000
	str	w8, [x9, x26, lsl #2]
	b	LBB0_3
LBB0_2:
	and	w23, w8, #0xffcfffff
	mov	x0, x22
	mov	w1, #20
	mov	w2, #2
	bl	__SHIFTL
	orr	w8, w0, w23
	ldr	x9, [x24]
	ldr	x9, [x9]
	str	w8, [x9, x25]
	and	w22, w8, #0xfffcffff
	mov	x0, x21
	mov	w1, #16
	mov	w2, #2
	bl	__SHIFTL
	orr	w8, w0, w22
	ldr	x9, [x24]
	ldr	x9, [x9]
	str	w8, [x9, x25]
LBB0_3:
	and	w21, w8, #0xfff7ffff
	mov	x0, x20
	mov	w1, #19
	mov	w2, #1
	bl	__SHIFTL
	orr	w8, w21, w0
	ldr	x9, [x24]
	ldr	x9, [x9]
	str	w8, [x9, x25]
	and	w20, w8, #0xff3fffff
	mov	x0, x19
	mov	w1, #22
	mov	w2, #2
	bl	__SHIFTL
	orr	w0, w0, w20
	ldr	x8, [x24]
	ldr	x8, [x8]
	str	w0, [x8, x25]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_GX_LOAD_BP_REG
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	___gx,8,3                       ; @__gx
	.comm	_GX_TEV_SUB,4,2                 ; @GX_TEV_SUB
.subsections_via_symbols
