	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CRYPT_GetProvKeyName
_CRYPT_GetProvKeyName:                  ## @CRYPT_GetProvKeyName
	.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	%rdi, %r14
	leaq	_CRYPT_GetProvKeyName.KEYSTR(%rip), %rdi
	callq	_strlenW
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_strlenW
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rbx,%rax), %edi
	incl	%edi
	callq	_CRYPT_Alloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	_CRYPT_GetProvKeyName.KEYSTR(%rip), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_strcpyW
	movq	%r15, %rdi
	callq	_strlenW
	cltq
	movq	%rbx, %rdi
	addq	%rax, %rdi
	movq	%r14, %rsi
	callq	_strcpyW
	jmp	LBB0_3
LBB0_2:
	movq	_ERROR_NOT_ENOUGH_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SetLastError
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @CRYPT_GetProvKeyName.KEYSTR
_CRYPT_GetProvKeyName.KEYSTR:
	.asciz	"Software\\Microsoft\\Cryptography\\Defaults\\Provider\\"

	.comm	_ERROR_NOT_ENOUGH_MEMORY,4,2    ## @ERROR_NOT_ENOUGH_MEMORY
	.no_dead_strip	_CRYPT_GetProvKeyName
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CRYPT_GetProvKeyName
_CRYPT_GetProvKeyName:                  ; @CRYPT_GetProvKeyName
	.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, x0
Lloh0:
	adrp	x0, _CRYPT_GetProvKeyName.KEYSTR@PAGE
Lloh1:
	add	x0, x0, _CRYPT_GetProvKeyName.KEYSTR@PAGEOFF
	bl	_strlenW
	mov	x20, x0
	mov	x0, x19
	bl	_strlenW
	add	w8, w20, w0
	add	w0, w8, #1
	bl	_CRYPT_Alloc
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x21, _CRYPT_GetProvKeyName.KEYSTR@PAGE
Lloh3:
	add	x21, x21, _CRYPT_GetProvKeyName.KEYSTR@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_strcpyW
	mov	x0, x21
	bl	_strlenW
	add	x0, x20, w0, sxtw
	mov	x1, x19
	bl	_strcpyW
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x8, _ERROR_NOT_ENOUGH_MEMORY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERROR_NOT_ENOUGH_MEMORY@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_SetLastError
LBB0_3:
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_CRYPT_GetProvKeyName.KEYSTR:           ; @CRYPT_GetProvKeyName.KEYSTR
	.asciz	"Software\\Microsoft\\Cryptography\\Defaults\\Provider\\"

	.comm	_ERROR_NOT_ENOUGH_MEMORY,4,2    ; @ERROR_NOT_ENOUGH_MEMORY
	.no_dead_strip	_CRYPT_GetProvKeyName
.subsections_via_symbols
