	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_export_registry_key            ## -- Begin function export_registry_key
	.p2align	4, 0x90
_export_registry_key:                   ## @export_registry_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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	_KEY_MAX_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, -64(%rbp)
	movq	%rbx, -120(%rbp)
	movq	_REG_VAL_BUF_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r15, -112(%rbp)
	leaq	(%r15,%rbx), %r13
	movq	%r13, -104(%rbp)
	movq	_REG_FORMAT_5@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpq	%rdx, (%rax)
	sete	%cl
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_GetProcessHeap
	shlq	$3, %rbx
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapAlloc
	movq	%rax, %r12
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapAlloc
	movq	%rax, %r14
	movq	%rax, -88(%rbp)
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_HeapAlloc
	movq	%rax, %rbx
	movq	%rax, -80(%rbp)
	xorl	%eax, %eax
	callq	_GetProcessHeap
	shlq	$3, %r13
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_HeapAlloc
	movq	%rax, -72(%rbp)
	testq	%r12, %r12
	movq	-128(%rbp), %r12                ## 8-byte Reload
	setne	%cl
	testq	%r14, %r14
	setne	%dl
	andb	%cl, %dl
	testq	%rbx, %rbx
	setne	%cl
	andb	%dl, %cl
	testq	%rax, %rax
	setne	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_CHECK_ENOUGH_MEMORY
	testq	%r12, %r12
	je	LBB0_8
## %bb.1:
	cmpq	$0, (%r12)
	je	LBB0_8
## %bb.2:
	movq	$0, -144(%rbp)
	movq	%r12, %rdi
	callq	_lstrlenW
	leaq	-48(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	movl	%eax, %edx
	callq	_REGPROC_resize_char_buffer
	movq	-48(%rbp), %rdi
	movq	%r12, %rsi
	callq	_lstrcpyW
	leaq	-152(%rbp), %rsi
	leaq	-144(%rbp), %rdx
	movq	%r12, %rdi
	callq	_parseKeyName
	testl	%eax, %eax
	je	LBB0_20
## %bb.3:
	movq	-144(%rbp), %rsi
	cmpq	$0, (%rsi)
	je	LBB0_4
## %bb.5:
	movq	-152(%rbp), %rdi
	leaq	-136(%rbp), %rdx
	callq	_RegOpenKeyW
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_REGPROC_open_export_file
	movq	%rax, %rbx
	movq	-136(%rbp), %rsi
	subq	$8, %rsp
	leaq	-104(%rbp), %rax
	leaq	-72(%rbp), %r14
	leaq	-112(%rbp), %r10
	leaq	-80(%rbp), %r11
	leaq	-48(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	leaq	-88(%rbp), %r8
	leaq	-120(%rbp), %r9
	movq	%rbx, %rdi
	pushq	%r15
	pushq	%rax
	pushq	%r14
	pushq	%r10
	pushq	%r11
	callq	_export_hkey
	addq	$48, %rsp
	movq	-136(%rbp), %rdi
	callq	_RegCloseKey
	testq	%rbx, %rbx
	jne	LBB0_18
	jmp	LBB0_19
LBB0_8:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_REGPROC_open_export_file
	movq	%rax, %rbx
	movq	_REG_CLASS_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_17
## %bb.9:
	xorl	%r12d, %r12d
	movq	_reg_class_keys@GOTPCREL(%rip), %r13
	movq	_HKEY_CLASSES_ROOT@GOTPCREL(%rip), %r14
	movq	_HKEY_CURRENT_USER@GOTPCREL(%rip), %r15
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%r12
	movl	%eax, %ecx
	cmpq	%rcx, %r12
	jae	LBB0_16
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rcx
	movq	(%rcx,%r12,8), %rcx
	cmpq	(%r14), %rcx
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	(%r15), %rcx
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_HKEY_CURRENT_CONFIG@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_HKEY_DYN_DATA@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-48(%rbp), %rdi
	movq	_reg_class_namesW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r12,8), %rsi
	callq	_lstrcpyW
	movq	(%r13), %rax
	movq	(%rax,%r12,8), %rsi
	subq	$8, %rsp
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	leaq	-88(%rbp), %r8
	leaq	-120(%rbp), %r9
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	leaq	-104(%rbp), %rax
	pushq	%rax
	leaq	-72(%rbp), %rax
	pushq	%rax
	leaq	-112(%rbp), %rax
	pushq	%rax
	leaq	-80(%rbp), %rax
	pushq	%rax
	callq	_export_hkey
	addq	$48, %rsp
	movq	_REG_CLASS_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_16:
	movq	-128(%rbp), %r12                ## 8-byte Reload
	testq	%rbx, %rbx
	jne	LBB0_18
	jmp	LBB0_19
LBB0_4:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_REGPROC_open_export_file
	movq	%rax, %rbx
	movq	-152(%rbp), %rsi
	subq	$8, %rsp
	leaq	-104(%rbp), %rax
	leaq	-72(%rbp), %r14
	leaq	-112(%rbp), %r10
	leaq	-80(%rbp), %r11
	leaq	-48(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	leaq	-88(%rbp), %r8
	leaq	-120(%rbp), %r9
	movq	%rbx, %rdi
	pushq	%r15
	pushq	%rax
	pushq	%r14
	pushq	%r10
	pushq	%r11
	callq	_export_hkey
	addq	$48, %rsp
LBB0_17:
	testq	%rbx, %rbx
	je	LBB0_19
LBB0_18:
	movq	%rbx, %rdi
	callq	_fclose
LBB0_19:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_HeapFree
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-88(%rbp), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-80(%rbp), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-72(%rbp), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r12, %rdi
	callq	_GetMultiByteString
	movq	%rax, %r14
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_getAppName
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_fprintf
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
	xorl	%eax, %eax
	callq	_REGPROC_print_error
	testq	%rbx, %rbx
	jne	LBB0_18
	jmp	LBB0_19
LBB0_20:
	movq	%r12, %rdi
	callq	_GetMultiByteString
	movq	%rax, %rbx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_getAppName
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	movq	%rbx, %rcx
	callq	_fprintf
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_KEY_MAX_LEN,8,3                ## @KEY_MAX_LEN
	.comm	_REG_VAL_BUF_SIZE,8,3           ## @REG_VAL_BUF_SIZE
	.comm	_REG_FORMAT_5,8,3               ## @REG_FORMAT_5
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%S: Incorrect registry class specification in '%s'\n"

	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"%S: Can't export. Registry key '%s' does not exist!\n"

	.comm	_REG_CLASS_NUMBER,4,2           ## @REG_CLASS_NUMBER
	.comm	_reg_class_keys,8,3             ## @reg_class_keys
	.comm	_HKEY_CLASSES_ROOT,8,3          ## @HKEY_CLASSES_ROOT
	.comm	_HKEY_CURRENT_USER,8,3          ## @HKEY_CURRENT_USER
	.comm	_HKEY_CURRENT_CONFIG,8,3        ## @HKEY_CURRENT_CONFIG
	.comm	_HKEY_DYN_DATA,8,3              ## @HKEY_DYN_DATA
	.comm	_reg_class_namesW,8,3           ## @reg_class_namesW
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_export_registry_key            ; -- Begin function export_registry_key
	.p2align	2
_export_registry_key:                   ; @export_registry_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	x25, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _KEY_MAX_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEY_MAX_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	stp	x19, x19, [sp, #80]
Lloh3:
	adrp	x8, _REG_VAL_BUF_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_VAL_BUF_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x22, [x8]
	add	x20, x22, x19
	stp	x20, x22, [sp, #64]
Lloh6:
	adrp	x8, _REG_FORMAT_5@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_FORMAT_5@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x2
	cset	w8, eq
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	bl	_GetProcessHeap
	lsl	x23, x19, #3
	mov	w1, #0
	mov	x2, x23
	bl	_HeapAlloc
	mov	x24, x0
	stur	x0, [x29, #-88]
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x23
	bl	_HeapAlloc
	mov	x23, x0
	stur	x0, [x29, #-96]
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x22
	bl	_HeapAlloc
	mov	x22, x0
	str	x0, [sp, #104]
	bl	_GetProcessHeap
	lsl	x2, x20, #3
	mov	w1, #0
	bl	_HeapAlloc
	str	x0, [sp, #96]
	cmp	x24, #0
	ccmp	x23, #0, #4, ne
	ccmp	x22, #0, #4, ne
	ccmp	x0, #0, #4, ne
	cset	w0, ne
	bl	_CHECK_ENOUGH_MEMORY
	cbz	x25, LBB0_6
; %bb.1:
	ldr	x8, [x25]
	cbz	x8, LBB0_6
; %bb.2:
	str	xzr, [sp, #48]
	mov	x0, x25
	bl	_lstrlenW
	mov	x2, x0
	sub	x0, x29, #88
	add	x1, sp, #88
	bl	_REGPROC_resize_char_buffer
	ldur	x0, [x29, #-88]
	mov	x1, x25
	bl	_lstrcpyW
	add	x1, sp, #56
	add	x2, sp, #48
	mov	x0, x25
	bl	_parseKeyName
	cbz	w0, LBB0_17
; %bb.3:
	ldr	x1, [sp, #48]
	ldr	x8, [x1]
	cbz	x8, LBB0_12
; %bb.4:
	ldr	x0, [sp, #56]
	add	x2, sp, #40
	bl	_RegOpenKeyW
Lloh9:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.5:
	mov	x0, x21
	ldr	w19, [sp, #36]                  ; 4-byte Folded Reload
	mov	x1, x19
	bl	_REGPROC_open_export_file
	mov	x21, x0
	ldr	x1, [sp, #40]
	str	w19, [sp, #16]
	add	x8, sp, #64
	add	x9, sp, #96
	stp	x9, x8, [sp]
	sub	x2, x29, #88
	add	x3, sp, #88
	sub	x4, x29, #96
	add	x5, sp, #80
	add	x6, sp, #104
	add	x7, sp, #72
	bl	_export_hkey
	ldr	x0, [sp, #40]
	bl	_RegCloseKey
	cbnz	x21, LBB0_14
	b	LBB0_15
LBB0_6:
	mov	x0, x21
	ldr	w1, [sp, #36]                   ; 4-byte Folded Reload
	bl	_REGPROC_open_export_file
	mov	x21, x0
Lloh12:
	adrp	x8, _REG_CLASS_NUMBER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_CLASS_NUMBER@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cbz	w8, LBB0_13
; %bb.7:
	str	x25, [sp, #24]                  ; 8-byte Folded Spill
	mov	x23, #0
Lloh15:
	adrp	x24, _reg_class_keys@GOTPAGE
Lloh16:
	ldr	x24, [x24, _reg_class_keys@GOTPAGEOFF]
Lloh17:
	adrp	x25, _HKEY_CLASSES_ROOT@GOTPAGE
Lloh18:
	ldr	x25, [x25, _HKEY_CLASSES_ROOT@GOTPAGEOFF]
Lloh19:
	adrp	x26, _HKEY_CURRENT_USER@GOTPAGE
Lloh20:
	ldr	x26, [x26, _HKEY_CURRENT_USER@GOTPAGEOFF]
Lloh21:
	adrp	x27, _HKEY_CURRENT_CONFIG@GOTPAGE
Lloh22:
	ldr	x27, [x27, _HKEY_CURRENT_CONFIG@GOTPAGEOFF]
Lloh23:
	adrp	x28, _HKEY_DYN_DATA@GOTPAGE
Lloh24:
	ldr	x28, [x28, _HKEY_DYN_DATA@GOTPAGEOFF]
	add	x20, sp, #96
Lloh25:
	adrp	x22, _reg_class_namesW@GOTPAGE
Lloh26:
	ldr	x22, [x22, _reg_class_namesW@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x23, x23, #1
	cmp	x23, w8, uxtw
	b.hs	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x24]
	ldr	x9, [x9, x23, lsl #3]
	ldr	x10, [x25]
	ldr	x11, [x26]
	ldr	x12, [x27]
	ldr	x13, [x28]
	cmp	x9, x10
	ccmp	x9, x11, #4, ne
	ccmp	x9, x12, #4, ne
	ccmp	x9, x13, #4, ne
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldur	x0, [x29, #-88]
	ldr	x8, [x22]
	lsl	x19, x23, #3
	ldr	x1, [x8, x19]
	bl	_lstrcpyW
	ldr	x8, [x24]
	ldr	x1, [x8, x19]
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	str	w8, [sp, #16]
	sub	x2, x29, #88
	add	x3, sp, #88
	sub	x4, x29, #96
	add	x5, sp, #80
	add	x6, sp, #104
	add	x8, sp, #64
	stp	x20, x8, [sp]
	add	x7, sp, #72
	mov	x0, x21
	bl	_export_hkey
Lloh27:
	adrp	x8, _REG_CLASS_NUMBER@GOTPAGE
Lloh28:
	ldr	x8, [x8, _REG_CLASS_NUMBER@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	b	LBB0_8
LBB0_11:
	ldr	x25, [sp, #24]                  ; 8-byte Folded Reload
	cbnz	x21, LBB0_14
	b	LBB0_15
LBB0_12:
	mov	x0, x21
	ldr	w19, [sp, #36]                  ; 4-byte Folded Reload
	mov	x1, x19
	bl	_REGPROC_open_export_file
	mov	x21, x0
	ldr	x1, [sp, #56]
	str	w19, [sp, #16]
	add	x8, sp, #64
	add	x9, sp, #96
	stp	x9, x8, [sp]
	sub	x2, x29, #88
	add	x3, sp, #88
	sub	x4, x29, #96
	add	x5, sp, #80
	add	x6, sp, #104
	add	x7, sp, #72
	bl	_export_hkey
LBB0_13:
	cbz	x21, LBB0_15
LBB0_14:
	mov	x0, x21
	bl	_fclose
LBB0_15:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x25
	bl	_HeapFree
	bl	_GetProcessHeap
	ldur	x2, [x29, #-96]
	mov	w1, #0
	bl	_HeapFree
	bl	_GetProcessHeap
	ldr	x2, [sp, #104]
	mov	w1, #0
	bl	_HeapFree
	bl	_GetProcessHeap
	ldr	x2, [sp, #96]
	mov	w1, #0
	bl	_HeapFree
Lloh30:
	adrp	x8, _TRUE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_16:
	mov	x0, x25
	bl	_GetMultiByteString
	mov	x20, x0
Lloh33:
	adrp	x8, _stderr@GOTPAGE
Lloh34:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh35:
	ldr	w21, [x8]
	bl	_getAppName
	mov	x2, x0
Lloh36:
	adrp	x1, l_.str.1@PAGE
Lloh37:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x3, x20
	bl	_fprintf
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x20
	bl	_HeapFree
	bl	_REGPROC_print_error
	mov	x21, #0
	cbnz	x21, LBB0_14
	b	LBB0_15
LBB0_17:
	mov	x0, x25
	bl	_GetMultiByteString
	mov	x19, x0
Lloh38:
	adrp	x8, _stderr@GOTPAGE
Lloh39:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh40:
	ldr	w20, [x8]
	bl	_getAppName
	mov	x2, x0
Lloh41:
	adrp	x1, l_.str@PAGE
Lloh42:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	bl	_fprintf
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	bl	_HeapFree
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_KEY_MAX_LEN,8,3                ; @KEY_MAX_LEN
	.comm	_REG_VAL_BUF_SIZE,8,3           ; @REG_VAL_BUF_SIZE
	.comm	_REG_FORMAT_5,8,3               ; @REG_FORMAT_5
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%S: Incorrect registry class specification in '%s'\n"

	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"%S: Can't export. Registry key '%s' does not exist!\n"

	.comm	_REG_CLASS_NUMBER,4,2           ; @REG_CLASS_NUMBER
	.comm	_reg_class_keys,8,3             ; @reg_class_keys
	.comm	_HKEY_CLASSES_ROOT,8,3          ; @HKEY_CLASSES_ROOT
	.comm	_HKEY_CURRENT_USER,8,3          ; @HKEY_CURRENT_USER
	.comm	_HKEY_CURRENT_CONFIG,8,3        ; @HKEY_CURRENT_CONFIG
	.comm	_HKEY_DYN_DATA,8,3              ; @HKEY_DYN_DATA
	.comm	_reg_class_namesW,8,3           ; @reg_class_namesW
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
