	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GPU_SetStencilTest             ## -- Begin function GPU_SetStencilTest
	.p2align	4, 0x90
_GPU_SetStencilTest:                    ## @GPU_SetStencilTest
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_GPUREG_STENCIL_TEST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	$1, %edi
	shll	$4, %esi
	andl	$112, %esi
	orl	%edi, %esi
	shll	$8, %r8d
	orl	%r8d, %esi
	shll	$16, %edx
	shll	$24, %ecx
	orl	%edx, %ecx
	orl	%ecx, %esi
	movl	%eax, %edi
	popq	%rbp
	jmp	_GPUCMD_AddWrite                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GPUREG_STENCIL_TEST,4,2        ## @GPUREG_STENCIL_TEST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GPU_SetStencilTest             ; -- Begin function GPU_SetStencilTest
	.p2align	2
_GPU_SetStencilTest:                    ; @GPU_SetStencilTest
	.cfi_startproc
; %bb.0:
	and	w8, w0, #0x1
Lloh0:
	adrp	x9, _GPUREG_STENCIL_TEST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GPUREG_STENCIL_TEST@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	bfi	w8, w1, #4, #3
	bfi	w8, w4, #8, #24
	lsl	w9, w3, #24
	orr	w9, w9, w2, lsl #16
	orr	w1, w9, w8
	b	_GPUCMD_AddWrite
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GPUREG_STENCIL_TEST,4,2        ; @GPUREG_STENCIL_TEST
.subsections_via_symbols
