	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcessList_rebuildPanel       ## -- Begin function ProcessList_rebuildPanel
	.p2align	4, 0x90
_ProcessList_rebuildPanel:              ## @ProcessList_rebuildPanel
	.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, %rbx
	movq	(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	24(%rdi), %rdi
	callq	_Panel_getSelectedIndex
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	8(%rbx), %r14d
	xorl	%r12d, %r12d
	cmpl	$-1, %r14d
	cmovel	%r12d, %r14d
	movq	24(%rbx), %rdi
	movl	(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	_Panel_prune
	movq	%rbx, %rdi
	callq	_ProcessList_size
	testl	%eax, %eax
	jle	LBB0_16
## %bb.1:
	movl	%eax, %r13d
	movslq	%r14d, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_2
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rdi
	movl	%r12d, %esi
	callq	_Panel_setSelected
	movq	24(%rbx), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
	cmpl	%r15d, %r13d
	je	LBB0_16
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_ProcessList_get
	cmpl	$0, 24(%rax)
	je	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	movq	16(%rbx), %rax
	cmpq	$-1, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rax, (%r14)
	jne	LBB0_15
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	20(%r14), %edi
	callq	_String_contains_i
	testl	%eax, %eax
	je	LBB0_15
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r14), %esi
	callq	_Hashtable_get
	testl	%eax, %eax
	je	LBB0_15
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	callq	_Panel_set
	movl	8(%rbx), %eax
	cmpl	$-1, %eax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	-48(%rbp), %r12d                ## 4-byte Folded Reload
	je	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, 8(%r14)
	je	LBB0_13
	jmp	LBB0_14
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcessList_rebuildPanel       ; -- Begin function ProcessList_rebuildPanel
	.p2align	2
_ProcessList_rebuildPanel:              ; @ProcessList_rebuildPanel
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x20, [x0]
	ldr	x0, [x0, #24]
	bl	_Panel_getSelectedIndex
	mov	x21, x0
	ldr	w8, [x19, #8]
	cmn	w8, #1
	csel	w25, wzr, w8, eq
	ldr	x0, [x19, #24]
	ldr	w26, [x0]
	bl	_Panel_prune
	mov	x0, x19
	bl	_ProcessList_size
	cmp	w0, #1
	b.lt	LBB0_16
; %bb.1:
	mov	x22, x0
	mov	w23, #0
	mov	w24, #0
	sxtw	x27, w25
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x19, #24]
	mov	x1, x23
	bl	_Panel_setSelected
	ldr	x8, [x19, #24]
	str	w26, [x8]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w23, w23, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w24, w24, #1
	cmp	w22, w24
	b.eq	LBB0_16
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_ProcessList_get
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, x0
	ldr	x8, [x19, #16]
	cmn	x8, #1
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x25]
	cmp	x9, x8
	b.ne	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	x20, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x25, #20]
	mov	x1, x20
	bl	_String_contains_i
	cbz	w0, LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x25, #16]
	bl	_Hashtable_get
	cbz	w0, LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x19, #24]
	mov	x1, x23
	mov	x2, x25
	bl	_Panel_set
	ldr	w8, [x19, #8]
	cmn	w8, #1
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, w21
	b.eq	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	cmn	w8, #1
	b.eq	LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x25, #8]
	cmp	x8, x27
	b.eq	LBB0_2
	b	LBB0_3
LBB0_16:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
