	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kinfo_getvmobject              ## -- Begin function kinfo_getvmobject
	.p2align	4, 0x90
_kinfo_getvmobject:                     ## @kinfo_getvmobject
	.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	%rdi, %r13
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %rdx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	testq	%rax, %rax
	js	LBB0_12
## %bb.1:
	movq	-48(%rbp), %rsi
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	callq	_reallocf
	testq	%rax, %rax
	je	LBB0_15
## %bb.2:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	leaq	-48(%rbp), %rdx
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	testq	%rax, %rax
	je	LBB0_16
## %bb.3:
	movq	_errno@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_ENOMEM@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_12
## %bb.4:
	leaq	L_.str(%rip), %rdi
	leaq	-48(%rbp), %rdx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	testq	%rax, %rax
	js	LBB0_12
## %bb.5:
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_reallocf
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	leaq	-48(%rbp), %rdx
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	testq	%rax, %rax
	je	LBB0_16
## %bb.7:
	movq	(%r15), %rax
	cmpq	(%r14), %rax
	jne	LBB0_12
## %bb.8:
	leaq	L_.str(%rip), %rdi
	leaq	-48(%rbp), %rdx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	testq	%rax, %rax
	js	LBB0_12
## %bb.9:
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_reallocf
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	leaq	-48(%rbp), %rdx
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	testq	%rax, %rax
	je	LBB0_16
## %bb.11:
	movq	(%r15), %rax
	cmpq	(%r14), %rax
LBB0_12:
	movq	%rbx, %rdi
LBB0_13:
	callq	_free
LBB0_14:
	xorl	%r12d, %r12d
LBB0_15:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	-48(%rbp), %r15
	testq	%r15, %r15
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_23
## %bb.17:
	leaq	(%rbx,%r15), %r14
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rbx), %rcx
	addq	%rcx, %rbx
	incl	%r13d
	cmpq	%r14, %rbx
	jb	LBB0_18
## %bb.19:
	movl	%r13d, %edi
	movl	$4, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_25
## %bb.20:
	movq	%rax, %r12
	testq	%r15, %r15
	jle	LBB0_24
## %bb.21:
	movq	%r12, %rbx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	movslq	(%r15), %rax
	addq	%rax, %r15
	movl	$4, (%rbx)
	addq	$4, %rbx
	cmpq	%r14, %r15
	jb	LBB0_22
	jmp	LBB0_24
LBB0_23:
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_25
LBB0_24:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%r13d, (%rax)
	jmp	LBB0_15
LBB0_25:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vm.objects"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOMEM,8,3                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kinfo_getvmobject              ; -- Begin function kinfo_getvmobject
	.p2align	2
_kinfo_getvmobject:                     ; @kinfo_getvmobject
	.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, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x1, #0
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	tbnz	x0, #63, LBB0_12
; %bb.1:
	ldr	x1, [sp, #8]
	mov	x0, #0
	bl	_reallocf
	cbz	x0, LBB0_14
; %bb.2:
	mov	x20, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x1, x20
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	cbz	x0, LBB0_16
; %bb.3:
Lloh4:
	adrp	x21, _errno@GOTPAGE
Lloh5:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh6:
	adrp	x22, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x22, [x22, _ENOMEM@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.4:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x1, #0
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	tbnz	x0, #63, LBB0_13
; %bb.5:
	ldr	x1, [sp, #8]
	mov	x0, x20
	bl	_reallocf
	cbz	x0, LBB0_14
; %bb.6:
	mov	x20, x0
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x1, x20
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	cbz	x0, LBB0_16
; %bb.7:
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.8:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x1, #0
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	tbnz	x0, #63, LBB0_13
; %bb.9:
	ldr	x1, [sp, #8]
	mov	x0, x20
	bl	_reallocf
	cbz	x0, LBB0_14
; %bb.10:
	mov	x20, x0
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x1, x20
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	cbz	x0, LBB0_16
; %bb.11:
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b	LBB0_13
LBB0_12:
	mov	x20, #0
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
LBB0_16:
	ldr	x23, [sp, #8]
	cmp	x23, #1
	b.lt	LBB0_23
; %bb.17:
	mov	w21, #0
	add	x25, x20, x23
	mov	x8, x20
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x9, [x8]
	add	w21, w21, #1
	add	x8, x8, x9
	cmp	x8, x25
	b.lo	LBB0_18
; %bb.19:
	mov	x0, x21
	mov	w1, #4
	bl	_calloc
	cbz	x0, LBB0_13
; %bb.20:
	mov	x22, x0
	cmp	x23, #1
	b.lt	LBB0_25
; %bb.21:
	mov	w26, #4
	mov	x23, x22
	mov	x24, x20
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x24]
	mov	x0, x23
	mov	x1, x24
	bl	_memcpy
	ldrsw	x8, [x24]
	str	w26, [x23], #4
	add	x24, x24, x8
	cmp	x24, x25
	b.lo	LBB0_22
	b	LBB0_25
LBB0_23:
	mov	w0, #0
	mov	w1, #4
	bl	_calloc
	cbz	x0, LBB0_13
; %bb.24:
	mov	x22, x0
	mov	w21, #0
LBB0_25:
	mov	x0, x20
	bl	_free
	str	w21, [x19]
	b	LBB0_15
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vm.objects"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOMEM,8,3                     ; @ENOMEM
.subsections_via_symbols
