	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_protocol_version
_parse_protocol_version:                ## @parse_protocol_version
	.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
	movl	$257, %r14d                     ## imm = 0x101
	cmpq	$6, %rsi
	jb	LBB0_7
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	movl	$5, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movzbl	5(%r15), %eax
	leal	-48(%rax), %ecx
	cmpb	$9, %cl
	ja	LBB0_7
## %bb.3:
	shll	$8, %eax
	leal	-12288(%rax), %r14d
	cmpq	$8, %rbx
	jb	LBB0_7
## %bb.4:
	cmpb	$46, 6(%r15)
	jne	LBB0_7
## %bb.5:
	movzbl	7(%r15), %ecx
	leal	-48(%rcx), %edx
	cmpb	$9, %dl
	ja	LBB0_7
## %bb.6:
	leal	(%rax,%rcx), %r14d
	addl	$-12336, %r14d                  ## imm = 0xCFD0
LBB0_7:
	movl	%r14d, %eax
	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	"HTTP/"

	.no_dead_strip	_parse_protocol_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_protocol_version
_parse_protocol_version:                ; @parse_protocol_version
	.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	x1, #6
	b.lo	LBB0_6
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #5
	bl	_memcmp
	cbnz	x0, LBB0_6
; %bb.2:
	ldrb	w8, [x19, #5]
	sub	w9, w8, #48
	cmp	w9, #9
	b.hi	LBB0_6
; %bb.3:
	lsl	w8, w8, #8
	sub	w0, w8, #3, lsl #12             ; =12288
	cmp	x20, #8
	b.lo	LBB0_7
; %bb.4:
	ldrb	w9, [x19, #6]
	cmp	w9, #46
	b.ne	LBB0_7
; %bb.5:
	ldrb	w9, [x19, #7]
	sub	w10, w9, #48
	mov	w11, #-12336
	add	w8, w8, w9
	add	w8, w8, w11
	cmp	w10, #9
	csel	w0, w0, w8, hi
	b	LBB0_7
LBB0_6:
	mov	w0, #257
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HTTP/"

	.no_dead_strip	_parse_protocol_version
.subsections_via_symbols
