	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EC_GROUP_new_by_curve_name     ## -- Begin function EC_GROUP_new_by_curve_name
	.p2align	4, 0x90
_EC_GROUP_new_by_curve_name:            ## @EC_GROUP_new_by_curve_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edi, %edi
	jle	LBB0_7
## %bb.1:
	movq	_curve_list_length@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	_curve_list@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edi, (%rcx,%rdx,4)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_4
	jmp	LBB0_6
LBB0_5:
	callq	_ec_group_new_from_data
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	popq	%rbp
	retq
LBB0_6:
	movq	_EC_F_EC_GROUP_NEW_BY_CURVE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EC_R_UNKNOWN_GROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ECerr
LBB0_7:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_curve_list_length,8,3          ## @curve_list_length
	.comm	_curve_list,8,3                 ## @curve_list
	.comm	_EC_F_EC_GROUP_NEW_BY_CURVE_NAME,4,2 ## @EC_F_EC_GROUP_NEW_BY_CURVE_NAME
	.comm	_EC_R_UNKNOWN_GROUP,4,2         ## @EC_R_UNKNOWN_GROUP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EC_GROUP_new_by_curve_name     ; -- Begin function EC_GROUP_new_by_curve_name
	.p2align	2
_EC_GROUP_new_by_curve_name:            ; @EC_GROUP_new_by_curve_name
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.1:
Lloh0:
	adrp	x8, _curve_list_length@GOTPAGE
Lloh1:
	ldr	x8, [x8, _curve_list_length@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.2:
Lloh3:
	adrp	x9, _curve_list@GOTPAGE
Lloh4:
	ldr	x9, [x9, _curve_list@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	cmp	w10, w0
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #4
	subs	x8, x8, #1
	b.ne	LBB0_3
	b	LBB0_7
LBB0_5:
	mov	w0, w0
	bl	_ec_group_new_from_data
	cbz	x0, LBB0_7
; %bb.6:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh6:
	adrp	x8, _EC_F_EC_GROUP_NEW_BY_CURVE_NAME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EC_F_EC_GROUP_NEW_BY_CURVE_NAME@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _EC_R_UNKNOWN_GROUP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EC_R_UNKNOWN_GROUP@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_ECerr
LBB0_8:
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_curve_list_length,8,3          ; @curve_list_length
	.comm	_curve_list,8,3                 ; @curve_list
	.comm	_EC_F_EC_GROUP_NEW_BY_CURVE_NAME,4,2 ; @EC_F_EC_GROUP_NEW_BY_CURVE_NAME
	.comm	_EC_R_UNKNOWN_GROUP,4,2         ; @EC_R_UNKNOWN_GROUP
.subsections_via_symbols
