	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_getprocs                   ## -- Begin function kvm_getprocs
	.p2align	4, 0x90
_kvm_getprocs:                          ## @kvm_getprocs
	.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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movl	%edx, %r12d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_free
	movq	$0, (%rbx)
LBB0_2:
	movq	%rbx, %rdi
	callq	_ISALIVE
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movq	$0, -256(%rbp)
	movq	_CTL_KERN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -192(%rbp)
	movq	_KERN_PROC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -188(%rbp)
	movl	%r14d, -184(%rbp)
	movl	%r12d, -180(%rbp)
	movq	_KERN_PROC_INC_THREAD@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	notl	%r15d
	andl	%r14d, %r15d
	movq	_KERN_PROC_ALL@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	sete	%al
	movq	_KERN_PROC_PROC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %eax
	movl	$4, %esi
	subl	%eax, %esi
	leaq	-192(%rbp), %rdi
	leaq	-256(%rbp), %rcx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.4:
	movq	-256(%rbp), %r14
	testq	%r14, %r14
	je	LBB0_17
## %bb.5:
	movq	%r13, -264(%rbp)                ## 8-byte Spill
	leaq	-192(%rbp), %r12
	leaq	-256(%rbp), %r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rax
	movabsq	$-3689348814741910323, %rcx     ## imm = 0xCCCCCCCCCCCCCCCD
	mulq	%rcx
	shrq	$3, %rdx
	addq	%r14, %rdx
	movq	%rdx, -256(%rbp)
	movq	(%rbx), %rsi
	movq	%rbx, %rdi
	callq	__kvm_realloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-256(%rbp), %r14
	movq	_KERN_PROC_ALL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	sete	%cl
	movq	_KERN_PROC_PROC@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r15d
	sete	%dl
	orb	%cl, %dl
	movzbl	%dl, %ecx
	movl	$4, %esi
	subl	%ecx, %esi
	movq	%r12, %rdi
	movq	%rax, %rdx
	movq	%r13, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	cmpl	$-1, %eax
	jne	LBB0_22
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%r14, -256(%rbp)
	je	LBB0_6
LBB0_10:
	movl	8(%rbx), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	__kvm_syserr
LBB0_11:
	xorl	%r14d, %r14d
	jmp	LBB0_41
LBB0_12:
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -192(%rbp)
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -168(%rbp)
	leaq	L_.str.4(%rip), %rax
	movq	%rax, -144(%rbp)
	leaq	L_.str.5(%rip), %rax
	movq	%rax, -120(%rbp)
	leaq	L_.str.6(%rip), %rax
	movq	%rax, -96(%rbp)
	movq	$0, -72(%rbp)
	leaq	L_.str.7(%rip), %rax
	movq	%rax, -240(%rbp)
	movq	$0, -216(%rbp)
	movq	16(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_19
## %bb.13:
	leaq	-192(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_kvm_nlist
	testq	%rax, %rax
	je	LBB0_20
## %bb.14:
	leaq	-184(%rbp), %rax
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rax)
	leaq	24(%rax), %rax
	jne	LBB0_15
## %bb.16:
	movl	8(%rbx), %esi
	movq	-32(%rax), %rcx
	leaq	L_.str.9(%rip), %rdx
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	__kvm_err
	jmp	LBB0_41
LBB0_17:
	movl	$1, %esi
	movq	%rbx, %rdi
	callq	__kvm_malloc
	movq	%rax, %rcx
	movq	%rax, (%rbx)
	movq	-256(%rbp), %rax
	testq	%rax, %rax
	jne	LBB0_24
## %bb.18:
	xorl	%eax, %eax
	jmp	LBB0_33
LBB0_19:
	movl	8(%rbx), %esi
	leaq	L_.str.8(%rip), %rdx
	jmp	LBB0_40
LBB0_20:
	leaq	-240(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_kvm_nlist
	movl	-176(%rbp), %esi
	leaq	-244(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_KREAD
	testq	%rax, %rax
	je	LBB0_27
## %bb.21:
	movl	8(%rbx), %esi
	leaq	L_.str.10(%rip), %rdx
	jmp	LBB0_40
LBB0_22:
	movq	-256(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_32
## %bb.23:
	movq	(%rbx), %rcx
	movl	(%rcx), %r8d
	cmpl	$4, %r8d
	movq	-264(%rbp), %r13                ## 8-byte Reload
	jne	LBB0_35
LBB0_24:
	movslq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_26
## %bb.25:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_33
LBB0_26:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_33
LBB0_27:
	movq	_KERN_PROC_ALL@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_29
## %bb.28:
	movq	_KERN_PROC_INC_THREAD@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_30
LBB0_29:
	movl	-244(%rbp), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, -244(%rbp)
LBB0_30:
	movl	-128(%rbp), %esi
	movq	_ticks@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	callq	_KREAD
	testq	%rax, %rax
	je	LBB0_36
## %bb.31:
	movl	8(%rbx), %esi
	leaq	L_.str.11(%rip), %rdx
	jmp	LBB0_40
LBB0_32:
	xorl	%eax, %eax
	movq	-264(%rbp), %r13                ## 8-byte Reload
LBB0_33:
	movl	%eax, -244(%rbp)
LBB0_34:
	movl	%eax, (%r13)
	movq	(%rbx), %r14
	jmp	LBB0_41
LBB0_35:
	movl	8(%rbx), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%r14d, %r14d
	movl	$4, %ecx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	__kvm_err
	jmp	LBB0_41
LBB0_36:
	movl	-104(%rbp), %esi
	movq	_hz@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	callq	_KREAD
	testq	%rax, %rax
	je	LBB0_38
## %bb.37:
	movl	8(%rbx), %esi
	leaq	L_.str.12(%rip), %rdx
	jmp	LBB0_40
LBB0_38:
	movl	-80(%rbp), %esi
	movq	_cpu_tick_frequency@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	callq	_KREAD
	testq	%rax, %rax
	je	LBB0_43
## %bb.39:
	movl	8(%rbx), %esi
	leaq	L_.str.13(%rip), %rdx
LBB0_40:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	__kvm_err
LBB0_41:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_46
## %bb.42:
	movq	%r14, %rax
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_43:
	movslq	-244(%rbp), %rsi
	shlq	$2, %rsi
	movq	%rsi, -256(%rbp)
	movq	%rbx, %rdi
	callq	__kvm_malloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_11
## %bb.44:
	movl	-152(%rbp), %ecx
	movl	-224(%rbp), %r8d
	movl	-244(%rbp), %r9d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	callq	_kvm_deadprocs
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, -244(%rbp)
	testl	%eax, %eax
	jg	LBB0_34
## %bb.45:
	movq	%rbx, %rdi
	callq	__kvm_freeprocs
	movl	$0, -244(%rbp)
	xorl	%eax, %eax
	jmp	LBB0_34
LBB0_46:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CTL_KERN,4,2                   ## @CTL_KERN
	.comm	_KERN_PROC,4,2                  ## @KERN_PROC
	.comm	_KERN_PROC_INC_THREAD,4,2       ## @KERN_PROC_INC_THREAD
	.comm	_KERN_PROC_ALL,4,2              ## @KERN_PROC_ALL
	.comm	_KERN_PROC_PROC,4,2             ## @KERN_PROC_PROC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kvm_getprocs"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOMEM,8,3                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"kinfo_proc size mismatch (expected %zu, got %d)"

L_.str.2:                               ## @.str.2
	.asciz	"_nprocs"

L_.str.3:                               ## @.str.3
	.asciz	"_allproc"

L_.str.4:                               ## @.str.4
	.asciz	"_ticks"

L_.str.5:                               ## @.str.5
	.asciz	"_hz"

L_.str.6:                               ## @.str.6
	.asciz	"_cpu_tick_frequency"

L_.str.7:                               ## @.str.7
	.asciz	"_zombproc"

L_.str.8:                               ## @.str.8
	.asciz	"cannot read procs from non-native core"

L_.str.9:                               ## @.str.9
	.asciz	"%s: no such symbol"

L_.str.10:                              ## @.str.10
	.asciz	"can't read nprocs"

	.comm	_ticks,4,2                      ## @ticks
L_.str.11:                              ## @.str.11
	.asciz	"can't read ticks"

	.comm	_hz,4,2                         ## @hz
L_.str.12:                              ## @.str.12
	.asciz	"can't read hz"

	.comm	_cpu_tick_frequency,4,2         ## @cpu_tick_frequency
L_.str.13:                              ## @.str.13
	.asciz	"can't read cpu_tick_frequency"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_getprocs                   ; -- Begin function kvm_getprocs
	.p2align	2
_kvm_getprocs:                          ; @kvm_getprocs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #240]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #256]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	x0, [x0]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_free
	str	xzr, [x19]
LBB0_2:
	mov	x0, x19
	bl	_ISALIVE
	cbz	x0, LBB0_10
; %bb.3:
	str	xzr, [sp, #16]
Lloh3:
	adrp	x8, _CTL_KERN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CTL_KERN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _KERN_PROC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _KERN_PROC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #80]
	stp	w21, w22, [sp, #88]
Lloh9:
	adrp	x8, _KERN_PROC_INC_THREAD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KERN_PROC_INC_THREAD@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	bic	w21, w21, w8
Lloh12:
	adrp	x22, _KERN_PROC_ALL@GOTPAGE
Lloh13:
	ldr	x22, [x22, _KERN_PROC_ALL@GOTPAGEOFF]
Lloh14:
	adrp	x23, _KERN_PROC_PROC@GOTPAGE
Lloh15:
	ldr	x23, [x23, _KERN_PROC_PROC@GOTPAGEOFF]
	ldr	w8, [x22]
	ldr	w9, [x23]
	cmp	w21, w9
	ccmp	w21, w8, #4, ne
	mov	w8, #3
	cinc	w1, w8, ne
	add	x0, sp, #80
	add	x3, sp, #16
	mov	x2, #0
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.4:
	ldr	x28, [sp, #16]
	cbz	x28, LBB0_15
; %bb.5:
	mov	x24, #-3689348814741910324
	movk	x24, #52429
	mov	w25, #3
Lloh16:
	adrp	x26, _errno@GOTPAGE
Lloh17:
	ldr	x26, [x26, _errno@GOTPAGEOFF]
Lloh18:
	adrp	x27, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x27, [x27, _ENOMEM@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	umulh	x8, x28, x24
	add	x2, x28, x8, lsr #3
	str	x2, [sp, #16]
	ldr	x1, [x19]
	mov	x0, x19
	bl	__kvm_realloc
	str	x0, [x19]
	cbz	x0, LBB0_39
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x2, x0
	ldr	x28, [sp, #16]
	ldr	w8, [x22]
	ldr	w9, [x23]
	cmp	w21, w9
	ccmp	w21, w8, #4, ne
	cinc	w1, w25, ne
	add	x0, sp, #80
	add	x3, sp, #16
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	cmn	w0, #1
	b.ne	LBB0_19
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x26]
	ldr	x9, [x27]
	ldr	x10, [sp, #16]
	cmp	x8, x9
	ccmp	x10, x28, #0, eq
	b.eq	LBB0_6
LBB0_9:
	ldr	w1, [x19, #8]
Lloh20:
	adrp	x2, l_.str@PAGE
Lloh21:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	__kvm_syserr
	b	LBB0_33
LBB0_10:
Lloh22:
	adrp	x8, l_.str.2@PAGE
Lloh23:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh24:
	adrp	x9, l_.str.3@PAGE
Lloh25:
	add	x9, x9, l_.str.3@PAGEOFF
	str	x8, [sp, #80]
	str	x9, [sp, #104]
Lloh26:
	adrp	x8, l_.str.4@PAGE
Lloh27:
	add	x8, x8, l_.str.4@PAGEOFF
Lloh28:
	adrp	x9, l_.str.5@PAGE
Lloh29:
	add	x9, x9, l_.str.5@PAGEOFF
	str	x8, [sp, #128]
	str	x9, [sp, #152]
Lloh30:
	adrp	x8, l_.str.6@PAGE
Lloh31:
	add	x8, x8, l_.str.6@PAGEOFF
	str	x8, [sp, #176]
	str	xzr, [sp, #200]
Lloh32:
	adrp	x8, l_.str.7@PAGE
Lloh33:
	add	x8, x8, l_.str.7@PAGEOFF
	str	x8, [sp, #32]
	str	xzr, [sp, #56]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_16
; %bb.11:
	add	x23, sp, #80
	add	x1, sp, #80
	mov	x0, x19
	bl	_kvm_nlist
	cbz	x0, LBB0_17
; %bb.12:
	add	x8, x23, #8
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8], #24
	cbnz	x9, LBB0_13
; %bb.14:
	ldr	w1, [x19, #8]
	ldur	x8, [x8, #-32]
	str	x8, [sp]
Lloh34:
	adrp	x2, l_.str.9@PAGE
Lloh35:
	add	x2, x2, l_.str.9@PAGEOFF
	b	LBB0_32
LBB0_15:
	mov	x0, x19
	mov	w1, #1
	bl	__kvm_malloc
	str	x0, [x19]
	ldr	x8, [sp, #16]
	cbnz	x8, LBB0_21
	b	LBB0_37
LBB0_16:
	ldr	w1, [x19, #8]
Lloh36:
	adrp	x2, l_.str.8@PAGE
Lloh37:
	add	x2, x2, l_.str.8@PAGEOFF
	b	LBB0_32
LBB0_17:
	add	x1, sp, #32
	mov	x0, x19
	bl	_kvm_nlist
	ldr	w1, [sp, #96]
	add	x2, sp, #28
	mov	x0, x19
	bl	_KREAD
	cbz	x0, LBB0_22
; %bb.18:
	ldr	w1, [x19, #8]
Lloh38:
	adrp	x2, l_.str.10@PAGE
Lloh39:
	add	x2, x2, l_.str.10@PAGEOFF
	b	LBB0_32
LBB0_19:
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_37
; %bb.20:
	ldr	x0, [x19]
	ldr	w9, [x0]
	cmp	w9, #4
	b.ne	LBB0_27
LBB0_21:
	ldrsw	x9, [x0]
	udiv	x0, x8, x9
	str	w0, [sp, #28]
	b	LBB0_38
LBB0_22:
Lloh40:
	adrp	x8, _KERN_PROC_ALL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _KERN_PROC_ALL@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	cmp	w8, w21
	b.eq	LBB0_24
; %bb.23:
Lloh43:
	adrp	x8, _KERN_PROC_INC_THREAD@GOTPAGE
Lloh44:
	ldr	x8, [x8, _KERN_PROC_INC_THREAD@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_25
LBB0_24:
	ldr	w8, [sp, #28]
	add	w8, w8, w8, lsl #2
	lsl	w8, w8, #1
	str	w8, [sp, #28]
LBB0_25:
	ldr	w1, [sp, #144]
Lloh46:
	adrp	x2, _ticks@GOTPAGE
Lloh47:
	ldr	x2, [x2, _ticks@GOTPAGEOFF]
	mov	x0, x19
	bl	_KREAD
	cbz	x0, LBB0_28
; %bb.26:
	ldr	w1, [x19, #8]
Lloh48:
	adrp	x2, l_.str.11@PAGE
Lloh49:
	add	x2, x2, l_.str.11@PAGEOFF
	b	LBB0_32
LBB0_27:
	ldr	w1, [x19, #8]
	mov	w8, #4
	stp	x8, x9, [sp]
Lloh50:
	adrp	x2, l_.str.1@PAGE
Lloh51:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_32
LBB0_28:
	ldr	w1, [sp, #168]
Lloh52:
	adrp	x2, _hz@GOTPAGE
Lloh53:
	ldr	x2, [x2, _hz@GOTPAGEOFF]
	mov	x0, x19
	bl	_KREAD
	cbz	x0, LBB0_30
; %bb.29:
	ldr	w1, [x19, #8]
Lloh54:
	adrp	x2, l_.str.12@PAGE
Lloh55:
	add	x2, x2, l_.str.12@PAGEOFF
	b	LBB0_32
LBB0_30:
	ldr	w1, [sp, #192]
Lloh56:
	adrp	x2, _cpu_tick_frequency@GOTPAGE
Lloh57:
	ldr	x2, [x2, _cpu_tick_frequency@GOTPAGEOFF]
	mov	x0, x19
	bl	_KREAD
	cbz	x0, LBB0_34
; %bb.31:
	ldr	w1, [x19, #8]
Lloh58:
	adrp	x2, l_.str.13@PAGE
Lloh59:
	add	x2, x2, l_.str.13@PAGEOFF
LBB0_32:
	mov	x0, x19
	bl	__kvm_err
LBB0_33:
	mov	x0, #0
	b	LBB0_39
LBB0_34:
	ldrsw	x8, [sp, #28]
	lsl	x1, x8, #2
	str	x1, [sp, #16]
	mov	x0, x19
	bl	__kvm_malloc
	str	x0, [x19]
	cbz	x0, LBB0_39
; %bb.35:
	ldr	w3, [sp, #120]
	ldr	w4, [sp, #48]
	ldr	w5, [sp, #28]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_kvm_deadprocs
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [sp, #28]
	cmp	w0, #0
	b.gt	LBB0_38
; %bb.36:
	mov	x0, x19
	bl	__kvm_freeprocs
LBB0_37:
	mov	w0, #0
	str	wzr, [sp, #28]
LBB0_38:
	str	w0, [x20]
	ldr	x0, [x19]
LBB0_39:
	ldur	x8, [x29, #-96]
Lloh60:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh61:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh62:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_41
; %bb.40:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #272]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #256]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #240]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_41:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.comm	_CTL_KERN,4,2                   ; @CTL_KERN
	.comm	_KERN_PROC,4,2                  ; @KERN_PROC
	.comm	_KERN_PROC_INC_THREAD,4,2       ; @KERN_PROC_INC_THREAD
	.comm	_KERN_PROC_ALL,4,2              ; @KERN_PROC_ALL
	.comm	_KERN_PROC_PROC,4,2             ; @KERN_PROC_PROC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kvm_getprocs"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOMEM,8,3                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"kinfo_proc size mismatch (expected %zu, got %d)"

l_.str.2:                               ; @.str.2
	.asciz	"_nprocs"

l_.str.3:                               ; @.str.3
	.asciz	"_allproc"

l_.str.4:                               ; @.str.4
	.asciz	"_ticks"

l_.str.5:                               ; @.str.5
	.asciz	"_hz"

l_.str.6:                               ; @.str.6
	.asciz	"_cpu_tick_frequency"

l_.str.7:                               ; @.str.7
	.asciz	"_zombproc"

l_.str.8:                               ; @.str.8
	.asciz	"cannot read procs from non-native core"

l_.str.9:                               ; @.str.9
	.asciz	"%s: no such symbol"

l_.str.10:                              ; @.str.10
	.asciz	"can't read nprocs"

	.comm	_ticks,4,2                      ; @ticks
l_.str.11:                              ; @.str.11
	.asciz	"can't read ticks"

	.comm	_hz,4,2                         ; @hz
l_.str.12:                              ; @.str.12
	.asciz	"can't read hz"

	.comm	_cpu_tick_frequency,4,2         ; @cpu_tick_frequency
l_.str.13:                              ; @.str.13
	.asciz	"can't read cpu_tick_frequency"

.subsections_via_symbols
