	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_map_lookup_entry            ## -- Begin function vm_map_lookup_entry
	.p2align	4, 0x90
_vm_map_lookup_entry:                   ## @vm_map_lookup_entry
	.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
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	40(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.1:
	movq	%rsi, %r13
	cmpq	%rsi, (%rbx)
	jg	LBB0_4
## %bb.2:
	cmpq	%r13, 8(%rbx)
	jle	LBB0_4
LBB0_3:
	movq	%rbx, (%r14)
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_4:
	movq	%r15, %rdi
	callq	_vm_map_locked
	testl	%eax, %eax
	je	LBB0_5
## %bb.17:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_vm_map_splay
	movq	%rax, %r12
	cmpq	%r13, (%r12)
	jg	LBB0_14
	jmp	LBB0_8
LBB0_5:
	leaq	32(%r15), %r12
	movq	%r12, %rdi
	callq	_sx_try_upgrade
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_vm_map_splay
	movq	%r12, %rbx
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_VM_MAP_UNLOCK_CONSISTENT
	movq	%rbx, %rdi
	callq	_sx_downgrade
	cmpq	%r13, (%r12)
	jle	LBB0_8
LBB0_14:
	movq	%r15, (%r14)
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_9 Depth=1
	addq	$24, %rbx
	movq	%rbx, %rax
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_14
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r13, (%rbx)
	jg	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	%r13, 8(%rbx)
	jg	LBB0_3
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	16(%rbx), %rax
	movq	%rbx, %r15
	jmp	LBB0_13
LBB0_8:
	movq	%r12, (%r14)
	xorl	%eax, %eax
	cmpq	%r13, 8(%r12)
	setg	%al
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_map_lookup_entry            ; -- Begin function vm_map_lookup_entry
	.p2align	2
_vm_map_lookup_entry:                   ; @vm_map_lookup_entry
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x21, x0
	ldr	x22, [x0, #40]
	cbz	x22, LBB0_9
; %bb.1:
	mov	x20, x1
	ldr	x8, [x22]
	cmp	x8, x1
	b.gt	LBB0_4
; %bb.2:
	ldr	x8, [x22, #8]
	cmp	x8, x20
	b.le	LBB0_4
LBB0_3:
	str	x22, [x19]
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_10
LBB0_4:
	mov	x0, x21
	bl	_vm_map_locked
	cbz	w0, LBB0_6
; %bb.5:
	mov	x0, x21
	mov	x1, x20
	bl	_vm_map_splay
	mov	x22, x0
	b	LBB0_8
LBB0_6:
	add	x23, x21, #32
	mov	x0, x23
	bl	_sx_try_upgrade
	cbz	x0, LBB0_12
; %bb.7:
	mov	x0, x21
	mov	x1, x20
	bl	_vm_map_splay
	mov	x22, x0
	mov	x0, x21
	bl	_VM_MAP_UNLOCK_CONSISTENT
	mov	x0, x23
	bl	_sx_downgrade
LBB0_8:
	ldr	x8, [x22]
	cmp	x8, x20
	b.le	LBB0_15
LBB0_9:
	str	x21, [x19]
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	b	LBB0_16
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x8, x22, #24
	ldr	x22, [x8]
	cbz	x22, LBB0_9
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	cmp	x8, x20
	b.gt	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x22, #8]
	cmp	x8, x20
	b.gt	LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x8, x22, #16
	mov	x21, x22
	ldr	x22, [x8]
	cbnz	x22, LBB0_12
	b	LBB0_9
LBB0_15:
	str	x22, [x19]
	ldr	x8, [x22, #8]
	cmp	x8, x20
	cset	w0, gt
LBB0_16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
