	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CRYPT_CreateKeyProv
_CRYPT_CreateKeyProv:                   ## @CRYPT_CreateKeyProv
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, -36(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_LoadLibraryA
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_GetProcAddress
	movl	%eax, %r12d
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_GetProcAddress
	movl	%eax, %r15d
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_GetProcAddress
	testl	%r12d, %r12d
	je	LBB0_12
## %bb.3:
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.4:
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_12
## %bb.5:
	movslq	%r12d, %rax
	leaq	-44(%rbp), %rdi
	callq	*%rax
	movq	_RPC_S_OK@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	je	LBB0_7
## %bb.6:
	movq	_RPC_S_UUID_LOCAL_ONLY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
LBB0_7:
	movslq	%r15d, %rax
	leaq	-44(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	*%rax
	cmpq	(%r12), %rax
	jne	LBB0_12
## %bb.8:
	movslq	%r14d, %r14
	movl	-56(%rbp), %esi
	movq	_MS_DEF_PROV_A@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PROV_RSA_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CRYPT_NEWKEYSET@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-36(%rbp), %rdi
	callq	_CryptAcquireContextA
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movl	-36(%rbp), %edi
	movq	_AT_SIGNATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rcx
	xorl	%edx, %edx
	callq	_CryptGenKey
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	-40(%rbp), %edi
	callq	_CryptDestroyKey
LBB0_11:
	leaq	-56(%rbp), %rdi
	callq	*%r14
LBB0_12:
	movq	%rbx, %rdi
	callq	_FreeLibrary
	movl	-36(%rbp), %eax
	jmp	LBB0_13
LBB0_1:
	xorl	%eax, %eax
LBB0_13:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rpcrt4"

L_.str.1:                               ## @.str.1
	.asciz	"UuidCreate"

L_.str.2:                               ## @.str.2
	.asciz	"UuidToStringA"

L_.str.3:                               ## @.str.3
	.asciz	"RpcStringFreeA"

	.comm	_RPC_S_OK,8,3                   ## @RPC_S_OK
	.comm	_RPC_S_UUID_LOCAL_ONLY,8,3      ## @RPC_S_UUID_LOCAL_ONLY
	.comm	_MS_DEF_PROV_A,4,2              ## @MS_DEF_PROV_A
	.comm	_PROV_RSA_FULL,4,2              ## @PROV_RSA_FULL
	.comm	_CRYPT_NEWKEYSET,4,2            ## @CRYPT_NEWKEYSET
	.comm	_AT_SIGNATURE,4,2               ## @AT_SIGNATURE
	.no_dead_strip	_CRYPT_CreateKeyProv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CRYPT_CreateKeyProv
_CRYPT_CreateKeyProv:                   ; @CRYPT_CreateKeyProv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	str	wzr, [sp, #28]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LoadLibraryA
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_GetProcAddress
	mov	x22, x0
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_GetProcAddress
	mov	x21, x0
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_GetProcAddress
	cbz	w22, LBB0_10
; %bb.2:
	cbz	w21, LBB0_10
; %bb.3:
	mov	x20, x0
	cbz	w0, LBB0_10
; %bb.4:
	sxtw	x8, w22
	add	x0, sp, #24
	blr	x8
Lloh8:
	adrp	x22, _RPC_S_OK@GOTPAGE
Lloh9:
	ldr	x22, [x22, _RPC_S_OK@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh10:
	adrp	x9, _RPC_S_UUID_LOCAL_ONLY@GOTPAGE
Lloh11:
	ldr	x9, [x9, _RPC_S_UUID_LOCAL_ONLY@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_10
; %bb.5:
	sxtw	x8, w21
	add	x0, sp, #24
	add	x1, sp, #16
	blr	x8
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.6:
	sxtw	x20, w20
	ldr	w1, [sp, #16]
Lloh13:
	adrp	x8, _MS_DEF_PROV_A@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MS_DEF_PROV_A@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _PROV_RSA_FULL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PROV_RSA_FULL@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
Lloh19:
	adrp	x8, _CRYPT_NEWKEYSET@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CRYPT_NEWKEYSET@GOTPAGEOFF]
Lloh21:
	ldr	w4, [x8]
	add	x0, sp, #28
	bl	_CryptAcquireContextA
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w0, [sp, #28]
Lloh22:
	adrp	x8, _AT_SIGNATURE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AT_SIGNATURE@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	add	x3, sp, #12
	mov	w2, #0
	bl	_CryptGenKey
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w0, [sp, #12]
	bl	_CryptDestroyKey
LBB0_9:
	add	x0, sp, #16
	blr	x20
LBB0_10:
	mov	x0, x19
	bl	_FreeLibrary
	ldr	w0, [sp, #28]
LBB0_11:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rpcrt4"

l_.str.1:                               ; @.str.1
	.asciz	"UuidCreate"

l_.str.2:                               ; @.str.2
	.asciz	"UuidToStringA"

l_.str.3:                               ; @.str.3
	.asciz	"RpcStringFreeA"

	.comm	_RPC_S_OK,8,3                   ; @RPC_S_OK
	.comm	_RPC_S_UUID_LOCAL_ONLY,8,3      ; @RPC_S_UUID_LOCAL_ONLY
	.comm	_MS_DEF_PROV_A,4,2              ; @MS_DEF_PROV_A
	.comm	_PROV_RSA_FULL,4,2              ; @PROV_RSA_FULL
	.comm	_CRYPT_NEWKEYSET,4,2            ; @CRYPT_NEWKEYSET
	.comm	_AT_SIGNATURE,4,2               ; @AT_SIGNATURE
	.no_dead_strip	_CRYPT_CreateKeyProv
.subsections_via_symbols
