	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wmain                          ## -- Begin function wmain
	.p2align	4, 0x90
_wmain:                                 ## @wmain
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$1, %edi
	jne	LBB0_3
## %bb.1:
	movq	_STRING_INVALID_SYNTAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%eax, %eax
	callq	_output_message
LBB0_2:
	movq	_STRING_REG_HELP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%eax, %eax
	callq	_output_message
	movl	$1, %r15d
	jmp	LBB0_67
LBB0_3:
	movq	%rsi, %r12
	movl	%edi, %ebx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	8(%rsi), %rdi
	callq	_is_help_switch
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_STRING_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_18:
	xorl	%r15d, %r15d
LBB0_19:
	xorl	%eax, %eax
	callq	_output_message
LBB0_67:
	movl	%r15d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	8(%r12), %rdi
	leaq	-124(%rbp), %rsi
	callq	_get_operation
	movl	%eax, %r14d
	movq	_REG_INVALID@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_7
## %bb.6:
	movq	_STRING_INVALID_OPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r12), %rsi
	xorl	%eax, %eax
	callq	_output_message
	jmp	LBB0_2
LBB0_7:
	cmpl	$3, %ebx
	jl	LBB0_9
## %bb.8:
	movq	16(%r12), %rdi
	callq	_is_help_switch
	jmp	LBB0_10
LBB0_9:
	movq	%r13, %rax
	cmpl	$2, %ebx
	je	LBB0_16
LBB0_10:
	testq	%rax, %rax
	je	LBB0_11
## %bb.15:
	cmpl	$4, %ebx
	jge	LBB0_16
## %bb.17:
	movl	-124(%rbp), %edi
	jmp	LBB0_18
LBB0_11:
	movq	_REG_IMPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$4, %ebx
	jl	LBB0_13
## %bb.12:
	cmpl	%eax, %r14d
	jne	LBB0_13
LBB0_16:
	movq	_STRING_INVALID_SYNTAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%eax, %eax
	callq	_output_message
	movq	_STRING_FUNC_HELP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	8(%r12), %rdi
	callq	_struprW
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_output_message
	movl	$1, %r15d
	jmp	LBB0_67
LBB0_13:
	cmpl	%eax, %r14d
	jne	LBB0_20
## %bb.14:
	movq	16(%r12), %rdi
	callq	_reg_import
	jmp	LBB0_66
LBB0_20:
	movq	_REG_EXPORT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_22
## %bb.21:
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_reg_export
	jmp	LBB0_66
LBB0_22:
	movq	_REG_SAVE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_24
## %bb.23:
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_reg_save
	jmp	LBB0_66
LBB0_24:
	movq	_REG_RESTORE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_26
## %bb.25:
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_reg_restore
LBB0_66:
	movl	%eax, %r15d
	jmp	LBB0_67
LBB0_26:
	movq	16(%r12), %rdi
	leaq	-68(%rbp), %rsi
	leaq	-144(%rbp), %rdx
	leaq	-160(%rbp), %rcx
	callq	_parse_registry_key
	movl	$1, %r15d
	testl	%eax, %eax
	je	LBB0_67
## %bb.27:
	cmpl	$4, %ebx
	jl	LBB0_68
## %bb.28:
	movl	$3, %ecx
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	movq	%r13, -136(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_29
LBB0_31:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
LBB0_53:                                ##   in Loop: Header=BB0_29 Depth=1
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
LBB0_54:                                ##   in Loop: Header=BB0_29 Depth=1
	incl	%ecx
	cmpl	%ebx, %ecx
	jge	LBB0_55
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movslq	%ecx, %rdx
	movq	(%r12,%rdx,8), %rsi
	movzbl	(%rsi), %eax
	orb	$2, %al
	cmpb	$47, %al
	jne	LBB0_54
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -152(%rbp)                ## 8-byte Spill
	leaq	1(%rsi), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	leaq	_wmain.switchVEW(%rip), %rsi
	callq	_lstrcmpiW
	testl	%eax, %eax
	je	LBB0_31
## %bb.32:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	_wmain.switchVAW(%rip), %rsi
	callq	_lstrcmpiW
	testl	%eax, %eax
	je	LBB0_33
## %bb.34:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpb	$0, (%rax)
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	-152(%rbp), %rax                ## 8-byte Reload
	cmpb	$0, 2(%rax)
	jne	LBB0_36
## %bb.37:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%r12,%rax,8), %rax
	movsbl	1(%rax), %edi
	callq	_tolowerW
                                        ## kill: def $eax killed $eax def $rax
	addl	$-100, %eax
	cmpl	$18, %eax
	ja	LBB0_36
## %bb.38:                              ##   in Loop: Header=BB0_29 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_45:                                ##   in Loop: Header=BB0_29 Depth=1
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_36
## %bb.46:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%r12,%rax,8), %rcx
	movq	%rcx, %rax
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_41
LBB0_33:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_53
LBB0_52:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_53
LBB0_47:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	_REG_QUERY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_53
LBB0_43:                                ##   in Loop: Header=BB0_29 Depth=1
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_36
## %bb.44:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%r12,%rax,8), %rcx
	movq	%rcx, %rax
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_41
LBB0_39:                                ##   in Loop: Header=BB0_29 Depth=1
	cmpq	$0, -112(%rbp)                  ## 8-byte Folded Reload
	jne	LBB0_36
## %bb.40:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%r12,%rax,8), %rcx
	movq	%rcx, %rax
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
LBB0_41:                                ##   in Loop: Header=BB0_29 Depth=1
	testq	%rcx, %rcx
	je	LBB0_36
## %bb.42:                              ##   in Loop: Header=BB0_29 Depth=1
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	jmp	LBB0_54
LBB0_49:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%r12,%rax,8), %rax
	testq	%rax, %rax
	je	LBB0_36
## %bb.50:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_strlenW
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	cmpl	$1, %eax
	jne	LBB0_36
## %bb.51:                              ##   in Loop: Header=BB0_29 Depth=1
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	movzbl	(%rdx), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_54
LBB0_68:
	testq	%r13, %r13
	setne	%al
	xorl	%ebx, %ebx
	movq	%r13, %rsi
	movq	%r13, %rdi
	movq	%r13, %r11
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
	xorl	%r8d, %r8d
	xorl	%ecx, %ecx
LBB0_58:
	testq	%rdi, %rdi
	setne	%dl
	testb	%dl, %bl
	jne	LBB0_36
## %bb.59:
	andb	%dl, %al
	jne	LBB0_36
## %bb.60:
	movq	_REG_ADD@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_62
## %bb.61:
	movl	-68(%rbp), %edi
	movq	-144(%rbp), %rsi
	movsbl	%r9b, %r9d
	movq	%rcx, %rdx
	movq	%r11, %rcx
	pushq	%r13
	pushq	%r10
	callq	_reg_add
	addq	$16, %rsp
	jmp	LBB0_66
LBB0_55:
	movq	-136(%rbp), %r11                ## 8-byte Reload
	testq	%r11, %r11
	setne	%al
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	testq	%rcx, %rcx
	setne	%bl
	je	LBB0_56
## %bb.57:
	testq	%r11, %r11
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	-88(%rbp), %r10                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	je	LBB0_58
LBB0_36:
	movq	_STRING_INVALID_CMDLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_19
LBB0_62:
	movq	%rdi, %rbx
	movq	%rsi, %r9
	movq	_REG_DELETE@GOTPCREL(%rip), %rax
	movl	-68(%rbp), %edi
	movq	-144(%rbp), %rsi
	movq	-160(%rbp), %rdx
	cmpl	(%rax), %r14d
	jne	LBB0_65
## %bb.63:
	subq	$8, %rsp
	movq	%r11, %r8
	movq	%rbx, %r9
	pushq	%r13
	callq	_reg_delete
	addq	$16, %rsp
	jmp	LBB0_66
LBB0_65:
	movq	%r11, %r8
	callq	_reg_query
	jmp	LBB0_66
LBB0_56:
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	-88(%rbp), %r10                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	jmp	LBB0_58
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_52, LBB0_52-LJTI0_0
.set L0_0_set_47, LBB0_47-LJTI0_0
.set L0_0_set_43, LBB0_43-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
LJTI0_0:
	.long	L0_0_set_45
	.long	L0_0_set_36
	.long	L0_0_set_52
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_47
	.long	L0_0_set_43
	.long	L0_0_set_36
	.long	L0_0_set_39
	.end_data_region
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.section	__TEXT,__const
_wmain.switchVAW:                       ## @wmain.switchVAW
	.asciz	"va"

_wmain.switchVEW:                       ## @wmain.switchVEW
	.asciz	"ve"

	.comm	_STRING_INVALID_SYNTAX,4,2      ## @STRING_INVALID_SYNTAX
	.comm	_STRING_REG_HELP,4,2            ## @STRING_REG_HELP
	.comm	_STRING_USAGE,4,2               ## @STRING_USAGE
	.comm	_REG_INVALID,4,2                ## @REG_INVALID
	.comm	_STRING_INVALID_OPTION,4,2      ## @STRING_INVALID_OPTION
	.comm	_REG_IMPORT,4,2                 ## @REG_IMPORT
	.comm	_STRING_FUNC_HELP,4,2           ## @STRING_FUNC_HELP
	.comm	_REG_EXPORT,4,2                 ## @REG_EXPORT
	.comm	_REG_SAVE,4,2                   ## @REG_SAVE
	.comm	_REG_RESTORE,4,2                ## @REG_RESTORE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_STRING_INVALID_CMDLINE,4,2     ## @STRING_INVALID_CMDLINE
	.comm	_REG_QUERY,4,2                  ## @REG_QUERY
	.comm	_REG_ADD,4,2                    ## @REG_ADD
	.comm	_REG_DELETE,4,2                 ## @REG_DELETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wmain                          ; -- Begin function wmain
	.p2align	2
_wmain:                                 ; @wmain
	.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
	cmp	w0, #1
	b.ne	LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _STRING_INVALID_SYNTAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRING_INVALID_SYNTAX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_2:
	bl	_output_message
Lloh3:
	adrp	x8, _STRING_REG_HELP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRING_REG_HELP@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
LBB0_4:
	bl	_output_message
	mov	w0, #1
	b	LBB0_8
LBB0_5:
	mov	x21, x1
	mov	x22, x0
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh7:
	ldr	x19, [x8]
	ldr	x0, [x1, #8]
	bl	_is_help_switch
	cbz	x0, LBB0_9
; %bb.6:
Lloh8:
	adrp	x8, _STRING_USAGE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _STRING_USAGE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_7:
	bl	_output_message
	mov	w0, #0
LBB0_8:
	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_9:
	ldr	x0, [x21, #8]
	add	x1, sp, #76
	bl	_get_operation
Lloh11:
	adrp	x8, _REG_INVALID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REG_INVALID@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.10:
Lloh14:
	adrp	x8, _STRING_INVALID_OPTION@GOTPAGE
Lloh15:
	ldr	x8, [x8, _STRING_INVALID_OPTION@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	x8, [x21, #8]
	str	x8, [sp]
	b	LBB0_2
LBB0_11:
	mov	x20, x0
	cmp	w22, #3
	b.lt	LBB0_13
; %bb.12:
	ldr	x0, [x21, #16]
	bl	_is_help_switch
	b	LBB0_14
LBB0_13:
	mov	x0, x19
	cmp	w22, #2
	b.eq	LBB0_19
LBB0_14:
	cbz	x0, LBB0_17
; %bb.15:
	cmp	w22, #4
	b.ge	LBB0_19
; %bb.16:
	ldr	w0, [sp, #76]
	b	LBB0_7
LBB0_17:
Lloh17:
	adrp	x8, _REG_IMPORT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _REG_IMPORT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w22, #4
	b.lt	LBB0_20
; %bb.18:
	cmp	w20, w8
	b.ne	LBB0_20
LBB0_19:
Lloh20:
	adrp	x8, _STRING_INVALID_SYNTAX@GOTPAGE
Lloh21:
	ldr	x8, [x8, _STRING_INVALID_SYNTAX@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_output_message
Lloh23:
	adrp	x8, _STRING_FUNC_HELP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _STRING_FUNC_HELP@GOTPAGEOFF]
Lloh25:
	ldr	w19, [x8]
	ldr	x0, [x21, #8]
	bl	_struprW
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x19
	b	LBB0_4
LBB0_20:
	cmp	w20, w8
	b.ne	LBB0_22
; %bb.21:
	ldr	x0, [x21, #16]
	bl	_reg_import
	b	LBB0_8
LBB0_22:
Lloh26:
	adrp	x8, _REG_EXPORT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _REG_EXPORT@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_24
; %bb.23:
	mov	x0, x22
	mov	x1, x21
	bl	_reg_export
	b	LBB0_8
LBB0_24:
Lloh29:
	adrp	x8, _REG_SAVE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _REG_SAVE@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_26
; %bb.25:
	mov	x0, x22
	mov	x1, x21
	bl	_reg_save
	b	LBB0_8
LBB0_26:
Lloh32:
	adrp	x8, _REG_RESTORE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _REG_RESTORE@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_28
; %bb.27:
	mov	x0, x22
	mov	x1, x21
	bl	_reg_restore
	b	LBB0_8
LBB0_28:
	ldr	x0, [x21, #16]
	add	x1, sp, #52
	add	x2, sp, #56
	add	x3, sp, #64
	bl	_parse_registry_key
	cbz	w0, LBB0_54
; %bb.29:
	cmp	w22, #4
	b.lt	LBB0_55
; %bb.30:
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
	stp	xzr, xzr, [sp, #24]             ; 16-byte Folded Spill
	mov	x23, #0
Lloh35:
	adrp	x27, _wmain.switchVEW@PAGE
Lloh36:
	add	x27, x27, _wmain.switchVEW@PAGEOFF
	mov	w24, #3
	str	x19, [sp, #16]                  ; 8-byte Folded Spill
	str	x19, [sp, #40]                  ; 8-byte Folded Spill
	mov	x25, x19
	b	LBB0_33
LBB0_31:                                ;   in Loop: Header=BB0_33 Depth=1
Lloh37:
	adrp	x8, _TRUE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh39:
	ldr	x25, [x8]
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=1
	add	w24, w24, #1
	cmp	w24, w22
	b.ge	LBB0_60
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x21, w24, sxtw #3]
	ldrb	w8, [x26]
	orr	w8, w8, #0x2
	cmp	w8, #47
	b.ne	LBB0_32
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	add	x28, x26, #1
	mov	x0, x28
	mov	x1, x27
	bl	_lstrcmpiW
	cbz	w0, LBB0_31
; %bb.35:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x28
Lloh40:
	adrp	x1, _wmain.switchVAW@PAGE
Lloh41:
	add	x1, x1, _wmain.switchVAW@PAGEOFF
	bl	_lstrcmpiW
	cbz	w0, LBB0_42
; %bb.36:                               ;   in Loop: Header=BB0_33 Depth=1
	ldrb	w8, [x28]
	cbz	w8, LBB0_62
; %bb.37:                               ;   in Loop: Header=BB0_33 Depth=1
	ldrb	w8, [x26, #2]
	cbnz	w8, LBB0_62
; %bb.38:                               ;   in Loop: Header=BB0_33 Depth=1
	sxtw	x28, w24
	ldr	x8, [x21, x28, lsl #3]
	ldrsb	w0, [x8, #1]
	bl	_tolowerW
	sub	w8, w0, #100
	cmp	w8, #18
	b.hi	LBB0_62
; %bb.39:                               ;   in Loop: Header=BB0_33 Depth=1
Lloh42:
	adrp	x11, lJTI0_0@PAGE
Lloh43:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_40
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_40:                                ;   in Loop: Header=BB0_33 Depth=1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	cbnz	x8, LBB0_62
; %bb.41:                               ;   in Loop: Header=BB0_33 Depth=1
	add	x24, x28, #1
	ldr	x8, [x21, x24, lsl #3]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	cbnz	x8, LBB0_50
	b	LBB0_62
LBB0_42:                                ;   in Loop: Header=BB0_33 Depth=1
Lloh44:
	adrp	x8, _TRUE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	b	LBB0_32
LBB0_43:                                ;   in Loop: Header=BB0_33 Depth=1
Lloh47:
	adrp	x8, _TRUE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh49:
	ldr	x19, [x8]
	b	LBB0_32
LBB0_44:                                ;   in Loop: Header=BB0_33 Depth=1
Lloh50:
	adrp	x8, _REG_QUERY@GOTPAGE
Lloh51:
	ldr	x8, [x8, _REG_QUERY@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_51
; %bb.45:                               ;   in Loop: Header=BB0_33 Depth=1
Lloh53:
	adrp	x8, _TRUE@GOTPAGE
Lloh54:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	b	LBB0_32
LBB0_46:                                ;   in Loop: Header=BB0_33 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cbnz	x8, LBB0_62
; %bb.47:                               ;   in Loop: Header=BB0_33 Depth=1
	add	x24, x28, #1
	ldr	x8, [x21, x24, lsl #3]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	cbnz	x8, LBB0_50
	b	LBB0_62
LBB0_48:                                ;   in Loop: Header=BB0_33 Depth=1
	cbnz	x23, LBB0_62
; %bb.49:                               ;   in Loop: Header=BB0_33 Depth=1
	add	x24, x28, #1
	ldr	x23, [x21, x24, lsl #3]
	cbz	x23, LBB0_62
LBB0_50:                                ;   in Loop: Header=BB0_33 Depth=1
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	b	LBB0_32
LBB0_51:                                ;   in Loop: Header=BB0_33 Depth=1
	add	x24, x28, #1
	ldr	x28, [x21, x24, lsl #3]
	cbz	x28, LBB0_62
; %bb.52:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x28
	bl	_strlenW
	cmp	w0, #1
	b.ne	LBB0_62
; %bb.53:                               ;   in Loop: Header=BB0_33 Depth=1
	ldrb	w8, [x28]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	b	LBB0_32
LBB0_54:
	mov	w0, #1
	b	LBB0_8
LBB0_55:
	mov	w8, #0
	mov	w13, #0
	mov	x6, #0
	mov	x4, #0
	mov	x23, #0
	cmp	x19, #0
	cset	w9, ne
	mov	x11, x19
	mov	x12, x19
	mov	x25, x19
LBB0_56:
	cmp	x12, #0
	cset	w10, ne
	and	w8, w8, w10
	tbnz	w8, #0, LBB0_62
; %bb.57:
	and	w8, w9, w10
	cbnz	w8, LBB0_62
; %bb.58:
Lloh56:
	adrp	x8, _REG_ADD@GOTPAGE
Lloh57:
	ldr	x8, [x8, _REG_ADD@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_63
; %bb.59:
	ldr	w0, [sp, #52]
	ldr	x1, [sp, #56]
	sxtb	w5, w13
	mov	x2, x23
	mov	x3, x25
	mov	x7, x19
	bl	_reg_add
	b	LBB0_8
LBB0_60:
	cmp	x23, #0
	cset	w8, ne
	cmp	x25, #0
	cset	w9, ne
	cbz	x23, LBB0_66
; %bb.61:
	ldp	x4, x6, [sp, #24]               ; 16-byte Folded Reload
	ldr	x11, [sp, #16]                  ; 8-byte Folded Reload
	ldr	x12, [sp, #40]                  ; 8-byte Folded Reload
	ldr	w13, [sp, #12]                  ; 4-byte Folded Reload
	cbz	x25, LBB0_56
LBB0_62:
Lloh59:
	adrp	x8, _STRING_INVALID_CMDLINE@GOTPAGE
Lloh60:
	ldr	x8, [x8, _STRING_INVALID_CMDLINE@GOTPAGEOFF]
	b	LBB0_3
LBB0_63:
Lloh61:
	adrp	x8, _REG_DELETE@GOTPAGE
Lloh62:
	ldr	x8, [x8, _REG_DELETE@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	ldr	w0, [sp, #52]
	ldp	x1, x2, [sp, #56]
	cmp	w20, w8
	b.ne	LBB0_65
; %bb.64:
	mov	x3, x23
	mov	x4, x25
	mov	x5, x12
	mov	x6, x19
	bl	_reg_delete
	b	LBB0_8
LBB0_65:
	mov	x5, x11
	mov	x3, x23
	mov	x4, x25
	bl	_reg_query
	b	LBB0_8
LBB0_66:
	ldp	x4, x6, [sp, #24]               ; 16-byte Folded Reload
	ldr	x11, [sp, #16]                  ; 8-byte Folded Reload
	ldr	x12, [sp, #40]                  ; 8-byte Folded Reload
	ldr	w13, [sp, #12]                  ; 4-byte Folded Reload
	b	LBB0_56
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_40-LBB0_40)>>2
	.byte	(LBB0_62-LBB0_40)>>2
	.byte	(LBB0_43-LBB0_40)>>2
	.byte	(LBB0_62-LBB0_40)>>2
	.byte	(LBB0_62-LBB0_40)>>2
	.byte	(LBB0_62-LBB0_40)>>2
	.byte	(LBB0_62-LBB0_40)>>2
	.byte	(LBB0_62-LBB0_40)>>2
	.byte	(LBB0_62-LBB0_40)>>2
	.byte	(LBB0_62-LBB0_40)>>2
	.byte	(LBB0_62-LBB0_40)>>2
	.byte	(LBB0_62-LBB0_40)>>2
	.byte	(LBB0_62-LBB0_40)>>2
	.byte	(LBB0_62-LBB0_40)>>2
	.byte	(LBB0_62-LBB0_40)>>2
	.byte	(LBB0_44-LBB0_40)>>2
	.byte	(LBB0_46-LBB0_40)>>2
	.byte	(LBB0_62-LBB0_40)>>2
	.byte	(LBB0_48-LBB0_40)>>2
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
_wmain.switchVAW:                       ; @wmain.switchVAW
	.asciz	"va"

_wmain.switchVEW:                       ; @wmain.switchVEW
	.asciz	"ve"

	.comm	_STRING_INVALID_SYNTAX,4,2      ; @STRING_INVALID_SYNTAX
	.comm	_STRING_REG_HELP,4,2            ; @STRING_REG_HELP
	.comm	_STRING_USAGE,4,2               ; @STRING_USAGE
	.comm	_REG_INVALID,4,2                ; @REG_INVALID
	.comm	_STRING_INVALID_OPTION,4,2      ; @STRING_INVALID_OPTION
	.comm	_REG_IMPORT,4,2                 ; @REG_IMPORT
	.comm	_STRING_FUNC_HELP,4,2           ; @STRING_FUNC_HELP
	.comm	_REG_EXPORT,4,2                 ; @REG_EXPORT
	.comm	_REG_SAVE,4,2                   ; @REG_SAVE
	.comm	_REG_RESTORE,4,2                ; @REG_RESTORE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_STRING_INVALID_CMDLINE,4,2     ; @STRING_INVALID_CMDLINE
	.comm	_REG_QUERY,4,2                  ; @REG_QUERY
	.comm	_REG_ADD,4,2                    ; @REG_ADD
	.comm	_REG_DELETE,4,2                 ; @REG_DELETE
.subsections_via_symbols
