	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_authority_and_path
_parse_authority_and_path:              ## @parse_authority_and_path
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	subl	%ebx, %esi
	addq	$20, %rdx
	leaq	16(%r14), %rcx
	callq	_h2o_url_parse_hostport
	movl	$-1, %r12d
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r13
	movq	%rax, %rsi
	subq	%rbx, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_h2o_iovec_init
	movq	%rax, 8(%r14)
	cmpq	%r15, %r13
	je	LBB0_2
## %bb.3:
	cmpb	$47, (%r13)
	jne	LBB0_6
## %bb.4:
	subq	%r13, %r15
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_h2o_iovec_init
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_H2O_STRLIT
	movslq	%eax, %rdi
	xorl	%eax, %eax
	callq	_h2o_iovec_init
LBB0_5:
	movq	%rax, (%r14)
	xorl	%r12d, %r12d
LBB0_6:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/"

	.no_dead_strip	_parse_authority_and_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_authority_and_path
_parse_authority_and_path:              ; @parse_authority_and_path
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x22, x0
	sub	w1, w20, w22
	add	x2, x2, #20
	add	x3, x19, #16
	bl	_h2o_url_parse_hostport
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	sub	x8, x0, x22
	str	x8, [sp]
	mov	x0, x22
	bl	_h2o_iovec_init
	str	x0, [x19, #8]
	cmp	x21, x20
	b.eq	LBB0_5
; %bb.2:
	ldrb	w8, [x21]
	cmp	w8, #47
	b.ne	LBB0_4
; %bb.3:
	sub	x8, x20, x21
	str	x8, [sp]
	mov	x0, x21
	b	LBB0_6
LBB0_4:
	mov	w0, #-1
	b	LBB0_7
LBB0_5:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_H2O_STRLIT
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
LBB0_6:
	bl	_h2o_iovec_init
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/"

	.no_dead_strip	_parse_authority_and_path
.subsections_via_symbols
