	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmap_delayed_invl_wait_u
_pmap_delayed_invl_wait_u:              ## @pmap_delayed_invl_wait_u
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_pmap_delayed_invl_genp
	movq	%rax, %r13
	movq	_di_delay@GOTPCREL(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_lock_delay_arg_init
	movq	(%r13), %r14
	movq	_pmap_invl_gen_head@GOTPCREL(%rip), %rdi
	callq	_atomic_load_long
	cmpq	%rax, %r14
	jle	LBB0_9
## %bb.1:
	movq	_invl_wait@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_atomic_add_long
	movl	%eax, %edi
	callq	_PV_STAT
	leaq	-48(%rbp), %rdi
	callq	_lock_delay
	movq	(%r13), %r14
	movq	_pmap_invl_gen_head@GOTPCREL(%rip), %rdi
	callq	_atomic_load_long
	cmpq	%rax, %r14
	jle	LBB0_9
## %bb.2:
	movq	_pmap_invl_gen_head@GOTPCREL(%rip), %r12
	movq	_pmap_invl_waiters@GOTPCREL(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_atomic_add_int
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rbx
	movq	%r12, %rdi
	callq	_atomic_load_long
	cmpq	%rax, %rbx
	jle	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_pmap_invl_callout_inited@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_atomic_add_int
	movq	(%r13), %r15
	movq	%r12, %rdi
	callq	_atomic_load_long
	cmpq	%rax, %r15
	jle	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_pmap_delayed_invl_callout_func@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_pmap_invl_callout@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	xorl	%ecx, %ecx
	callq	_callout_reset
	movq	_invl_wait_slow@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_atomic_add_long
	movl	%eax, %edi
	callq	_PV_STAT
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_pmap_delayed_invl_wait_block
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_invl_wait@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_atomic_add_long
	movl	%eax, %edi
	callq	_PV_STAT
	leaq	-48(%rbp), %rdi
	callq	_lock_delay
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_di_delay,4,2                   ## @di_delay
	.comm	_pmap_invl_gen_head,4,2         ## @pmap_invl_gen_head
	.comm	_pmap_invl_callout_inited,4,2   ## @pmap_invl_callout_inited
	.comm	_invl_wait,4,2                  ## @invl_wait
	.comm	_pmap_invl_waiters,4,2          ## @pmap_invl_waiters
	.comm	_pmap_invl_callout,4,2          ## @pmap_invl_callout
	.comm	_pmap_delayed_invl_callout_func,4,2 ## @pmap_delayed_invl_callout_func
	.comm	_invl_wait_slow,4,2             ## @invl_wait_slow
	.no_dead_strip	_pmap_delayed_invl_wait_u
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmap_delayed_invl_wait_u
_pmap_delayed_invl_wait_u:              ; @pmap_delayed_invl_wait_u
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	bl	_pmap_delayed_invl_genp
	mov	x19, x0
Lloh0:
	adrp	x1, _di_delay@GOTPAGE
Lloh1:
	ldr	x1, [x1, _di_delay@GOTPAGEOFF]
	add	x0, sp, #8
	bl	_lock_delay_arg_init
	ldr	x20, [x19]
Lloh2:
	adrp	x0, _pmap_invl_gen_head@GOTPAGE
Lloh3:
	ldr	x0, [x0, _pmap_invl_gen_head@GOTPAGEOFF]
	bl	_atomic_load_long
	cmp	x20, x0
	b.le	LBB0_9
; %bb.1:
Lloh4:
	adrp	x0, _invl_wait@GOTPAGE
Lloh5:
	ldr	x0, [x0, _invl_wait@GOTPAGEOFF]
	mov	w1, #1
	bl	_atomic_add_long
	bl	_PV_STAT
	add	x0, sp, #8
	bl	_lock_delay
	ldr	x20, [x19]
Lloh6:
	adrp	x0, _pmap_invl_gen_head@GOTPAGE
Lloh7:
	ldr	x0, [x0, _pmap_invl_gen_head@GOTPAGEOFF]
	bl	_atomic_load_long
	cmp	x20, x0
	b.le	LBB0_9
; %bb.2:
Lloh8:
	adrp	x25, _pmap_invl_callout_inited@GOTPAGE
Lloh9:
	ldr	x25, [x25, _pmap_invl_callout_inited@GOTPAGEOFF]
Lloh10:
	adrp	x20, _invl_wait@GOTPAGE
Lloh11:
	ldr	x20, [x20, _invl_wait@GOTPAGEOFF]
Lloh12:
	adrp	x21, _pmap_invl_gen_head@GOTPAGE
Lloh13:
	ldr	x21, [x21, _pmap_invl_gen_head@GOTPAGEOFF]
Lloh14:
	adrp	x22, _pmap_invl_waiters@GOTPAGE
Lloh15:
	ldr	x22, [x22, _pmap_invl_waiters@GOTPAGEOFF]
Lloh16:
	adrp	x26, _pmap_delayed_invl_callout_func@GOTPAGE
Lloh17:
	ldr	x26, [x26, _pmap_delayed_invl_callout_func@GOTPAGEOFF]
Lloh18:
	adrp	x23, _pmap_invl_callout@GOTPAGE
Lloh19:
	ldr	x23, [x23, _pmap_invl_callout@GOTPAGEOFF]
Lloh20:
	adrp	x24, _invl_wait_slow@GOTPAGE
Lloh21:
	ldr	x24, [x24, _invl_wait_slow@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	mov	w1, #-1
	bl	_atomic_add_int
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x27, [x19]
	mov	x0, x21
	bl	_atomic_load_long
	cmp	x27, x0
	b.le	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x25]
	cbz	w8, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	mov	w1, #1
	bl	_atomic_add_int
	ldr	x27, [x19]
	mov	x0, x21
	bl	_atomic_load_long
	cmp	x27, x0
	b.le	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [x26]
	mov	x0, x23
	mov	w1, #1
	mov	x3, #0
	bl	_callout_reset
	mov	x0, x24
	mov	w1, #1
	bl	_atomic_add_long
	bl	_PV_STAT
	mov	x0, x19
	mov	x1, x21
	bl	_pmap_delayed_invl_wait_block
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	w1, #1
	bl	_atomic_add_long
	bl	_PV_STAT
	add	x0, sp, #8
	bl	_lock_delay
	b	LBB0_4
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_di_delay,4,2                   ; @di_delay
	.comm	_pmap_invl_gen_head,4,2         ; @pmap_invl_gen_head
	.comm	_pmap_invl_callout_inited,4,2   ; @pmap_invl_callout_inited
	.comm	_invl_wait,4,2                  ; @invl_wait
	.comm	_pmap_invl_waiters,4,2          ; @pmap_invl_waiters
	.comm	_pmap_invl_callout,4,2          ; @pmap_invl_callout
	.comm	_pmap_delayed_invl_callout_func,4,2 ; @pmap_delayed_invl_callout_func
	.comm	_invl_wait_slow,4,2             ; @invl_wait_slow
	.no_dead_strip	_pmap_delayed_invl_wait_u
.subsections_via_symbols
