	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_ec_spec
_parse_ec_spec:                         ## @parse_ec_spec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	$0, (%rsi)
	movb	(%rdi), %cl
	xorl	%eax, %eax
	orb	$32, %cl
	cmpb	$101, %cl
	jne	LBB0_6
## %bb.1:
	movb	1(%rdi), %cl
	orb	$32, %cl
	cmpb	$99, %cl
	jne	LBB0_6
## %bb.2:
	movq	%rsi, %rbx
	movb	2(%rdi), %cl
	cmpb	$58, %cl
	je	LBB0_5
## %bb.3:
	testb	%cl, %cl
	jne	LBB0_6
## %bb.4:
	movq	_BR_EC_secp256r1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	$1, %eax
	jmp	LBB0_6
LBB0_5:
	addq	$2, %rdi
	callq	_get_curve_by_name
	movl	%eax, %ecx
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setg	%al
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BR_EC_secp256r1,4,2            ## @BR_EC_secp256r1
	.no_dead_strip	_parse_ec_spec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_ec_spec
_parse_ec_spec:                         ; @parse_ec_spec
	.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
	str	wzr, [x1]
	ldrb	w8, [x0]
	orr	w8, w8, #0x20
	cmp	w8, #101
	b.ne	LBB0_5
; %bb.1:
	ldrb	w8, [x0, #1]
	orr	w8, w8, #0x20
	cmp	w8, #99
	b.ne	LBB0_5
; %bb.2:
	mov	x19, x1
	ldrb	w8, [x0, #2]!
	cmp	w8, #58
	b.eq	LBB0_7
; %bb.3:
	cbnz	w8, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _BR_EC_secp256r1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BR_EC_secp256r1@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	_get_curve_by_name
	str	w0, [x19]
	cmp	w0, #0
	cset	w0, gt
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BR_EC_secp256r1,4,2            ; @BR_EC_secp256r1
	.no_dead_strip	_parse_ec_spec
.subsections_via_symbols
