	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function RegFindWalk
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_RegFindWalk
	.p2align	4, 0x90
_RegFindWalk:                           ## @RegFindWalk
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movl	(%rbx), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	(%r14), %r13
	movq	%r13, %rdi
	movq	%r15, -128(%rbp)                ## 8-byte Spill
	movq	%r15, %rsi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %r15
	movq	%r12, %r8
	callq	_RegFindRecurse
	movq	_TRUE@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_71
LBB0_2:
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_wcslen
	movq	_MAX_PATH@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	jge	LBB0_3
## %bb.4:
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_wcscpy
	cmpq	$0, (%r12)
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-120(%rbp), %r15                ## 8-byte Reload
	je	LBB0_33
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_23 Depth 2
                                        ##     Child Loop BB0_29 Depth 2
	xorl	%eax, %eax
	callq	_DoEvents
	testq	%rax, %rax
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movl	$92, %esi
	callq	_wcsrchr
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rsi
	addq	$8, %rsi
	movl	(%r13), %edx
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_lstrcpynW
	movq	$0, (%rbx)
	movq	_KEY_ALL_ACCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	leaq	-80(%rbp), %r8
	callq	_RegOpenKeyExW
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-80(%rbp), %rdi
	jmp	LBB0_10
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	callq	_wcscpy
	movq	$0, (%r12)
	movq	%r14, -80(%rbp)
	movq	%r14, %rdi
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	subq	$48, %rsp
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rsp)
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	leaq	-52(%rbp), %r8
	xorl	%r9d, %r9d
	callq	_RegQueryInfoKeyW
	addq	$48, %rsp
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_68
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rbx
	movl	-52(%rbp), %edi
	shll	$3, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_68
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r14
	movl	-52(%rbp), %esi
	shll	$3, %esi
	movq	%rax, %rdi
	callq	_ZeroMemory
	movl	-52(%rbp), %r12d
	testl	%r12d, %r12d
	jle	LBB0_21
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%eax, %eax
	callq	_DoEvents
	testq	%rax, %rax
	jne	LBB0_64
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movl	(%rbx), %eax
	shll	$3, %eax
	movq	_s_cbName@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	-80(%rbp), %rdi
	movq	_s_szName@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	subq	$16, %rsp
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movl	%r12d, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_RegEnumKeyExW
	addq	$16, %rsp
	movq	_ERROR_NO_MORE_ITEMS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	_s_szName@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__wcsdup
	movq	%rax, (%r14,%r12,8)
	incq	%r12
	movslq	-52(%rbp), %rax
	cmpq	%rax, %r12
	jl	LBB0_14
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %r12d
	jmp	LBB0_21
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, -52(%rbp)
	jmp	LBB0_21
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-52(%rbp), %r12d
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_compare@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	$8, %edx
	callq	_qsort
	cmpl	$0, -52(%rbp)
	jle	LBB0_30
## %bb.22:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	xorl	%ebx, %ebx
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_58:                                ##   in Loop: Header=BB0_23 Depth=2
	movq	-80(%rbp), %rdi
	movq	(%r14,%rbx,8), %rsi
	xorl	%edx, %edx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_RegFindRecurse
	testq	%rax, %rax
	jne	LBB0_59
LBB0_45:                                ##   in Loop: Header=BB0_23 Depth=2
	incq	%rbx
	movslq	-52(%rbp), %rax
	cmpq	%rax, %rbx
	jge	LBB0_27
LBB0_23:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%eax, %eax
	callq	_DoEvents
	testq	%rax, %rax
	jne	LBB0_64
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=2
	testq	%r12, %r12
	je	LBB0_25
## %bb.46:                              ##   in Loop: Header=BB0_23 Depth=2
	movq	_RSF_LOOKATKEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_s_dwFlags@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_58
## %bb.47:                              ##   in Loop: Header=BB0_23 Depth=2
	movq	(%r14,%rbx,8), %rdi
	movq	_s_szFindWhat@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CompareName
	testq	%rax, %rax
	je	LBB0_58
	jmp	LBB0_48
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_23 Depth=2
	movq	(%r14,%rbx,8), %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	callq	__wcsicmp
	testq	%rax, %rax
	jne	LBB0_26
## %bb.44:                              ##   in Loop: Header=BB0_23 Depth=2
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_45
LBB0_26:                                ##   in Loop: Header=BB0_23 Depth=2
	xorl	%r12d, %r12d
	jmp	LBB0_45
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	testl	%eax, %eax
	jle	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14,%rbx,8), %rdi
	callq	_free
	incq	%rbx
	movslq	-52(%rbp), %rax
	cmpq	%rax, %rbx
	jl	LBB0_29
LBB0_30:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	callq	_free
	movq	-80(%rbp), %rdi
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	cmpq	%rdi, %r14
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_5 Depth=1
	callq	_RegCloseKey
LBB0_32:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-104(%rbp), %r12                ## 8-byte Reload
	cmpq	$0, (%r12)
	jne	LBB0_5
LBB0_33:
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	_HKEY_CLASSES_ROOT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_36
## %bb.34:
	movq	_HKEY_CURRENT_USER@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, (%rbx)
	movq	_s_empty@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edx, %edx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_RegFindRecurse
	testq	%rax, %rax
	movq	_TRUE@GOTPCREL(%rip), %rcx
	jne	LBB0_71
## %bb.35:
	movq	(%rbx), %rax
LBB0_36:
	movq	_HKEY_CURRENT_USER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_39
## %bb.37:
	movq	_HKEY_LOCAL_MACHINE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, (%rbx)
	movq	_s_empty@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edx, %edx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_RegFindRecurse
	testq	%rax, %rax
	jne	LBB0_57
## %bb.38:
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
LBB0_39:
	movq	_HKEY_LOCAL_MACHINE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_42
## %bb.40:
	movq	_HKEY_USERS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, (%rbx)
	movq	_s_empty@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edx, %edx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_RegFindRecurse
	testq	%rax, %rax
	jne	LBB0_57
## %bb.41:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
LBB0_42:
	movq	_HKEY_USERS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_68
## %bb.43:
	movq	_HKEY_CURRENT_CONFIG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rdi, (%rax)
	movq	_s_empty@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edx, %edx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_RegFindRecurse
	testq	%rax, %rax
	jne	LBB0_57
	jmp	LBB0_68
LBB0_3:
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_71
LBB0_59:
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %r13
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	callq	_wcslen
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_wcslen
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	leal	16(,%rax,8), %edi
	callq	_malloc
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_64
## %bb.60:
	cmpq	$0, (%r12)
	je	LBB0_62
## %bb.61:
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_wcscpy
	movq	(%r15), %rdi
	movq	_s_backslash@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_wcscat
	jmp	LBB0_63
LBB0_48:
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	callq	_wcslen
	movl	%eax, %r15d
	movq	(%r14,%rbx,8), %rdi
	callq	_wcslen
                                        ## kill: def $eax killed $eax def $rax
	addl	%r15d, %eax
	leal	16(,%rax,8), %edi
	callq	_malloc
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_64
## %bb.49:
	cmpq	$0, (%r12)
	je	LBB0_51
## %bb.50:
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_wcscpy
	movq	(%r15), %rdi
	movq	_s_backslash@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_wcscat
	jmp	LBB0_52
LBB0_64:
	cmpl	$0, -52(%rbp)
	jle	LBB0_67
## %bb.65:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_66:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rbx,8), %rdi
	callq	_free
	incq	%rbx
	movslq	-52(%rbp), %rax
	cmpq	%rax, %rbx
	jl	LBB0_66
LBB0_67:
	movq	%r14, %rdi
	callq	_free
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_68:
	movq	-80(%rbp), %rdi
	movq	_FALSE@GOTPCREL(%rip), %rcx
	cmpq	%rdi, -88(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_71
LBB0_70:
	movq	%rcx, %rbx
	callq	_RegCloseKey
	movq	%rbx, %rcx
LBB0_71:
	movq	(%rcx), %rax
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_73
## %bb.72:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_62:
	movq	$0, (%rax)
LBB0_63:
	movq	(%r15), %rdi
	movq	%r13, %rsi
	callq	_wcscat
	movq	%r13, %rdi
	callq	_free
	jmp	LBB0_53
LBB0_51:
	movq	$0, (%rax)
LBB0_52:
	movq	(%r15), %rdi
	movq	(%r14,%rbx,8), %rsi
	callq	_wcscat
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	$0, (%rax)
LBB0_53:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	cmpl	$0, -52(%rbp)
	jle	LBB0_56
## %bb.54:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_55:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rbx,8), %rdi
	callq	_free
	incq	%rbx
	movslq	-52(%rbp), %rax
	cmpq	%rax, %rbx
	jl	LBB0_55
LBB0_56:
	movq	%r14, %rdi
	callq	_free
LBB0_57:
	movq	-80(%rbp), %rdi
	movq	_TRUE@GOTPCREL(%rip), %rcx
	cmpq	%rdi, -88(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_70
	jmp	LBB0_71
LBB0_73:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_KEY_ALL_ACCESS,4,2             ## @KEY_ALL_ACCESS
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_s_cbName,4,2                   ## @s_cbName
	.comm	_s_szName,4,2                   ## @s_szName
	.comm	_ERROR_NO_MORE_ITEMS,8,3        ## @ERROR_NO_MORE_ITEMS
	.comm	_compare,4,2                    ## @compare
	.comm	_s_dwFlags,4,2                  ## @s_dwFlags
	.comm	_RSF_LOOKATKEYS,4,2             ## @RSF_LOOKATKEYS
	.comm	_s_szFindWhat,4,2               ## @s_szFindWhat
	.comm	_s_backslash,8,3                ## @s_backslash
	.comm	_HKEY_CLASSES_ROOT,8,3          ## @HKEY_CLASSES_ROOT
	.comm	_HKEY_CURRENT_USER,8,3          ## @HKEY_CURRENT_USER
	.comm	_s_empty,8,3                    ## @s_empty
	.comm	_HKEY_LOCAL_MACHINE,8,3         ## @HKEY_LOCAL_MACHINE
	.comm	_HKEY_USERS,8,3                 ## @HKEY_USERS
	.comm	_HKEY_CURRENT_CONFIG,8,3        ## @HKEY_CURRENT_CONFIG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RegFindWalk                    ; -- Begin function RegFindWalk
	.p2align	2
_RegFindWalk:                           ; @RegFindWalk
	.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
	sub	sp, sp, #48
	mov	x21, x4
	mov	x20, x3
	mov	x25, x1
	mov	x22, x0
	mov	x27, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x28, _MAX_PATH@GOTPAGE
Lloh4:
	ldr	x28, [x28, _MAX_PATH@GOTPAGEOFF]
	ldr	w8, [x28]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x24, x9, x8
	mov	sp, x24
	ldr	w8, [x28]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x23, x9, x8
	mov	sp, x23
	ldr	x19, [x0]
	mov	x0, x19
	bl	_RegFindRecurse
Lloh9:
	adrp	x26, _TRUE@GOTPAGE
Lloh10:
	ldr	x26, [x26, _TRUE@GOTPAGEOFF]
	cbnz	x0, LBB0_69
; %bb.1:
	mov	x0, x25
	bl	_wcslen
	ldr	w8, [x28]
Lloh11:
	adrp	x26, _FALSE@GOTPAGE
Lloh12:
	ldr	x26, [x26, _FALSE@GOTPAGEOFF]
	cmp	w0, w8
	b.ge	LBB0_69
; %bb.2:
	mov	x0, x23
	mov	x1, x25
	bl	_wcscpy
	ldr	x8, [x23]
	stur	x19, [x29, #-112]               ; 8-byte Folded Spill
	cbz	x8, LBB0_35
; %bb.3:
	stur	x27, [x29, #-120]               ; 8-byte Folded Spill
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_24 Depth 2
                                        ;     Child Loop BB0_31 Depth 2
	bl	_DoEvents
	cbnz	x0, LBB0_69
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	mov	w1, #92
	bl	_wcsrchr
	cbz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	add	x1, x0, #8
	ldr	w2, [x28]
	mov	x0, x24
	bl	_lstrcpynW
	str	xzr, [x25]
Lloh13:
	adrp	x8, _KEY_ALL_ACCESS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _KEY_ALL_ACCESS@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	sub	x4, x29, #104
	mov	x0, x19
	mov	x1, x23
	mov	w2, #0
	bl	_RegOpenKeyExW
Lloh16:
	adrp	x19, _ERROR_SUCCESS@GOTPAGE
Lloh17:
	ldr	x19, [x19, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_69
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x0, [x29, #-104]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, x23
	bl	_wcscpy
	str	xzr, [x23]
	stur	x19, [x29, #-104]
	mov	x0, x19
Lloh18:
	adrp	x19, _ERROR_SUCCESS@GOTPAGE
Lloh19:
	ldr	x19, [x19, _ERROR_SUCCESS@GOTPAGEOFF]
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #-32]!
	sub	x4, x29, #92
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_RegQueryInfoKeyW
	add	sp, sp, #32
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_57
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	w8, [x29, #-92]
	lsl	w0, w8, #3
	bl	_malloc
	cbz	x0, LBB0_57
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	ldur	w8, [x29, #-92]
	lsl	w1, w8, #3
	bl	_ZeroMemory
	ldur	w27, [x29, #-92]
	cmp	w27, #1
	b.lt	LBB0_20
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, #0
LBB0_13:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_DoEvents
	cbnz	x0, LBB0_53
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	w8, [x28]
	lsl	w8, w8, #3
Lloh20:
	adrp	x3, _s_cbName@GOTPAGE
Lloh21:
	ldr	x3, [x3, _s_cbName@GOTPAGEOFF]
	str	w8, [x3]
	ldur	x0, [x29, #-104]
Lloh22:
	adrp	x8, _s_szName@GOTPAGE
Lloh23:
	ldr	x8, [x8, _s_szName@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x1, x27
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_RegEnumKeyExW
Lloh25:
	adrp	x8, _ERROR_NO_MORE_ITEMS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ERROR_NO_MORE_ITEMS@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=2
Lloh28:
	adrp	x8, _s_szName@GOTPAGE
Lloh29:
	ldr	x8, [x8, _s_szName@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	__wcsdup
	str	x0, [x25, x27, lsl #3]
	add	x27, x27, #1
	ldursw	x8, [x29, #-92]
	cmp	x27, x8
	b.lt	LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, x8
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	stur	w27, [x29, #-92]
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w27, [x29, #-92]
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh31:
	adrp	x8, _compare@GOTPAGE
Lloh32:
	ldr	x8, [x8, _compare@GOTPAGEOFF]
Lloh33:
	ldr	w3, [x8]
	mov	x0, x25
	mov	x1, x27
	mov	w2, #8
	bl	_qsort
	ldur	w8, [x29, #-92]
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, #0
	ldr	x19, [x26]
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_24 Depth=2
	ldr	x0, [x25, x27, lsl #3]
	mov	x1, x24
	bl	__wcsicmp
Lloh34:
	adrp	x8, _TRUE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x19, x8, xzr, eq
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=2
	add	x27, x27, #1
	ldursw	x8, [x29, #-92]
	cmp	x27, x8
	b.ge	LBB0_29
LBB0_24:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_DoEvents
	cbnz	x0, LBB0_53
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=2
	cbz	x19, LBB0_22
; %bb.26:                               ;   in Loop: Header=BB0_24 Depth=2
Lloh37:
	adrp	x8, _s_dwFlags@GOTPAGE
Lloh38:
	ldr	x8, [x8, _s_dwFlags@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
Lloh40:
	adrp	x9, _RSF_LOOKATKEYS@GOTPAGE
Lloh41:
	ldr	x9, [x9, _RSF_LOOKATKEYS@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_24 Depth=2
	ldr	x0, [x25, x27, lsl #3]
Lloh43:
	adrp	x8, _s_szFindWhat@GOTPAGE
Lloh44:
	ldr	x8, [x8, _s_szFindWhat@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	bl	_CompareName
	cbnz	x0, LBB0_50
LBB0_28:                                ;   in Loop: Header=BB0_24 Depth=2
	ldur	x0, [x29, #-104]
	ldr	x1, [x25, x27, lsl #3]
	mov	x2, #0
	mov	x3, x20
	mov	x4, x21
	bl	_RegFindRecurse
	cbz	x0, LBB0_23
	b	LBB0_38
LBB0_29:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x19, #0
LBB0_31:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x25, x19, lsl #3]
	bl	_free
	add	x19, x19, #1
	ldursw	x8, [x29, #-92]
	cmp	x19, x8
	b.lt	LBB0_31
LBB0_32:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	bl	_free
	ldp	x19, x0, [x29, #-112]           ; 8-byte Folded Reload
	cmp	x19, x0
	b.eq	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_4 Depth=1
	bl	_RegCloseKey
LBB0_34:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	ldur	x27, [x29, #-120]               ; 8-byte Folded Reload
	cbnz	x8, LBB0_4
LBB0_35:
	ldr	x8, [x22]
Lloh46:
	adrp	x9, _HKEY_CLASSES_ROOT@GOTPAGE
Lloh47:
	ldr	x9, [x9, _HKEY_CLASSES_ROOT@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
Lloh49:
	adrp	x19, _HKEY_CURRENT_USER@GOTPAGE
Lloh50:
	ldr	x19, [x19, _HKEY_CURRENT_USER@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_42
; %bb.36:
	ldr	x0, [x19]
	str	x0, [x22]
Lloh51:
	adrp	x8, _s_empty@GOTPAGE
Lloh52:
	ldr	x8, [x8, _s_empty@GOTPAGEOFF]
Lloh53:
	ldr	x1, [x8]
	mov	x2, #0
	mov	x3, x20
	mov	x4, x21
	bl	_RegFindRecurse
	cbz	x0, LBB0_41
; %bb.37:
Lloh54:
	adrp	x26, _TRUE@GOTPAGE
Lloh55:
	ldr	x26, [x26, _TRUE@GOTPAGEOFF]
	b	LBB0_69
LBB0_38:
	ldr	x21, [x20]
	mov	x0, x23
	bl	_wcslen
	mov	x22, x0
	mov	x0, x21
	bl	_wcslen
	add	w8, w0, w22
	lsl	w8, w8, #3
	add	w0, w8, #16
	bl	_malloc
	str	x0, [x20]
	cbz	x0, LBB0_53
; %bb.39:
	ldr	x8, [x23]
	cbz	x8, LBB0_58
; %bb.40:
	mov	x1, x23
	bl	_wcscpy
	ldr	x0, [x20]
Lloh56:
	adrp	x8, _s_backslash@GOTPAGE
Lloh57:
	ldr	x8, [x8, _s_backslash@GOTPAGEOFF]
Lloh58:
	ldr	x1, [x8]
	bl	_wcscat
	b	LBB0_59
LBB0_41:
	ldr	x8, [x22]
LBB0_42:
	ldr	x9, [x19]
Lloh59:
	adrp	x19, _HKEY_LOCAL_MACHINE@GOTPAGE
Lloh60:
	ldr	x19, [x19, _HKEY_LOCAL_MACHINE@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_45
; %bb.43:
	ldr	x0, [x19]
	str	x0, [x22]
Lloh61:
	adrp	x8, _s_empty@GOTPAGE
Lloh62:
	ldr	x8, [x8, _s_empty@GOTPAGEOFF]
Lloh63:
	ldr	x1, [x8]
	mov	x2, #0
	mov	x3, x20
	mov	x4, x21
	bl	_RegFindRecurse
	cbnz	x0, LBB0_66
; %bb.44:
	ldr	x8, [x22]
LBB0_45:
	ldr	x9, [x19]
Lloh64:
	adrp	x19, _HKEY_USERS@GOTPAGE
Lloh65:
	ldr	x19, [x19, _HKEY_USERS@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_48
; %bb.46:
	ldr	x0, [x19]
	str	x0, [x22]
Lloh66:
	adrp	x8, _s_empty@GOTPAGE
Lloh67:
	ldr	x8, [x8, _s_empty@GOTPAGEOFF]
Lloh68:
	ldr	x1, [x8]
	mov	x2, #0
	mov	x3, x20
	mov	x4, x21
	bl	_RegFindRecurse
	cbnz	x0, LBB0_66
; %bb.47:
	ldr	x8, [x22]
LBB0_48:
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_57
; %bb.49:
Lloh69:
	adrp	x8, _HKEY_CURRENT_CONFIG@GOTPAGE
Lloh70:
	ldr	x8, [x8, _HKEY_CURRENT_CONFIG@GOTPAGEOFF]
Lloh71:
	ldr	x0, [x8]
	str	x0, [x22]
Lloh72:
	adrp	x8, _s_empty@GOTPAGE
Lloh73:
	ldr	x8, [x8, _s_empty@GOTPAGEOFF]
Lloh74:
	ldr	x1, [x8]
	mov	x2, #0
	mov	x3, x20
	mov	x4, x21
	bl	_RegFindRecurse
	cbnz	x0, LBB0_66
	b	LBB0_57
LBB0_50:
	mov	x0, x23
	bl	_wcslen
	mov	x22, x0
	ldr	x0, [x25, x27, lsl #3]
	bl	_wcslen
	add	w8, w0, w22
	lsl	w8, w8, #3
	add	w0, w8, #16
	bl	_malloc
	str	x0, [x20]
	cbz	x0, LBB0_53
; %bb.51:
	ldr	x8, [x23]
	cbz	x8, LBB0_60
; %bb.52:
	mov	x1, x23
	bl	_wcscpy
	ldr	x0, [x20]
Lloh75:
	adrp	x8, _s_backslash@GOTPAGE
Lloh76:
	ldr	x8, [x8, _s_backslash@GOTPAGEOFF]
Lloh77:
	ldr	x1, [x8]
	bl	_wcscat
	b	LBB0_61
LBB0_53:
	ldur	w8, [x29, #-92]
	cmp	w8, #1
	b.lt	LBB0_56
; %bb.54:
	mov	x19, #0
LBB0_55:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x25, x19, lsl #3]
	bl	_free
	add	x19, x19, #1
	ldursw	x8, [x29, #-92]
	cmp	x19, x8
	b.lt	LBB0_55
LBB0_56:
	mov	x0, x25
	bl	_free
	ldur	x27, [x29, #-120]               ; 8-byte Folded Reload
LBB0_57:
	ldur	x0, [x29, #-104]
Lloh78:
	adrp	x26, _FALSE@GOTPAGE
Lloh79:
	ldr	x26, [x26, _FALSE@GOTPAGEOFF]
	b	LBB0_67
LBB0_58:
	str	xzr, [x0]
LBB0_59:
	ldr	x0, [x20]
	mov	x1, x21
	bl	_wcscat
	mov	x0, x21
	bl	_free
	b	LBB0_62
LBB0_60:
	str	xzr, [x0]
LBB0_61:
	ldr	x0, [x20]
	ldr	x1, [x25, x27, lsl #3]
	bl	_wcscat
	str	xzr, [x21]
LBB0_62:
	ldur	x27, [x29, #-120]               ; 8-byte Folded Reload
	ldur	w8, [x29, #-92]
	cmp	w8, #1
	b.lt	LBB0_65
; %bb.63:
	mov	x19, #0
LBB0_64:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x25, x19, lsl #3]
	bl	_free
	add	x19, x19, #1
	ldursw	x8, [x29, #-92]
	cmp	x19, x8
	b.lt	LBB0_64
LBB0_65:
	mov	x0, x25
	bl	_free
LBB0_66:
	ldur	x0, [x29, #-104]
Lloh80:
	adrp	x26, _TRUE@GOTPAGE
Lloh81:
	ldr	x26, [x26, _TRUE@GOTPAGEOFF]
LBB0_67:
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	cmp	x8, x0
	b.eq	LBB0_69
; %bb.68:
	bl	_RegCloseKey
LBB0_69:
	ldr	x0, [x26]
	mov	sp, x27
	ldur	x8, [x29, #-88]
Lloh82:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh83:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh84:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_71
; %bb.70:
	sub	sp, x29, #80
	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
LBB0_71:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_KEY_ALL_ACCESS,4,2             ; @KEY_ALL_ACCESS
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_s_cbName,4,2                   ; @s_cbName
	.comm	_s_szName,4,2                   ; @s_szName
	.comm	_ERROR_NO_MORE_ITEMS,8,3        ; @ERROR_NO_MORE_ITEMS
	.comm	_compare,4,2                    ; @compare
	.comm	_s_dwFlags,4,2                  ; @s_dwFlags
	.comm	_RSF_LOOKATKEYS,4,2             ; @RSF_LOOKATKEYS
	.comm	_s_szFindWhat,4,2               ; @s_szFindWhat
	.comm	_s_backslash,8,3                ; @s_backslash
	.comm	_HKEY_CLASSES_ROOT,8,3          ; @HKEY_CLASSES_ROOT
	.comm	_HKEY_CURRENT_USER,8,3          ; @HKEY_CURRENT_USER
	.comm	_s_empty,8,3                    ; @s_empty
	.comm	_HKEY_LOCAL_MACHINE,8,3         ; @HKEY_LOCAL_MACHINE
	.comm	_HKEY_USERS,8,3                 ; @HKEY_USERS
	.comm	_HKEY_CURRENT_CONFIG,8,3        ; @HKEY_CURRENT_CONFIG
.subsections_via_symbols
