	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ProvStore_release
_ProvStore_release:                     ## @ProvStore_release
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_FIXME
LBB0_2:
	leaq	4(%r12), %r15
	movq	%r15, %rdi
	callq	_InterlockedDecrement
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_TRACE
	testq	%rbx, %rbx
	jne	LBB0_8
## %bb.3:
	movq	24(%r12), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	16(%r12), %edi
	movl	%r14d, %esi
	callq	*%rax
LBB0_5:
	movq	_CERT_STORE_PROV_EXTERNAL_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	jne	LBB0_7
## %bb.6:
	movq	8(%r12), %rdi
	movq	(%rdi), %rax
	movl	%r14d, %esi
	callq	*(%rax)
LBB0_7:
	movq	%r15, %rdi
	callq	_CRYPT_FreeStore
LBB0_8:
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unimplemented flags %x\n"

L_.str.1:                               ## @.str.1
	.asciz	"(%p) ref=%d\n"

	.comm	_ERROR_SUCCESS,4,2              ## @ERROR_SUCCESS
	.comm	_CERT_STORE_PROV_EXTERNAL_FLAG,4,2 ## @CERT_STORE_PROV_EXTERNAL_FLAG
	.no_dead_strip	_ProvStore_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ProvStore_release
_ProvStore_release:                     ; @ProvStore_release
	.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	x19, x1
	mov	x20, x0
	cbz	w1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_FIXME
LBB0_2:
	add	x21, x20, #4
	mov	x0, x21
	bl	_InterlockedDecrement
	mov	x22, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	mov	x2, x22
	bl	_TRACE
	cbnz	x22, LBB0_8
; %bb.3:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w0, [x20, #16]
	mov	x1, x19
	blr	x8
LBB0_5:
	ldr	w8, [x20]
Lloh4:
	adrp	x9, _CERT_STORE_PROV_EXTERNAL_FLAG@GOTPAGE
Lloh5:
	ldr	x9, [x9, _CERT_STORE_PROV_EXTERNAL_FLAG@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.6:
	ldr	x0, [x20, #8]
	ldr	x8, [x0]
	ldr	x8, [x8]
	mov	x1, x19
	blr	x8
LBB0_7:
	mov	x0, x21
	bl	_CRYPT_FreeStore
LBB0_8:
Lloh7:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh9:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unimplemented flags %x\n"

l_.str.1:                               ; @.str.1
	.asciz	"(%p) ref=%d\n"

	.comm	_ERROR_SUCCESS,4,2              ; @ERROR_SUCCESS
	.comm	_CERT_STORE_PROV_EXTERNAL_FLAG,4,2 ; @CERT_STORE_PROV_EXTERNAL_FLAG
	.no_dead_strip	_ProvStore_release
.subsections_via_symbols
