	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_parse_relative
_test_parse_relative:                   ## @test_parse_relative
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	-104(%rbp), %r13
	movq	%r13, %rdi
	movl	$85, %esi
	movl	$64, %edx
	callq	_memset
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rax, %r12
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_h2o_url_parse_relative
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpq	$0, -48(%rbp)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpq	$0, -56(%rbp)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpq	$0, -72(%rbp)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$65535, -104(%rbp)              ## imm = 0xFFFF
	sete	%dil
	callq	_ok
	movq	-88(%rbp), %rbx
	movl	-96(%rbp), %r15d
	movq	%r14, %rdi
	callq	_H2O_STRLIT
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	%r13, %rdi
	movl	$85, %esi
	movl	$64, %edx
	callq	_memset
	movl	(%r12), %esi
	movq	%r12, %r14
	leaq	L_.str.1(%rip), %r15
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_h2o_url_parse_relative
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpq	$0, -48(%rbp)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpq	$0, -56(%rbp)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpq	$0, -72(%rbp)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$65535, -104(%rbp)              ## imm = 0xFFFF
	sete	%dil
	callq	_ok
	movq	-88(%rbp), %rbx
	movl	-96(%rbp), %r12d
	movq	%r15, %rdi
	callq	_H2O_STRLIT
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	%r13, %rdi
	movl	$85, %esi
	movl	$64, %edx
	callq	_memset
	movl	(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	movq	%r13, %rdx
	callq	_h2o_url_parse_relative
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rax
	xorl	%edi, %edi
	cmpq	_H2O_URL_SCHEME_HTTP@GOTPCREL(%rip), %rax
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpq	$0, -56(%rbp)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpq	$0, -72(%rbp)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$65535, -104(%rbp)              ## imm = 0xFFFF
	sete	%dil
	callq	_ok
	movq	-88(%rbp), %rbx
	movl	-96(%rbp), %r15d
	leaq	L_.str(%rip), %rdi
	callq	_H2O_STRLIT
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	%r13, %rdi
	movl	$85, %esi
	movl	$64, %edx
	callq	_memset
	movl	(%r14), %esi
	movq	%r14, %r12
	leaq	L_.str.3(%rip), %rdi
	movq	%r13, %rdx
	callq	_h2o_url_parse_relative
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpq	$0, -48(%rbp)
	sete	%dil
	callq	_ok
	movq	-56(%rbp), %rbx
	movl	-64(%rbp), %r15d
	leaq	L_.str.4(%rip), %r14
	movq	%r14, %rdi
	callq	_H2O_STRLIT
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	-72(%rbp), %rbx
	movl	-80(%rbp), %r15d
	movq	%r14, %rdi
	callq	_H2O_STRLIT
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	xorl	%edi, %edi
	cmpl	$65535, -104(%rbp)              ## imm = 0xFFFF
	sete	%dil
	callq	_ok
	movq	-88(%rbp), %rbx
	movl	-96(%rbp), %r15d
	leaq	L_.str.5(%rip), %rdi
	callq	_H2O_STRLIT
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	%r13, %rdi
	movl	$85, %esi
	movl	$64, %edx
	callq	_memset
	movl	(%r12), %esi
	leaq	L_.str.6(%rip), %rdi
	movq	%r13, %rdx
	callq	_h2o_url_parse_relative
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpq	$0, -48(%rbp)
	sete	%dil
	callq	_ok
	movq	-56(%rbp), %rbx
	movl	-64(%rbp), %r12d
	leaq	L_.str.7(%rip), %r15
	movq	%r15, %rdi
	callq	_H2O_STRLIT
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	-72(%rbp), %rbx
	movl	-80(%rbp), %r12d
	movq	%r14, %rdi
	callq	_H2O_STRLIT
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	xorl	%edi, %edi
	cmpl	$12345, -104(%rbp)              ## imm = 0x3039
	sete	%dil
	callq	_ok
	movq	-88(%rbp), %rbx
	movl	-96(%rbp), %r14d
	leaq	L_.str.8(%rip), %r12
	movq	%r12, %rdi
	callq	_H2O_STRLIT
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	%r13, %rdi
	movl	$85, %esi
	movl	$64, %edx
	callq	_memset
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.9(%rip), %rdi
	movq	%r13, %rdx
	callq	_h2o_url_parse_relative
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	movq	-48(%rbp), %rax
	xorl	%edi, %edi
	cmpq	_H2O_URL_SCHEME_HTTPS@GOTPCREL(%rip), %rax
	sete	%dil
	callq	_ok
	movq	-56(%rbp), %rbx
	movl	-64(%rbp), %r14d
	movq	%r15, %rdi
	callq	_H2O_STRLIT
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	-72(%rbp), %rbx
	movl	-80(%rbp), %r14d
	leaq	L_.str.4(%rip), %rdi
	callq	_H2O_STRLIT
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	xorl	%edi, %edi
	cmpl	$12345, -104(%rbp)              ## imm = 0x3039
	sete	%dil
	callq	_ok
	movq	-88(%rbp), %rbx
	movl	-96(%rbp), %r14d
	movq	%r12, %rdi
	callq	_H2O_STRLIT
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	addq	$72, %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	"abc"

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

L_.str.2:                               ## @.str.2
	.asciz	"http:abc"

	.comm	_H2O_URL_SCHEME_HTTP,4,2        ## @H2O_URL_SCHEME_HTTP
L_.str.3:                               ## @.str.3
	.asciz	"//host"

L_.str.4:                               ## @.str.4
	.asciz	"host"

L_.str.5:                               ## @.str.5
	.asciz	"/"

L_.str.6:                               ## @.str.6
	.asciz	"//host:12345/path"

L_.str.7:                               ## @.str.7
	.asciz	"host:12345"

L_.str.8:                               ## @.str.8
	.asciz	"/path"

L_.str.9:                               ## @.str.9
	.asciz	"https://host:12345/path"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_parse_relative
_test_parse_relative:                   ; @test_parse_relative
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x0, sp
	mov	w1, #85
	mov	w2, #64
	bl	_memset
Lloh0:
	adrp	x24, _SIZE_MAX@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SIZE_MAX@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh2:
	adrp	x19, l_.str@PAGE
Lloh3:
	add	x19, x19, l_.str@PAGEOFF
	mov	x2, sp
	mov	x0, x19
	bl	_h2o_url_parse_relative
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #56]
	cmp	x8, #0
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #48]
	cmp	x8, #0
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #32]
	cmp	x8, #0
	cset	w0, eq
	bl	_ok
	ldr	w8, [sp]
	mov	w23, #65535
	cmp	w8, w23
	cset	w0, eq
	bl	_ok
	ldr	x20, [sp, #16]
	ldr	w21, [sp, #8]
	mov	x0, x19
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_h2o_memis
	bl	_ok
	mov	x0, sp
	mov	w1, #85
	mov	w2, #64
	bl	_memset
	ldr	w1, [x24]
Lloh4:
	adrp	x20, l_.str.1@PAGE
Lloh5:
	add	x20, x20, l_.str.1@PAGEOFF
	mov	x2, sp
	mov	x0, x20
	bl	_h2o_url_parse_relative
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #56]
	cmp	x8, #0
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #48]
	cmp	x8, #0
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #32]
	cmp	x8, #0
	cset	w0, eq
	bl	_ok
	ldr	w8, [sp]
	cmp	w8, w23
	cset	w0, eq
	bl	_ok
	ldr	x21, [sp, #16]
	ldr	w22, [sp, #8]
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_h2o_memis
	bl	_ok
	mov	x0, sp
	mov	w1, #85
	mov	w2, #64
	bl	_memset
	ldr	w1, [x24]
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, sp
	bl	_h2o_url_parse_relative
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #56]
Lloh8:
	adrp	x9, _H2O_URL_SCHEME_HTTP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _H2O_URL_SCHEME_HTTP@GOTPAGEOFF]
	cmp	x8, x9
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #48]
	cmp	x8, #0
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #32]
	cmp	x8, #0
	cset	w0, eq
	bl	_ok
	ldr	w8, [sp]
	cmp	w8, w23
	cset	w0, eq
	bl	_ok
	ldr	x20, [sp, #16]
	ldr	w21, [sp, #8]
	mov	x0, x19
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_h2o_memis
	bl	_ok
	mov	x0, sp
	mov	w1, #85
	mov	w2, #64
	bl	_memset
	ldr	w1, [x24]
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x2, sp
	bl	_h2o_url_parse_relative
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #56]
	cmp	x8, #0
	cset	w0, eq
	bl	_ok
	ldr	x20, [sp, #48]
	ldr	w21, [sp, #40]
Lloh12:
	adrp	x19, l_.str.4@PAGE
Lloh13:
	add	x19, x19, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_h2o_memis
	bl	_ok
	ldr	x20, [sp, #32]
	ldr	w21, [sp, #24]
	mov	x0, x19
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_h2o_memis
	bl	_ok
	ldr	w8, [sp]
	cmp	w8, w23
	cset	w0, eq
	bl	_ok
	ldr	x20, [sp, #16]
	ldr	w21, [sp, #8]
Lloh14:
	adrp	x0, l_.str.5@PAGE
Lloh15:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_h2o_memis
	bl	_ok
	mov	x0, sp
	mov	w1, #85
	mov	w2, #64
	bl	_memset
	ldr	w1, [x24]
Lloh16:
	adrp	x0, l_.str.6@PAGE
Lloh17:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x2, sp
	bl	_h2o_url_parse_relative
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #56]
	cmp	x8, #0
	cset	w0, eq
	bl	_ok
	ldr	x21, [sp, #48]
	ldr	w22, [sp, #40]
Lloh18:
	adrp	x20, l_.str.7@PAGE
Lloh19:
	add	x20, x20, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_h2o_memis
	bl	_ok
	ldr	x21, [sp, #32]
	ldr	w22, [sp, #24]
	mov	x0, x19
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_h2o_memis
	bl	_ok
	ldr	w8, [sp]
	mov	w25, #12345
	cmp	w8, w25
	cset	w0, eq
	bl	_ok
	ldr	x22, [sp, #16]
	ldr	w23, [sp, #8]
Lloh20:
	adrp	x21, l_.str.8@PAGE
Lloh21:
	add	x21, x21, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_h2o_memis
	bl	_ok
	mov	x0, sp
	mov	w1, #85
	mov	w2, #64
	bl	_memset
	ldr	w1, [x24]
Lloh22:
	adrp	x0, l_.str.9@PAGE
Lloh23:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	x2, sp
	bl	_h2o_url_parse_relative
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #56]
Lloh24:
	adrp	x9, _H2O_URL_SCHEME_HTTPS@GOTPAGE
Lloh25:
	ldr	x9, [x9, _H2O_URL_SCHEME_HTTPS@GOTPAGEOFF]
	cmp	x8, x9
	cset	w0, eq
	bl	_ok
	ldr	x22, [sp, #48]
	ldr	w23, [sp, #40]
	mov	x0, x20
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_h2o_memis
	bl	_ok
	ldr	x20, [sp, #32]
	ldr	w22, [sp, #24]
	mov	x0, x19
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_h2o_memis
	bl	_ok
	ldr	w8, [sp]
	cmp	w8, w25
	cset	w0, eq
	bl	_ok
	ldr	x19, [sp, #16]
	ldr	w20, [sp, #8]
	mov	x0, x21
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_h2o_memis
	bl	_ok
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	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	"abc"

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

l_.str.2:                               ; @.str.2
	.asciz	"http:abc"

	.comm	_H2O_URL_SCHEME_HTTP,4,2        ; @H2O_URL_SCHEME_HTTP
l_.str.3:                               ; @.str.3
	.asciz	"//host"

l_.str.4:                               ; @.str.4
	.asciz	"host"

l_.str.5:                               ; @.str.5
	.asciz	"/"

l_.str.6:                               ; @.str.6
	.asciz	"//host:12345/path"

l_.str.7:                               ; @.str.7
	.asciz	"host:12345"

l_.str.8:                               ; @.str.8
	.asciz	"/path"

l_.str.9:                               ; @.str.9
	.asciz	"https://host:12345/path"

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