	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkey_ecd_ctrl
_pkey_ecd_ctrl:                         ## @pkey_ecd_ctrl
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$1, %ebx
	cmpl	$129, %esi
	je	LBB0_6
## %bb.1:
	cmpl	$128, %esi
	jne	LBB0_5
## %bb.2:
	movq	%rcx, %r14
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.3:
	xorl	%eax, %eax
	callq	_EVP_md_null
	cmpq	%r14, %rax
	je	LBB0_6
## %bb.4:
	movq	_EC_F_PKEY_ECD_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EC_R_INVALID_DIGEST_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ECerr
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_5:
	movl	$-2, %ebx
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EC_F_PKEY_ECD_CTRL,4,2         ## @EC_F_PKEY_ECD_CTRL
	.comm	_EC_R_INVALID_DIGEST_TYPE,4,2   ## @EC_R_INVALID_DIGEST_TYPE
	.no_dead_strip	_pkey_ecd_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkey_ecd_ctrl
_pkey_ecd_ctrl:                         ; @pkey_ecd_ctrl
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cmp	w1, #129
	b.eq	LBB0_5
; %bb.1:
	cmp	w1, #128
	b.ne	LBB0_6
; %bb.2:
	mov	x19, x3
	cbz	x3, LBB0_5
; %bb.3:
	bl	_EVP_md_null
	cmp	x0, x19
	b.eq	LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _EC_F_PKEY_ECD_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EC_F_PKEY_ECD_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _EC_R_INVALID_DIGEST_TYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EC_R_INVALID_DIGEST_TYPE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_ECerr
	mov	w0, #0
	b	LBB0_7
LBB0_5:
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	mov	w0, #-2
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EC_F_PKEY_ECD_CTRL,4,2         ; @EC_F_PKEY_ECD_CTRL
	.comm	_EC_R_INVALID_DIGEST_TYPE,4,2   ; @EC_R_INVALID_DIGEST_TYPE
	.no_dead_strip	_pkey_ecd_ctrl
.subsections_via_symbols
