	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_url_parse                  ## -- Begin function h2o_url_parse
	.p2align	4, 0x90
_h2o_url_parse:                         ## @h2o_url_parse
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_strlen
	movq	%rax, %rbx
LBB0_2:
	addq	%r15, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_parse_scheme
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rbx, %rcx
	subq	%rax, %rcx
	cmpq	$2, %rcx
	jl	LBB0_6
## %bb.4:
	cmpb	$47, (%rax)
	jne	LBB0_6
## %bb.5:
	cmpb	$47, 1(%rax)
	jne	LBB0_6
## %bb.7:
	addq	$2, %rax
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_parse_authority_and_path       ## TAILCALL
LBB0_6:
	movl	$-1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIZE_MAX,8,3                   ## @SIZE_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_url_parse                  ; -- Begin function h2o_url_parse
	.p2align	2
_h2o_url_parse:                         ; @h2o_url_parse
	.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, x2
	mov	x21, x0
Lloh0:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_strlen
	mov	x1, x0
LBB0_2:
	add	x20, x21, x1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_parse_scheme
	cbz	x0, LBB0_7
; %bb.3:
	sub	x8, x20, x0
	cmp	x8, #2
	b.lt	LBB0_7
; %bb.4:
	ldrb	w8, [x0]
	cmp	w8, #47
	b.ne	LBB0_7
; %bb.5:
	ldrb	w8, [x0, #1]
	cmp	w8, #47
	b.ne	LBB0_7
; %bb.6:
	add	x0, x0, #2
	mov	x1, x20
	mov	x2, x19
	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
	b	_parse_authority_and_path
LBB0_7:
	mov	w0, #-1
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SIZE_MAX,8,3                   ; @SIZE_MAX
.subsections_via_symbols
