	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ScmCopyTree
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ScmCopyTree:                           ## @ScmCopyTree
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movl	%edi, %r15d
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rsp)
	leaq	-96(%rbp), %rax
	movq	%rax, 24(%rsp)
	leaq	-64(%rbp), %rax
	movq	%rax, 16(%rsp)
	leaq	-80(%rbp), %rax
	movq	%rax, 8(%rsp)
	movq	$0, (%rsp)
	leaq	-88(%rbp), %r8
	leaq	-72(%rbp), %r9
	movl	%r15d, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_RegQueryInfoKey
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_21
## %bb.1:
	incq	-72(%rbp)
	incq	-64(%rbp)
	movq	-88(%rbp), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	movq	-72(%rbp), %rsi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	movq	-80(%rbp), %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	movq	-64(%rbp), %rsi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	movq	-96(%rbp), %rsi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	cmpq	$0, -88(%rbp)
	je	LBB0_11
## %bb.2:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-72(%rbp), %rdx
	shlq	$2, %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_22
## %bb.3:
	movq	%rax, %r12
	cmpq	$0, -88(%rbp)
	jle	LBB0_10
## %bb.4:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax
	movq	%rax, -128(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movl	%r15d, %edi
	movq	%r13, %rsi
	movq	%r12, %rdx
	leaq	-128(%rbp), %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_RegEnumKeyExW
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_25
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_REG_OPTION_NON_VOLATILE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_KEY_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-144(%rbp), %rax
	movq	%rax, 16(%rsp)
	leaq	-44(%rbp), %rax
	movq	%rax, 8(%rsp)
	movq	$0, (%rsp)
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_RegCreateKeyExW
	cmpq	(%r14), %rax
	jne	LBB0_26
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	leaq	-48(%rbp), %r8
	callq	_RegOpenKeyExW
	cmpq	(%r14), %rax
	jne	LBB0_28
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-48(%rbp), %edi
	movl	-44(%rbp), %esi
	callq	_ScmCopyTree
	cmpq	(%r14), %rax
	jne	LBB0_29
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-48(%rbp), %edi
	callq	_RegCloseKey
	movl	-44(%rbp), %edi
	callq	_RegCloseKey
	incq	%r13
	cmpq	-88(%rbp), %r13
	jl	LBB0_5
LBB0_10:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_HeapFree
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r14
LBB0_11:
	cmpq	$0, -80(%rbp)
	je	LBB0_20
## %bb.12:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-64(%rbp), %rdx
	shlq	$2, %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_22
## %bb.13:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-96(%rbp), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_24
## %bb.14:
	movq	%rax, %r13
	cmpq	$0, -80(%rbp)
	jle	LBB0_19
## %bb.15:
	xorl	%r14d, %r14d
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax
	movq	%rax, -120(%rbp)
	movq	-96(%rbp), %rax
	movq	%rax, -112(%rbp)
	leaq	-112(%rbp), %rax
	movq	%rax, 8(%rsp)
	movq	%r13, (%rsp)
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	leaq	-120(%rbp), %rcx
	xorl	%r8d, %r8d
	leaq	-136(%rbp), %r9
	callq	_RegEnumValueW
	movq	%rbx, %rsi
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_34
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	-136(%rbp), %rcx
	movq	-112(%rbp), %r9
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	xorl	%edx, %edx
	movq	%r13, %r8
	callq	_RegSetValueExW
	cmpq	(%r12), %rax
	jne	LBB0_35
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	incq	%r14
	cmpq	-80(%rbp), %r14
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	jl	LBB0_16
LBB0_19:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_HeapFree
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r14
LBB0_20:
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	movq	(%r14), %rbx
	jmp	LBB0_33
LBB0_21:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_DPRINT1
	jmp	LBB0_33
LBB0_22:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT1
LBB0_23:
	movq	_ERROR_NOT_ENOUGH_MEMORY@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_33
LBB0_24:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT1
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
	jmp	LBB0_23
LBB0_25:
	movq	%rax, %rbx
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_27
LBB0_26:
	movq	%rax, %rbx
	leaq	L_.str.9(%rip), %rdi
LBB0_27:
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_DPRINT1
	jmp	LBB0_31
LBB0_28:
	movq	%rax, %rbx
	leaq	L_.str.10(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_DPRINT1
	jmp	LBB0_30
LBB0_29:
	movq	%rax, %rbx
	leaq	L_.str.10(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_DPRINT1
	movl	-48(%rbp), %edi
	callq	_RegCloseKey
LBB0_30:
	movl	-44(%rbp), %edi
	callq	_RegCloseKey
LBB0_31:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r12, %rdx
LBB0_32:
	callq	_HeapFree
LBB0_33:
	movq	%rbx, %rax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	movq	%rax, %rbx
	leaq	L_.str.10(%rip), %rdi
	movq	%rsi, %r14
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_DPRINT1
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_HeapFree
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	jmp	LBB0_32
LBB0_35:
	movq	%rax, %rbx
	leaq	L_.str.10(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_DPRINT1
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_HeapFree
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ScmCopyTree()\n"

	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"RegQueryInfoKey() failed (Error %lu)\n"

L_.str.2:                               ## @.str.2
	.asciz	"dwSubKeys %lu\n"

L_.str.3:                               ## @.str.3
	.asciz	"dwMaxSubKeyNameLength %lu\n"

L_.str.4:                               ## @.str.4
	.asciz	"dwValues %lu\n"

L_.str.5:                               ## @.str.5
	.asciz	"dwMaxValueNameLength %lu\n"

L_.str.6:                               ## @.str.6
	.asciz	"dwMaxValueLength %lu\n"

L_.str.7:                               ## @.str.7
	.asciz	"Buffer allocation failed\n"

	.comm	_ERROR_NOT_ENOUGH_MEMORY,8,3    ## @ERROR_NOT_ENOUGH_MEMORY
L_.str.8:                               ## @.str.8
	.asciz	"Subkey enumeration failed (Error %lu)\n"

	.comm	_REG_OPTION_NON_VOLATILE,4,2    ## @REG_OPTION_NON_VOLATILE
	.comm	_KEY_WRITE,4,2                  ## @KEY_WRITE
L_.str.9:                               ## @.str.9
	.asciz	"Subkey creation failed (Error %lu)\n"

	.comm	_KEY_READ,4,2                   ## @KEY_READ
L_.str.10:                              ## @.str.10
	.asciz	"Error: %lu\n"

L_.str.11:                              ## @.str.11
	.asciz	"ScmCopyTree() done \n"

	.no_dead_strip	_ScmCopyTree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ScmCopyTree
_ScmCopyTree:                           ; @ScmCopyTree
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINT
	stp	xzr, xzr, [sp, #16]
	add	x8, sp, #64
	add	x9, sp, #80
	stp	x9, x8, [sp]
	sub	x4, x29, #88
	add	x5, sp, #96
	sub	x7, x29, #96
	mov	x0, x20
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x6, #0
	bl	_RegQueryInfoKey
Lloh2:
	adrp	x25, _ERROR_SUCCESS@GOTPAGE
Lloh3:
	ldr	x25, [x25, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.1:
	ldr	x8, [sp, #96]
	add	x8, x8, #1
	str	x8, [sp, #96]
	ldr	x8, [sp, #80]
	add	x8, x8, #1
	str	x8, [sp, #80]
	ldur	x8, [x29, #-88]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DPRINT
	ldr	x8, [sp, #96]
	str	x8, [sp]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DPRINT
	ldur	x8, [x29, #-96]
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DPRINT
	ldr	x8, [sp, #80]
	str	x8, [sp]
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DPRINT
	ldr	x8, [sp, #64]
	str	x8, [sp]
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DPRINT
	ldur	x8, [x29, #-88]
	cbz	x8, LBB0_11
; %bb.2:
	bl	_GetProcessHeap
	ldr	x8, [sp, #96]
	lsl	x2, x8, #2
	mov	w1, #0
	bl	_HeapAlloc
	cbz	x0, LBB0_22
; %bb.3:
	mov	x22, x0
	ldur	x8, [x29, #-88]
	cmp	x8, #1
	b.lt	LBB0_10
; %bb.4:
	mov	x23, #0
Lloh14:
	adrp	x24, _REG_OPTION_NON_VOLATILE@GOTPAGE
Lloh15:
	ldr	x24, [x24, _REG_OPTION_NON_VOLATILE@GOTPAGEOFF]
Lloh16:
	adrp	x26, _KEY_WRITE@GOTPAGE
Lloh17:
	ldr	x26, [x26, _KEY_WRITE@GOTPAGEOFF]
	add	x27, sp, #48
Lloh18:
	adrp	x28, _KEY_READ@GOTPAGE
Lloh19:
	ldr	x28, [x28, _KEY_READ@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #96]
	str	x8, [sp, #88]
	add	x3, sp, #88
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_RegEnumKeyExW
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_26
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w4, [x24]
	ldr	w5, [x26]
	str	x27, [sp]
	add	x7, sp, #44
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	mov	x3, #0
	mov	x6, #0
	bl	_RegCreateKeyExW
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_27
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w3, [x28]
	add	x4, sp, #40
	mov	x0, x20
	mov	x1, x22
	mov	w2, #0
	bl	_RegOpenKeyExW
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_29
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	w0, w1, [sp, #40]
	bl	_ScmCopyTree
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_30
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [sp, #40]
	bl	_RegCloseKey
	ldr	w0, [sp, #44]
	bl	_RegCloseKey
	add	x23, x23, #1
	ldur	x8, [x29, #-88]
	cmp	x23, x8
	b.lt	LBB0_5
LBB0_10:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x22
	bl	_HeapFree
LBB0_11:
	ldur	x8, [x29, #-96]
	cbz	x8, LBB0_20
; %bb.12:
	bl	_GetProcessHeap
	ldr	x8, [sp, #80]
	lsl	x2, x8, #2
	mov	w1, #0
	bl	_HeapAlloc
	cbz	x0, LBB0_22
; %bb.13:
	mov	x22, x0
	bl	_GetProcessHeap
	ldr	x2, [sp, #64]
	mov	w1, #0
	bl	_HeapAlloc
	cbz	x0, LBB0_24
; %bb.14:
	mov	x23, x0
	ldur	x8, [x29, #-96]
	cmp	x8, #1
	b.lt	LBB0_19
; %bb.15:
	mov	x24, #0
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #80]
	str	x8, [sp, #72]
	ldr	x8, [sp, #64]
	str	x8, [sp, #56]
	add	x3, sp, #72
	add	x5, sp, #104
	add	x7, sp, #56
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	mov	x4, #0
	mov	x6, x23
	bl	_RegEnumValueW
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_25
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x3, [sp, #104]
	ldr	x5, [sp, #56]
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	mov	x4, x23
	bl	_RegSetValueExW
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_25
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x24, x24, #1
	ldur	x8, [x29, #-96]
	cmp	x24, x8
	b.lt	LBB0_16
LBB0_19:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x23
	bl	_HeapFree
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x22
	bl	_HeapFree
LBB0_20:
Lloh20:
	adrp	x0, l_.str.11@PAGE
Lloh21:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_DPRINT
	ldr	x21, [x25]
	b	LBB0_33
LBB0_21:
	mov	x21, x0
	str	x0, [sp]
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DPRINT1
	b	LBB0_33
LBB0_22:
Lloh24:
	adrp	x0, l_.str.7@PAGE
Lloh25:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_DPRINT1
LBB0_23:
Lloh26:
	adrp	x8, _ERROR_NOT_ENOUGH_MEMORY@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ERROR_NOT_ENOUGH_MEMORY@GOTPAGEOFF]
Lloh28:
	ldr	x21, [x8]
	b	LBB0_33
LBB0_24:
Lloh29:
	adrp	x0, l_.str.7@PAGE
Lloh30:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_DPRINT1
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x22
	bl	_HeapFree
	b	LBB0_23
LBB0_25:
	mov	x21, x0
	str	x0, [sp]
Lloh31:
	adrp	x0, l_.str.10@PAGE
Lloh32:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_DPRINT1
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x23
	bl	_HeapFree
	b	LBB0_32
LBB0_26:
	mov	x21, x0
	str	x0, [sp]
Lloh33:
	adrp	x0, l_.str.8@PAGE
Lloh34:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_28
LBB0_27:
	mov	x21, x0
	str	x0, [sp]
Lloh35:
	adrp	x0, l_.str.9@PAGE
Lloh36:
	add	x0, x0, l_.str.9@PAGEOFF
LBB0_28:
	bl	_DPRINT1
	b	LBB0_32
LBB0_29:
	mov	x21, x0
	str	x0, [sp]
Lloh37:
	adrp	x0, l_.str.10@PAGE
Lloh38:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_DPRINT1
	b	LBB0_31
LBB0_30:
	mov	x21, x0
	str	x0, [sp]
Lloh39:
	adrp	x0, l_.str.10@PAGE
Lloh40:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_DPRINT1
	ldr	w0, [sp, #40]
	bl	_RegCloseKey
LBB0_31:
	ldr	w0, [sp, #44]
	bl	_RegCloseKey
LBB0_32:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x22
	bl	_HeapFree
LBB0_33:
	mov	x0, x21
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ScmCopyTree()\n"

	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"RegQueryInfoKey() failed (Error %lu)\n"

l_.str.2:                               ; @.str.2
	.asciz	"dwSubKeys %lu\n"

l_.str.3:                               ; @.str.3
	.asciz	"dwMaxSubKeyNameLength %lu\n"

l_.str.4:                               ; @.str.4
	.asciz	"dwValues %lu\n"

l_.str.5:                               ; @.str.5
	.asciz	"dwMaxValueNameLength %lu\n"

l_.str.6:                               ; @.str.6
	.asciz	"dwMaxValueLength %lu\n"

l_.str.7:                               ; @.str.7
	.asciz	"Buffer allocation failed\n"

	.comm	_ERROR_NOT_ENOUGH_MEMORY,8,3    ; @ERROR_NOT_ENOUGH_MEMORY
l_.str.8:                               ; @.str.8
	.asciz	"Subkey enumeration failed (Error %lu)\n"

	.comm	_REG_OPTION_NON_VOLATILE,4,2    ; @REG_OPTION_NON_VOLATILE
	.comm	_KEY_WRITE,4,2                  ; @KEY_WRITE
l_.str.9:                               ; @.str.9
	.asciz	"Subkey creation failed (Error %lu)\n"

	.comm	_KEY_READ,4,2                   ; @KEY_READ
l_.str.10:                              ; @.str.10
	.asciz	"Error: %lu\n"

l_.str.11:                              ; @.str.11
	.asciz	"ScmCopyTree() done \n"

	.no_dead_strip	_ScmCopyTree
.subsections_via_symbols
