	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function OS_getSystemProcesses
_OS_getSystemProcesses:                 ## @OS_getSystemProcesses
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_hr_kd@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_SNMP_ERR_GENERR@GOTPCREL(%rip), %rbx
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	_KERN_PROC_PROC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rcx
	xorl	%edx, %edx
	callq	_kvm_getprocs
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	-20(%rbp), %eax
	movl	%eax, (%r14)
	movq	_SNMP_ERR_NOERROR@GOTPCREL(%rip), %rbx
	jmp	LBB0_4
LBB0_2:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_syslog
LBB0_4:
	movl	(%rbx), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hr_kd,8,3                      ## @hr_kd
	.comm	_SNMP_ERR_GENERR,4,2            ## @SNMP_ERR_GENERR
	.comm	_KERN_PROC_PROC,4,2             ## @KERN_PROC_PROC
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kvm_getprocs failed: %m"

	.comm	_SNMP_ERR_NOERROR,4,2           ## @SNMP_ERR_NOERROR
	.no_dead_strip	_OS_getSystemProcesses
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function OS_getSystemProcesses
_OS_getSystemProcesses:                 ; @OS_getSystemProcesses
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _hr_kd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hr_kd@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	cbz	x0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _KERN_PROC_PROC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KERN_PROC_PROC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #12
	mov	w2, #0
	bl	_kvm_getprocs
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w8, [sp, #12]
	str	w8, [x19]
Lloh6:
	adrp	x8, _SNMP_ERR_NOERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SNMP_ERR_NOERROR@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_syslog
LBB0_4:
Lloh13:
	adrp	x8, _SNMP_ERR_GENERR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SNMP_ERR_GENERR@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_hr_kd,8,3                      ; @hr_kd
	.comm	_SNMP_ERR_GENERR,4,2            ; @SNMP_ERR_GENERR
	.comm	_KERN_PROC_PROC,4,2             ; @KERN_PROC_PROC
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kvm_getprocs failed: %m"

	.comm	_SNMP_ERR_NOERROR,4,2           ; @SNMP_ERR_NOERROR
	.no_dead_strip	_OS_getSystemProcesses
.subsections_via_symbols
