	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_LC_CTYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	movq	_LC_CTYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %rsi
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
LBB0_5:
	callq	_setlocale
	leaq	-96(%rbp), %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_parseArguments
	xorl	%eax, %eax
	callq	_Process_setupColumnWidths
	xorl	%eax, %eax
	callq	_UsersTable_new
	movq	%rax, %r12
	movq	-80(%rbp), %rsi
	movl	-60(%rbp), %edx
	movq	%rax, %rdi
	callq	_ProcessList_new
	movq	%rax, %r15
	movl	8(%rax), %edi
	callq	_Settings_new
	movq	%rax, %rbx
	movq	%rax, (%r15)
	movq	%r15, %rdi
	movq	%rax, %rsi
	movl	$2, %edx
	callq	_Header_new
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_Header_populateFromSettings
	movl	-96(%rbp), %eax
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, (%rbx)
LBB0_7:
	cmpl	$0, -64(%rbp)
	jne	LBB0_9
## %bb.8:
	movq	_COLORSCHEME_MONOCHROME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
LBB0_9:
	cmpq	$0, -72(%rbp)
	je	LBB0_11
## %bb.10:
	movl	$1, 4(%rbx)
LBB0_11:
	movl	(%rbx), %edi
	movl	32(%rbx), %esi
	callq	_CRT_init
	xorl	%eax, %eax
	callq	_MainPanel_new
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_ProcessList_setPanel
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	_MainPanel_updateTreeFunctions
	movq	-88(%rbp), %rax
	testq	%rax, %rax
	jle	LBB0_13
## %bb.12:
	movq	%rax, 8(%rbx)
	movl	$0, 4(%rbx)
	movl	$1, 16(%rbx)
LBB0_13:
	movq	%r14, %rdi
	callq	_Panel_getHeader
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_ProcessList_printHeader
	movq	%r13, -136(%rbp)
	movq	%r14, -128(%rbp)
	movq	%r15, -120(%rbp)
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -112(%rbp)
	movq	%rbx, -104(%rbp)
	leaq	-136(%rbp), %rsi
	movq	%r14, %rdi
	callq	_MainPanel_setState
	movl	(%r13), %esi
	movq	_HORIZONTAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%edi, %edi
	xorl	%edx, %edx
	movl	$-1, %ecx
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %r9
	pushq	$1
	pushq	%rbx
	callq	_ScreenManager_new
	addq	$16, %rsp
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	$-1, %edx
	callq	_ScreenManager_add
	movq	%r15, %rdi
	callq	_ProcessList_scan
	movl	$75, %edi
	callq	_millisleep
	movq	%r15, %rdi
	callq	_ProcessList_scan
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ScreenManager_run
	movq	_CRT_colors@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_RESET_COLOR@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_attron
	movq	_LINES@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	decq	%rdi
	movq	_COLS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_mvhline
	movq	(%r14), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_attroff
	xorl	%eax, %eax
	callq	_refresh
	xorl	%eax, %eax
	callq	_CRT_done
	cmpq	$0, 24(%rbx)
	je	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	callq	_Settings_write
LBB0_15:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_Header_delete
	movq	%r15, %rdi
	callq	_ProcessList_delete
	movq	%r13, %rdi
	callq	_ScreenManager_delete
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_UsersTable_delete
	movq	%rbx, %rdi
	callq	_Settings_delete
	movq	-80(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	callq	_Hashtable_delete
LBB0_17:
	xorl	%eax, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LC_CTYPE"

	.comm	_LC_CTYPE,4,2                   ## @LC_CTYPE
L_.str.1:                               ## @.str.1
	.asciz	"LC_ALL"

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_COLORSCHEME_MONOCHROME,4,2     ## @COLORSCHEME_MONOCHROME
	.comm	_HORIZONTAL,4,2                 ## @HORIZONTAL
	.comm	_CRT_colors,8,3                 ## @CRT_colors
	.comm	_RESET_COLOR,8,3                ## @RESET_COLOR
	.comm	_LINES,8,3                      ## @LINES
	.comm	_COLS,4,2                       ## @COLS
	.comm	_PROCDIR,8,3                    ## @PROCDIR
	.comm	_R_OK,4,2                       ## @R_OK
	.comm	_stderr,4,2                     ## @stderr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x0
Lloh2:
	adrp	x8, _LC_CTYPE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LC_CTYPE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_4
LBB0_2:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
	mov	x1, x0
Lloh7:
	adrp	x8, _LC_CTYPE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LC_CTYPE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	cbnz	x1, LBB0_4
; %bb.3:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_4:
	bl	_setlocale
	add	x8, sp, #40
	mov	x0, x20
	mov	x1, x19
	bl	_parseArguments
	bl	_Process_setupColumnWidths
	bl	_UsersTable_new
	mov	x19, x0
	ldr	x1, [sp, #56]
	ldr	w2, [sp, #76]
	bl	_ProcessList_new
	mov	x21, x0
	ldr	w0, [x0, #8]
	bl	_Settings_new
	mov	x20, x0
	str	x0, [x21]
	mov	x0, x21
	mov	x1, x20
	mov	w2, #2
	bl	_Header_new
	mov	x22, x0
	bl	_Header_populateFromSettings
	ldr	w8, [sp, #40]
	cmn	w8, #1
	b.eq	LBB0_6
; %bb.5:
	str	w8, [x20]
LBB0_6:
	ldr	w8, [sp, #72]
	cbnz	w8, LBB0_8
; %bb.7:
Lloh12:
	adrp	x8, _COLORSCHEME_MONOCHROME@GOTPAGE
Lloh13:
	ldr	x8, [x8, _COLORSCHEME_MONOCHROME@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x20, #32]
LBB0_8:
	ldr	x8, [sp, #64]
	cbz	x8, LBB0_10
; %bb.9:
	mov	w8, #1
	str	w8, [x20, #4]
LBB0_10:
	ldr	w0, [x20]
	ldr	w1, [x20, #32]
	bl	_CRT_init
	bl	_MainPanel_new
	mov	x24, x0
	mov	x0, x21
	mov	x1, x24
	bl	_ProcessList_setPanel
	ldr	w1, [x20, #4]
	mov	x0, x24
	bl	_MainPanel_updateTreeFunctions
	ldr	x8, [sp, #48]
	cmp	x8, #1
	b.lt	LBB0_12
; %bb.11:
	str	x8, [x20, #8]
	str	wzr, [x20, #4]
	mov	w8, #1
	str	w8, [x20, #16]
LBB0_12:
	mov	x0, x24
	bl	_Panel_getHeader
	mov	x1, x0
	mov	x0, x21
	bl	_ProcessList_printHeader
	stp	x22, x24, [sp]
	stp	x21, x19, [sp, #16]
	str	x20, [sp, #32]
	mov	x1, sp
	mov	x0, x24
	bl	_MainPanel_setState
	ldr	w1, [x22]
Lloh15:
	adrp	x8, _HORIZONTAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HORIZONTAL@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
	mov	w0, #0
	mov	w2, #0
	mov	w3, #-1
	mov	x5, x22
	mov	x6, x20
	mov	w7, #1
	bl	_ScreenManager_new
	mov	x23, x0
	mov	x1, x24
	mov	w2, #-1
	bl	_ScreenManager_add
	mov	x0, x21
	bl	_ProcessList_scan
	mov	w0, #75
	bl	_millisleep
	mov	x0, x21
	bl	_ProcessList_scan
	mov	x0, x23
	mov	x1, #0
	mov	x2, #0
	bl	_ScreenManager_run
Lloh18:
	adrp	x24, _CRT_colors@GOTPAGE
Lloh19:
	ldr	x24, [x24, _CRT_colors@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh20:
	adrp	x25, _RESET_COLOR@GOTPAGE
Lloh21:
	ldr	x25, [x25, _RESET_COLOR@GOTPAGEOFF]
	ldr	x9, [x25]
	ldr	w0, [x8, x9, lsl #2]
	bl	_attron
Lloh22:
	adrp	x8, _LINES@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LINES@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	sub	x0, x8, #1
Lloh25:
	adrp	x8, _COLS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _COLS@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
	mov	w1, #0
	mov	w2, #32
	bl	_mvhline
	ldr	x8, [x24]
	ldr	x9, [x25]
	ldr	w0, [x8, x9, lsl #2]
	bl	_attroff
	bl	_refresh
	bl	_CRT_done
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_14
; %bb.13:
	mov	x0, x20
	bl	_Settings_write
LBB0_14:
	mov	x0, x22
	bl	_Header_delete
	mov	x0, x21
	bl	_ProcessList_delete
	mov	x0, x23
	bl	_ScreenManager_delete
	mov	x0, x19
	bl	_UsersTable_delete
	mov	x0, x20
	bl	_Settings_delete
	ldr	x0, [sp, #56]
	cbz	x0, LBB0_16
; %bb.15:
	bl	_Hashtable_delete
LBB0_16:
	mov	w0, #0
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LC_CTYPE"

	.comm	_LC_CTYPE,4,2                   ; @LC_CTYPE
l_.str.1:                               ; @.str.1
	.asciz	"LC_ALL"

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_COLORSCHEME_MONOCHROME,4,2     ; @COLORSCHEME_MONOCHROME
	.comm	_HORIZONTAL,4,2                 ; @HORIZONTAL
	.comm	_CRT_colors,8,3                 ; @CRT_colors
	.comm	_RESET_COLOR,8,3                ; @RESET_COLOR
	.comm	_LINES,8,3                      ; @LINES
	.comm	_COLS,4,2                       ; @COLS
	.comm	_PROCDIR,8,3                    ; @PROCDIR
	.comm	_R_OK,4,2                       ; @R_OK
	.comm	_stderr,4,2                     ; @stderr
.subsections_via_symbols
