	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i915_gem_object_fence_ok
_i915_gem_object_fence_ok:              ## @i915_gem_object_fence_ok
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_I915_TILING_NONE@GOTPCREL(%rip), %rax
	movl	$1, %ebx
	cmpl	%esi, (%rax)
	je	LBB0_8
## %bb.1:
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	20(%rdi), %edi
	callq	_INTEL_INFO
	cmpl	$3, (%rax)
	jg	LBB0_8
## %bb.2:
	movl	20(%r14), %edi
	callq	_INTEL_INFO
	cmpl	$3, (%rax)
	movl	(%r14), %eax
	jne	LBB0_4
## %bb.3:
	movq	_I915_FENCE_START_MASK@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_4:
	movq	_I830_FENCE_START_MASK@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %ecx
	notl	%ecx
	xorl	%ebx, %ebx
	testl	%ecx, %eax
	jne	LBB0_8
## %bb.6:
	movl	16(%r14), %esi
	movl	20(%r14), %edi
	movl	%r15d, %edx
	callq	_i915_gem_get_gtt_size
	movq	8(%r14), %rcx
	xorl	%ebx, %ebx
	cmpl	%eax, (%rcx)
	jne	LBB0_8
## %bb.7:
	decl	%eax
	xorl	%ebx, %ebx
	testl	%eax, (%r14)
	sete	%bl
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I915_TILING_NONE,4,2           ## @I915_TILING_NONE
	.comm	_I915_FENCE_START_MASK,4,2      ## @I915_FENCE_START_MASK
	.comm	_I830_FENCE_START_MASK,4,2      ## @I830_FENCE_START_MASK
	.no_dead_strip	_i915_gem_object_fence_ok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i915_gem_object_fence_ok
_i915_gem_object_fence_ok:              ; @i915_gem_object_fence_ok
	.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
Lloh0:
	adrp	x8, _I915_TILING_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I915_TILING_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.eq	LBB0_2
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #20]
	bl	_INTEL_INFO
	ldr	w8, [x0]
	cmp	w8, #3
	b.le	LBB0_3
LBB0_2:
	mov	w0, #1
	b	LBB0_10
LBB0_3:
	ldr	w0, [x19, #20]
	bl	_INTEL_INFO
	ldr	w9, [x0]
	ldr	w8, [x19]
	cmp	w9, #3
	b.ne	LBB0_5
; %bb.4:
Lloh3:
	adrp	x9, _I915_FENCE_START_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I915_FENCE_START_MASK@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x9, _I830_FENCE_START_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _I830_FENCE_START_MASK@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x9]
	bics	wzr, w8, w9
	b.ne	LBB0_9
; %bb.7:
	ldp	w1, w0, [x19, #16]
	mov	x2, x20
	bl	_i915_gem_get_gtt_size
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_9
; %bb.8:
	ldr	w8, [x19]
	sub	w9, w0, #1
	tst	w8, w9
	cset	w0, eq
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_I915_TILING_NONE,4,2           ; @I915_TILING_NONE
	.comm	_I915_FENCE_START_MASK,4,2      ; @I915_FENCE_START_MASK
	.comm	_I830_FENCE_START_MASK,4,2      ; @I830_FENCE_START_MASK
	.no_dead_strip	_i915_gem_object_fence_ok
.subsections_via_symbols
