	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_url_resolve_path           ## -- Begin function h2o_url_resolve_path
	.p2align	4, 0x90
_h2o_url_resolve_path:                  ## @h2o_url_resolve_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	(%rdi), %rcx
	movq	(%rsi), %r9
	testq	%r9, %r9
	je	LBB0_3
## %bb.1:
	movq	8(%r14), %r8
	cmpb	$47, (%r8)
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	jmp	LBB0_24
LBB0_3:
	movq	8(%rdi), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$47, -1(%rbx,%rcx)
	leaq	-1(%rcx), %rcx
	jne	LBB0_4
## %bb.5:
	movq	8(%r14), %r8
	xorl	%eax, %eax
	testq	%r9, %r9
	jne	LBB0_7
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	%rdx, %rax
	cmpq	%rdx, %r9
	je	LBB0_22
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	cmpb	$46, (%r8,%rax)
	jne	LBB0_23
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r9, %rsi
	subq	%rax, %rsi
	cmpq	$2, %rsi
	jb	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movb	1(%rax,%r8), %dl
	cmpb	$46, %dl
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$47, %dl
	je	LBB0_13
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	1(%rax), %rdx
	cmpq	$1, %rsi
	je	LBB0_6
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movb	(%r8,%rdx), %dl
	cmpb	$47, %dl
	jne	LBB0_23
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$2, %rax
	movq	%rax, %rdx
	cmpq	%rdx, %r9
	jne	LBB0_7
	jmp	LBB0_22
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$2, %rsi
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$47, 2(%rax,%r8)
	jne	LBB0_23
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	testq	%rcx, %rcx
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rcx, %rdx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	-1(%rdx), %rcx
	cmpb	$47, -1(%rbx,%rdx)
	movq	%rcx, %rdx
	jne	LBB0_18
	jmp	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ecx, %ecx
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%edx, %edx
	cmpq	$2, %rsi
	sete	%dl
	subq	%rdx, %rax
	addq	$3, %rax
	cmpq	%rax, %r9
	jne	LBB0_7
LBB0_22:
	movq	%r9, %rax
LBB0_23:
	incq	%rcx
LBB0_24:
	movq	%rcx, (%rdi)
	addq	%rax, %r8
	movq	(%r14), %rsi
	subq	%rax, %rsi
	movq	%r8, %rdi
	callq	_h2o_iovec_init
	movq	%rax, (%r14)
	movq	%rdx, 8(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_url_resolve_path           ; -- Begin function h2o_url_resolve_path
	.p2align	2
_h2o_url_resolve_path:                  ; @h2o_url_resolve_path
	.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
	mov	x19, x1
	ldr	x9, [x0]
	ldr	x10, [x1]
	cbz	x10, LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	ldrb	w11, [x8]
	cmp	w11, #47
	b.ne	LBB0_3
; %bb.2:
	mov	x11, #0
	mov	x9, #0
	b	LBB0_23
LBB0_3:
	ldr	x8, [x0, #8]
	sub	x12, x8, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x12, x9]
	sub	x9, x9, #1
	cmp	w8, #47
	b.ne	LBB0_4
; %bb.5:
	ldr	x8, [x19, #8]
	mov	x11, #0
	cbz	x10, LBB0_22
; %bb.6:
	mov	w13, #2
	b	LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_11 Depth=1
	add	x15, x11, x8
	ldrb	w15, [x15, #1]
	cmp	w15, #46
	b.eq	LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_11 Depth=1
	cmp	w15, #47
	b.ne	LBB0_22
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	add	x15, x11, #2
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x11, x15
	cmp	x10, x15
	b.eq	LBB0_21
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	ldrb	w14, [x8, x11]
	cmp	w14, #46
	b.ne	LBB0_22
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	x14, x10, x11
	cmp	x14, #2
	b.hs	LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x15, x11, #1
	cmp	x14, #1
	b.eq	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	ldrb	w15, [x8, x15]
	cmp	w15, #47
	b.eq	LBB0_9
	b	LBB0_22
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	cmp	x14, #2
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x15, x11, x8
	ldrb	w15, [x15, #2]
	cmp	w15, #47
	b.ne	LBB0_22
LBB0_17:                                ;   in Loop: Header=BB0_11 Depth=1
	cbz	x9, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x15, x9
LBB0_19:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x9, x15, #1
	ldrb	w16, [x12, x15]
	mov	x15, x9
	cmp	w16, #47
	b.ne	LBB0_19
LBB0_20:                                ;   in Loop: Header=BB0_11 Depth=1
	cmp	x14, #2
	cinc	x14, x13, ne
	add	x11, x14, x11
	cmp	x10, x11
	b.ne	LBB0_11
LBB0_21:
	mov	x11, x10
LBB0_22:
	add	x9, x9, #1
LBB0_23:
	str	x9, [x0]
	add	x0, x8, x11
	ldr	x8, [x19]
	sub	x1, x8, x11
	bl	_h2o_iovec_init
	stp	x0, x1, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
