	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wined3d_fence_supported
_wined3d_fence_supported:               ## @wined3d_fence_supported
	.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	_ARB_SYNC@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$1, %eax
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_1
LBB0_3:
	popq	%rbp
	retq
LBB0_1:
	movq	_NV_FENCE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	jne	LBB0_3
## %bb.2:
	movq	_APPLE_FENCE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%eax, %eax
	cmpq	$0, (%rcx,%rdx,8)
	setne	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARB_SYNC,8,3                   ## @ARB_SYNC
	.comm	_NV_FENCE,8,3                   ## @NV_FENCE
	.comm	_APPLE_FENCE,8,3                ## @APPLE_FENCE
	.no_dead_strip	_wined3d_fence_supported
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wined3d_fence_supported
_wined3d_fence_supported:               ; @wined3d_fence_supported
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ARB_SYNC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARB_SYNC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_2
; %bb.1:
	mov	w0, #1
	ret
LBB0_2:
Lloh3:
	adrp	x9, _NV_FENCE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NV_FENCE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_4
; %bb.3:
	mov	w0, #1
	ret
LBB0_4:
Lloh6:
	adrp	x9, _APPLE_FENCE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _APPLE_FENCE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cmp	x8, #0
	cset	w0, ne
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ARB_SYNC,8,3                   ; @ARB_SYNC
	.comm	_NV_FENCE,8,3                   ; @NV_FENCE
	.comm	_APPLE_FENCE,8,3                ; @APPLE_FENCE
	.no_dead_strip	_wined3d_fence_supported
.subsections_via_symbols
