	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPT_ProvCreateStore          ## -- Begin function CRYPT_ProvCreateStore
	.p2align	4, 0x90
_CRYPT_ProvCreateStore:                 ## @CRYPT_ProvCreateStore
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movl	%edi, %r12d
	movl	$96, %edi
	callq	_CryptMemAlloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_28
## %bb.1:
	movq	%rbx, %rdi
	addq	$88, %rdi
	movq	_StoreTypeProvider@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ProvStoreVtbl@GOTPCREL(%rip), %rcx
	movl	%r12d, %esi
	callq	_CRYPT_InitStore
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	movq	_CERT_STORE_PROV_EXTERNAL_FLAG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_CertCloseStore
	xorl	%r15d, %r15d
LBB0_3:
	movq	%r15, 80(%rbx)
	movl	24(%r14), %eax
	movl	%eax, 72(%rbx)
	movq	8(%r14), %rax
	movq	_CERT_STORE_PROV_CLOSE_FUNC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_4
## %bb.5:
	movq	16(%r14), %rdx
	movq	(%rdx,%rcx,8), %rcx
	jmp	LBB0_6
LBB0_4:
	xorl	%ecx, %ecx
LBB0_6:
	movq	%rcx, 64(%rbx)
	movq	_CERT_STORE_PROV_WRITE_CERT_FUNC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_7
## %bb.8:
	movq	16(%r14), %rdx
	movq	(%rdx,%rcx,8), %rcx
	jmp	LBB0_9
LBB0_7:
	xorl	%ecx, %ecx
LBB0_9:
	movq	%rcx, 56(%rbx)
	movq	_CERT_STORE_PROV_DELETE_CERT_FUNC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_10
## %bb.11:
	movq	16(%r14), %rdx
	movq	(%rdx,%rcx,8), %rcx
	jmp	LBB0_12
LBB0_10:
	xorl	%ecx, %ecx
LBB0_12:
	movq	%rcx, 48(%rbx)
	movq	_CERT_STORE_PROV_WRITE_CRL_FUNC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_13
## %bb.14:
	movq	16(%r14), %rdx
	movq	(%rdx,%rcx,8), %rcx
	jmp	LBB0_15
LBB0_13:
	xorl	%ecx, %ecx
LBB0_15:
	movq	%rcx, 40(%rbx)
	movq	_CERT_STORE_PROV_DELETE_CRL_FUNC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_16
## %bb.17:
	movq	16(%r14), %rdx
	movq	(%rdx,%rcx,8), %rcx
	jmp	LBB0_18
LBB0_16:
	xorl	%ecx, %ecx
LBB0_18:
	movq	%rcx, 32(%rbx)
	movq	_CERT_STORE_PROV_WRITE_CTL_FUNC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_19
## %bb.20:
	movq	16(%r14), %rdx
	movq	(%rdx,%rcx,8), %rcx
	jmp	LBB0_21
LBB0_19:
	xorl	%ecx, %ecx
LBB0_21:
	movq	%rcx, 24(%rbx)
	movq	_CERT_STORE_PROV_DELETE_CTL_FUNC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_22
## %bb.23:
	movq	16(%r14), %rdx
	movq	(%rdx,%rcx,8), %rcx
	jmp	LBB0_24
LBB0_22:
	xorl	%ecx, %ecx
LBB0_24:
	movq	%rcx, 16(%rbx)
	movq	_CERT_STORE_PROV_CONTROL_FUNC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_25
## %bb.26:
	movq	16(%r14), %rax
	movq	(%rax,%rcx,8), %rax
	jmp	LBB0_27
LBB0_25:
	xorl	%eax, %eax
LBB0_27:
	movq	%rax, 8(%rbx)
LBB0_28:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_StoreTypeProvider,4,2          ## @StoreTypeProvider
	.comm	_ProvStoreVtbl,4,2              ## @ProvStoreVtbl
	.comm	_CERT_STORE_PROV_EXTERNAL_FLAG,4,2 ## @CERT_STORE_PROV_EXTERNAL_FLAG
	.comm	_CERT_STORE_PROV_CLOSE_FUNC,8,3 ## @CERT_STORE_PROV_CLOSE_FUNC
	.comm	_CERT_STORE_PROV_WRITE_CERT_FUNC,8,3 ## @CERT_STORE_PROV_WRITE_CERT_FUNC
	.comm	_CERT_STORE_PROV_DELETE_CERT_FUNC,8,3 ## @CERT_STORE_PROV_DELETE_CERT_FUNC
	.comm	_CERT_STORE_PROV_WRITE_CRL_FUNC,8,3 ## @CERT_STORE_PROV_WRITE_CRL_FUNC
	.comm	_CERT_STORE_PROV_DELETE_CRL_FUNC,8,3 ## @CERT_STORE_PROV_DELETE_CRL_FUNC
	.comm	_CERT_STORE_PROV_WRITE_CTL_FUNC,8,3 ## @CERT_STORE_PROV_WRITE_CTL_FUNC
	.comm	_CERT_STORE_PROV_DELETE_CTL_FUNC,8,3 ## @CERT_STORE_PROV_DELETE_CTL_FUNC
	.comm	_CERT_STORE_PROV_CONTROL_FUNC,8,3 ## @CERT_STORE_PROV_CONTROL_FUNC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPT_ProvCreateStore          ; -- Begin function CRYPT_ProvCreateStore
	.p2align	2
_CRYPT_ProvCreateStore:                 ; @CRYPT_ProvCreateStore
	.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	x22, x0
	mov	w0, #96
	bl	_CryptMemAlloc
	mov	x19, x0
	cbz	x0, LBB0_28
; %bb.1:
	add	x0, x19, #88
Lloh0:
	adrp	x8, _StoreTypeProvider@GOTPAGE
Lloh1:
	ldr	x8, [x8, _StoreTypeProvider@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x3, _ProvStoreVtbl@GOTPAGE
Lloh4:
	ldr	x3, [x3, _ProvStoreVtbl@GOTPAGEOFF]
	mov	x1, x22
	bl	_CRYPT_InitStore
	ldr	w8, [x20]
	str	w8, [x19]
Lloh5:
	adrp	x9, _CERT_STORE_PROV_EXTERNAL_FLAG@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CERT_STORE_PROV_EXTERNAL_FLAG@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x21
	mov	w1, #0
	bl	_CertCloseStore
	mov	x21, #0
LBB0_3:
	str	x21, [x19, #80]
	ldr	w8, [x20, #24]
	str	w8, [x19, #72]
	ldr	x8, [x20, #8]
Lloh8:
	adrp	x9, _CERT_STORE_PROV_CLOSE_FUNC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CERT_STORE_PROV_CLOSE_FUNC@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_5
; %bb.4:
	ldr	x10, [x20, #16]
	ldr	x9, [x10, x9, lsl #3]
	b	LBB0_6
LBB0_5:
	mov	x9, #0
LBB0_6:
	str	x9, [x19, #64]
Lloh11:
	adrp	x9, _CERT_STORE_PROV_WRITE_CERT_FUNC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CERT_STORE_PROV_WRITE_CERT_FUNC@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_8
; %bb.7:
	ldr	x10, [x20, #16]
	ldr	x9, [x10, x9, lsl #3]
	b	LBB0_9
LBB0_8:
	mov	x9, #0
LBB0_9:
	str	x9, [x19, #56]
Lloh14:
	adrp	x9, _CERT_STORE_PROV_DELETE_CERT_FUNC@GOTPAGE
Lloh15:
	ldr	x9, [x9, _CERT_STORE_PROV_DELETE_CERT_FUNC@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_11
; %bb.10:
	ldr	x10, [x20, #16]
	ldr	x9, [x10, x9, lsl #3]
	b	LBB0_12
LBB0_11:
	mov	x9, #0
LBB0_12:
	str	x9, [x19, #48]
Lloh17:
	adrp	x9, _CERT_STORE_PROV_WRITE_CRL_FUNC@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CERT_STORE_PROV_WRITE_CRL_FUNC@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_14
; %bb.13:
	ldr	x10, [x20, #16]
	ldr	x9, [x10, x9, lsl #3]
	b	LBB0_15
LBB0_14:
	mov	x9, #0
LBB0_15:
	str	x9, [x19, #40]
Lloh20:
	adrp	x9, _CERT_STORE_PROV_DELETE_CRL_FUNC@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CERT_STORE_PROV_DELETE_CRL_FUNC@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_17
; %bb.16:
	ldr	x10, [x20, #16]
	ldr	x9, [x10, x9, lsl #3]
	b	LBB0_18
LBB0_17:
	mov	x9, #0
LBB0_18:
	str	x9, [x19, #32]
Lloh23:
	adrp	x9, _CERT_STORE_PROV_WRITE_CTL_FUNC@GOTPAGE
Lloh24:
	ldr	x9, [x9, _CERT_STORE_PROV_WRITE_CTL_FUNC@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_20
; %bb.19:
	ldr	x10, [x20, #16]
	ldr	x9, [x10, x9, lsl #3]
	b	LBB0_21
LBB0_20:
	mov	x9, #0
LBB0_21:
	str	x9, [x19, #24]
Lloh26:
	adrp	x9, _CERT_STORE_PROV_DELETE_CTL_FUNC@GOTPAGE
Lloh27:
	ldr	x9, [x9, _CERT_STORE_PROV_DELETE_CTL_FUNC@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_23
; %bb.22:
	ldr	x10, [x20, #16]
	ldr	x9, [x10, x9, lsl #3]
	b	LBB0_24
LBB0_23:
	mov	x9, #0
LBB0_24:
	str	x9, [x19, #16]
Lloh29:
	adrp	x9, _CERT_STORE_PROV_CONTROL_FUNC@GOTPAGE
Lloh30:
	ldr	x9, [x9, _CERT_STORE_PROV_CONTROL_FUNC@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_26
; %bb.25:
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x9, lsl #3]
	b	LBB0_27
LBB0_26:
	mov	x8, #0
LBB0_27:
	str	x8, [x19, #8]
LBB0_28:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_StoreTypeProvider,4,2          ; @StoreTypeProvider
	.comm	_ProvStoreVtbl,4,2              ; @ProvStoreVtbl
	.comm	_CERT_STORE_PROV_EXTERNAL_FLAG,4,2 ; @CERT_STORE_PROV_EXTERNAL_FLAG
	.comm	_CERT_STORE_PROV_CLOSE_FUNC,8,3 ; @CERT_STORE_PROV_CLOSE_FUNC
	.comm	_CERT_STORE_PROV_WRITE_CERT_FUNC,8,3 ; @CERT_STORE_PROV_WRITE_CERT_FUNC
	.comm	_CERT_STORE_PROV_DELETE_CERT_FUNC,8,3 ; @CERT_STORE_PROV_DELETE_CERT_FUNC
	.comm	_CERT_STORE_PROV_WRITE_CRL_FUNC,8,3 ; @CERT_STORE_PROV_WRITE_CRL_FUNC
	.comm	_CERT_STORE_PROV_DELETE_CRL_FUNC,8,3 ; @CERT_STORE_PROV_DELETE_CRL_FUNC
	.comm	_CERT_STORE_PROV_WRITE_CTL_FUNC,8,3 ; @CERT_STORE_PROV_WRITE_CTL_FUNC
	.comm	_CERT_STORE_PROV_DELETE_CTL_FUNC,8,3 ; @CERT_STORE_PROV_DELETE_CTL_FUNC
	.comm	_CERT_STORE_PROV_CONTROL_FUNC,8,3 ; @CERT_STORE_PROV_CONTROL_FUNC
.subsections_via_symbols
