	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcessPage_OnViewSelectColumns ## -- Begin function ProcessPage_OnViewSelectColumns
	.p2align	4, 0x90
_ProcessPage_OnViewSelectColumns:       ## @ProcessPage_OnViewSelectColumns
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_hInst@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_IDD_COLUMNS_DIALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAKEINTRESOURCEW
	movq	_hMainWnd@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_ColumnsDialogWndProc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_DialogBoxW
	movq	_IDOK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	movq	_hProcessPageHeaderCtrl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_Header_GetItemCount
	testl	%eax, %eax
	jle	LBB0_4
## %bb.2:
	movl	%eax, %ebx
	incl	%ebx
	movq	_hProcessPageListCtrl@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rbx), %esi
	movl	(%r14), %edi
	callq	_ListView_DeleteColumn
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_3
LBB0_4:
	movq	_COLUMN_NMAX@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_7
## %bb.5:
	movq	_TaskManagerSettings@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rcx
	movq	8(%rdx), %rdx
	movq	_ColumnPresets@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edi, (%rcx,%rdi,4)
	movl	(%rsi,%rdi,4), %ebx
	movl	%ebx, (%rdx,%rdi,4)
	incq	%rdi
	movslq	(%rax), %rbx
	cmpq	%rbx, %rdi
	jl	LBB0_6
LBB0_7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_AddColumns                     ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hInst,4,2                      ## @hInst
	.comm	_IDD_COLUMNS_DIALOG,4,2         ## @IDD_COLUMNS_DIALOG
	.comm	_hMainWnd,4,2                   ## @hMainWnd
	.comm	_ColumnsDialogWndProc,4,2       ## @ColumnsDialogWndProc
	.comm	_IDOK,8,3                       ## @IDOK
	.comm	_hProcessPageHeaderCtrl,4,2     ## @hProcessPageHeaderCtrl
	.comm	_hProcessPageListCtrl,4,2       ## @hProcessPageListCtrl
	.comm	_COLUMN_NMAX,4,2                ## @COLUMN_NMAX
	.comm	_TaskManagerSettings,16,3       ## @TaskManagerSettings
	.comm	_ColumnPresets,8,3              ## @ColumnPresets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcessPage_OnViewSelectColumns ; -- Begin function ProcessPage_OnViewSelectColumns
	.p2align	2
_ProcessPage_OnViewSelectColumns:       ; @ProcessPage_OnViewSelectColumns
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _hInst@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hInst@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _IDD_COLUMNS_DIALOG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IDD_COLUMNS_DIALOG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_MAKEINTRESOURCEW
	mov	x1, x0
Lloh6:
	adrp	x8, _hMainWnd@GOTPAGE
Lloh7:
	ldr	x8, [x8, _hMainWnd@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _ColumnsDialogWndProc@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ColumnsDialogWndProc@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_DialogBoxW
Lloh12:
	adrp	x8, _IDOK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IDOK@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.1:
Lloh15:
	adrp	x8, _hProcessPageHeaderCtrl@GOTPAGE
Lloh16:
	ldr	x8, [x8, _hProcessPageHeaderCtrl@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_Header_GetItemCount
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.2:
	add	w19, w0, #1
Lloh18:
	adrp	x20, _hProcessPageListCtrl@GOTPAGE
Lloh19:
	ldr	x20, [x20, _hProcessPageListCtrl@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w1, w19, #2
	ldr	w0, [x20]
	bl	_ListView_DeleteColumn
	sub	w19, w19, #1
	cmp	w19, #1
	b.hi	LBB0_3
LBB0_4:
Lloh20:
	adrp	x8, _COLUMN_NMAX@GOTPAGE
Lloh21:
	ldr	x8, [x8, _COLUMN_NMAX@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x9, #0
Lloh22:
	adrp	x12, _TaskManagerSettings@GOTPAGE
Lloh23:
	ldr	x12, [x12, _TaskManagerSettings@GOTPAGEOFF]
Lloh24:
	adrp	x10, _ColumnPresets@GOTPAGE
Lloh25:
	ldr	x10, [x10, _ColumnPresets@GOTPAGEOFF]
Lloh26:
	ldr	x10, [x10]
	ldp	x11, x12, [x12]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x13, x9, #2
	str	w9, [x11, x13]
	ldr	w14, [x10, x13]
	str	w14, [x12, x13]
	add	x9, x9, #1
	ldrsw	x13, [x8]
	cmp	x9, x13
	b.lt	LBB0_6
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_AddColumns
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_hInst,4,2                      ; @hInst
	.comm	_IDD_COLUMNS_DIALOG,4,2         ; @IDD_COLUMNS_DIALOG
	.comm	_hMainWnd,4,2                   ; @hMainWnd
	.comm	_ColumnsDialogWndProc,4,2       ; @ColumnsDialogWndProc
	.comm	_IDOK,8,3                       ; @IDOK
	.comm	_hProcessPageHeaderCtrl,4,2     ; @hProcessPageHeaderCtrl
	.comm	_hProcessPageListCtrl,4,2       ; @hProcessPageListCtrl
	.comm	_COLUMN_NMAX,4,2                ; @COLUMN_NMAX
	.comm	_TaskManagerSettings,16,3       ; @TaskManagerSettings
	.comm	_ColumnPresets,8,3              ; @ColumnPresets
.subsections_via_symbols
