	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RefreshTreeItem                ## -- Begin function RefreshTreeItem
	.p2align	4, 0x90
_RefreshTreeItem:                       ## @RefreshTreeItem
	.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, %r15
	movl	%edi, %ebx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	leaq	-96(%rbp), %rdx
	callq	_GetItemPath
	cmpl	$0, (%rax)
	movl	-96(%rbp), %edi
	je	LBB0_3
## %bb.1:
	movq	_KEY_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-44(%rbp), %r8
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_RegOpenKeyExW
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_55
## %bb.2:
	movl	-44(%rbp), %edi
	jmp	LBB0_4
LBB0_3:
	movl	%edi, -44(%rbp)
LBB0_4:
	leaq	-64(%rbp), %r8
	leaq	-48(%rbp), %r9
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_RegQueryInfoKeyW
	addq	$48, %rsp
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_55
## %bb.5:
	movq	_TVIF_CHILDREN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	movq	%r15, -128(%rbp)
	movl	-64(%rbp), %eax
	movl	%eax, -144(%rbp)
	leaq	-144(%rbp), %rsi
	movl	%ebx, %edi
	callq	_TreeView_SetItem
	testl	%eax, %eax
	je	LBB0_55
## %bb.6:
	movq	_TVIS_EXPANDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_TreeView_GetItemState
	testq	%rax, %rax
	je	LBB0_19
## %bb.7:
	incl	-48(%rbp)
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	-48(%rbp), %edx
	shll	$2, %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_55
## %bb.8:
	movl	-48(%rbp), %eax
	movl	%eax, -140(%rbp)
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_TreeView_GetChild
	movq	%rax, %rdx
	movb	$1, %al
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.9:
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%ecx, %ecx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	-48(%rbp), %ebx
	addl	%r13d, %ebx
	cmpl	%ecx, %ebx
	jl	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rdx, %r15
	xorl	%eax, %eax
	callq	_GetProcessHeap
	leal	40004(,%rbx,4), %ecx
	movl	%eax, %edi
	xorl	%esi, %esi
	testq	%r14, %r14
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdx
	callq	_HeapReAlloc
	testq	%rax, %rax
	jne	LBB0_14
	jmp	LBB0_22
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	%ecx, %edx
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_22
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rdx
	addl	$10001, %ebx                    ## imm = 0x2711
	movq	%rax, %r14
	movl	%ebx, %ecx
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	_TVIF_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	movq	%rdx, -128(%rbp)
	movslq	%r13d, %rax
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%rax,4), %r14
	movq	%r14, -136(%rbp)
	movl	%ecx, %r12d
	movl	%ecx, %eax
	subl	%r13d, %eax
	movl	%eax, -140(%rbp)
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movq	%rdx, %r15
	leaq	-144(%rbp), %rsi
	callq	_TreeView_GetItem
	testl	%eax, %eax
	je	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	callq	_wcslen
	addl	%eax, %r13d
	incl	%r13d
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_TreeView_GetNextSibling
	movq	%rax, %rdx
	testq	%rax, %rax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	%r12d, %ecx
	jne	LBB0_10
## %bb.17:
	testq	%r14, %r14
	je	LBB0_23
## %bb.18:
	movslq	%r13d, %rax
	movl	$0, (%r14,%rax,4)
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_24
LBB0_19:
	movl	-44(%rbp), %edi
	callq	_RegCloseKey
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_55
LBB0_20:
	xorl	%r14d, %r14d
	jmp	LBB0_25
LBB0_21:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
LBB0_22:
	movq	-112(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_52
LBB0_23:
	xorl	%r14d, %r14d
LBB0_24:
	movq	-104(%rbp), %r15                ## 8-byte Reload
LBB0_25:
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edi
	movq	%r15, %rsi
	callq	_TreeView_GetChild
	testq	%rax, %rax
	je	LBB0_30
## %bb.26:
	movq	%rax, %rbx
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_28 Depth=1
	movq	%r13, %rbx
	testq	%r13, %r13
	je	LBB0_30
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	movq	%rbx, %rsi
	callq	_TreeView_GetNextSibling
	movq	%rax, %r13
	movl	%r12d, %edi
	movq	%rbx, %rsi
	callq	_RefreshTreeItem
	movq	_FALSE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	movl	%r12d, %edi
	movq	%rbx, %rsi
	callq	_TreeView_DeleteItem
	jmp	LBB0_27
LBB0_30:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	_FALSE@GOTPCREL(%rip), %r13
	movq	(%r13), %r14
	cmpl	$0, -64(%rbp)
	jle	LBB0_49
## %bb.31:
	xorl	%ebx, %ebx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_32:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_36 Depth 2
	movl	-48(%rbp), %eax
	movl	%eax, -92(%rbp)
	movl	-44(%rbp), %edi
	movl	%ebx, %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	leaq	-92(%rbp), %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_RegEnumKeyExW
	addq	$16, %rsp
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_46
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	cmpb	$0, -84(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_40
## %bb.34:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_40
## %bb.35:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	%rax, %r13
	.p2align	4, 0x90
LBB0_36:                                ##   Parent Loop BB0_32 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_wcscmp
	testl	%eax, %eax
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=2
	movq	%r13, %rdi
	callq	_wcslen
	cmpl	$0, 4(%r13,%rax,4)
	leaq	4(%r13,%rax,4), %r13
	jne	LBB0_36
	jmp	LBB0_39
LBB0_38:                                ##   in Loop: Header=BB0_32 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_39:                                ##   in Loop: Header=BB0_32 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %r13
LBB0_40:                                ##   in Loop: Header=BB0_32 Depth=1
	cmpq	(%r13), %r14
	jne	LBB0_46
## %bb.41:                              ##   in Loop: Header=BB0_32 Depth=1
	movl	$0, -60(%rbp)
	movl	-44(%rbp), %edi
	movq	_KEY_QUERY_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	leaq	-88(%rbp), %r8
	callq	_RegOpenKeyExW
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_45
## %bb.42:                              ##   in Loop: Header=BB0_32 Depth=1
	movl	-88(%rbp), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	leaq	-60(%rbp), %r8
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_RegQueryInfoKeyW
	addq	$48, %rsp
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_32 Depth=1
	movl	$0, -60(%rbp)
LBB0_44:                                ##   in Loop: Header=BB0_32 Depth=1
	movl	-88(%rbp), %edi
	callq	_RegCloseKey
LBB0_45:                                ##   in Loop: Header=BB0_32 Depth=1
	movl	-60(%rbp), %r8d
	movl	%r12d, %edi
	movq	%r15, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_AddEntryToTree
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_46:                                ##   in Loop: Header=BB0_32 Depth=1
	incl	%ebx
	cmpl	-64(%rbp), %ebx
	jge	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	(%r13), %r14
	jmp	LBB0_32
LBB0_48:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_49:
	movl	-44(%rbp), %edi
	callq	_RegCloseKey
	testq	%r14, %r14
	je	LBB0_51
## %bb.50:
	movq	_TVM_SORTCHILDREN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	xorl	%edx, %edx
	movl	%r15d, %ecx
	callq	_SendMessageW
LBB0_51:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	-72(%rbp), %r14                 ## 8-byte Reload
LBB0_52:
	testq	%r14, %r14
	je	LBB0_54
## %bb.53:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
LBB0_54:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_HeapFree
LBB0_55:
	movq	%r13, %rax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_KEY_READ,4,2                   ## @KEY_READ
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_TVIF_CHILDREN,4,2              ## @TVIF_CHILDREN
	.comm	_TVIS_EXPANDED,4,2              ## @TVIS_EXPANDED
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_TVIF_TEXT,4,2                  ## @TVIF_TEXT
	.comm	_KEY_QUERY_VALUE,4,2            ## @KEY_QUERY_VALUE
	.comm	_TVM_SORTCHILDREN,4,2           ## @TVM_SORTCHILDREN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RefreshTreeItem                ; -- Begin function RefreshTreeItem
	.p2align	2
_RefreshTreeItem:                       ; @RefreshTreeItem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x26, _FALSE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _FALSE@GOTPAGEOFF]
	ldr	x23, [x26]
	add	x2, sp, #76
	bl	_GetItemPath
	mov	x1, x0
	ldr	w8, [x0]
	ldr	w0, [sp, #76]
Lloh2:
	adrp	x21, _ERROR_SUCCESS@GOTPAGE
Lloh3:
	ldr	x21, [x21, _ERROR_SUCCESS@GOTPAGEOFF]
	cbz	w8, LBB0_3
; %bb.1:
Lloh4:
	adrp	x8, _KEY_READ@GOTPAGE
Lloh5:
	ldr	x8, [x8, _KEY_READ@GOTPAGEOFF]
Lloh6:
	ldr	w3, [x8]
	add	x4, sp, #72
	mov	w2, #0
	bl	_RegOpenKeyExW
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_52
; %bb.2:
	ldr	w0, [sp, #72]
	b	LBB0_4
LBB0_3:
	str	w0, [sp, #72]
LBB0_4:
	stp	xzr, xzr, [sp]
	add	x4, sp, #64
	add	x5, sp, #60
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w6, #0
	mov	w7, #0
	bl	_RegQueryInfoKeyW
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_52
; %bb.5:
Lloh7:
	adrp	x8, _TVIF_CHILDREN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TVIF_CHILDREN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [sp, #48]
	str	x19, [sp, #40]
	ldr	w8, [sp, #64]
	str	w8, [sp, #24]
	add	x1, sp, #24
	mov	x0, x20
	bl	_TreeView_SetItem
	cbz	w0, LBB0_52
; %bb.6:
Lloh10:
	adrp	x8, _TVIS_EXPANDED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TVIS_EXPANDED@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_TreeView_GetItemState
	cbz	x0, LBB0_19
; %bb.7:
	ldr	w8, [sp, #60]
	add	w8, w8, #1
	str	w8, [sp, #60]
	bl	_GetProcessHeap
	ldr	w8, [sp, #60]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_HeapAlloc
	cbz	x0, LBB0_52
; %bb.8:
	mov	x21, x0
	ldr	w8, [sp, #60]
	str	w8, [sp, #28]
	mov	x0, x20
	mov	x1, x19
	bl	_TreeView_GetChild
	cbz	x0, LBB0_20
; %bb.9:
	mov	x24, x0
	mov	w28, #0
	mov	w27, #0
	mov	x25, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #60]
	add	w8, w8, w28
	cmp	w8, w27
	b.ge	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x22, x25
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w9, #10001
	add	w27, w8, w9
	bl	_GetProcessHeap
	lsl	w3, w27, #2
	mov	w1, #0
	cbz	x25, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x2, x25
	bl	_HeapReAlloc
	mov	x22, x0
	cbnz	x0, LBB0_15
	b	LBB0_53
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x2, x3
	bl	_HeapAlloc
	mov	x22, x0
	cbz	x0, LBB0_53
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh13:
	adrp	x8, _TVIF_TEXT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TVIF_TEXT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [sp, #48]
	add	x25, x22, w28, sxtw #2
	stp	x25, x24, [sp, #32]
	sub	w8, w27, w28
	str	w8, [sp, #28]
	add	x1, sp, #24
	mov	x0, x20
	bl	_TreeView_GetItem
	cbz	w0, LBB0_49
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x25
	bl	_wcslen
	add	w8, w28, w0
	add	w28, w8, #1
	mov	x0, x20
	mov	x1, x24
	bl	_TreeView_GetNextSibling
	mov	x24, x0
	mov	x25, x22
	cbnz	x0, LBB0_10
; %bb.17:
	cbz	x22, LBB0_21
; %bb.18:
	mov	w25, #0
	str	wzr, [x22, w28, sxtw #2]
	b	LBB0_22
LBB0_19:
	ldr	w0, [sp, #72]
	bl	_RegCloseKey
Lloh16:
	adrp	x8, _TRUE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh18:
	ldr	x23, [x8]
	b	LBB0_52
LBB0_20:
	mov	x22, #0
LBB0_21:
	mov	w25, #1
LBB0_22:
	mov	x0, x20
	mov	x1, x19
	bl	_TreeView_GetChild
	cbz	x0, LBB0_27
; %bb.23:
	mov	x23, x0
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x23, x24
	cbz	x24, LBB0_27
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_TreeView_GetNextSibling
	mov	x24, x0
	mov	x0, x20
	mov	x1, x23
	bl	_RefreshTreeItem
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_TreeView_DeleteItem
	b	LBB0_24
LBB0_27:
	ldr	x27, [x26]
	ldr	w8, [sp, #64]
	cmp	w8, #1
	b.lt	LBB0_46
; %bb.28:
	mov	w23, #0
	mov	x28, x27
Lloh19:
	adrp	x24, _ERROR_SUCCESS@GOTPAGE
Lloh20:
	ldr	x24, [x24, _ERROR_SUCCESS@GOTPAGEOFF]
LBB0_29:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_33 Depth 2
	ldr	w8, [sp, #60]
	str	w8, [sp, #20]
	ldr	w0, [sp, #72]
	add	x3, sp, #20
	mov	x1, x23
	mov	x2, x21
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	x7, #0
	bl	_RegEnumKeyExW
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_43
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	tbnz	w25, #0, LBB0_37
; %bb.31:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	w8, [x22]
	cbz	w8, LBB0_37
; %bb.32:                               ;   in Loop: Header=BB0_29 Depth=1
	mov	x24, x22
LBB0_33:                                ;   Parent Loop BB0_29 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x24
	mov	x1, x21
	bl	_wcscmp
	cbz	w0, LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=2
	mov	x0, x24
	bl	_wcslen
	add	x24, x24, x0, lsl #2
	ldr	w8, [x24, #4]!
	cbnz	w8, LBB0_33
	b	LBB0_36
LBB0_35:                                ;   in Loop: Header=BB0_29 Depth=1
Lloh21:
	adrp	x8, _TRUE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh23:
	ldr	x27, [x8]
LBB0_36:                                ;   in Loop: Header=BB0_29 Depth=1
Lloh24:
	adrp	x24, _ERROR_SUCCESS@GOTPAGE
Lloh25:
	ldr	x24, [x24, _ERROR_SUCCESS@GOTPAGEOFF]
LBB0_37:                                ;   in Loop: Header=BB0_29 Depth=1
	ldr	x8, [x26]
	cmp	x27, x8
	b.ne	LBB0_43
; %bb.38:                               ;   in Loop: Header=BB0_29 Depth=1
	str	wzr, [sp, #16]
	ldr	w0, [sp, #72]
Lloh26:
	adrp	x8, _KEY_QUERY_VALUE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _KEY_QUERY_VALUE@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
	add	x4, sp, #68
	mov	x1, x21
	mov	w2, #0
	bl	_RegOpenKeyExW
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_42
; %bb.39:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	w0, [sp, #68]
	stp	xzr, xzr, [sp]
	add	x4, sp, #16
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	x5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_RegQueryInfoKeyW
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_29 Depth=1
	str	wzr, [sp, #16]
LBB0_41:                                ;   in Loop: Header=BB0_29 Depth=1
	ldr	w0, [sp, #68]
	bl	_RegCloseKey
LBB0_42:                                ;   in Loop: Header=BB0_29 Depth=1
	ldr	w4, [sp, #16]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, #0
	bl	_AddEntryToTree
Lloh29:
	adrp	x8, _TRUE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh31:
	ldr	x28, [x8]
LBB0_43:                                ;   in Loop: Header=BB0_29 Depth=1
	add	w23, w23, #1
	ldr	w8, [sp, #64]
	cmp	w23, w8
	b.ge	LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	x27, [x26]
	b	LBB0_29
LBB0_45:
	mov	x27, x28
LBB0_46:
	ldr	w0, [sp, #72]
	bl	_RegCloseKey
	cbz	x27, LBB0_48
; %bb.47:
Lloh32:
	adrp	x8, _TVM_SORTCHILDREN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _TVM_SORTCHILDREN@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	mov	x3, x19
	bl	_SendMessageW
LBB0_48:
Lloh35:
	adrp	x8, _TRUE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh37:
	ldr	x23, [x8]
LBB0_49:
	cbz	x22, LBB0_51
LBB0_50:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x22
	bl	_HeapFree
LBB0_51:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x21
	bl	_HeapFree
LBB0_52:
	mov	x0, x23
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_53:
	mov	x22, x25
	cbnz	x22, LBB0_50
	b	LBB0_51
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_KEY_READ,4,2                   ; @KEY_READ
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_TVIF_CHILDREN,4,2              ; @TVIF_CHILDREN
	.comm	_TVIS_EXPANDED,4,2              ; @TVIS_EXPANDED
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_TVIF_TEXT,4,2                  ; @TVIF_TEXT
	.comm	_KEY_QUERY_VALUE,4,2            ; @KEY_QUERY_VALUE
	.comm	_TVM_SORTCHILDREN,4,2           ; @TVM_SORTCHILDREN
.subsections_via_symbols
