	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvm_deadprocs
_kvm_deadprocs:                         ## @kvm_deadprocs
	.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
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	movq	%r8, %r12
	movl	%edx, %r14d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	leaq	-48(%rbp), %rdx
	movq	%rcx, %rsi
	callq	_KREAD
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdx
LBB0_2:
	movq	%rbx, %rdi
	callq	__kvm_err
	movl	$-1, %eax
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	%r13d, %esi
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	movl	%r14d, %edx
	movq	%r15, %r8
	movl	-60(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %r9d
	callq	_kvm_proclist
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	testq	%r12, %r12
	je	LBB0_6
## %bb.7:
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_KREAD
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_2
LBB0_4:
	movl	%r14d, %eax
	jmp	LBB0_11
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_9:
	movq	-48(%rbp), %rcx
	movl	%r14d, %eax
	leaq	(%r15,%rax,4), %r8
	subl	%r14d, %r13d
	movq	%rbx, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %r9d
	callq	_kvm_proclist
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	cmovgl	%ecx, %eax
LBB0_10:
	addl	%r14d, %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot read allproc"

L_.str.1:                               ## @.str.1
	.asciz	"cannot read zombproc"

	.no_dead_strip	_kvm_deadprocs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kvm_deadprocs
_kvm_deadprocs:                         ; @kvm_deadprocs
	.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	x22, x5
	mov	x25, x4
	mov	x21, x2
	mov	x23, x1
	mov	x20, x0
	ldr	x24, [x0, #8]
	add	x2, sp, #8
	mov	x1, x3
	bl	_KREAD
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w1, [x20]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x20
	bl	__kvm_err
	mov	w19, #-1
LBB0_3:
	mov	x0, x19
	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_4:
	ldr	x3, [sp, #8]
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	mov	x4, x24
	mov	x5, x22
	bl	_kvm_proclist
	mov	x19, x0
	tbnz	w0, #31, LBB0_3
; %bb.5:
	cbz	x25, LBB0_8
; %bb.6:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x25
	bl	_KREAD
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w1, [x20]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_8:
	mov	w8, #0
	b	LBB0_10
LBB0_9:
	ldr	x3, [sp, #8]
	add	x4, x24, w19, uxtw #2
	sub	w5, w22, w19
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	bl	_kvm_proclist
	cmp	w0, #0
	csel	w8, w0, wzr, gt
LBB0_10:
	add	w19, w8, w19
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot read allproc"

l_.str.1:                               ; @.str.1
	.asciz	"cannot read zombproc"

	.no_dead_strip	_kvm_deadprocs
.subsections_via_symbols
