	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkey_ec_ctrl_str
_pkey_ec_ctrl_str:                      ## @pkey_ec_ctrl_str
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.15:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.19:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	movq	%rax, %rcx
	movl	$-2, %eax
	testq	%rcx, %rcx
	jne	LBB0_20
## %bb.21:
	movq	%r15, %rdi
	callq	_atoi
	movq	%r14, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_EVP_PKEY_CTX_set_ecdh_cofactor_mode ## TAILCALL
LBB0_1:
	movq	%r15, %rdi
	callq	_EC_curve_nist2nid
	movq	_NID_undef@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	cmpl	%ecx, %eax
	je	LBB0_2
## %bb.3:
	cmpl	%ecx, %eax
	je	LBB0_4
LBB0_5:
	cmpl	%ecx, %eax
	jne	LBB0_8
LBB0_6:
	movq	_EC_F_PKEY_EC_CTRL_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EC_R_INVALID_CURVE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_10:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	movq	%rax, %rcx
	movl	$-2, %eax
	testq	%rcx, %rcx
	jne	LBB0_20
## %bb.13:
	movq	_OPENSSL_EC_NAMED_CURVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_14
LBB0_2:
	movq	%r15, %rdi
	callq	_OBJ_sn2nid
	movl	(%rbx), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_5
LBB0_4:
	movq	%r15, %rdi
	callq	_OBJ_ln2nid
	movl	(%rbx), %ecx
	cmpl	%ecx, %eax
	je	LBB0_6
LBB0_8:
	movq	%r14, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_EVP_PKEY_CTX_set_ec_paramgen_curve_nid ## TAILCALL
LBB0_16:
	movq	%r15, %rdi
	callq	_EVP_get_digestbyname
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	%r14, %rdi
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_EVP_PKEY_CTX_set_ecdh_kdf_md   ## TAILCALL
LBB0_11:
	xorl	%esi, %esi
LBB0_14:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_EVP_PKEY_CTX_set_ec_param_enc  ## TAILCALL
LBB0_17:
	movq	_EC_F_PKEY_EC_CTRL_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EC_R_INVALID_DIGEST@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	callq	_ECerr
	xorl	%eax, %eax
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ec_paramgen_curve"

	.comm	_NID_undef,4,2                  ## @NID_undef
	.comm	_EC_F_PKEY_EC_CTRL_STR,4,2      ## @EC_F_PKEY_EC_CTRL_STR
	.comm	_EC_R_INVALID_CURVE,4,2         ## @EC_R_INVALID_CURVE
L_.str.1:                               ## @.str.1
	.asciz	"ec_param_enc"

L_.str.2:                               ## @.str.2
	.asciz	"explicit"

L_.str.3:                               ## @.str.3
	.asciz	"named_curve"

	.comm	_OPENSSL_EC_NAMED_CURVE,4,2     ## @OPENSSL_EC_NAMED_CURVE
L_.str.4:                               ## @.str.4
	.asciz	"ecdh_kdf_md"

	.comm	_EC_R_INVALID_DIGEST,4,2        ## @EC_R_INVALID_DIGEST
L_.str.5:                               ## @.str.5
	.asciz	"ecdh_cofactor_mode"

	.no_dead_strip	_pkey_ec_ctrl_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkey_ec_ctrl_str
_pkey_ec_ctrl_str:                      ; @pkey_ec_ctrl_str
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.2:
Lloh4:
	adrp	x1, l_.str.4@PAGE
Lloh5:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_15
; %bb.3:
Lloh6:
	adrp	x1, l_.str.5@PAGE
Lloh7:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbnz	x0, LBB0_9
; %bb.4:
	mov	x0, x20
	bl	_atoi
	mov	x1, x0
	mov	x0, x19
	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
	b	_EVP_PKEY_CTX_set_ecdh_cofactor_mode
LBB0_5:
	mov	x0, x20
	bl	_EC_curve_nist2nid
Lloh8:
	adrp	x21, _NID_undef@GOTPAGE
Lloh9:
	ldr	x21, [x21, _NID_undef@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.6:
	mov	x0, x20
	bl	_OBJ_sn2nid
	mov	x1, x0
	ldr	w8, [x21]
	cmp	w1, w8
	b.eq	LBB0_11
	b	LBB0_12
LBB0_7:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_17
; %bb.8:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_18
LBB0_9:
	mov	w0, #-2
	b	LBB0_22
LBB0_10:
	mov	x1, x0
	cmp	w1, w8
	b.ne	LBB0_12
LBB0_11:
	mov	x0, x20
	bl	_OBJ_ln2nid
	mov	x1, x0
	ldr	w8, [x21]
LBB0_12:
	cmp	w1, w8
	b.ne	LBB0_14
; %bb.13:
Lloh14:
	adrp	x8, _EC_F_PKEY_EC_CTRL_STR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EC_F_PKEY_EC_CTRL_STR@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _EC_R_INVALID_CURVE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EC_R_INVALID_CURVE@GOTPAGEOFF]
	b	LBB0_21
LBB0_14:
	mov	x0, x19
	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
	b	_EVP_PKEY_CTX_set_ec_paramgen_curve_nid
LBB0_15:
	mov	x0, x20
	bl	_EVP_get_digestbyname
	cbz	x0, LBB0_20
; %bb.16:
	mov	x1, x0
	mov	x0, x19
	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
	b	_EVP_PKEY_CTX_set_ecdh_kdf_md
LBB0_17:
	mov	w1, #0
	b	LBB0_19
LBB0_18:
Lloh19:
	adrp	x8, _OPENSSL_EC_NAMED_CURVE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _OPENSSL_EC_NAMED_CURVE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
LBB0_19:
	mov	x0, x19
	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
	b	_EVP_PKEY_CTX_set_ec_param_enc
LBB0_20:
Lloh22:
	adrp	x8, _EC_F_PKEY_EC_CTRL_STR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EC_F_PKEY_EC_CTRL_STR@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, _EC_R_INVALID_DIGEST@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EC_R_INVALID_DIGEST@GOTPAGEOFF]
LBB0_21:
	ldr	w1, [x8]
	bl	_ECerr
	mov	w0, #0
LBB0_22:
	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 AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ec_paramgen_curve"

	.comm	_NID_undef,4,2                  ; @NID_undef
	.comm	_EC_F_PKEY_EC_CTRL_STR,4,2      ; @EC_F_PKEY_EC_CTRL_STR
	.comm	_EC_R_INVALID_CURVE,4,2         ; @EC_R_INVALID_CURVE
l_.str.1:                               ; @.str.1
	.asciz	"ec_param_enc"

l_.str.2:                               ; @.str.2
	.asciz	"explicit"

l_.str.3:                               ; @.str.3
	.asciz	"named_curve"

	.comm	_OPENSSL_EC_NAMED_CURVE,4,2     ; @OPENSSL_EC_NAMED_CURVE
l_.str.4:                               ; @.str.4
	.asciz	"ecdh_kdf_md"

	.comm	_EC_R_INVALID_DIGEST,4,2        ; @EC_R_INVALID_DIGEST
l_.str.5:                               ; @.str.5
	.asciz	"ecdh_cofactor_mode"

	.no_dead_strip	_pkey_ec_ctrl_str
.subsections_via_symbols
