	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_map_entry_in_transition
_vm_map_entry_in_transition:            ## @vm_map_entry_in_transition
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r15
	movl	%esi, %r13d
	movq	%rdi, %rbx
	callq	_VM_MAP_ASSERT_LOCKED
	movq	_MAP_ENTRY_IN_TRANSITION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%r12), %eax
	setne	%dil
	movq	%r12, %rsi
	callq	_KASSERT
	movl	4(%r12), %esi
	movl	%r13d, %edi
	callq	_MAX
	movl	%eax, %r13d
	movq	_MAP_ENTRY_NEEDS_WAKEUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	movq	(%rbx), %r14
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_vm_map_unlock_and_wait
	movq	%rbx, %rdi
	callq	_vm_map_lock
	incq	%r14
	cmpq	(%rbx), %r14
	je	LBB0_6
## %bb.1:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_vm_map_lookup_entry
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	-56(%rbp), %r12
	jmp	LBB0_6
LBB0_3:
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.5:
	movq	-56(%rbp), %rdi
	callq	_vm_map_entry_succ
	movq	%rax, %r12
	jmp	LBB0_6
LBB0_4:
	movl	%r13d, (%r15)
	xorl	%r12d, %r12d
LBB0_6:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAP_ENTRY_IN_TRANSITION,4,2    ## @MAP_ENTRY_IN_TRANSITION
	.comm	_MAP_ENTRY_NEEDS_WAKEUP,4,2     ## @MAP_ENTRY_NEEDS_WAKEUP
	.no_dead_strip	_vm_map_entry_in_transition
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_map_entry_in_transition
_vm_map_entry_in_transition:            ; @vm_map_entry_in_transition
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x20, x2
	mov	x23, x1
	mov	x22, x0
	bl	_VM_MAP_ASSERT_LOCKED
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _MAP_ENTRY_IN_TRANSITION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAP_ENTRY_IN_TRANSITION@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	mov	x1, x19
	bl	_KASSERT
	ldr	w1, [x19, #4]
	mov	x0, x23
	bl	_MAX
	mov	x23, x0
Lloh3:
	adrp	x8, _MAP_ENTRY_NEEDS_WAKEUP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAP_ENTRY_NEEDS_WAKEUP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	x24, [x22]
	mov	x0, x22
	mov	w1, #0
	bl	_vm_map_unlock_and_wait
	mov	x0, x22
	bl	_vm_map_lock
	add	x8, x24, #1
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.1:
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x23
	bl	_vm_map_lookup_entry
	cbz	w0, LBB0_3
; %bb.2:
	ldr	x19, [sp, #8]
	b	LBB0_6
LBB0_3:
	cbz	w21, LBB0_5
; %bb.4:
	ldr	x0, [sp, #8]
	bl	_vm_map_entry_succ
	mov	x19, x0
	b	LBB0_6
LBB0_5:
	mov	x19, #0
	str	w23, [x20]
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAP_ENTRY_IN_TRANSITION,4,2    ; @MAP_ENTRY_IN_TRANSITION
	.comm	_MAP_ENTRY_NEEDS_WAKEUP,4,2     ; @MAP_ENTRY_NEEDS_WAKEUP
	.no_dead_strip	_vm_map_entry_in_transition
.subsections_via_symbols
