	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_config_key_string
_get_config_key_string:                 ## @get_config_key_string
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	leaq	-48(%rbp), %rcx
	leaq	-40(%rbp), %r9
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_RegQueryValueExW
	testq	%rax, %rax
	je	LBB0_5
LBB0_2:
	movq	-40(%rbp), %rdi
	callq	_heap_alloc
	movq	%rax, %rbx
	leaq	-48(%rbp), %rcx
	leaq	-40(%rbp), %r9
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movq	%rax, %r8
	callq	_RegQueryValueExW
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_heap_free
LBB0_7:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	movq	%rbx, (%r14)
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	-48(%rbp), %rax
	movq	_REG_SZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.6:
	movq	_REG_EXPAND_SZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_SZ,8,3                     ## @REG_SZ
	.comm	_REG_EXPAND_SZ,8,3              ## @REG_EXPAND_SZ
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_get_config_key_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_config_key_string
_get_config_key_string:                 ; @get_config_key_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	cbz	x0, LBB0_3
; %bb.1:
	add	x3, sp, #8
	mov	x5, sp
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	mov	x4, #0
	bl	_RegQueryValueExW
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x8, [sp, #8]
Lloh0:
	adrp	x9, _REG_SZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REG_SZ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _REG_EXPAND_SZ@GOTPAGE
Lloh4:
	ldr	x10, [x10, _REG_EXPAND_SZ@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_5
LBB0_3:
	ldr	x0, [sp]
	bl	_heap_alloc
	mov	x22, x0
	add	x3, sp, #8
	mov	x5, sp
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	mov	x4, x22
	bl	_RegQueryValueExW
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x22
	bl	_heap_free
LBB0_5:
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	str	x22, [x19]
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_SZ,8,3                     ; @REG_SZ
	.comm	_REG_EXPAND_SZ,8,3              ; @REG_EXPAND_SZ
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_get_config_key_string
.subsections_via_symbols
