	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nexus_dmamap_sync
_nexus_dmamap_sync:                     ## @nexus_dmamap_sync
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_BUS_DMASYNC_PREREAD@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	_BUS_DMASYNC_PREWRITE@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_2
LBB0_3:
	movq	_Sync@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_membar                         ## TAILCALL
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BUS_DMASYNC_PREREAD,4,2        ## @BUS_DMASYNC_PREREAD
	.comm	_BUS_DMASYNC_PREWRITE,4,2       ## @BUS_DMASYNC_PREWRITE
	.comm	_Sync,4,2                       ## @Sync
	.comm	_BUS_DMASYNC_POSTWRITE,4,2      ## @BUS_DMASYNC_POSTWRITE
	.no_dead_strip	_nexus_dmamap_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nexus_dmamap_sync
_nexus_dmamap_sync:                     ; @nexus_dmamap_sync
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _BUS_DMASYNC_PREREAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BUS_DMASYNC_PREREAD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w2
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _BUS_DMASYNC_PREWRITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BUS_DMASYNC_PREWRITE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _Sync@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Sync@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	_membar
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BUS_DMASYNC_PREREAD,4,2        ; @BUS_DMASYNC_PREREAD
	.comm	_BUS_DMASYNC_PREWRITE,4,2       ; @BUS_DMASYNC_PREWRITE
	.comm	_Sync,4,2                       ; @Sync
	.comm	_BUS_DMASYNC_POSTWRITE,4,2      ; @BUS_DMASYNC_POSTWRITE
	.no_dead_strip	_nexus_dmamap_sync
.subsections_via_symbols
