	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kinfo_getvmmap_core
_kinfo_getvmmap_core:                   ## @kinfo_getvmmap_core
	.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	%rsi, %r15
	movq	_PSC_TYPE_VMMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	leaq	-64(%rbp), %rcx
	xorl	%edx, %edx
	callq	_procstat_core_get
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	-64(%rbp), %rbx
	testq	%rbx, %rbx
	jle	LBB0_12
## %bb.2:
	movq	%rax, %r14
	addq	%rbx, %r14
	xorl	%r13d, %r13d
	movq	%rax, %rdx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%rcx, %rdx
	incl	%r13d
	cmpq	%r14, %rdx
	jb	LBB0_3
LBB0_5:
	movl	%r13d, %edi
	movl	$8, %esi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_calloc
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	movq	%rax, %r12
	testq	%rbx, %rbx
	jle	LBB0_11
## %bb.7:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rbx
	movq	%rdi, %r15
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	addq	(%r15), %r15
	movq	$8, (%rbx)
	addq	$8, %rbx
	cmpq	%r14, %r15
	jb	LBB0_8
LBB0_10:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_12:
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	movl	$8, %esi
	movq	%rax, %rbx
	callq	_calloc
	movq	%rbx, %rdi
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_13
LBB0_11:
	callq	_free
	movl	%r13d, (%r15)
	jmp	LBB0_14
LBB0_13:
	callq	_free
	xorl	%r12d, %r12d
LBB0_14:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PSC_TYPE_VMMAP,4,2             ## @PSC_TYPE_VMMAP
	.no_dead_strip	_kinfo_getvmmap_core
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kinfo_getvmmap_core
_kinfo_getvmmap_core:                   ; @kinfo_getvmmap_core
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _PSC_TYPE_VMMAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PSC_TYPE_VMMAP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	x2, #0
	bl	_procstat_core_get
	cbz	x0, LBB0_14
; %bb.1:
	mov	x20, x0
	ldr	x23, [sp, #8]
	cmp	x23, #1
	b.lt	LBB0_10
; %bb.2:
	mov	w21, #0
	add	x25, x20, x23
	mov	x8, x20
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8]
	cbz	x9, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w21, w21, #1
	add	x8, x8, x9
	cmp	x8, x25
	b.lo	LBB0_3
LBB0_5:
	mov	x0, x21
	mov	w1, #8
	bl	_calloc
	cbz	x0, LBB0_13
; %bb.6:
	mov	x22, x0
	cmp	x23, #1
	b.lt	LBB0_12
; %bb.7:
	mov	w26, #8
	mov	x23, x22
	mov	x24, x20
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x2, [x24]
	cbz	x2, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	mov	x1, x24
	bl	_memcpy
	ldr	x8, [x24]
	str	x26, [x23], #8
	add	x24, x24, x8
	cmp	x24, x25
	b.lo	LBB0_8
	b	LBB0_12
LBB0_10:
	mov	w0, #0
	mov	w1, #8
	bl	_calloc
	cbz	x0, LBB0_13
; %bb.11:
	mov	x22, x0
	mov	w21, #0
LBB0_12:
	mov	x0, x20
	bl	_free
	str	w21, [x19]
	b	LBB0_15
LBB0_13:
	mov	x0, x20
	bl	_free
LBB0_14:
	mov	x22, #0
LBB0_15:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PSC_TYPE_VMMAP,4,2             ; @PSC_TYPE_VMMAP
	.no_dead_strip	_kinfo_getvmmap_core
.subsections_via_symbols
