	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_gem_is_cached_coherent
_omap_gem_is_cached_coherent:           ## @omap_gem_is_cached_coherent
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_to_omap_bo
	movl	(%rax), %ecx
	movq	_OMAP_BO_MEM_SHMEM@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_OMAP_BO_CACHE_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	movq	_OMAP_BO_CACHED@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	setne	%al
	popq	%rbp
	retq
LBB0_1:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OMAP_BO_MEM_SHMEM,4,2          ## @OMAP_BO_MEM_SHMEM
	.comm	_OMAP_BO_CACHE_MASK,4,2         ## @OMAP_BO_CACHE_MASK
	.comm	_OMAP_BO_CACHED,4,2             ## @OMAP_BO_CACHED
	.no_dead_strip	_omap_gem_is_cached_coherent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_gem_is_cached_coherent
_omap_gem_is_cached_coherent:           ; @omap_gem_is_cached_coherent
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_to_omap_bo
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _OMAP_BO_MEM_SHMEM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OMAP_BO_MEM_SHMEM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _OMAP_BO_CACHE_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OMAP_BO_CACHE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh6:
	adrp	x9, _OMAP_BO_CACHED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OMAP_BO_CACHED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_OMAP_BO_MEM_SHMEM,4,2          ; @OMAP_BO_MEM_SHMEM
	.comm	_OMAP_BO_CACHE_MASK,4,2         ; @OMAP_BO_CACHE_MASK
	.comm	_OMAP_BO_CACHED,4,2             ; @OMAP_BO_CACHED
	.no_dead_strip	_omap_gem_is_cached_coherent
.subsections_via_symbols
