	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_process_key
_do_process_key:                        ## @do_process_key
	.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
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	$0, -80(%rbp)
	movq	(%rdi), %rax
	movq	%rax, -64(%rbp)
	leaq	-64(%rbp), %rdi
	movq	%rdx, %rsi
	callq	_get_word
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_94
## %bb.1:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	leaq	-112(%rbp), %rdi
	callq	_strbuf_init
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, -80(%rbp)
	movl	$0, -104(%rbp)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_get_word
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_50 Depth 2
	movq	(%r12), %rdi
	cmpb	$0, 1(%rdi)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$125, (%rdi)
	je	LBB0_90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	_do_process_key.wstrNoRemove(%rip), %rsi
	callq	_lstrcmpiW
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rdi
	leaq	_do_process_key.wstrForceRemove(%rip), %rsi
	callq	_lstrcmpiW
	testl	%eax, %eax
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rdi
	leaq	_do_process_key.wstrval(%rip), %rsi
	callq	_lstrcmpiW
	xorl	%r13d, %r13d
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rdi
	leaq	_do_process_key.wstrDelete(%rip), %rsi
	callq	_lstrcmpiW
	movb	$1, %cl
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_45
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%ebx, %ebx
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	movb	$1, %r13b
	movb	$1, %al
	movl	%eax, -132(%rbp)                ## 4-byte Spill
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movb	$1, %al
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	movb	$1, %r13b
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$3, -44(%rbp)                   ## 4-byte Folded Spill
	movb	$1, %al
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	movb	$1, %r13b
	movb	$1, %al
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$2, -44(%rbp)                   ## 4-byte Folded Spill
	movb	$1, %r13b
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movb	$1, %r15b
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	-64(%rbp), %rdi
	movq	%r12, %rsi
	callq	_get_word
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_89
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, -132(%rbp)                  ## 4-byte Folded Spill
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rdi
	callq	_debugstr_w
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	testb	%r15b, %r15b
	je	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -80(%rbp)
	movq	(%r12), %rdi
	leaq	-112(%rbp), %rsi
	movl	$-1, %edx
	callq	_strbuf_write
	testb	%r13b, %r13b
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_30
	jmp	LBB0_86
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, %eax
	andb	-56(%rbp), %al                  ## 1-byte Folded Reload
	cmpb	$1, %al
	jne	LBB0_29
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rdi
	leaq	-112(%rbp), %rsi
	movl	$-1, %edx
	callq	_strbuf_write
	movq	(%r12), %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	-80(%rbp), %rdx
	callq	_RegOpenKeyW
	movq	%rax, %rbx
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_29
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-112(%rbp), %rdi
	callq	_debugstr_w
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_WARN
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	testb	%bl, %bl
	je	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rdi
	callq	_debugstr_w
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
	movq	(%r12), %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_RegDeleteTreeW
	testb	%r13b, %r13b
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_30
## %bb.25:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.9(%rip), %rdi
	movl	%ebx, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_TRACE
	leaq	-64(%rbp), %r15
	jmp	LBB0_83
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$0, -48(%rbp)                   ## 1-byte Folded Reload
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_RegDeleteTreeW
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
LBB0_28:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rsi
	leaq	-80(%rbp), %rdx
	callq	_RegCreateKeyW
	movq	%rax, %rbx
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_88
LBB0_29:                                ##   in Loop: Header=BB0_3 Depth=1
	testb	%r13b, %r13b
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_40
LBB0_30:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax
	movb	$1, %cl
	cmpb	$61, (%rax)
	jne	LBB0_41
## %bb.31:                              ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	movq	%rax, -64(%rbp)
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_get_word
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_90
## %bb.32:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$1, 8(%r12)
	jne	LBB0_87
## %bb.33:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%ebx, %ebx
	je	LBB0_42
## %bb.34:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rdi
	movsbl	(%rdi), %eax
	cmpl	$98, %eax
	je	LBB0_46
## %bb.35:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$100, %eax
	je	LBB0_54
## %bb.36:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$115, %eax
	jne	LBB0_58
## %bb.37:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_get_word
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_74
## %bb.38:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -104(%rbp)
	je	LBB0_60
## %bb.39:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-112(%rbp), %r15
	jmp	LBB0_61
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ecx, %ecx
LBB0_41:                                ##   in Loop: Header=BB0_3 Depth=1
	testb	%r15b, %r15b
	je	LBB0_75
	jmp	LBB0_86
LBB0_42:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax
	cmpb	$45, (%rax)
	jne	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	movq	%rax, -64(%rbp)
LBB0_44:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_get_word
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_FAILED
	movb	$1, %cl
	testq	%rax, %rax
	je	LBB0_75
	jmp	LBB0_90
LBB0_45:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$4, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movb	$1, %bl
	jmp	LBB0_15
LBB0_46:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_get_word
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_74
## %bb.47:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rdi
	callq	_lstrlenW
	movl	%eax, %r15d
	leal	1(%r15), %eax
	shrl	$31, %eax
	leal	(%r15,%rax), %ebx
	incl	%ebx
	sarl	%ebx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_HeapAlloc
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_64
## %bb.48:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%r15d, %r15d
	jle	LBB0_67
## %bb.49:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$2, %ebx
	movl	$1, %r15d
	movl	%ebx, -120(%rbp)                ## 4-byte Spill
	cmovgel	%ebx, %r15d
	xorl	%ebx, %ebx
LBB0_50:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12), %rax
	movzbl	(%rax,%rbx,2), %eax
	testb	%al, %al
	je	LBB0_66
## %bb.51:                              ##   in Loop: Header=BB0_50 Depth=2
	movsbl	%al, %edi
	callq	_iswxdigit
	testl	%eax, %eax
	je	LBB0_65
## %bb.52:                              ##   in Loop: Header=BB0_50 Depth=2
	movq	(%r12), %rax
	movsbl	1(%rax,%rbx,2), %edi
	callq	_iswxdigit
	testl	%eax, %eax
	je	LBB0_65
## %bb.53:                              ##   in Loop: Header=BB0_50 Depth=2
	movq	(%r12), %rax
	movzbl	(%rax,%rbx,2), %ecx
	movb	%cl, -68(%rbp)
	movzbl	1(%rax,%rbx,2), %eax
	movb	%al, -67(%rbp)
	movb	$0, -66(%rbp)
	leaq	-68(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_wcstoul
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movb	%al, (%rcx,%rbx)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_50
	jmp	LBB0_66
LBB0_54:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_get_word
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_74
## %bb.55:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_wcstol
	movl	%eax, -68(%rbp)
	cmpl	$0, -104(%rbp)
	movl	$0, %esi
	je	LBB0_57
## %bb.56:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-112(%rbp), %rsi
LBB0_57:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rdi
	movq	_REG_DWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	leaq	-68(%rbp), %r8
	movl	$4, %r9d
	jmp	LBB0_62
LBB0_58:                                ##   in Loop: Header=BB0_3 Depth=1
	callq	_debugstr_w
	leaq	L_.str.7(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_WARN
	movq	_DISP_E_EXCEPTION@GOTPCREL(%rip), %rax
LBB0_59:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %r14d
	jmp	LBB0_74
LBB0_60:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r15d, %r15d
LBB0_61:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	_REG_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -128(%rbp)                ## 4-byte Spill
	movq	(%r12), %rbx
	movq	%rbx, %rdi
	callq	_lstrlenW
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %r9d
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	xorl	%edx, %edx
	movl	-128(%rbp), %ecx                ## 4-byte Reload
	movq	%rbx, %r8
LBB0_62:                                ##   in Loop: Header=BB0_3 Depth=1
	callq	_RegSetValueExW
	movq	%rax, %rbx
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_74
## %bb.63:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.5(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_WARN
	movq	%rbx, %rdi
	callq	_HRESULT_FROM_WIN32
	movl	%eax, %r14d
	jmp	LBB0_74
LBB0_64:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_59
LBB0_65:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_E_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_66:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-120(%rbp), %ebx                ## 4-byte Reload
LBB0_67:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %edi
	callq	_SUCCEEDED
	testl	%eax, %eax
	je	LBB0_73
## %bb.68:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -104(%rbp)
	je	LBB0_70
## %bb.69:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-112(%rbp), %rsi
	jmp	LBB0_71
LBB0_70:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%esi, %esi
LBB0_71:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rdi
	movq	_REG_BINARY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	movq	-128(%rbp), %r8                 ## 8-byte Reload
	movl	%ebx, %r9d
	callq	_RegSetValueExW
	movq	%rax, %rbx
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_73
## %bb.72:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.6(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_WARN
	movq	%rbx, %rdi
	callq	_HRESULT_FROM_WIN32
	movl	%eax, %r14d
LBB0_73:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	callq	_HeapFree
LBB0_74:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %edi
	callq	_FAILED
	movb	$1, %cl
	testq	%rax, %rax
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_90
LBB0_75:                                ##   in Loop: Header=BB0_3 Depth=1
	andb	-56(%rbp), %cl                  ## 1-byte Folded Reload
	cmpb	$1, %cl
	leaq	-64(%rbp), %r15
	jne	LBB0_80
## %bb.76:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax
	cmpb	$123, (%rax)
	jne	LBB0_80
## %bb.77:                              ##   in Loop: Header=BB0_3 Depth=1
	movsbl	1(%rax), %edi
	callq	_iswspace
	testq	%rax, %rax
	je	LBB0_80
## %bb.78:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_get_word
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_90
## %bb.79:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_do_process_key
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_90
	.p2align	4, 0x90
LBB0_80:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.9(%rip), %rdi
	movl	%ebx, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_TRACE
	testl	%ebx, %ebx
	jne	LBB0_83
## %bb.81:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	orb	-132(%rbp), %al                 ## 1-byte Folded Reload
	je	LBB0_83
## %bb.82:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-112(%rbp), %rdi
	callq	_debugstr_w
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
	movq	-112(%rbp), %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_RegDeleteKeyW
LBB0_83:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rdi
	testq	%rdi, %rdi
	sete	%al
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	xorb	$1, %cl
	orb	%al, %cl
	jne	LBB0_2
## %bb.84:                              ##   in Loop: Header=BB0_3 Depth=1
	callq	_RegCloseKey
	jmp	LBB0_2
LBB0_86:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_WARN
	movq	_DISP_E_EXCEPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$2, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_90
LBB0_87:
	movq	(%r12), %rdi
	callq	_debugstr_w
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_WARN
	movq	_DISP_E_EXCEPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_90
LBB0_88:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_WARN
	movq	%rbx, %rdi
	callq	_HRESULT_FROM_WIN32
	movl	%eax, %r14d
LBB0_89:
	movq	-96(%rbp), %r13                 ## 8-byte Reload
LBB0_90:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-112(%rbp), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	cmpl	$2, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_93
## %bb.91:
	movq	-80(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_93
## %bb.92:
	callq	_RegCloseKey
LBB0_93:
	movq	-64(%rbp), %rax
	movq	%rax, (%r13)
LBB0_94:
	movl	%r14d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_do_process_key.wstrNoRemove:           ## @do_process_key.wstrNoRemove
	.asciz	"NoRemove"

_do_process_key.wstrForceRemove:        ## @do_process_key.wstrForceRemove
	.asciz	"ForceRemove"

_do_process_key.wstrDelete:             ## @do_process_key.wstrDelete
	.asciz	"Delete"

_do_process_key.wstrval:                ## @do_process_key.wstrval
	.asciz	"val"

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name = %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"Deleting %s\n"

	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
L_.str.2:                               ## @.str.2
	.asciz	"Could not create(open) key: %08x\n"

L_.str.3:                               ## @.str.3
	.asciz	"Could not open key %s: %08x\n"

L_.str.4:                               ## @.str.4
	.asciz	"Wrong registry type: %s\n"

	.comm	_DISP_E_EXCEPTION,4,2           ## @DISP_E_EXCEPTION
	.comm	_REG_SZ,4,2                     ## @REG_SZ
L_.str.5:                               ## @.str.5
	.asciz	"Could set value of key: %08x\n"

	.comm	_REG_DWORD,4,2                  ## @REG_DWORD
	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
	.comm	_E_FAIL,4,2                     ## @E_FAIL
	.comm	_REG_BINARY,4,2                 ## @REG_BINARY
L_.str.6:                               ## @.str.6
	.asciz	"Could not set value of key: 0x%08x\n"

L_.str.7:                               ## @.str.7
	.asciz	"Wrong resource type: %s\n"

L_.str.8:                               ## @.str.8
	.asciz	"value not set!\n"

L_.str.9:                               ## @.str.9
	.asciz	"%x %x\n"

	.no_dead_strip	_do_process_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_process_key
_do_process_key:                        ; @do_process_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x8, [x0]
	stp	xzr, x8, [sp, #80]
	add	x0, sp, #88
	mov	x1, x2
	bl	_get_word
	mov	x25, x0
	bl	_FAILED
	cbnz	x0, LBB0_84
; %bb.1:
	str	x19, [sp, #40]                  ; 8-byte Folded Spill
	add	x0, sp, #64
	bl	_strbuf_init
	mov	w23, #0
	str	x22, [sp, #48]                  ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [sp, #80]
	str	wzr, [sp, #72]
	add	x0, sp, #88
	mov	x1, x20
	bl	_get_word
	mov	x25, x0
	bl	_FAILED
	cbnz	x0, LBB0_80
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_48 Depth 2
	ldr	x0, [x20]
	ldrb	w8, [x0, #1]
	cbnz	w8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x0]
	cmp	w8, #125
	b.eq	LBB0_80
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh0:
	adrp	x1, _do_process_key.wstrNoRemove@PAGE
Lloh1:
	add	x1, x1, _do_process_key.wstrNoRemove@PAGEOFF
	bl	_lstrcmpiW
	cbz	w0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20]
Lloh2:
	adrp	x1, _do_process_key.wstrForceRemove@PAGE
Lloh3:
	add	x1, x1, _do_process_key.wstrForceRemove@PAGEOFF
	bl	_lstrcmpiW
	cbz	w0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20]
Lloh4:
	adrp	x1, _do_process_key.wstrval@PAGE
Lloh5:
	add	x1, x1, _do_process_key.wstrval@PAGEOFF
	bl	_lstrcmpiW
	cbz	w0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20]
Lloh6:
	adrp	x1, _do_process_key.wstrDelete@PAGE
Lloh7:
	add	x1, x1, _do_process_key.wstrDelete@PAGEOFF
	bl	_lstrcmpiW
	mov	w27, #0
	mov	w19, #1
	cbz	w0, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x27
	mov	x22, x27
	mov	x26, x27
	mov	x24, x27
	mov	w27, #1
	mov	w28, #1
	b	LBB0_16
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w24, #0
	mov	w26, #0
	mov	w22, #0
	mov	w19, #1
	mov	w27, #1
	mov	w23, #1
	b	LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w24, #0
	mov	w22, #0
	mov	w23, #3
	mov	w19, #1
	mov	w27, #1
	mov	w26, #1
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w19, #0
	mov	w26, #0
	mov	w22, #0
	mov	w23, #2
	mov	w27, #1
	mov	w24, #1
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w23, #4
	mov	x24, x27
	mov	x26, x27
	mov	w22, #1
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #88
	mov	x1, x20
	bl	_get_word
	mov	x25, x0
	bl	_FAILED
	cbnz	x0, LBB0_80
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w28, #0
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20]
	bl	_debugstr_w
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	cbz	w21, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	cbz	w24, LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [sp, #48]                  ; 8-byte Folded Reload
	str	x22, [sp, #80]
	ldr	x0, [x20]
	add	x1, sp, #64
	mov	w2, #-1
	bl	_strbuf_write
	tbnz	w27, #0, LBB0_29
	b	LBB0_77
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	and	w8, w27, w19
	cmp	w8, #1
	ldr	x22, [sp, #48]                  ; 8-byte Folded Reload
	b.ne	LBB0_28
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20]
	add	x1, sp, #64
	mov	w2, #-1
	bl	_strbuf_write
	ldr	x1, [x20]
	add	x2, sp, #80
	mov	x0, x22
	bl	_RegOpenKeyW
Lloh10:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_28
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x0
	ldr	x0, [sp, #64]
	bl	_debugstr_w
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x0, x25, [sp]
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_WARN
	b	LBB0_29
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w22, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20]
	bl	_debugstr_w
	mov	x1, x0
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	ldr	x1, [x20]
	ldr	x22, [sp, #48]                  ; 8-byte Folded Reload
	mov	x0, x22
	bl	_RegDeleteTreeW
	tbnz	w27, #0, LBB0_29
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x23
	str	x8, [sp]
Lloh17:
	adrp	x0, l_.str.9@PAGE
Lloh18:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	x1, x21
	bl	_TRACE
	b	LBB0_68
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [sp, #48]                  ; 8-byte Folded Reload
	cbz	w26, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x20]
	mov	x0, x22
	bl	_RegDeleteTreeW
LBB0_27:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x20]
	add	x2, sp, #80
	mov	x0, x22
	bl	_RegCreateKeyW
Lloh19:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_79
LBB0_28:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w27, LBB0_39
LBB0_29:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #88]
	ldrb	w9, [x8]
	cmp	w9, #61
	b.ne	LBB0_38
; %bb.30:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	str	x8, [sp, #88]
	add	x0, sp, #88
	mov	x1, x20
	bl	_get_word
	mov	x25, x0
	bl	_FAILED
	cbnz	x0, LBB0_80
; %bb.31:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.ne	LBB0_78
; %bb.32:                               ;   in Loop: Header=BB0_3 Depth=1
	cbz	w21, LBB0_40
; %bb.33:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20]
	ldrsb	w8, [x0]
	cmp	w8, #98
	b.eq	LBB0_44
; %bb.34:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #100
	b.eq	LBB0_52
; %bb.35:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #115
	b.ne	LBB0_56
; %bb.36:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #88
	mov	x1, x20
	bl	_get_word
	mov	x25, x0
	bl	_FAILED
	cbnz	x0, LBB0_58
; %bb.37:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #80]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	ldr	w8, [sp, #72]
	ldr	x9, [sp, #64]
	cmp	w8, #0
	csel	x27, xzr, x9, eq
Lloh22:
	adrp	x8, _REG_SZ@GOTPAGE
Lloh23:
	ldr	x8, [x8, _REG_SZ@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	ldr	x24, [x20]
	mov	x0, x24
	bl	_lstrlenW
	add	w5, w0, #1
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x1, x27
	mov	w2, #0
	ldr	w3, [sp, #24]                   ; 4-byte Folded Reload
	mov	x4, x24
	b	LBB0_54
LBB0_38:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #1
	cbz	w24, LBB0_60
	b	LBB0_77
LBB0_39:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #0
	cbz	w24, LBB0_60
	b	LBB0_77
LBB0_40:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #88]
	ldrb	w9, [x8]
	cmp	w9, #45
	b.ne	LBB0_42
; %bb.41:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	str	x8, [sp, #88]
LBB0_42:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #88
	mov	x1, x20
	bl	_get_word
LBB0_43:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x0
	bl	_FAILED
	cbz	x0, LBB0_59
	b	LBB0_80
LBB0_44:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #88
	mov	x1, x20
	bl	_get_word
	mov	x25, x0
	bl	_FAILED
	cbnz	x0, LBB0_58
; %bb.45:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20]
	bl	_lstrlenW
	mov	x27, x0
	add	w8, w0, #1
	add	w9, w0, #2
	cmp	w8, #0
	csinc	w8, w9, w0, lt
	asr	w24, w8, #1
	bl	_GetProcessHeap
	mov	w1, #0
	str	w24, [sp, #32]                  ; 4-byte Folded Spill
	mov	x2, x24
	bl	_HeapAlloc
	cbz	x0, LBB0_70
; %bb.46:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x0
	cmp	w27, #1
	b.lt	LBB0_73
; %bb.47:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, #0
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	cmp	w8, #1
	csinc	w8, w8, wzr, gt
	mov	x27, x24
	lsl	x24, x8, #1
	str	x27, [sp, #24]                  ; 8-byte Folded Spill
LBB0_48:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20]
	ldrb	w8, [x8, x22]
	cbz	w8, LBB0_72
; %bb.49:                               ;   in Loop: Header=BB0_48 Depth=2
	sxtb	w0, w8
	bl	_iswxdigit
	cbz	w0, LBB0_71
; %bb.50:                               ;   in Loop: Header=BB0_48 Depth=2
	ldr	x8, [x20]
	add	x8, x8, x22
	ldrsb	w0, [x8, #1]
	bl	_iswxdigit
	cbz	w0, LBB0_71
; %bb.51:                               ;   in Loop: Header=BB0_48 Depth=2
	ldr	x8, [x20]
	add	x8, x8, x22
	ldrb	w9, [x8]
	strb	w9, [sp, #60]
	ldrb	w8, [x8, #1]
	strb	w8, [sp, #61]
	strb	wzr, [sp, #62]
	add	x0, sp, #60
	mov	x1, #0
	mov	w2, #16
	bl	_wcstoul
	strb	w0, [x27], #1
	add	x22, x22, #2
	cmp	x24, x22
	b.ne	LBB0_48
	b	LBB0_72
LBB0_52:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #88
	mov	x1, x20
	bl	_get_word
	mov	x25, x0
	bl	_FAILED
	cbnz	x0, LBB0_58
; %bb.53:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20]
	mov	x1, #0
	mov	w2, #10
	bl	_wcstol
	str	w0, [sp, #60]
	ldr	x0, [sp, #80]
	ldr	w8, [sp, #72]
	ldr	x9, [sp, #64]
	cmp	w8, #0
	csel	x1, xzr, x9, eq
Lloh25:
	adrp	x8, _REG_DWORD@GOTPAGE
Lloh26:
	ldr	x8, [x8, _REG_DWORD@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
	add	x4, sp, #60
	mov	w2, #0
	mov	w5, #4
LBB0_54:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_RegSetValueExW
Lloh28:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_58
; %bb.55:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, x0
	str	x0, [sp]
Lloh31:
	adrp	x0, l_.str.5@PAGE
Lloh32:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_WARN
	mov	x0, x27
	bl	_HRESULT_FROM_WIN32
	b	LBB0_43
LBB0_56:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_debugstr_w
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh33:
	adrp	x0, l_.str.7@PAGE
Lloh34:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_WARN
Lloh35:
	adrp	x8, _DISP_E_EXCEPTION@GOTPAGE
Lloh36:
	ldr	x8, [x8, _DISP_E_EXCEPTION@GOTPAGEOFF]
LBB0_57:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x8]
LBB0_58:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x25
	bl	_FAILED
	cbnz	x0, LBB0_80
LBB0_59:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #1
LBB0_60:                                ;   in Loop: Header=BB0_3 Depth=1
	and	w8, w19, w8
	cmp	w8, #1
	b.ne	LBB0_65
; %bb.61:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #88]
	ldrb	w9, [x8]
	cmp	w9, #123
	b.ne	LBB0_65
; %bb.62:                               ;   in Loop: Header=BB0_3 Depth=1
	ldrsb	w0, [x8, #1]
	bl	_iswspace
	cbz	x0, LBB0_65
; %bb.63:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #88
	mov	x1, x20
	bl	_get_word
	mov	x25, x0
	bl	_FAILED
	cbnz	x0, LBB0_80
; %bb.64:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp, #80]
	add	x0, sp, #88
	mov	x2, x20
	mov	x3, x21
	bl	_do_process_key
	mov	x25, x0
	bl	_FAILED
	cbnz	x0, LBB0_80
LBB0_65:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x23, [sp]
Lloh37:
	adrp	x0, l_.str.9@PAGE
Lloh38:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	x1, x21
	bl	_TRACE
	cbnz	w21, LBB0_68
; %bb.66:                               ;   in Loop: Header=BB0_3 Depth=1
	orr	w8, w26, w28
	cbz	w8, LBB0_68
; %bb.67:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #64]
	bl	_debugstr_w
	mov	x1, x0
Lloh39:
	adrp	x0, l_.str.1@PAGE
Lloh40:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	ldr	x1, [sp, #64]
	mov	x0, x22
	bl	_RegDeleteKeyW
LBB0_68:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #80]
	cmp	x0, #0
	cset	w8, eq
	eor	w9, w19, #0x1
	orr	w8, w9, w8
	tbnz	w8, #0, LBB0_2
; %bb.69:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_RegCloseKey
	b	LBB0_2
LBB0_70:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh41:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh42:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
	b	LBB0_57
LBB0_71:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh43:
	adrp	x8, _E_FAIL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _E_FAIL@GOTPAGEOFF]
Lloh45:
	ldr	w25, [x8]
LBB0_72:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [sp, #48]                  ; 8-byte Folded Reload
	ldr	x24, [sp, #24]                  ; 8-byte Folded Reload
LBB0_73:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x25
	bl	_SUCCEEDED
	cbz	w0, LBB0_76
; %bb.74:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #80]
	ldr	w8, [sp, #72]
	ldr	x9, [sp, #64]
	cmp	w8, #0
	csel	x1, xzr, x9, eq
Lloh46:
	adrp	x8, _REG_BINARY@GOTPAGE
Lloh47:
	ldr	x8, [x8, _REG_BINARY@GOTPAGEOFF]
Lloh48:
	ldr	w3, [x8]
	mov	w2, #0
	mov	x4, x24
	ldr	w5, [sp, #32]                   ; 4-byte Folded Reload
	bl	_RegSetValueExW
Lloh49:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_76
; %bb.75:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, x0
	str	x0, [sp]
Lloh52:
	adrp	x0, l_.str.6@PAGE
Lloh53:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_WARN
	mov	x0, x27
	bl	_HRESULT_FROM_WIN32
	mov	x25, x0
LBB0_76:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x24
	bl	_HeapFree
	b	LBB0_58
LBB0_77:
Lloh54:
	adrp	x0, l_.str.8@PAGE
Lloh55:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_WARN
Lloh56:
	adrp	x8, _DISP_E_EXCEPTION@GOTPAGE
Lloh57:
	ldr	x8, [x8, _DISP_E_EXCEPTION@GOTPAGEOFF]
Lloh58:
	ldr	w25, [x8]
	mov	w23, #2
	b	LBB0_80
LBB0_78:
	ldr	x0, [x20]
	bl	_debugstr_w
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh59:
	adrp	x0, l_.str.4@PAGE
Lloh60:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_WARN
Lloh61:
	adrp	x8, _DISP_E_EXCEPTION@GOTPAGE
Lloh62:
	ldr	x8, [x8, _DISP_E_EXCEPTION@GOTPAGEOFF]
Lloh63:
	ldr	w25, [x8]
	b	LBB0_80
LBB0_79:
	mov	x25, x0
	str	x0, [sp]
Lloh64:
	adrp	x0, l_.str.2@PAGE
Lloh65:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_WARN
	mov	x0, x25
	bl	_HRESULT_FROM_WIN32
	mov	x25, x0
LBB0_80:
	bl	_GetProcessHeap
	ldr	x2, [sp, #64]
	mov	w1, #0
	bl	_HeapFree
	cmp	w23, #2
	b.eq	LBB0_83
; %bb.81:
	ldr	x0, [sp, #80]
	cbz	x0, LBB0_83
; %bb.82:
	bl	_RegCloseKey
LBB0_83:
	ldr	x8, [sp, #88]
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	str	x8, [x9]
LBB0_84:
	mov	x0, x25
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh64, Lloh65
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_do_process_key.wstrNoRemove:           ; @do_process_key.wstrNoRemove
	.asciz	"NoRemove"

_do_process_key.wstrForceRemove:        ; @do_process_key.wstrForceRemove
	.asciz	"ForceRemove"

_do_process_key.wstrDelete:             ; @do_process_key.wstrDelete
	.asciz	"Delete"

_do_process_key.wstrval:                ; @do_process_key.wstrval
	.asciz	"val"

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name = %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"Deleting %s\n"

	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
l_.str.2:                               ; @.str.2
	.asciz	"Could not create(open) key: %08x\n"

l_.str.3:                               ; @.str.3
	.asciz	"Could not open key %s: %08x\n"

l_.str.4:                               ; @.str.4
	.asciz	"Wrong registry type: %s\n"

	.comm	_DISP_E_EXCEPTION,4,2           ; @DISP_E_EXCEPTION
	.comm	_REG_SZ,4,2                     ; @REG_SZ
l_.str.5:                               ; @.str.5
	.asciz	"Could set value of key: %08x\n"

	.comm	_REG_DWORD,4,2                  ; @REG_DWORD
	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
	.comm	_E_FAIL,4,2                     ; @E_FAIL
	.comm	_REG_BINARY,4,2                 ; @REG_BINARY
l_.str.6:                               ; @.str.6
	.asciz	"Could not set value of key: 0x%08x\n"

l_.str.7:                               ; @.str.7
	.asciz	"Wrong resource type: %s\n"

l_.str.8:                               ; @.str.8
	.asciz	"value not set!\n"

l_.str.9:                               ; @.str.9
	.asciz	"%x %x\n"

	.no_dead_strip	_do_process_key
.subsections_via_symbols
