	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function etnaviv_gem_scatterlist_unmap
_etnaviv_gem_scatterlist_unmap:         ## @etnaviv_gem_scatterlist_unmap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ETNA_BO_CACHE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	popq	%rbp
	jmp	_dma_unmap_sg                   ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETNA_BO_CACHE_MASK,4,2         ## @ETNA_BO_CACHE_MASK
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.no_dead_strip	_etnaviv_gem_scatterlist_unmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function etnaviv_gem_scatterlist_unmap
_etnaviv_gem_scatterlist_unmap:         ; @etnaviv_gem_scatterlist_unmap
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _ETNA_BO_CACHE_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ETNA_BO_CACHE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldp	x8, x9, [x0, #8]
	ldr	w0, [x9]
Lloh3:
	adrp	x9, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
	ldp	w2, w1, [x8]
Lloh5:
	ldr	w3, [x9]
	b	_dma_unmap_sg
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ETNA_BO_CACHE_MASK,4,2         ; @ETNA_BO_CACHE_MASK
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.no_dead_strip	_etnaviv_gem_scatterlist_unmap
.subsections_via_symbols
