	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function export_hkey
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_export_hkey:                           ## @export_hkey
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movq	%rdi, -144(%rbp)                ## 8-byte Spill
	movq	24(%rbp), %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movabsq	$724337864205863437, %rax       ## imm = 0xA0D5D73255B0A0D
	movq	%rax, -64(%rbp)
	movb	$0, -56(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rsp)
	leaq	-152(%rbp), %rax
	movq	%rax, 24(%rsp)
	leaq	-156(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	%xmm0, (%rsp)
	leaq	-160(%rbp), %r9
	movl	%esi, -108(%rbp)                ## 4-byte Spill
	movl	%esi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_RegQueryInfoKeyW
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_REGPROC_print_error
LBB0_2:
	movq	(%rbx), %rdi
	callq	_strlenW
	movl	%eax, %r12d
	leal	1(%r12), %eax
	movl	-160(%rbp), %edx
	movl	%eax, -148(%rbp)                ## 4-byte Spill
	addl	%eax, %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_REGPROC_resize_char_buffer
	movl	-156(%rbp), %edx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	callq	_REGPROC_resize_char_buffer
	movl	-152(%rbp), %edx
	movq	16(%rbp), %rdi
	movq	%r15, %rsi
	callq	_REGPROC_resize_binary_buffer
	movq	(%rbx), %rdi
	callq	_lstrlenW
                                        ## kill: def $eax killed $eax def $rax
	leal	4(%rax), %edx
	movq	32(%rbp), %r15
	movq	%r15, %rdi
	movq	40(%rbp), %rsi
	callq	_REGPROC_resize_char_buffer
	movq	(%r15), %rdi
	movq	(%rbx), %rdx
	leaq	-64(%rbp), %rsi
	xorl	%eax, %eax
	callq	_sprintfW
	movq	(%r15), %rsi
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movq	48(%rbp), %rdx
	callq	_REGPROC_write_line
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%r12, -184(%rbp)                ## 8-byte Spill
	movq	%r13, -176(%rbp)                ## 8-byte Spill
	movq	%rbx, -168(%rbp)                ## 8-byte Spill
	movl	$0, -132(%rbp)                  ## 4-byte Folded Spill
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movq	24(%rbp), %rbx
	movq	16(%rbp), %r12
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-136(%rbp), %edx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	callq	_REGPROC_resize_char_buffer
	movl	-92(%rbp), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_REGPROC_resize_binary_buffer
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, -128(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_25
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %eax
	movl	%eax, -136(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -92(%rbp)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rdx
	movq	(%r12), %rax
	leaq	-92(%rbp), %rcx
	movq	%rcx, 8(%rsp)
	movq	%rax, (%rsp)
	movl	-108(%rbp), %edi                ## 4-byte Reload
	movl	-132(%rbp), %esi                ## 4-byte Reload
	leaq	-136(%rbp), %rcx
	xorl	%r8d, %r8d
	leaq	-88(%rbp), %r9
	callq	_RegEnumValueW
	movq	_ERROR_MORE_DATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	(%r15), %rax
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %r14
	cmpb	$0, (%r14)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movw	$61, -76(%rbp)
	movl	$577971490, -80(%rbp)           ## imm = 0x22732522
	movl	$0, -84(%rbp)
	movq	%r14, %rdi
	callq	_lstrlenW
	movq	32(%rbp), %r13
	movq	%r13, %rdi
	movq	40(%rbp), %r15
	movq	%r15, %rsi
	leaq	-84(%rbp), %rdx
	movq	%r14, %rcx
	movl	%eax, %r8d
	callq	_REGPROC_export_string
	movq	(%r13), %rdi
	callq	_lstrlenW
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edx
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-120(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rsi
	callq	_REGPROC_resize_char_buffer
	movq	(%rbx), %rdi
	movq	(%r13), %rsi
	callq	_lstrcpyW
	movq	(%rbx), %rdi
	callq	_lstrlenW
                                        ## kill: def $eax killed $eax def $rax
	leal	3(%rax), %edx
	movl	%edx, -84(%rbp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_REGPROC_resize_char_buffer
	movq	(%r13), %rdi
	movq	(%rbx), %rdx
	leaq	-80(%rbp), %rsi
	xorl	%eax, %eax
	callq	_sprintfW
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	_ERROR_NO_MORE_ITEMS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_24
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_REGPROC_print_error
	jmp	LBB0_24
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	$0, -78(%rbp)
	movw	$15680, -80(%rbp)               ## imm = 0x3D40
	movl	$2, -84(%rbp)
	movq	32(%rbp), %rbx
	movq	%rbx, %rdi
	movq	40(%rbp), %rsi
	movl	$2, %edx
	callq	_REGPROC_resize_char_buffer
	movq	(%rbx), %rdi
	leaq	-80(%rbp), %rsi
	callq	_lstrcpyW
	movq	-120(%rbp), %r14                ## 8-byte Reload
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-88(%rbp), %ecx
	leal	-128(%rcx), %eax
	cmpl	$4, %eax
	ja	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r12), %r13
	movslq	-92(%rbp), %r9
	testq	%r9, %r9
	movq	32(%rbp), %r12
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$0, -1(%r9,%r13)
	je	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	48(%rbp), %r15
	movq	%r15, (%rsp)
	movq	%r12, %rdi
	movq	40(%rbp), %rsi
	leaq	-84(%rbp), %rdx
	movl	$128, %ecx
	movq	%r13, %r8
                                        ## kill: def $r9d killed $r9d killed $r9
	jmp	LBB0_22
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-168(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_GetMultiByteString
	movq	%rax, %rbx
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_GetMultiByteString
	movq	%rax, %r15
	movq	_stderr@GOTPCREL(%rip), %r13
	movl	(%r13), %r14d
	xorl	%eax, %eax
	callq	_getAppName
	movslq	%eax, %rdx
	movl	-88(%rbp), %ecx
	movl	%r14d, %edi
	movq	-120(%rbp), %r14                ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_HeapFree
	movl	-88(%rbp), %ecx
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r12), %r8
	movl	-92(%rbp), %r9d
	movq	48(%rbp), %r15
	movq	%r15, (%rsp)
	movq	32(%rbp), %r12
	movq	%r12, %rdi
	movq	40(%rbp), %rsi
	leaq	-84(%rbp), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	callq	_REGPROC_export_binary
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	incl	-132(%rbp)                      ## 4-byte Folded Spill
	movq	(%r12), %rsi
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rdx
	callq	_REGPROC_write_line
	movq	24(%rbp), %rbx
	movq	16(%rbp), %r12
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r15
	jmp	LBB0_24
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movabsq	$2829559757022522, %rax         ## imm = 0xA0D783830253A
	movq	%rax, -75(%rbp)
	movabsq	$3469243291049883492, %rax      ## imm = 0x30253A64726F7764
	movq	%rax, -80(%rbp)
	movl	-84(%rbp), %edx
	addl	$15, %edx
	movq	%r12, %rbx
	movq	32(%rbp), %r12
	movq	%r12, %rdi
	movq	40(%rbp), %rsi
	callq	_REGPROC_resize_char_buffer
	movslq	-84(%rbp), %rdi
	addq	(%r12), %rdi
	movq	(%rbx), %rax
	movl	(%rax), %edx
	leaq	-80(%rbp), %rsi
	xorl	%eax, %eax
	callq	_sprintfW
	movq	48(%rbp), %r15
	jmp	LBB0_23
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movw	$34, -110(%rbp)
	movl	$658722, -80(%rbp)              ## imm = 0xA0D22
	leaq	-110(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_lstrlenW
	movl	%eax, %r14d
	movl	-84(%rbp), %edx
	addl	%eax, %edx
	movq	%r12, %rdi
	movq	40(%rbp), %r15
	movq	%r15, %rsi
	callq	_REGPROC_resize_char_buffer
	movslq	-84(%rbp), %rdi
	addq	(%r12), %rdi
	movq	%rbx, %rsi
	callq	_lstrcpyW
	addl	%r14d, -84(%rbp)
	movl	-92(%rbp), %r8d
	decl	%r8d
	movq	%r12, %rdi
	movq	%r15, %rsi
	leaq	-84(%rbp), %rdx
	movq	%r13, %rcx
	callq	_REGPROC_export_string
	movl	-84(%rbp), %r14d
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_lstrlenW
	addl	%eax, %r14d
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	movq	-120(%rbp), %r14                ## 8-byte Reload
	callq	_REGPROC_resize_char_buffer
	movslq	-84(%rbp), %rdi
	addq	(%r12), %rdi
	movq	%rbx, %rsi
	callq	_lstrcpyW
	movq	48(%rbp), %r15
	jmp	LBB0_23
LBB0_25:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	-168(%rbp), %r12                ## 8-byte Reload
	movq	(%r12), %rax
	movq	-184(%rbp), %rbx                ## 8-byte Reload
	movslq	%ebx, %r15
	movb	$92, (%rax,%r15)
	testq	%r14, %r14
	je	LBB0_38
## %bb.26:
	notl	%ebx
	movl	$0, -128(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_27 Depth=1
	movl	-80(%rbp), %edx
	addl	-148(%rbp), %edx                ## 4-byte Folded Reload
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_REGPROC_resize_char_buffer
	testq	%r14, %r14
	je	LBB0_38
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	-176(%rbp), %r13                ## 8-byte Reload
	movl	(%r13), %eax
	addl	%ebx, %eax
	movl	%eax, -80(%rbp)
	movq	(%r12), %rax
	leaq	(%rax,%r15), %rdx
	incq	%rdx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movl	-108(%rbp), %edi                ## 4-byte Reload
	movl	-128(%rbp), %esi                ## 4-byte Reload
	leaq	-80(%rbp), %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_RegEnumKeyExW
	movq	_ERROR_MORE_DATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	%r15, %r13
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_30
## %bb.32:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	(%r12), %rax
	leaq	(%rax,%r13), %rsi
	incq	%rsi
	movl	-108(%rbp), %edi                ## 4-byte Reload
	leaq	-88(%rbp), %rdx
	callq	_RegOpenKeyW
	cmpq	(%r15), %rax
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_27 Depth=1
	movl	-88(%rbp), %esi
	movq	48(%rbp), %rax
	movq	%rax, 32(%rsp)
	movq	40(%rbp), %rax
	movq	%rax, 24(%rsp)
	movq	32(%rbp), %rax
	movq	%rax, 16(%rsp)
	movq	24(%rbp), %rax
	movq	%rax, 8(%rsp)
	movq	16(%rbp), %rax
	movq	%rax, (%rsp)
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rdx
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	movq	-120(%rbp), %r9                 ## 8-byte Reload
	callq	_export_hkey
	movl	-88(%rbp), %edi
	callq	_RegCloseKey
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_27 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	movq	_ERROR_NO_MORE_ITEMS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_36
## %bb.31:                              ##   in Loop: Header=BB0_27 Depth=1
	xorl	%eax, %eax
	callq	_REGPROC_print_error
	jmp	LBB0_36
LBB0_34:                                ##   in Loop: Header=BB0_27 Depth=1
	xorl	%eax, %eax
	callq	_REGPROC_print_error
LBB0_35:                                ##   in Loop: Header=BB0_27 Depth=1
	incl	-128(%rbp)                      ## 4-byte Folded Spill
LBB0_36:                                ##   in Loop: Header=BB0_27 Depth=1
	movq	%r13, %r15
	testq	%r14, %r14
	jne	LBB0_27
	jmp	LBB0_38
LBB0_3:
	movq	(%rbx), %rax
	movslq	%r12d, %r15
	movb	$92, (%rax,%r15)
	movq	%rbx, %r12
LBB0_38:
	movq	(%r12), %rax
	movb	$0, (%rax,%r15)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_40
## %bb.39:
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_40:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_19
	.long	L0_0_set_21
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L___const.export_hkey.key_format:       ## @__const.export_hkey.key_format
	.asciz	"\r\n[%s]\r\n"

	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_ERROR_MORE_DATA,8,3            ## @ERROR_MORE_DATA
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_ERROR_NO_MORE_ITEMS,8,3        ## @ERROR_NO_MORE_ITEMS
L___const.export_hkey.val_start:        ## @__const.export_hkey.val_start
	.asciz	"\"%s\"="

L___const.export_hkey.std_val:          ## @__const.export_hkey.std_val
	.asciz	"@="

L___const.export_hkey.format:           ## @__const.export_hkey.format
	.asciz	"dword:%08x\r\n"

	.comm	_stderr,4,2                     ## @stderr
L_.str:                                 ## @.str
	.asciz	"%S: warning - unsupported registry format '%ld', treat as binary\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"value name:\"%s\"\n\n"

	.no_dead_strip	_export_hkey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function export_hkey
_export_hkey:                           ; @export_hkey
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #288
	.cfi_def_cfa_offset 288
	stp	x28, x27, [sp, #192]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #208]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #224]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #240]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #256]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #272]            ; 16-byte Folded Spill
	add	x29, sp, #272
	.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	x20, x7
	mov	x21, x6
	mov	x22, x5
	mov	x23, x4
	stp	x0, x3, [sp, #56]               ; 16-byte Folded Spill
	str	x2, [sp, #104]                  ; 8-byte Folded Spill
	mov	x25, x1
	ldp	x8, x28, [x29, #24]
	str	x8, [sp, #96]                   ; 8-byte Folded Spill
	ldr	x26, [x29, #16]
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, l___const.export_hkey.key_format@PAGE
Lloh4:
	add	x8, x8, l___const.export_hkey.key_format@PAGEOFF
Lloh5:
	ldr	x8, [x8]
	stur	x8, [x29, #-112]
	sturb	wzr, [x29, #-104]
	stp	xzr, xzr, [sp, #16]
	add	x8, sp, #132
	add	x9, sp, #136
	stp	x9, x8, [sp]
	sub	x5, x29, #132
	mov	x0, x1
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x6, #0
	mov	x7, #0
	bl	_RegQueryInfoKeyW
Lloh6:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	bl	_REGPROC_print_error
LBB0_2:
	ldr	x19, [sp, #104]                 ; 8-byte Folded Reload
	ldr	x0, [x19]
	bl	_strlenW
	mov	x27, x0
	ldur	w8, [x29, #-132]
	add	w9, w0, #1
	str	w9, [sp, #52]                   ; 4-byte Folded Spill
	add	w2, w9, w8
	mov	x0, x19
	ldr	x1, [sp, #64]                   ; 8-byte Folded Reload
	bl	_REGPROC_resize_char_buffer
	ldr	w2, [sp, #136]
	mov	x0, x23
	mov	x1, x22
	bl	_REGPROC_resize_char_buffer
	ldr	w2, [sp, #132]
	mov	x0, x21
	mov	x1, x20
	bl	_REGPROC_resize_binary_buffer
	ldr	x0, [x19]
	bl	_lstrlenW
	add	w2, w0, #4
	mov	x0, x26
	ldr	x1, [sp, #96]                   ; 8-byte Folded Reload
	bl	_REGPROC_resize_char_buffer
	ldr	x0, [x26]
	ldr	x8, [x19]
	str	x8, [sp]
	sub	x1, x29, #112
	bl	_sprintfW
	ldr	x1, [x26]
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	mov	x2, x28
	bl	_REGPROC_write_line
Lloh9:
	adrp	x8, _TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh11:
	ldr	x24, [x8]
	cbz	x24, LBB0_36
; %bb.3:
	str	x27, [sp, #32]                  ; 8-byte Folded Spill
	mov	w27, #0
	stp	x22, x20, [sp, #80]             ; 16-byte Folded Spill
	str	x28, [sp, #72]                  ; 8-byte Folded Spill
Lloh12:
	adrp	x28, _ERROR_SUCCESS@GOTPAGE
Lloh13:
	ldr	x28, [x28, _ERROR_SUCCESS@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [sp, #124]
	mov	x0, x23
	mov	x1, x22
	bl	_REGPROC_resize_char_buffer
	ldr	w2, [sp, #120]
	mov	x0, x21
	mov	x1, x20
	bl	_REGPROC_resize_binary_buffer
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	cbz	x24, LBB0_23
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x22]
	ldr	w8, [x20]
	stp	w8, w9, [sp, #120]
	ldr	x2, [x23]
	ldr	x6, [x21]
	add	x3, sp, #124
	add	x5, sp, #128
	add	x7, sp, #120
	mov	x0, x25
	mov	x1, x27
	mov	x4, #0
	bl	_RegEnumValueW
Lloh14:
	adrp	x8, _ERROR_MORE_DATA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERROR_MORE_DATA@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x28, [x23]
	ldrb	w8, [x28]
	cbz	w8, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #61
	sturh	w8, [x29, #-124]
	mov	w8, #9506
	movk	w8, #8819, lsl #16
	stur	w8, [x29, #-128]
	str	wzr, [sp, #116]
	mov	x0, x28
	bl	_lstrlenW
	mov	x4, x0
	add	x2, sp, #116
	mov	x0, x26
	ldr	x20, [sp, #96]                  ; 8-byte Folded Reload
	mov	x1, x20
	mov	x3, x28
	bl	_REGPROC_export_string
	ldr	x0, [x26]
	bl	_lstrlenW
	add	w2, w0, #1
	mov	x0, x23
	ldr	x22, [sp, #80]                  ; 8-byte Folded Reload
	mov	x1, x22
	bl	_REGPROC_resize_char_buffer
	ldr	x0, [x23]
	ldr	x1, [x26]
	bl	_lstrcpyW
	ldr	x0, [x23]
	bl	_lstrlenW
	add	w2, w0, #3
	str	w2, [sp, #116]
	mov	x0, x26
	mov	x1, x20
	bl	_REGPROC_resize_char_buffer
	ldr	x0, [x26]
	ldr	x8, [x23]
	str	x8, [sp]
	sub	x1, x29, #128
	bl	_sprintfW
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh17:
	adrp	x8, _FALSE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh19:
	ldr	x24, [x8]
Lloh20:
	adrp	x8, _ERROR_NO_MORE_ITEMS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERROR_NO_MORE_ITEMS@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	bl	_REGPROC_print_error
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	sturb	wzr, [x29, #-126]
	mov	w8, #15680
	sturh	w8, [x29, #-128]
	mov	w8, #2
	str	w8, [sp, #116]
	mov	x0, x26
	ldr	x1, [sp, #96]                   ; 8-byte Folded Reload
	mov	w2, #2
	bl	_REGPROC_resize_char_buffer
	ldr	x0, [x26]
	sub	x1, x29, #128
	bl	_lstrcpyW
	ldr	x22, [sp, #80]                  ; 8-byte Folded Reload
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x28, [sp, #72]                  ; 8-byte Folded Reload
	ldr	w3, [sp, #128]
	sub	w8, w3, #128
	cmp	w8, #4
	ldr	x20, [sp, #88]                  ; 8-byte Folded Reload
	b.hi	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh23:
	adrp	x11, lJTI0_0@PAGE
Lloh24:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_15
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x28, [x21]
	ldrsw	x5, [sp, #120]
	cbz	w5, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x5, x28
	ldurb	w8, [x8, #-1]
	cbz	w8, LBB0_22
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x2, sp, #116
	mov	x0, x26
	ldr	x1, [sp, #96]                   ; 8-byte Folded Reload
	mov	w3, #128
	mov	x4, x28
                                        ; kill: def $w5 killed $w5 killed $x5
	ldr	x28, [sp, #72]                  ; 8-byte Folded Reload
	mov	x6, x28
	bl	_REGPROC_export_binary
	ldp	x22, x20, [sp, #80]             ; 16-byte Folded Reload
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
	ldr	x0, [x8]
	bl	_GetMultiByteString
	mov	x19, x0
	ldr	x0, [x23]
	bl	_GetMultiByteString
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
Lloh25:
	adrp	x8, _stderr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh27:
	ldr	w28, [x8]
	bl	_getAppName
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
	ldr	w8, [sp, #128]
	str	x8, [sp]
	mov	x0, x28
	ldp	x28, x22, [sp, #72]             ; 16-byte Folded Reload
	ldr	x20, [sp, #88]                  ; 8-byte Folded Reload
Lloh28:
	adrp	x1, l_.str@PAGE
Lloh29:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
Lloh30:
	adrp	x8, _stderr@GOTPAGE
Lloh31:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_fprintf
Lloh35:
	adrp	x8, _stderr@GOTPAGE
Lloh36:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x1, l_.str.2@PAGE
Lloh39:
	add	x1, x1, l_.str.2@PAGEOFF
	ldr	x2, [sp, #40]                   ; 8-byte Folded Reload
	bl	_fprintf
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	bl	_HeapFree
	bl	_GetProcessHeap
	mov	w1, #0
	ldr	x2, [sp, #40]                   ; 8-byte Folded Reload
	bl	_HeapFree
	ldr	w3, [sp, #128]
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x4, [x21]
	ldr	w5, [sp, #120]
	add	x2, sp, #116
	mov	x0, x26
	ldr	x1, [sp, #96]                   ; 8-byte Folded Reload
	mov	x6, x28
	bl	_REGPROC_export_binary
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w27, w27, #1
	ldr	x1, [x26]
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	mov	x2, x28
	bl	_REGPROC_write_line
Lloh40:
	adrp	x28, _ERROR_SUCCESS@GOTPAGE
Lloh41:
	ldr	x28, [x28, _ERROR_SUCCESS@GOTPAGEOFF]
	b	LBB0_5
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh42:
	adrp	x9, l___const.export_hkey.format@PAGE
Lloh43:
	add	x9, x9, l___const.export_hkey.format@PAGEOFF
	ldr	x8, [x9]
	stur	x8, [x29, #-128]
	ldur	x8, [x9, #5]
	stur	x8, [x29, #-123]
	ldr	w8, [sp, #116]
	add	w2, w8, #15
	mov	x0, x26
	ldr	x1, [sp, #96]                   ; 8-byte Folded Reload
	bl	_REGPROC_resize_char_buffer
	ldr	x8, [x26]
	ldrsw	x9, [sp, #116]
	add	x0, x8, x9
	ldr	x8, [x21]
	ldr	w8, [x8]
	str	x8, [sp]
	sub	x1, x29, #128
	bl	_sprintfW
	b	LBB0_20
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #34
	strh	w8, [sp, #114]
	mov	w8, #3362
	movk	w8, #10, lsl #16
	stur	w8, [x29, #-128]
	add	x0, sp, #114
	bl	_lstrlenW
	mov	x19, x0
	ldr	w8, [sp, #116]
	add	w2, w8, w0
	mov	x0, x26
	ldr	x20, [sp, #96]                  ; 8-byte Folded Reload
	mov	x1, x20
	bl	_REGPROC_resize_char_buffer
	ldr	x8, [x26]
	ldrsw	x9, [sp, #116]
	add	x0, x8, x9
	add	x1, sp, #114
	bl	_lstrcpyW
	ldr	w8, [sp, #116]
	add	w8, w8, w19
	str	w8, [sp, #116]
	ldr	w8, [sp, #120]
	sub	w4, w8, #1
	add	x2, sp, #116
	mov	x0, x26
	mov	x1, x20
	mov	x3, x28
	bl	_REGPROC_export_string
	ldr	w19, [sp, #116]
	sub	x0, x29, #128
	bl	_lstrlenW
	add	w2, w0, w19
	mov	x0, x26
	mov	x1, x20
	bl	_REGPROC_resize_char_buffer
	ldr	x8, [x26]
	ldrsw	x9, [sp, #116]
	add	x0, x8, x9
	sub	x1, x29, #128
	bl	_lstrcpyW
	ldp	x22, x20, [sp, #80]             ; 16-byte Folded Reload
	ldr	x28, [sp, #72]                  ; 8-byte Folded Reload
	b	LBB0_20
LBB0_23:
Lloh44:
	adrp	x8, _TRUE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh46:
	ldr	x28, [x8]
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	sxtw	x24, w10
	mov	w9, #92
	strb	w9, [x8, x24]
	cbz	x28, LBB0_37
; %bb.24:
	mov	w27, #0
	mvn	w19, w10
	ldr	x22, [sp, #64]                  ; 8-byte Folded Reload
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_27 Depth=1
	ldur	w8, [x29, #-128]
	ldr	w9, [sp, #52]                   ; 4-byte Folded Reload
	add	w2, w9, w8
	mov	x0, x20
	mov	x1, x22
	bl	_REGPROC_resize_char_buffer
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=1
	cbz	x28, LBB0_37
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	add	w8, w8, w19
	stur	w8, [x29, #-128]
	ldr	x20, [sp, #104]                 ; 8-byte Folded Reload
	ldr	x8, [x20]
	add	x8, x8, x24
	add	x2, x8, #1
	sub	x3, x29, #128
	mov	x0, x25
	mov	x1, x27
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_RegEnumKeyExW
Lloh47:
	adrp	x8, _ERROR_MORE_DATA@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ERROR_MORE_DATA@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_25
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
Lloh50:
	adrp	x22, _ERROR_SUCCESS@GOTPAGE
Lloh51:
	ldr	x22, [x22, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_27 Depth=1
	ldr	x20, [sp, #104]                 ; 8-byte Folded Reload
	ldr	x8, [x20]
	add	x8, x8, x24
	add	x1, x8, #1
	add	x2, sp, #128
	mov	x0, x25
	bl	_RegOpenKeyW
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_33
; %bb.30:                               ;   in Loop: Header=BB0_27 Depth=1
	ldr	w1, [sp, #128]
	ldp	x22, x9, [sp, #64]              ; 16-byte Folded Reload
	ldp	x7, x8, [sp, #88]               ; 16-byte Folded Reload
	stp	x8, x9, [sp, #8]
	str	x26, [sp]
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	mov	x2, x20
	mov	x3, x22
	mov	x4, x23
	ldr	x5, [sp, #80]                   ; 8-byte Folded Reload
	mov	x6, x21
	bl	_export_hkey
	ldr	w0, [sp, #128]
	bl	_RegCloseKey
	b	LBB0_34
LBB0_31:                                ;   in Loop: Header=BB0_27 Depth=1
Lloh52:
	adrp	x8, _FALSE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh54:
	ldr	x28, [x8]
Lloh55:
	adrp	x8, _ERROR_NO_MORE_ITEMS@GOTPAGE
Lloh56:
	ldr	x8, [x8, _ERROR_NO_MORE_ITEMS@GOTPAGEOFF]
Lloh57:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_35
; %bb.32:                               ;   in Loop: Header=BB0_27 Depth=1
	ldr	x22, [sp, #64]                  ; 8-byte Folded Reload
	b	LBB0_26
LBB0_33:                                ;   in Loop: Header=BB0_27 Depth=1
	bl	_REGPROC_print_error
	ldr	x22, [sp, #64]                  ; 8-byte Folded Reload
LBB0_34:                                ;   in Loop: Header=BB0_27 Depth=1
	add	w27, w27, #1
	b	LBB0_26
LBB0_35:                                ;   in Loop: Header=BB0_27 Depth=1
	bl	_REGPROC_print_error
	ldr	x22, [sp, #64]                  ; 8-byte Folded Reload
	b	LBB0_26
LBB0_36:
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
	ldr	x8, [x8]
	mov	x9, x27
	sxtw	x24, w9
	mov	w9, #92
	strb	w9, [x8, x24]
LBB0_37:
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
	ldr	x8, [x8]
	strb	wzr, [x8, x24]
	ldur	x8, [x29, #-96]
Lloh58:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh59:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_39
; %bb.38:
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #240]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #224]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #208]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #192]            ; 16-byte Folded Reload
	add	sp, sp, #288
	ret
LBB0_39:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_15-LBB0_15)>>2
	.byte	(LBB0_19-LBB0_15)>>2
	.byte	(LBB0_19-LBB0_15)>>2
	.byte	(LBB0_21-LBB0_15)>>2
	.byte	(LBB0_19-LBB0_15)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l___const.export_hkey.key_format:       ; @__const.export_hkey.key_format
	.asciz	"\r\n[%s]\r\n"

	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_ERROR_MORE_DATA,8,3            ; @ERROR_MORE_DATA
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_ERROR_NO_MORE_ITEMS,8,3        ; @ERROR_NO_MORE_ITEMS
l___const.export_hkey.val_start:        ; @__const.export_hkey.val_start
	.asciz	"\"%s\"="

l___const.export_hkey.std_val:          ; @__const.export_hkey.std_val
	.asciz	"@="

l___const.export_hkey.format:           ; @__const.export_hkey.format
	.asciz	"dword:%08x\r\n"

	.comm	_stderr,4,2                     ; @stderr
l_.str:                                 ; @.str
	.asciz	"%S: warning - unsupported registry format '%ld', treat as binary\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"value name:\"%s\"\n\n"

	.no_dead_strip	_export_hkey
.subsections_via_symbols
