	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function glsl_fragment_pipe_alpha_test
_glsl_fragment_pipe_alpha_test:         ## @glsl_fragment_pipe_alpha_test
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rsi), %rax
	movq	_WINED3D_RS_ALPHATESTENABLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	cmpq	$0, (%rax,%rcx,8)
	movq	(%rdi), %rax
	setne	%dl
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str(%rip), %rbx
	cmoveq	%rcx, %rbx
	movq	_GL_ALPHA_TEST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	callq	*(%rax,%rdx,8)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_checkGLcall                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_RS_ALPHATESTENABLE,8,3 ## @WINED3D_RS_ALPHATESTENABLE
	.comm	_GL_ALPHA_TEST,4,2              ## @GL_ALPHA_TEST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glEnable(GL_ALPHA_TEST)"

L_.str.1:                               ## @.str.1
	.asciz	"glDisable(GL_ALPHA_TEST)"

	.no_dead_strip	_glsl_fragment_pipe_alpha_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function glsl_fragment_pipe_alpha_test
_glsl_fragment_pipe_alpha_test:         ; @glsl_fragment_pipe_alpha_test
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	x9, [x1]
Lloh0:
	adrp	x10, _WINED3D_RS_ALPHATESTENABLE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _WINED3D_RS_ALPHATESTENABLE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
Lloh3:
	adrp	x10, l_.str@PAGE
Lloh4:
	add	x10, x10, l_.str@PAGEOFF
Lloh5:
	adrp	x11, l_.str.1@PAGE
Lloh6:
	add	x11, x11, l_.str.1@PAGEOFF
	cmp	x9, #0
	csel	x19, x11, x10, eq
	cset	w9, ne
	ldr	x8, [x8, w9, uxtw #3]
Lloh7:
	adrp	x9, _GL_ALPHA_TEST@GOTPAGE
Lloh8:
	ldr	x9, [x9, _GL_ALPHA_TEST@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x9]
	blr	x8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_checkGLcall
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_RS_ALPHATESTENABLE,8,3 ; @WINED3D_RS_ALPHATESTENABLE
	.comm	_GL_ALPHA_TEST,4,2              ; @GL_ALPHA_TEST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glEnable(GL_ALPHA_TEST)"

l_.str.1:                               ; @.str.1
	.asciz	"glDisable(GL_ALPHA_TEST)"

	.no_dead_strip	_glsl_fragment_pipe_alpha_test
.subsections_via_symbols
