	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sync_for_cpu
_sync_for_cpu:                          ## @sync_for_cpu
	.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, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_get_dma_ops
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_CONFIG_ARM64@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dma_sync_sg_for_cpu            ## TAILCALL
LBB0_3:
	movq	(%rbx), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dma_unmap_sg                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG_ARM64,4,2               ## @CONFIG_ARM64
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.no_dead_strip	_sync_for_cpu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sync_for_cpu
_sync_for_cpu:                          ; @sync_for_cpu
	.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	x20, x0
	ldr	x8, [x0, #8]
	ldr	x19, [x8]
	mov	x0, x19
	bl	_get_dma_ops
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _CONFIG_ARM64@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONFIG_ARM64@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
	ldp	w2, w1, [x8]
Lloh5:
	ldr	w3, [x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dma_sync_sg_for_cpu
LBB0_3:
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
	ldp	w2, w1, [x8]
Lloh8:
	ldr	w3, [x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dma_unmap_sg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG_ARM64,4,2               ; @CONFIG_ARM64
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.no_dead_strip	_sync_for_cpu
.subsections_via_symbols
