	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_PKCS82PKEY                 ## -- Begin function EVP_PKCS82PKEY
	.p2align	4, 0x90
_EVP_PKCS82PKEY:                        ## @EVP_PKCS82PKEY
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$112, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	xorl	%ebx, %ebx
	leaq	-120(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_PKCS8_pkey_get0
	testl	%eax, %eax
	je	LBB0_12
## %bb.1:
	xorl	%eax, %eax
	callq	_EVP_PKEY_new
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movq	-120(%rbp), %rdi
	callq	_OBJ_obj2nid
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_EVP_PKEY_set_type
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*%rax
	testl	%eax, %eax
	jne	LBB0_12
## %bb.7:
	movq	_EVP_F_EVP_PKCS82PKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_PRIVATE_KEY_DECODE_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movq	_EVP_F_EVP_PKCS82PKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVPerr
	jmp	LBB0_11
LBB0_4:
	movq	_EVP_F_EVP_PKCS82PKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_UNSUPPORTED_PRIVATE_KEY_ALGORITHM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVPerr
	movq	-120(%rbp), %rdx
	leaq	-112(%rbp), %r14
	movq	%r14, %rdi
	movl	$80, %esi
	callq	_i2t_ASN1_OBJECT
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movq	%r14, %rdx
	callq	_ERR_add_error_data
	jmp	LBB0_10
LBB0_8:
	movq	_EVP_F_EVP_PKCS82PKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_METHOD_NOT_SUPPORTED@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	callq	_EVPerr
LBB0_10:
	movq	%rbx, %rdi
	callq	_EVP_PKEY_free
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movq	%rbx, %rax
	addq	$112, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_F_EVP_PKCS82PKEY,4,2       ## @EVP_F_EVP_PKCS82PKEY
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_EVP_R_UNSUPPORTED_PRIVATE_KEY_ALGORITHM,4,2 ## @EVP_R_UNSUPPORTED_PRIVATE_KEY_ALGORITHM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TYPE="

	.comm	_EVP_R_PRIVATE_KEY_DECODE_ERROR,4,2 ## @EVP_R_PRIVATE_KEY_DECODE_ERROR
	.comm	_EVP_R_METHOD_NOT_SUPPORTED,4,2 ## @EVP_R_METHOD_NOT_SUPPORTED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_PKCS82PKEY                 ; -- Begin function EVP_PKCS82PKEY
	.p2align	2
_EVP_PKCS82PKEY:                        ; @EVP_PKCS82PKEY
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	mov	x0, sp
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, x20
	bl	_PKCS8_pkey_get0
	cbz	w0, LBB0_11
; %bb.1:
	bl	_EVP_PKEY_new
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x0, [sp]
	bl	_OBJ_obj2nid
	mov	x1, x0
	mov	x0, x19
	bl	_EVP_PKEY_set_type
	cbz	w0, LBB0_7
; %bb.3:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	blr	x8
	cbnz	w0, LBB0_12
; %bb.5:
Lloh3:
	adrp	x8, _EVP_F_EVP_PKCS82PKEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_F_EVP_PKCS82PKEY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _EVP_R_PRIVATE_KEY_DECODE_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EVP_R_PRIVATE_KEY_DECODE_ERROR@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh8:
	adrp	x8, _EVP_F_EVP_PKCS82PKEY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EVP_F_EVP_PKCS82PKEY@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_EVPerr
	b	LBB0_12
LBB0_7:
Lloh14:
	adrp	x8, _EVP_F_EVP_PKCS82PKEY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EVP_F_EVP_PKCS82PKEY@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _EVP_R_UNSUPPORTED_PRIVATE_KEY_ALGORITHM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EVP_R_UNSUPPORTED_PRIVATE_KEY_ALGORITHM@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_EVPerr
	ldr	x2, [sp]
	add	x0, sp, #8
	mov	w1, #80
	bl	_i2t_ASN1_OBJECT
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	w0, #2
	bl	_ERR_add_error_data
	b	LBB0_10
LBB0_8:
Lloh22:
	adrp	x8, _EVP_F_EVP_PKCS82PKEY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EVP_F_EVP_PKCS82PKEY@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, _EVP_R_METHOD_NOT_SUPPORTED@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EVP_R_METHOD_NOT_SUPPORTED@GOTPAGEOFF]
LBB0_9:
	ldr	w1, [x8]
	bl	_EVPerr
LBB0_10:
	mov	x0, x19
	bl	_EVP_PKEY_free
LBB0_11:
	mov	x19, #0
LBB0_12:
	ldur	x8, [x29, #-24]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_F_EVP_PKCS82PKEY,4,2       ; @EVP_F_EVP_PKCS82PKEY
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_EVP_R_UNSUPPORTED_PRIVATE_KEY_ALGORITHM,4,2 ; @EVP_R_UNSUPPORTED_PRIVATE_KEY_ALGORITHM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TYPE="

	.comm	_EVP_R_PRIVATE_KEY_DECODE_ERROR,4,2 ; @EVP_R_PRIVATE_KEY_DECODE_ERROR
	.comm	_EVP_R_METHOD_NOT_SUPPORTED,4,2 ; @EVP_R_METHOD_NOT_SUPPORTED
.subsections_via_symbols
