	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecx_priv_decode
_ecx_priv_decode:                       ## @ecx_priv_decode
	.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
	movq	%rsi, %r8
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %rsi
	leaq	-36(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	xorl	%edi, %edi
	callq	_PKCS8_pkey_get0
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movl	-36(%rbp), %edx
	xorl	%r15d, %r15d
	leaq	-48(%rbp), %rsi
	xorl	%edi, %edi
	callq	_d2i_ASN1_OCTET_STRING
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%r12, %rdi
	callq	_ASN1_STRING_get0_data
	movq	%rax, -48(%rbp)
	movq	%r12, %rdi
	callq	_ASN1_STRING_length
	movl	%eax, %r15d
	movq	-48(%rbp), %rcx
	jmp	LBB0_4
LBB0_2:
	movq	$0, -48(%rbp)
	xorl	%ecx, %ecx
LBB0_4:
	movl	%r15d, -36(%rbp)
	movq	(%r14), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdx
	movq	_KEY_OP_PRIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, %rdi
	movl	%r15d, %r8d
	callq	_ecx_key_op
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_ASN1_OCTET_STRING_free
LBB0_5:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KEY_OP_PRIVATE,4,2             ## @KEY_OP_PRIVATE
	.no_dead_strip	_ecx_priv_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ecx_priv_decode
_ecx_priv_decode:                       ; @ecx_priv_decode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x4, x1
	mov	x19, x0
	add	x1, sp, #24
	add	x2, sp, #20
	add	x3, sp, #8
	mov	x0, #0
	bl	_PKCS8_pkey_get0
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w2, [sp, #20]
	add	x1, sp, #24
	mov	x0, #0
	bl	_d2i_ASN1_OCTET_STRING
	mov	x20, x0
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_ASN1_STRING_get0_data
	str	x0, [sp, #24]
	mov	x0, x20
	bl	_ASN1_STRING_length
	mov	x4, x0
	ldr	x3, [sp, #24]
	b	LBB0_5
LBB0_3:
	mov	w19, #0
	b	LBB0_6
LBB0_4:
	mov	x3, #0
	mov	w4, #0
	str	xzr, [sp, #24]
LBB0_5:
	str	w4, [sp, #20]
	ldr	x8, [x19]
	ldr	w1, [x8]
	ldr	x2, [sp, #8]
Lloh0:
	adrp	x8, _KEY_OP_PRIVATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEY_OP_PRIVATE@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
	mov	x0, x19
	bl	_ecx_key_op
	mov	x19, x0
	mov	x0, x20
	bl	_ASN1_OCTET_STRING_free
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KEY_OP_PRIVATE,4,2             ; @KEY_OP_PRIVATE
	.no_dead_strip	_ecx_priv_decode
.subsections_via_symbols
