	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_QueryRegistryValueStringMulti  ## -- Begin function QueryRegistryValueStringMulti
	.p2align	4, 0x90
_QueryRegistryValueStringMulti:         ## @QueryRegistryValueStringMulti
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_QueryRegistryValue
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	-64(%rbp), %rdx
	movq	_REG_MULTI_SZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	%rcx, %rdx
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_DbgPrint
LBB0_4:
	movq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_TerminateReadString
	movq	%rax, %r14
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
	testq	%r14, %r14
	je	LBB0_22
## %bb.5:
	cmpq	$0, (%r14)
	je	LBB0_6
## %bb.7:
	movl	$1, %ebx
	movq	%r14, %rax
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	addq	$8, %rax
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, (%rax)
	leaq	8(%rax), %rax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	cmpq	$0, (%rax)
	jne	LBB0_8
## %bb.11:
	shlq	$3, %rbx
	jmp	LBB0_12
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_22
LBB0_6:
	movl	$8, %ebx
LBB0_12:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movq	%rax, %r15
	cmpq	$0, (%r14)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_15
## %bb.16:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_17:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	leaq	8(%r14), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addq	$4, %rbx
	cmpq	$0, (%r12)
	leaq	8(%r12), %r12
	jne	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapAlloc
	movq	%rax, (%r15,%r13,8)
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	incq	%r13
	cmpq	$0, (%r12)
	movq	%r12, %r14
	jne	LBB0_17
	jmp	LBB0_20
LBB0_13:
	xorl	%r15d, %r15d
	jmp	LBB0_21
LBB0_15:
	xorl	%r13d, %r13d
LBB0_20:
	movq	$0, (%r15,%r13,8)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_21:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
LBB0_22:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_MULTI_SZ,8,3               ## @REG_MULTI_SZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Type mismatch for %S (%d != %d)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_QueryRegistryValueStringMulti  ; -- Begin function QueryRegistryValueStringMulti
	.p2align	2
_QueryRegistryValueStringMulti:         ; @QueryRegistryValueStringMulti
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	add	x2, sp, #8
	mov	x3, sp
	bl	_QueryRegistryValue
	mov	x20, x0
	cbz	x0, LBB0_21
; %bb.1:
	ldr	x2, [sp, #8]
Lloh0:
	adrp	x8, _REG_MULTI_SZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_MULTI_SZ@GOTPAGEOFF]
Lloh2:
	ldr	x3, [x8]
	cmp	x2, x3
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_DbgPrint
LBB0_3:
	ldr	x1, [sp]
	mov	x0, x20
	bl	_TerminateReadString
	mov	x19, x0
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x20
	bl	_HeapFree
	cbz	x19, LBB0_10
; %bb.4:
	ldr	x8, [x19]
	cbz	x8, LBB0_11
; %bb.5:
	mov	w8, #1
	mov	x9, x19
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	add	x9, x9, #8
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x9], #8
	cbnz	x10, LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x8, #1
	ldr	x10, [x9]
	cbnz	x10, LBB0_6
; %bb.9:
	lsl	x20, x8, #3
	b	LBB0_12
LBB0_10:
	mov	x20, #0
	b	LBB0_21
LBB0_11:
	mov	w20, #8
LBB0_12:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x20
	bl	_HeapAlloc
	mov	x20, x0
	cbz	x0, LBB0_20
; %bb.13:
	ldr	x8, [x19]
	cbz	x8, LBB0_18
; %bb.14:
	mov	x23, #0
	mov	x21, x19
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	mov	x22, #0
	add	x24, x21, #8
LBB0_16:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x24], #8
	add	x22, x22, #4
	cbnz	x8, LBB0_16
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x22
	bl	_HeapAlloc
	str	x0, [x20, x23, lsl #3]
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	add	x23, x23, #1
	ldr	x8, [x24]
	mov	x21, x24
	cbnz	x8, LBB0_15
	b	LBB0_19
LBB0_18:
	mov	x23, #0
LBB0_19:
	str	xzr, [x20, x23, lsl #3]
LBB0_20:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	bl	_HeapFree
LBB0_21:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_MULTI_SZ,8,3               ; @REG_MULTI_SZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Type mismatch for %S (%d != %d)\n"

.subsections_via_symbols
