	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dma_preread_safe
_dma_preread_safe:                      ## @dma_preread_safe
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_BUSDMA_DCACHE_MASK@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%edi, %eax
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_dcache_wb_poc
	movl	(%r12), %eax
LBB0_2:
	leal	(%r15,%rbx), %edi
	testl	%edi, %eax
	je	LBB0_4
## %bb.3:
	movslq	%r15d, %rsi
	addq	%r14, %rsi
	movl	$1, %edx
	callq	_dcache_wb_poc
LBB0_4:
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	%r15d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dcache_inv_poc_dma             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BUSDMA_DCACHE_MASK,4,2         ## @BUSDMA_DCACHE_MASK
	.no_dead_strip	_dma_preread_safe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dma_preread_safe
_dma_preread_safe:                      ; @dma_preread_safe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _BUSDMA_DCACHE_MASK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BUSDMA_DCACHE_MASK@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #1
	bl	_dcache_wb_poc
	ldr	w8, [x22]
LBB0_2:
	add	w0, w19, w21
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
	add	x1, x20, w19, sxtw
	mov	w2, #1
	bl	_dcache_wb_poc
LBB0_4:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dcache_inv_poc_dma
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BUSDMA_DCACHE_MASK,4,2         ; @BUSDMA_DCACHE_MASK
	.no_dead_strip	_dma_preread_safe
.subsections_via_symbols
