	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function glsl_fragment_pipe_alpha_test_func
LCPI0_0:
	.long	0x437f0000                      ## float 255
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_glsl_fragment_pipe_alpha_test_func:    ## @glsl_fragment_pipe_alpha_test_func
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	(%rdi), %r14
	movq	(%rsi), %rax
	movq	_WINED3D_RS_ALPHAFUNC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movss	(%rax,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	callq	_wined3d_gl_compare_func
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rcx
	movq	_WINED3D_RS_ALPHAREF@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movss	(%rcx,%rdx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	divss	LCPI0_0(%rip), %xmm0
	movq	%rax, %rdi
	callq	*(%r14)
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_checkGLcall                    ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_RS_ALPHAFUNC,8,3       ## @WINED3D_RS_ALPHAFUNC
	.comm	_WINED3D_RS_ALPHAREF,8,3        ## @WINED3D_RS_ALPHAREF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glAlphaFunc"

	.no_dead_strip	_glsl_fragment_pipe_alpha_test_func
.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_func
_glsl_fragment_pipe_alpha_test_func:    ; @glsl_fragment_pipe_alpha_test_func
	.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
	mov	x19, x1
	ldr	x20, [x0]
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _WINED3D_RS_ALPHAFUNC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WINED3D_RS_ALPHAFUNC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	s0, [x8, x9, lsl #2]
	bl	_wined3d_gl_compare_func
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _WINED3D_RS_ALPHAREF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WINED3D_RS_ALPHAREF@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	s0, [x8, x9, lsl #2]
	mov	w8, #1132396544
	fmov	s1, w8
	fdiv	s0, s0, s1
	ldr	x8, [x20]
	blr	x8
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_checkGLcall
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_RS_ALPHAFUNC,8,3       ; @WINED3D_RS_ALPHAFUNC
	.comm	_WINED3D_RS_ALPHAREF,8,3        ; @WINED3D_RS_ALPHAREF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glAlphaFunc"

	.no_dead_strip	_glsl_fragment_pipe_alpha_test_func
.subsections_via_symbols
