	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function QueryGeneric
_QueryGeneric:                          ## @QueryGeneric
	.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	%r8, %rbx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r15
	movl	%esi, %r13d
	movl	%edi, %r14d
	movq	%r8, %rdi
	callq	__alloca
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_ZeroMemory
	movq	%rbx, -56(%rbp)
	leaq	-64(%rbp), %rcx
	leaq	-56(%rbp), %r9
	movl	%r14d, %edi
	movl	%r13d, %esi
	xorl	%edx, %edx
	movl	%r12d, %r8d
	callq	_RegQueryValueEx
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rdx
	movq	_FALSE@GOTPCREL(%rip), %rcx
	cmpq	(%rdx), %rax
	jne	LBB0_3
## %bb.1:
	cmpq	%r15, -64(%rbp)
	jne	LBB0_3
## %bb.2:
	movq	-56(%rbp), %rdx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r12, %rsi
	callq	_memcpy
	movq	_TRUE@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_QueryGeneric
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function QueryGeneric
_QueryGeneric:                          ; @QueryGeneric
	.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	x21, x4
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	mov	x0, x4
	bl	__alloca
	mov	x20, x0
	mov	x1, x21
	bl	_ZeroMemory
	str	x21, [sp]
	add	x3, sp, #8
	mov	x5, sp
	mov	x0, x24
	mov	x1, x23
	mov	x2, #0
	mov	x4, x20
	bl	_RegQueryValueEx
Lloh0:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [sp, #8]
	cmp	x0, x8
	ccmp	x9, x22, #0, eq
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	ldr	x2, [sp]
	mov	x0, x19
	mov	x1, x20
	bl	_memcpy
Lloh5:
	adrp	x8, _TRUE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_QueryGeneric
.subsections_via_symbols
