	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcessList_goThroughEntries   ## -- Begin function ProcessList_goThroughEntries
	.p2align	4, 0x90
_ProcessList_goThroughEntries:          ## @ProcessList_goThroughEntries
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$1, -44(%rbp)
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	movq	%rbx, %rdi
	callq	_ProcessList_freeCPULoadInfo
	leaq	8(%rbx), %rdi
	movq	8(%rbx), %rax
	movq	%rax, (%rbx)
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_ProcessList_allocateCPULoadInfo
	leaq	28(%rbx), %rdi
	callq	_ProcessList_getVMStats
	movq	$0, 16(%rbx)
	movl	24(%rbx), %r9d
	testl	%r9d, %r9d
	jle	LBB0_8
## %bb.1:
	movq	_CPU_STATE_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	leaq	-1(%r10), %r8
	movl	%r10d, %r15d
	andl	$3, %r15d
	movq	%r10, %r14
	andq	$-4, %r14
	xorl	%eax, %eax
	xorl	%r11d, %r11d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r11
	cmpq	%r9, %r11
	je	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
                                        ##     Child Loop BB0_6 Depth 2
	testq	%r10, %r10
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rdx
	movq	8(%rbx), %rcx
	movq	(%rcx,%r11,8), %rcx
	movq	(%rdx,%r11,8), %rdx
	xorl	%edi, %edi
	cmpq	$3, %r8
	jb	LBB0_4
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rcx,%rdi,8), %rsi
	subq	(%rdx,%rdi,8), %rsi
	addq	%rax, %rsi
	movq	%rsi, 16(%rbx)
	movq	8(%rcx,%rdi,8), %rax
	subq	8(%rdx,%rdi,8), %rax
	addq	%rsi, %rax
	movq	%rax, 16(%rbx)
	movq	16(%rcx,%rdi,8), %rsi
	subq	16(%rdx,%rdi,8), %rsi
	addq	%rax, %rsi
	movq	%rsi, 16(%rbx)
	movq	24(%rcx,%rdi,8), %rax
	subq	24(%rdx,%rdi,8), %rax
	addq	%rsi, %rax
	movq	%rax, 16(%rbx)
	addq	$4, %rdi
	cmpq	%rdi, %r14
	jne	LBB0_17
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rdx,%rdi,8), %rdx
	leaq	(%rcx,%rdi,8), %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rcx,%rdi,8), %rsi
	subq	(%rdx,%rdi,8), %rsi
	addq	%rsi, %rax
	movq	%rax, 16(%rbx)
	incq	%rdi
	cmpq	%rdi, %r15
	jne	LBB0_6
	jmp	LBB0_7
LBB0_8:
	xorps	%xmm0, %xmm0
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movups	%xmm0, 16(%rax)
	movups	%xmm0, (%rax)
	leaq	-80(%rbp), %rdi
	callq	_ProcessList_getKInfoProcs
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpq	$0, -80(%rbp)
	je	LBB0_16
## %bb.9:
	movl	-48(%rbp), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%r15
	addq	$4, %r12
	cmpq	-80(%rbp), %r15
	jae	LBB0_16
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12), %r13
	movl	(%rax,%r15,4), %esi
	movq	_DarwinProcess_new@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	leaq	-44(%rbp), %rdx
	callq	_ProcessList_getProcess
	movq	%rax, %r14
	movl	-44(%rbp), %ecx
	movq	%rax, %rdi
	movq	%r13, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_DarwinProcess_setFromKInfoProc
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_DarwinProcess_setFromLibprocPidinfo
	movl	$17, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_CompareKernelVersion
	testq	%rax, %rax
	js	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$17, %edi
	movl	$5, %esi
	xorl	%edx, %edx
	callq	_CompareKernelVersion
	testq	%rax, %rax
	js	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	callq	_DarwinProcess_scanThreads
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	incq	(%rax)
	cmpl	$0, -44(%rbp)
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	(%rbx), %edi
	movl	(%r14), %esi
	callq	_UsersTable_getRef
	movl	%eax, 4(%r14)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ProcessList_add
	jmp	LBB0_15
LBB0_16:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPU_STATE_MAX,8,3              ## @CPU_STATE_MAX
	.comm	_DarwinProcess_new,8,3          ## @DarwinProcess_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcessList_goThroughEntries   ; -- Begin function ProcessList_goThroughEntries
	.p2align	2
_ProcessList_goThroughEntries:          ; @ProcessList_goThroughEntries
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x0
	mov	w8, #1
	str	w8, [sp, #28]
	add	x0, sp, #8
	mov	x1, #0
	bl	_gettimeofday
	mov	x0, x19
	bl	_ProcessList_freeCPULoadInfo
	mov	x20, x19
	ldr	x8, [x20, #8]!
	str	x8, [x19]
	mov	x0, x20
	bl	_ProcessList_allocateCPULoadInfo
	add	x0, x19, #28
	bl	_ProcessList_getVMStats
	str	xzr, [x19, #16]
	ldr	w8, [x19, #24]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x9, #0
	mov	x10, #0
Lloh0:
	adrp	x11, _CPU_STATE_MAX@GOTPAGE
Lloh1:
	ldr	x11, [x11, _CPU_STATE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	cmp	x10, x8
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cbz	x11, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	x13, x10, #3
	ldp	x14, x12, [x19]
	ldr	x12, [x12, x13]
	ldr	x13, [x14, x13]
	mov	x14, x11
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x15, [x12], #8
	ldr	x16, [x13], #8
	sub	x15, x15, x16
	add	x9, x15, x9
	str	x9, [x19, #16]
	subs	x14, x14, #1
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x20]
	add	x0, sp, #16
	bl	_ProcessList_getKInfoProcs
	mov	x21, x0
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_14
; %bb.7:
	mov	x25, #0
	mov	x26, #0
	ldr	w22, [sp, #8]
Lloh3:
	adrp	x27, _DarwinProcess_new@GOTPAGE
Lloh4:
	ldr	x27, [x27, _DarwinProcess_new@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x26, x26, #1
	ldr	x8, [sp, #16]
	add	x25, x25, #4
	cmp	x26, x8
	b.hs	LBB0_14
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x24, x21, x25
	ldr	w1, [x21, x26, lsl #2]
	ldr	w3, [x27]
	add	x2, sp, #28
	mov	x0, x19
	bl	_ProcessList_getProcess
	mov	x23, x0
	ldr	w3, [sp, #28]
	mov	x1, x24
	mov	x2, x22
	bl	_DarwinProcess_setFromKInfoProc
	mov	x0, x23
	mov	x1, x19
	bl	_DarwinProcess_setFromLibprocPidinfo
	mov	w0, #17
	mov	w1, #0
	mov	w2, #0
	bl	_CompareKernelVersion
	tbnz	x0, #63, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w0, #17
	mov	w1, #5
	mov	w2, #0
	bl	_CompareKernelVersion
	tbnz	x0, #63, LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x23
	bl	_DarwinProcess_scanThreads
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [x20]
	ldr	w8, [sp, #28]
	cbnz	w8, LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [x19]
	ldr	w1, [x23]
	bl	_UsersTable_getRef
	str	w0, [x23, #4]
	mov	x0, x19
	mov	x1, x23
	bl	_ProcessList_add
	b	LBB0_8
LBB0_14:
	mov	x0, x21
	bl	_free
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CPU_STATE_MAX,8,3              ; @CPU_STATE_MAX
	.comm	_DarwinProcess_new,8,3          ; @DarwinProcess_new
.subsections_via_symbols
