	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_plane_uses_fence
_intel_plane_uses_fence:                ## @intel_plane_uses_fence
	.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	%rdi, %r14
	movl	8(%rdi), %edi
	callq	_to_intel_plane
	movq	%rax, %rbx
	movl	8(%rax), %edi
	callq	_to_i915
	movq	%rax, %rdi
	callq	_INTEL_GEN
	movl	%eax, %ecx
	movl	$1, %eax
	cmpl	$4, %ecx
	jl	LBB0_4
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.3:
	movq	(%r14), %rcx
	movq	_I915_GGTT_VIEW_NORMAL@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	sete	%al
	jmp	LBB0_4
LBB0_2:
	xorl	%eax, %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I915_GGTT_VIEW_NORMAL,8,3      ## @I915_GGTT_VIEW_NORMAL
	.no_dead_strip	_intel_plane_uses_fence
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_plane_uses_fence
_intel_plane_uses_fence:                ; @intel_plane_uses_fence
	.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, x0
	ldr	w0, [x0, #8]
	bl	_to_intel_plane
	mov	x20, x0
	ldr	w0, [x0, #8]
	bl	_to_i915
	bl	_INTEL_GEN
	cmp	w0, #4
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_5
LBB0_2:
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _I915_GGTT_VIEW_NORMAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I915_GGTT_VIEW_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I915_GGTT_VIEW_NORMAL,8,3      ; @I915_GGTT_VIEW_NORMAL
	.no_dead_strip	_intel_plane_uses_fence
.subsections_via_symbols
