	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CRegKeySecurity_fnQueryInterface
_CRegKeySecurity_fnQueryInterface:      ## @CRegKeySecurity_fnQueryInterface
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movl	%edi, %r15d
	movq	_IID_IRegKeySecurity@GOTPCREL(%rip), %rsi
	movl	%ebx, %edi
	callq	_IsEqualGUID
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ISecurityInformation@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	_IID_IEffectivePermission@GOTPCREL(%rip), %rsi
	movl	%ebx, %edi
	callq	_IsEqualGUID
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_IEffectivePermission@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_IID_ISecurityObjectTypeInfo@GOTPCREL(%rip), %rsi
	movl	%ebx, %edi
	callq	_IsEqualGUID
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	_ISecurityObjectTypeInfo@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_impl_to_interface
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, (%r14)
	movl	%r15d, %edi
	callq	_CRegKeySecurity_fnAddRef
	movq	_S_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_E_NOINTERFACE@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IID_IRegKeySecurity,4,2        ## @IID_IRegKeySecurity
	.comm	_ISecurityInformation,4,2       ## @ISecurityInformation
	.comm	_IID_IEffectivePermission,4,2   ## @IID_IEffectivePermission
	.comm	_IEffectivePermission,4,2       ## @IEffectivePermission
	.comm	_IID_ISecurityObjectTypeInfo,4,2 ## @IID_ISecurityObjectTypeInfo
	.comm	_ISecurityObjectTypeInfo,4,2    ## @ISecurityObjectTypeInfo
	.comm	_E_NOINTERFACE,4,2              ## @E_NOINTERFACE
	.comm	_S_OK,4,2                       ## @S_OK
	.comm	_IID_IRegKeySecurity2,4,2       ## @IID_IRegKeySecurity2
	.comm	_ISecurityInformation2,4,2      ## @ISecurityInformation2
	.no_dead_strip	_CRegKeySecurity_fnQueryInterface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CRegKeySecurity_fnQueryInterface
_CRegKeySecurity_fnQueryInterface:      ; @CRegKeySecurity_fnQueryInterface
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x1, _IID_IRegKeySecurity@GOTPAGE
Lloh1:
	ldr	x1, [x1, _IID_IRegKeySecurity@GOTPAGEOFF]
	mov	x0, x21
	bl	_IsEqualGUID
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ISecurityInformation@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ISecurityInformation@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
Lloh4:
	adrp	x1, _IID_IEffectivePermission@GOTPAGE
Lloh5:
	ldr	x1, [x1, _IID_IEffectivePermission@GOTPAGEOFF]
	mov	x0, x21
	bl	_IsEqualGUID
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _IEffectivePermission@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEffectivePermission@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh8:
	adrp	x1, _IID_ISecurityObjectTypeInfo@GOTPAGE
Lloh9:
	ldr	x1, [x1, _IID_ISecurityObjectTypeInfo@GOTPAGEOFF]
	mov	x0, x21
	bl	_IsEqualGUID
	cbz	x0, LBB0_8
; %bb.5:
Lloh10:
	adrp	x8, _ISecurityObjectTypeInfo@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ISecurityObjectTypeInfo@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_impl_to_interface
	cbz	x0, LBB0_8
; %bb.7:
	str	x0, [x20]
	mov	x0, x19
	bl	_CRegKeySecurity_fnAddRef
Lloh12:
	adrp	x8, _S_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh14:
	adrp	x8, _E_NOINTERFACE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _E_NOINTERFACE@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IID_IRegKeySecurity,4,2        ; @IID_IRegKeySecurity
	.comm	_ISecurityInformation,4,2       ; @ISecurityInformation
	.comm	_IID_IEffectivePermission,4,2   ; @IID_IEffectivePermission
	.comm	_IEffectivePermission,4,2       ; @IEffectivePermission
	.comm	_IID_ISecurityObjectTypeInfo,4,2 ; @IID_ISecurityObjectTypeInfo
	.comm	_ISecurityObjectTypeInfo,4,2    ; @ISecurityObjectTypeInfo
	.comm	_E_NOINTERFACE,4,2              ; @E_NOINTERFACE
	.comm	_S_OK,4,2                       ; @S_OK
	.comm	_IID_IRegKeySecurity2,4,2       ; @IID_IRegKeySecurity2
	.comm	_ISecurityInformation2,4,2      ; @ISecurityInformation2
	.no_dead_strip	_CRegKeySecurity_fnQueryInterface
.subsections_via_symbols
