	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_resolve
_test_resolve:                          ## @test_resolve
	.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
	subq	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	-84(%rbp), %r12
	movq	%r12, %rdi
	callq	_h2o_mem_init_pool
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	leaq	-168(%rbp), %r15
	movq	%r15, %rdx
	callq	_h2o_url_parse
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	leaq	-128(%rbp), %rbx
	movq	%rbx, %rdx
	callq	_h2o_url_parse_relative
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	leaq	-80(%rbp), %r13
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	callq	_h2o_url_resolve
	movq	%rax, %r14
	movq	%rax, %rbx
	shrq	$32, %rbx
	leaq	L_.str.2(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	_H2O_URL_SCHEME_HTTP@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%rax, -48(%rbp)
	sete	%dil
	callq	_ok
	movl	-60(%rbp), %r15d
	movl	-56(%rbp), %ebx
	leaq	L_.str.3(%rip), %r14
	movq	%r14, %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movl	-68(%rbp), %r15d
	movl	-64(%rbp), %ebx
	movq	%r14, %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	xorl	%edi, %edi
	cmpl	$65535, -80(%rbp)               ## imm = 0xFFFF
	sete	%dil
	callq	_ok
	movq	%r13, %rdi
	callq	_h2o_url_get_port
	xorl	%edi, %edi
	cmpl	$80, %eax
	sete	%dil
	callq	_ok
	movl	-76(%rbp), %r15d
	movl	-72(%rbp), %ebx
	leaq	L_.str.4(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdi
	leaq	-128(%rbp), %rbx
	movq	%rbx, %rdx
	callq	_h2o_url_parse_relative
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	movq	%r12, %rdi
	leaq	-168(%rbp), %r12
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	callq	_h2o_url_resolve
	movq	%rax, %r15
	movq	%rax, %rbx
	shrq	$32, %rbx
	leaq	L_.str.6(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	xorl	%edi, %edi
	movq	_H2O_URL_SCHEME_HTTP@GOTPCREL(%rip), %rax
	cmpq	%rax, -48(%rbp)
	sete	%dil
	callq	_ok
	movl	-60(%rbp), %r15d
	movl	-56(%rbp), %ebx
	movq	%r14, %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movl	-68(%rbp), %r15d
	movl	-64(%rbp), %ebx
	movq	%r14, %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	xorl	%edi, %edi
	cmpl	$65535, -80(%rbp)               ## imm = 0xFFFF
	sete	%dil
	callq	_ok
	movq	%r13, %rdi
	callq	_h2o_url_get_port
	xorl	%edi, %edi
	cmpl	$80, %eax
	sete	%dil
	callq	_ok
	movl	-76(%rbp), %r15d
	movl	-72(%rbp), %ebx
	leaq	L_.str.7(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.8(%rip), %rdi
	leaq	-128(%rbp), %rbx
	movq	%rbx, %rdx
	callq	_h2o_url_parse_relative
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	leaq	-84(%rbp), %r14
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	movq	%r13, %r12
	callq	_h2o_url_resolve
	movq	%rax, %r15
	movq	%rax, %rbx
	shrq	$32, %rbx
	leaq	L_.str.9(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	xorl	%edi, %edi
	movq	_H2O_URL_SCHEME_HTTP@GOTPCREL(%rip), %rax
	cmpq	%rax, -48(%rbp)
	sete	%dil
	callq	_ok
	movl	-60(%rbp), %r15d
	movl	-56(%rbp), %ebx
	leaq	L_.str.3(%rip), %r13
	movq	%r13, %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movl	-68(%rbp), %r15d
	movl	-64(%rbp), %ebx
	movq	%r13, %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	xorl	%edi, %edi
	cmpl	$65535, -80(%rbp)               ## imm = 0xFFFF
	sete	%dil
	callq	_ok
	movq	%r12, %rdi
	callq	_h2o_url_get_port
	xorl	%edi, %edi
	cmpl	$80, %eax
	sete	%dil
	callq	_ok
	movl	-76(%rbp), %r15d
	movl	-72(%rbp), %ebx
	leaq	L_.str.10(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.11(%rip), %rdi
	leaq	-128(%rbp), %r13
	movq	%r13, %rdx
	callq	_h2o_url_parse_relative
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	movq	%r14, %rdi
	leaq	-168(%rbp), %rsi
	movq	%r13, %rdx
	movq	%r12, %r14
	movq	%r12, %rcx
	callq	_h2o_url_resolve
	movq	%rax, %r15
	movq	%rax, %rbx
	shrq	$32, %rbx
	leaq	L_.str.12(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	xorl	%edi, %edi
	movq	_H2O_URL_SCHEME_HTTP@GOTPCREL(%rip), %rax
	cmpq	%rax, -48(%rbp)
	sete	%dil
	callq	_ok
	movl	-60(%rbp), %r15d
	movl	-56(%rbp), %ebx
	leaq	L_.str.3(%rip), %r12
	movq	%r12, %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movl	-68(%rbp), %r15d
	movl	-64(%rbp), %ebx
	movq	%r12, %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	xorl	%edi, %edi
	cmpl	$65535, -80(%rbp)               ## imm = 0xFFFF
	sete	%dil
	callq	_ok
	movq	%r14, %rdi
	callq	_h2o_url_get_port
	xorl	%edi, %edi
	cmpl	$80, %eax
	sete	%dil
	callq	_ok
	movl	-76(%rbp), %r15d
	movl	-72(%rbp), %ebx
	leaq	L_.str.13(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.14(%rip), %rdi
	movq	%r13, %rdx
	callq	_h2o_url_parse_relative
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	leaq	-84(%rbp), %rdi
	leaq	-168(%rbp), %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_h2o_url_resolve
	movq	%rax, %r15
	movq	%rax, %rbx
	shrq	$32, %rbx
	leaq	L_.str.6(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	xorl	%edi, %edi
	movq	_H2O_URL_SCHEME_HTTP@GOTPCREL(%rip), %rax
	cmpq	%rax, -48(%rbp)
	sete	%dil
	callq	_ok
	movl	-60(%rbp), %r15d
	movl	-56(%rbp), %ebx
	movq	%r12, %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movl	-68(%rbp), %r15d
	movl	-64(%rbp), %ebx
	movq	%r12, %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	xorl	%edi, %edi
	cmpl	$65535, -80(%rbp)               ## imm = 0xFFFF
	sete	%dil
	callq	_ok
	movq	%r14, %rdi
	callq	_h2o_url_get_port
	xorl	%edi, %edi
	cmpl	$80, %eax
	sete	%dil
	callq	_ok
	movl	-76(%rbp), %r15d
	movl	-72(%rbp), %ebx
	leaq	L_.str.7(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.15(%rip), %rdi
	movq	%r13, %rdx
	callq	_h2o_url_parse_relative
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	leaq	-84(%rbp), %rdi
	leaq	-168(%rbp), %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	movq	%r14, %r12
	callq	_h2o_url_resolve
	movq	%rax, %r15
	movq	%rax, %rbx
	shrq	$32, %rbx
	leaq	L_.str.16(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	xorl	%edi, %edi
	movq	_H2O_URL_SCHEME_HTTP@GOTPCREL(%rip), %rax
	cmpq	%rax, -48(%rbp)
	sete	%dil
	callq	_ok
	movl	-60(%rbp), %r15d
	movl	-56(%rbp), %ebx
	leaq	L_.str.3(%rip), %r14
	movq	%r14, %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movl	-68(%rbp), %r15d
	movl	-64(%rbp), %ebx
	movq	%r14, %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	xorl	%edi, %edi
	cmpl	$65535, -80(%rbp)               ## imm = 0xFFFF
	sete	%dil
	callq	_ok
	movq	%r12, %rdi
	callq	_h2o_url_get_port
	xorl	%edi, %edi
	cmpl	$80, %eax
	sete	%dil
	callq	_ok
	movl	-76(%rbp), %ebx
	movl	-72(%rbp), %r15d
	leaq	L_.str.17(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.18(%rip), %rdi
	leaq	-128(%rbp), %rbx
	movq	%rbx, %rdx
	callq	_h2o_url_parse_relative
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	leaq	-84(%rbp), %rdi
	leaq	-168(%rbp), %r13
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	_h2o_url_resolve
	movq	%rax, %r15
	movq	%rax, %rbx
	shrq	$32, %rbx
	leaq	L_.str.19(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	-48(%rbp), %rax
	xorl	%edi, %edi
	cmpq	_H2O_URL_SCHEME_HTTPS@GOTPCREL(%rip), %rax
	sete	%dil
	callq	_ok
	movl	-60(%rbp), %r15d
	movl	-56(%rbp), %ebx
	leaq	L_.str.3(%rip), %r14
	movq	%r14, %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movl	-68(%rbp), %r15d
	movl	-64(%rbp), %ebx
	movq	%r14, %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	xorl	%edi, %edi
	cmpl	$65535, -80(%rbp)               ## imm = 0xFFFF
	sete	%dil
	callq	_ok
	movq	%r12, %rdi
	callq	_h2o_url_get_port
	xorl	%edi, %edi
	cmpl	$443, %eax                      ## imm = 0x1BB
	sete	%dil
	callq	_ok
	movl	-76(%rbp), %r14d
	movl	-72(%rbp), %ebx
	leaq	L_.str.17(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.20(%rip), %rdi
	leaq	-128(%rbp), %rbx
	movq	%rbx, %rdx
	callq	_h2o_url_parse_relative
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	leaq	-84(%rbp), %r15
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	_h2o_url_resolve
	movq	%rax, %r14
	movq	%rax, %rbx
	shrq	$32, %rbx
	leaq	L_.str.21(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	xorl	%edi, %edi
	movq	_H2O_URL_SCHEME_HTTP@GOTPCREL(%rip), %rax
	cmpq	%rax, -48(%rbp)
	sete	%dil
	callq	_ok
	movl	-60(%rbp), %r14d
	movl	-56(%rbp), %ebx
	leaq	L_.str.22(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movl	-68(%rbp), %r14d
	movl	-64(%rbp), %ebx
	leaq	L_.str.23(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	xorl	%edi, %edi
	cmpl	$81, -80(%rbp)
	sete	%dil
	callq	_ok
	movq	%r12, %rdi
	callq	_h2o_url_get_port
	xorl	%edi, %edi
	cmpl	$81, %eax
	sete	%dil
	callq	_ok
	movl	-76(%rbp), %r14d
	movl	-72(%rbp), %ebx
	leaq	L_.str.17(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_h2o_url_stringify
	movq	%rax, %r14
	movq	%rax, %rbx
	shrq	$32, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	%r15, %rdi
	callq	_h2o_mem_clear_pool
	addq	$136, %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	"http://example.com/dir/index.html"

	.comm	_SIZE_MAX,4,2                   ## @SIZE_MAX
L_.str.1:                               ## @.str.1
	.asciz	"../assets/jquery.js"

L_.str.2:                               ## @.str.2
	.asciz	"http://example.com/assets/jquery.js"

	.comm	_H2O_URL_SCHEME_HTTP,4,2        ## @H2O_URL_SCHEME_HTTP
L_.str.3:                               ## @.str.3
	.asciz	"example.com"

L_.str.4:                               ## @.str.4
	.asciz	"/assets/jquery.js"

L_.str.5:                               ## @.str.5
	.asciz	"foo.html"

L_.str.6:                               ## @.str.6
	.asciz	"http://example.com/dir/foo.html"

L_.str.7:                               ## @.str.7
	.asciz	"/dir/foo.html"

L_.str.8:                               ## @.str.8
	.asciz	"./bar.txt"

L_.str.9:                               ## @.str.9
	.asciz	"http://example.com/dir/bar.txt"

L_.str.10:                              ## @.str.10
	.asciz	"/dir/bar.txt"

L_.str.11:                              ## @.str.11
	.asciz	"../../../traverse"

L_.str.12:                              ## @.str.12
	.asciz	"http://example.com/traverse"

L_.str.13:                              ## @.str.13
	.asciz	"/traverse"

L_.str.14:                              ## @.str.14
	.asciz	"http:foo.html"

L_.str.15:                              ## @.str.15
	.asciz	"http:/icon.ico"

L_.str.16:                              ## @.str.16
	.asciz	"http://example.com/icon.ico"

L_.str.17:                              ## @.str.17
	.asciz	"/icon.ico"

L_.str.18:                              ## @.str.18
	.asciz	"https:/icon.ico"

L_.str.19:                              ## @.str.19
	.asciz	"https://example.com/icon.ico"

	.comm	_H2O_URL_SCHEME_HTTPS,4,2       ## @H2O_URL_SCHEME_HTTPS
L_.str.20:                              ## @.str.20
	.asciz	"//example.jp:81/icon.ico"

L_.str.21:                              ## @.str.21
	.asciz	"http://example.jp:81/icon.ico"

L_.str.22:                              ## @.str.22
	.asciz	"example.jp:81"

L_.str.23:                              ## @.str.23
	.asciz	"example.jp"

	.no_dead_strip	_test_resolve
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_resolve
_test_resolve:                          ; @test_resolve
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	x0, x29, #84
	bl	_h2o_mem_init_pool
Lloh0:
	adrp	x25, _SIZE_MAX@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SIZE_MAX@GOTPAGEOFF]
	ldr	w1, [x25]
Lloh2:
	adrp	x19, l_.str@PAGE
Lloh3:
	add	x19, x19, l_.str@PAGEOFF
	add	x2, sp, #80
	mov	x0, x19
	bl	_h2o_url_parse
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	ldr	w1, [x25]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x2, sp, #40
	bl	_h2o_url_parse_relative
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	sub	x0, x29, #84
	add	x1, sp, #80
	add	x2, sp, #40
	mov	x3, sp
	bl	_h2o_url_resolve
	mov	x20, x0
	lsr	x21, x0, #32
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_h2o_memis
	bl	_ok
	ldr	x8, [sp, #32]
Lloh8:
	adrp	x26, _H2O_URL_SCHEME_HTTP@GOTPAGE
Lloh9:
	ldr	x26, [x26, _H2O_URL_SCHEME_HTTP@GOTPAGEOFF]
	cmp	x8, x26
	cset	w0, eq
	bl	_ok
	ldp	w22, w21, [sp, #20]
Lloh10:
	adrp	x20, l_.str.3@PAGE
Lloh11:
	add	x20, x20, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_h2o_memis
	bl	_ok
	ldp	w22, w21, [sp, #12]
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_h2o_memis
	bl	_ok
	ldr	w8, [sp]
	mov	w27, #65535
	cmp	w8, w27
	cset	w0, eq
	bl	_ok
	mov	x0, sp
	bl	_h2o_url_get_port
	cmp	w0, #80
	cset	w0, eq
	bl	_ok
	ldp	w22, w21, [sp, #4]
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_h2o_memis
	bl	_ok
	ldr	w1, [x25]
Lloh14:
	adrp	x0, l_.str.5@PAGE
Lloh15:
	add	x0, x0, l_.str.5@PAGEOFF
	add	x2, sp, #40
	bl	_h2o_url_parse_relative
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	sub	x0, x29, #84
	add	x1, sp, #80
	add	x2, sp, #40
	mov	x3, sp
	bl	_h2o_url_resolve
	mov	x22, x0
	lsr	x23, x0, #32
Lloh16:
	adrp	x21, l_.str.6@PAGE
Lloh17:
	add	x21, x21, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x23
	mov	x1, x22
	bl	_h2o_memis
	bl	_ok
	ldr	x8, [sp, #32]
	cmp	x8, x26
	cset	w0, eq
	bl	_ok
	ldp	w23, w22, [sp, #20]
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_h2o_memis
	bl	_ok
	ldp	w23, w22, [sp, #12]
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_h2o_memis
	bl	_ok
	ldr	w8, [sp]
	cmp	w8, w27
	cset	w0, eq
	bl	_ok
	mov	x0, sp
	bl	_h2o_url_get_port
	cmp	w0, #80
	cset	w0, eq
	bl	_ok
	ldp	w24, w23, [sp, #4]
Lloh18:
	adrp	x22, l_.str.7@PAGE
Lloh19:
	add	x22, x22, l_.str.7@PAGEOFF
	mov	x0, x22
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_h2o_memis
	bl	_ok
	ldr	w1, [x25]
Lloh20:
	adrp	x0, l_.str.8@PAGE
Lloh21:
	add	x0, x0, l_.str.8@PAGEOFF
	add	x2, sp, #40
	bl	_h2o_url_parse_relative
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	sub	x0, x29, #84
	add	x1, sp, #80
	add	x2, sp, #40
	mov	x3, sp
	bl	_h2o_url_resolve
	mov	x23, x0
	lsr	x24, x0, #32
Lloh22:
	adrp	x0, l_.str.9@PAGE
Lloh23:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x24
	mov	x1, x23
	bl	_h2o_memis
	bl	_ok
	ldr	x8, [sp, #32]
	cmp	x8, x26
	cset	w0, eq
	bl	_ok
	ldp	w24, w23, [sp, #20]
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_h2o_memis
	bl	_ok
	ldp	w24, w23, [sp, #12]
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_h2o_memis
	bl	_ok
	ldr	w8, [sp]
	cmp	w8, w27
	cset	w0, eq
	bl	_ok
	mov	x0, sp
	bl	_h2o_url_get_port
	cmp	w0, #80
	cset	w0, eq
	bl	_ok
	ldp	w24, w23, [sp, #4]
Lloh24:
	adrp	x0, l_.str.10@PAGE
Lloh25:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_h2o_memis
	bl	_ok
	ldr	w1, [x25]
Lloh26:
	adrp	x0, l_.str.11@PAGE
Lloh27:
	add	x0, x0, l_.str.11@PAGEOFF
	add	x2, sp, #40
	bl	_h2o_url_parse_relative
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	sub	x0, x29, #84
	add	x1, sp, #80
	add	x2, sp, #40
	mov	x3, sp
	bl	_h2o_url_resolve
	mov	x23, x0
	lsr	x24, x0, #32
Lloh28:
	adrp	x0, l_.str.12@PAGE
Lloh29:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x24
	mov	x1, x23
	bl	_h2o_memis
	bl	_ok
	ldr	x8, [sp, #32]
	cmp	x8, x26
	cset	w0, eq
	bl	_ok
	ldp	w24, w23, [sp, #20]
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_h2o_memis
	bl	_ok
	ldp	w24, w23, [sp, #12]
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_h2o_memis
	bl	_ok
	ldr	w8, [sp]
	cmp	w8, w27
	cset	w0, eq
	bl	_ok
	mov	x0, sp
	bl	_h2o_url_get_port
	cmp	w0, #80
	cset	w0, eq
	bl	_ok
	ldp	w24, w23, [sp, #4]
Lloh30:
	adrp	x0, l_.str.13@PAGE
Lloh31:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_h2o_memis
	bl	_ok
	ldr	w1, [x25]
Lloh32:
	adrp	x0, l_.str.14@PAGE
Lloh33:
	add	x0, x0, l_.str.14@PAGEOFF
	add	x2, sp, #40
	bl	_h2o_url_parse_relative
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	sub	x0, x29, #84
	add	x1, sp, #80
	add	x2, sp, #40
	mov	x3, sp
	bl	_h2o_url_resolve
	mov	x23, x0
	lsr	x24, x0, #32
	mov	x0, x21
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x24
	mov	x1, x23
	bl	_h2o_memis
	bl	_ok
	ldr	x8, [sp, #32]
	cmp	x8, x26
	cset	w0, eq
	bl	_ok
	ldp	w23, w21, [sp, #20]
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_h2o_memis
	bl	_ok
	ldp	w23, w21, [sp, #12]
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_h2o_memis
	bl	_ok
	ldr	w8, [sp]
	cmp	w8, w27
	cset	w0, eq
	bl	_ok
	mov	x0, sp
	bl	_h2o_url_get_port
	cmp	w0, #80
	cset	w0, eq
	bl	_ok
	ldp	w23, w21, [sp, #4]
	mov	x0, x22
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_h2o_memis
	bl	_ok
	ldr	w1, [x25]
Lloh34:
	adrp	x0, l_.str.15@PAGE
Lloh35:
	add	x0, x0, l_.str.15@PAGEOFF
	add	x2, sp, #40
	bl	_h2o_url_parse_relative
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	sub	x0, x29, #84
	add	x1, sp, #80
	add	x2, sp, #40
	mov	x3, sp
	bl	_h2o_url_resolve
	mov	x21, x0
	lsr	x22, x0, #32
Lloh36:
	adrp	x0, l_.str.16@PAGE
Lloh37:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	bl	_h2o_memis
	bl	_ok
	ldr	x8, [sp, #32]
	cmp	x8, x26
	cset	w0, eq
	bl	_ok
	ldp	w22, w21, [sp, #20]
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_h2o_memis
	bl	_ok
	ldp	w22, w21, [sp, #12]
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_h2o_memis
	bl	_ok
	ldr	w8, [sp]
	cmp	w8, w27
	cset	w0, eq
	bl	_ok
	mov	x0, sp
	bl	_h2o_url_get_port
	cmp	w0, #80
	cset	w0, eq
	bl	_ok
	ldp	w23, w22, [sp, #4]
Lloh38:
	adrp	x21, l_.str.17@PAGE
Lloh39:
	add	x21, x21, l_.str.17@PAGEOFF
	mov	x0, x21
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_h2o_memis
	bl	_ok
	ldr	w1, [x25]
Lloh40:
	adrp	x0, l_.str.18@PAGE
Lloh41:
	add	x0, x0, l_.str.18@PAGEOFF
	add	x2, sp, #40
	bl	_h2o_url_parse_relative
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	sub	x0, x29, #84
	add	x1, sp, #80
	add	x2, sp, #40
	mov	x3, sp
	bl	_h2o_url_resolve
	mov	x22, x0
	lsr	x23, x0, #32
Lloh42:
	adrp	x0, l_.str.19@PAGE
Lloh43:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x23
	mov	x1, x22
	bl	_h2o_memis
	bl	_ok
	ldr	x8, [sp, #32]
Lloh44:
	adrp	x9, _H2O_URL_SCHEME_HTTPS@GOTPAGE
Lloh45:
	ldr	x9, [x9, _H2O_URL_SCHEME_HTTPS@GOTPAGEOFF]
	cmp	x8, x9
	cset	w0, eq
	bl	_ok
	ldp	w23, w22, [sp, #20]
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_h2o_memis
	bl	_ok
	ldp	w23, w22, [sp, #12]
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_h2o_memis
	bl	_ok
	ldr	w8, [sp]
	cmp	w8, w27
	cset	w0, eq
	bl	_ok
	mov	x0, sp
	bl	_h2o_url_get_port
	cmp	w0, #443
	cset	w0, eq
	bl	_ok
	ldp	w22, w20, [sp, #4]
	mov	x0, x21
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_h2o_memis
	bl	_ok
	ldr	w1, [x25]
Lloh46:
	adrp	x0, l_.str.20@PAGE
Lloh47:
	add	x0, x0, l_.str.20@PAGEOFF
	add	x2, sp, #40
	bl	_h2o_url_parse_relative
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	sub	x0, x29, #84
	add	x1, sp, #80
	add	x2, sp, #40
	mov	x3, sp
	bl	_h2o_url_resolve
	mov	x20, x0
	lsr	x22, x0, #32
Lloh48:
	adrp	x0, l_.str.21@PAGE
Lloh49:
	add	x0, x0, l_.str.21@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x20
	bl	_h2o_memis
	bl	_ok
	ldr	x8, [sp, #32]
	cmp	x8, x26
	cset	w0, eq
	bl	_ok
	ldp	w22, w20, [sp, #20]
Lloh50:
	adrp	x0, l_.str.22@PAGE
Lloh51:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_h2o_memis
	bl	_ok
	ldp	w22, w20, [sp, #12]
Lloh52:
	adrp	x0, l_.str.23@PAGE
Lloh53:
	add	x0, x0, l_.str.23@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_h2o_memis
	bl	_ok
	ldr	w8, [sp]
	cmp	w8, #81
	cset	w0, eq
	bl	_ok
	mov	x0, sp
	bl	_h2o_url_get_port
	cmp	w0, #81
	cset	w0, eq
	bl	_ok
	ldp	w22, w20, [sp, #4]
	mov	x0, x21
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_h2o_memis
	bl	_ok
	sub	x0, x29, #84
	add	x1, sp, #80
	bl	_h2o_url_stringify
	mov	x20, x0
	lsr	x21, x0, #32
	mov	x0, x19
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_h2o_memis
	bl	_ok
	sub	x0, x29, #84
	bl	_h2o_mem_clear_pool
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"http://example.com/dir/index.html"

	.comm	_SIZE_MAX,4,2                   ; @SIZE_MAX
l_.str.1:                               ; @.str.1
	.asciz	"../assets/jquery.js"

l_.str.2:                               ; @.str.2
	.asciz	"http://example.com/assets/jquery.js"

	.comm	_H2O_URL_SCHEME_HTTP,4,2        ; @H2O_URL_SCHEME_HTTP
l_.str.3:                               ; @.str.3
	.asciz	"example.com"

l_.str.4:                               ; @.str.4
	.asciz	"/assets/jquery.js"

l_.str.5:                               ; @.str.5
	.asciz	"foo.html"

l_.str.6:                               ; @.str.6
	.asciz	"http://example.com/dir/foo.html"

l_.str.7:                               ; @.str.7
	.asciz	"/dir/foo.html"

l_.str.8:                               ; @.str.8
	.asciz	"./bar.txt"

l_.str.9:                               ; @.str.9
	.asciz	"http://example.com/dir/bar.txt"

l_.str.10:                              ; @.str.10
	.asciz	"/dir/bar.txt"

l_.str.11:                              ; @.str.11
	.asciz	"../../../traverse"

l_.str.12:                              ; @.str.12
	.asciz	"http://example.com/traverse"

l_.str.13:                              ; @.str.13
	.asciz	"/traverse"

l_.str.14:                              ; @.str.14
	.asciz	"http:foo.html"

l_.str.15:                              ; @.str.15
	.asciz	"http:/icon.ico"

l_.str.16:                              ; @.str.16
	.asciz	"http://example.com/icon.ico"

l_.str.17:                              ; @.str.17
	.asciz	"/icon.ico"

l_.str.18:                              ; @.str.18
	.asciz	"https:/icon.ico"

l_.str.19:                              ; @.str.19
	.asciz	"https://example.com/icon.ico"

	.comm	_H2O_URL_SCHEME_HTTPS,4,2       ; @H2O_URL_SCHEME_HTTPS
l_.str.20:                              ; @.str.20
	.asciz	"//example.jp:81/icon.ico"

l_.str.21:                              ; @.str.21
	.asciz	"http://example.jp:81/icon.ico"

l_.str.22:                              ; @.str.22
	.asciz	"example.jp:81"

l_.str.23:                              ; @.str.23
	.asciz	"example.jp"

	.no_dead_strip	_test_resolve
.subsections_via_symbols
