	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_scheme
_parse_scheme:                          ## @parse_scheme
	.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	%rsi, %rbx
	subq	%rdi, %rbx
	cmpq	$5, %rbx
	jl	LBB0_5
## %bb.1:
	movq	%rdx, %r14
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	movl	$5, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	cmpq	$6, %rbx
	jb	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	$6, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_8
LBB0_5:
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_6:
	movl	$5, %eax
	movq	_H2O_URL_SCHEME_HTTP@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_8:
	movl	$6, %eax
	movq	_H2O_URL_SCHEME_HTTPS@GOTPCREL(%rip), %rcx
LBB0_9:
	movq	%rcx, (%r14)
	addq	%rax, %r15
LBB0_10:
	movq	%r15, %rax
	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:"

	.comm	_H2O_URL_SCHEME_HTTP,4,2        ## @H2O_URL_SCHEME_HTTP
L_.str.1:                               ## @.str.1
	.asciz	"https:"

	.comm	_H2O_URL_SCHEME_HTTPS,4,2       ## @H2O_URL_SCHEME_HTTPS
	.no_dead_strip	_parse_scheme
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_scheme
_parse_scheme:                          ; @parse_scheme
	.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
	sub	x22, x1, x0
	cmp	x22, #5
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w21, #5
	mov	w2, #5
	bl	_memcmp
	cbz	x0, LBB0_5
; %bb.2:
	cmp	x22, #6
	b.lo	LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w21, #6
	mov	x0, x20
	mov	w2, #6
	bl	_memcmp
	cbz	x0, LBB0_6
LBB0_4:
	mov	x0, #0
	b	LBB0_8
LBB0_5:
Lloh4:
	adrp	x8, _H2O_URL_SCHEME_HTTP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _H2O_URL_SCHEME_HTTP@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh6:
	adrp	x8, _H2O_URL_SCHEME_HTTPS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _H2O_URL_SCHEME_HTTPS@GOTPAGEOFF]
LBB0_7:
	str	x8, [x19]
	add	x0, x20, x21
LBB0_8:
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"http:"

	.comm	_H2O_URL_SCHEME_HTTP,4,2        ; @H2O_URL_SCHEME_HTTP
l_.str.1:                               ; @.str.1
	.asciz	"https:"

	.comm	_H2O_URL_SCHEME_HTTPS,4,2       ; @H2O_URL_SCHEME_HTTPS
	.no_dead_strip	_parse_scheme
.subsections_via_symbols
