	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_mmap_getnext                ## -- Begin function vm_mmap_getnext
	.p2align	4, 0x90
_vm_mmap_getnext:                       ## @vm_mmap_getnext
	.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
	.cfi_offset %rbx, -24
	movq	_VM_MAX_MEMMAPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_19
## %bb.1:
	movq	16(%rbp), %r10
	movq	(%rdi), %rdi
	xorl	%r11d, %r11d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdi, %r11
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$32, %rdi
	decq	%rax
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rdi)
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rdi), %rbx
	cmpq	(%rsi), %rbx
	jl	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r11, %r11
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	8(%r11), %rbx
	jl	LBB0_6
	jmp	LBB0_7
LBB0_8:
	testq	%r11, %r11
	je	LBB0_19
## %bb.9:
	movq	8(%r11), %rax
	movq	%rax, (%rsi)
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.10:
	movl	16(%r11), %eax
	movl	%eax, (%rdx)
LBB0_11:
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.12:
	movl	28(%r11), %eax
	movl	%eax, (%rcx)
LBB0_13:
	testq	%r8, %r8
	je	LBB0_15
## %bb.14:
	movq	(%r11), %rax
	movq	%rax, (%r8)
LBB0_15:
	testq	%r9, %r9
	je	LBB0_17
## %bb.16:
	movl	20(%r11), %eax
	movl	%eax, (%r9)
LBB0_17:
	xorl	%eax, %eax
	testq	%r10, %r10
	je	LBB0_20
## %bb.18:
	movl	24(%r11), %ecx
	movl	%ecx, (%r10)
	jmp	LBB0_20
LBB0_19:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_20:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_MAX_MEMMAPS,4,2             ## @VM_MAX_MEMMAPS
	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_mmap_getnext                ; -- Begin function vm_mmap_getnext
	.p2align	2
_vm_mmap_getnext:                       ; @vm_mmap_getnext
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _VM_MAX_MEMMAPS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VM_MAX_MEMMAPS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_19
; %bb.1:
	mov	x8, #0
	ldr	x10, [x0]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x10
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #32
	subs	x9, x9, #1
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	cbz	x11, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x10, #8]
	ldr	x12, [x1]
	cmp	x11, x12
	b.lt	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x8, #8]
	cmp	x11, x12
	b.lt	LBB0_2
	b	LBB0_3
LBB0_8:
	cbz	x8, LBB0_19
; %bb.9:
	ldr	x9, [x8, #8]
	str	x9, [x1]
	cbz	x2, LBB0_11
; %bb.10:
	ldr	w9, [x8, #16]
	str	w9, [x2]
LBB0_11:
	cbz	x3, LBB0_13
; %bb.12:
	ldr	w9, [x8, #28]
	str	w9, [x3]
LBB0_13:
	cbz	x4, LBB0_15
; %bb.14:
	ldr	x9, [x8]
	str	x9, [x4]
LBB0_15:
	cbz	x5, LBB0_17
; %bb.16:
	ldr	w9, [x8, #20]
	str	w9, [x5]
LBB0_17:
	mov	w0, #0
	cbz	x6, LBB0_20
; %bb.18:
	ldr	w8, [x8, #24]
	str	w8, [x6]
	ret
LBB0_19:
Lloh3:
	adrp	x8, _ENOENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
LBB0_20:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VM_MAX_MEMMAPS,4,2             ; @VM_MAX_MEMMAPS
	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
