	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_sync_icache               ## -- Begin function pmap_sync_icache
	.p2align	4, 0x90
_pmap_sync_icache:                      ## @pmap_sync_icache
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%eax, %eax
	callq	_sched_pin
	movq	_all_harts@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	_hart@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PCPU_GET
	leaq	-16(%rbp), %rbx
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_CPU_CLR
	xorl	%eax, %eax
	callq	_fence
	movq	%rbx, %rdi
	callq	_CPU_EMPTY
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_smp_started@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movl	-16(%rbp), %edi
	callq	_sbi_remote_fence_i
LBB0_3:
	xorl	%eax, %eax
	callq	_sched_unpin
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_all_harts,4,2                  ## @all_harts
	.comm	_hart,4,2                       ## @hart
	.comm	_smp_started,8,3                ## @smp_started
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_sync_icache               ; -- Begin function pmap_sync_icache
	.p2align	2
_pmap_sync_icache:                      ; @pmap_sync_icache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	bl	_sched_pin
Lloh0:
	adrp	x8, _all_harts@GOTPAGE
Lloh1:
	ldr	x8, [x8, _all_harts@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh3:
	adrp	x8, _hart@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hart@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_PCPU_GET
	add	x1, sp, #8
	bl	_CPU_CLR
	bl	_fence
	add	x0, sp, #8
	bl	_CPU_EMPTY
	cbnz	w0, LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _smp_started@GOTPAGE
Lloh7:
	ldr	x8, [x8, _smp_started@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w0, [sp, #8]
	bl	_sbi_remote_fence_i
LBB0_3:
	bl	_sched_unpin
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_all_harts,4,2                  ; @all_harts
	.comm	_hart,4,2                       ; @hart
	.comm	_smp_started,8,3                ; @smp_started
.subsections_via_symbols
