	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function protocol_from_string
_protocol_from_string:                  ## @protocol_from_string
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	_protocol_from_string.versions(%rip), %rdi
	callq	_OSSL_NELEM
	movl	$-1, %r14d
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r12
	leaq	_protocol_from_string.versions+8(%rip), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rbx), %rdi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rbx
	decq	%r12
	jne	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movl	(%rbx), %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__const
	.p2align	4                               ## @protocol_from_string.versions
_protocol_from_string.versions:
	.quad	L_.str
	.long	0                               ## 0x0
	.space	4
	.quad	L_.str.1
	.long	132                             ## 0x84
	.space	4
	.quad	L_.str.2
	.long	128                             ## 0x80
	.space	4
	.quad	L_.str.3
	.long	131                             ## 0x83
	.space	4
	.quad	L_.str.4
	.long	130                             ## 0x82
	.space	4
	.quad	L_.str.5
	.long	129                             ## 0x81
	.space	4
	.quad	L_.str.6
	.long	133                             ## 0x85
	.space	4
	.quad	L_.str.7
	.long	134                             ## 0x86
	.space	4

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"None"

L_.str.1:                               ## @.str.1
	.asciz	"SSLv3"

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

L_.str.3:                               ## @.str.3
	.asciz	"TLSv1.1"

L_.str.4:                               ## @.str.4
	.asciz	"TLSv1.2"

L_.str.5:                               ## @.str.5
	.asciz	"TLSv1.3"

L_.str.6:                               ## @.str.6
	.asciz	"DTLSv1"

L_.str.7:                               ## @.str.7
	.asciz	"DTLSv1.2"

	.no_dead_strip	_protocol_from_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function protocol_from_string
_protocol_from_string:                  ; @protocol_from_string
	.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	x19, x0
Lloh0:
	adrp	x0, _protocol_from_string.versions@PAGE
Lloh1:
	add	x0, x0, _protocol_from_string.versions@PAGEOFF
	bl	_OSSL_NELEM
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh2:
	adrp	x21, _protocol_from_string.versions@PAGE+8
Lloh3:
	add	x21, x21, _protocol_from_string.versions@PAGEOFF+8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x0, [x21, #-8]
	mov	x1, x19
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #16
	subs	x20, x20, #1
	b.ne	LBB0_2
LBB0_4:
	mov	w0, #-1
	b	LBB0_6
LBB0_5:
	ldr	w0, [x21]
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @protocol_from_string.versions
_protocol_from_string.versions:
	.quad	l_.str
	.long	0                               ; 0x0
	.space	4
	.quad	l_.str.1
	.long	132                             ; 0x84
	.space	4
	.quad	l_.str.2
	.long	128                             ; 0x80
	.space	4
	.quad	l_.str.3
	.long	131                             ; 0x83
	.space	4
	.quad	l_.str.4
	.long	130                             ; 0x82
	.space	4
	.quad	l_.str.5
	.long	129                             ; 0x81
	.space	4
	.quad	l_.str.6
	.long	133                             ; 0x85
	.space	4
	.quad	l_.str.7
	.long	134                             ; 0x86
	.space	4

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"None"

l_.str.1:                               ; @.str.1
	.asciz	"SSLv3"

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

l_.str.3:                               ; @.str.3
	.asciz	"TLSv1.1"

l_.str.4:                               ; @.str.4
	.asciz	"TLSv1.2"

l_.str.5:                               ; @.str.5
	.asciz	"TLSv1.3"

l_.str.6:                               ; @.str.6
	.asciz	"DTLSv1"

l_.str.7:                               ; @.str.7
	.asciz	"DTLSv1.2"

	.no_dead_strip	_protocol_from_string
.subsections_via_symbols
