	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_optional_pkey_id
_get_optional_pkey_id:                  ## @get_optional_pkey_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rdi, %rsi
	movq	$0, -16(%rbp)
	movl	$0, -4(%rbp)
	leaq	-16(%rbp), %rdi
	movl	$-1, %edx
	callq	_EVP_PKEY_asn1_find_str
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	-4(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movq	%rax, %r9
	callq	_EVP_PKEY_asn1_get0_info
	testq	%rax, %rax
	jg	LBB0_3
## %bb.2:
	movl	$0, -4(%rbp)
LBB0_3:
	movq	-16(%rbp), %rdi
	callq	_ENGINE_finish
	movl	-4(%rbp), %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_optional_pkey_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_optional_pkey_id
_get_optional_pkey_id:                  ; @get_optional_pkey_id
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x1, x0
	str	xzr, [sp, #8]
	str	wzr, [sp, #4]
	add	x0, sp, #8
	mov	w2, #-1
	bl	_EVP_PKEY_asn1_find_str
	cbz	x0, LBB0_3
; %bb.1:
	mov	x5, x0
	add	x0, sp, #4
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_EVP_PKEY_asn1_get0_info
	cmp	x0, #0
	b.gt	LBB0_3
; %bb.2:
	str	wzr, [sp, #4]
LBB0_3:
	ldr	x0, [sp, #8]
	bl	_ENGINE_finish
	ldr	w0, [sp, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_optional_pkey_id
.subsections_via_symbols
