	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function glsl_fragment_pipe_get_emul_mask
_glsl_fragment_pipe_get_emul_mask:      ## @glsl_fragment_pipe_get_emul_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_WINED3D_GL_LEGACY_CONTEXT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%eax, %eax
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_2
## %bb.1:
	movq	_GL_EXT_EMUL_ARB_MULTITEXTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_GL_LEGACY_CONTEXT,8,3  ## @WINED3D_GL_LEGACY_CONTEXT
	.comm	_GL_EXT_EMUL_ARB_MULTITEXTURE,4,2 ## @GL_EXT_EMUL_ARB_MULTITEXTURE
	.no_dead_strip	_glsl_fragment_pipe_get_emul_mask
.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_get_emul_mask
_glsl_fragment_pipe_get_emul_mask:      ; @glsl_fragment_pipe_get_emul_mask
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _WINED3D_GL_LEGACY_CONTEXT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WINED3D_GL_LEGACY_CONTEXT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh3:
	adrp	x9, _GL_EXT_EMUL_ARB_MULTITEXTURE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GL_EXT_EMUL_ARB_MULTITEXTURE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w0, wzr, w9, eq
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_GL_LEGACY_CONTEXT,8,3  ; @WINED3D_GL_LEGACY_CONTEXT
	.comm	_GL_EXT_EMUL_ARB_MULTITEXTURE,4,2 ; @GL_EXT_EMUL_ARB_MULTITEXTURE
	.no_dead_strip	_glsl_fragment_pipe_get_emul_mask
.subsections_via_symbols
