	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_percent_encode_zero_byte  ## -- Begin function test_percent_encode_zero_byte
	.p2align	4, 0x90
_test_percent_encode_zero_byte:         ## @test_percent_encode_zero_byte
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, -80(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_H2O_STRLIT
	cltq
	movq	%rax, -72(%rbp)
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_h2o_init_request
	leaq	l_.str.1(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movl	%eax, -48(%rbp)
	movl	%eax, -40(%rbp)
	leaq	L_.str.2(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_h2o_concat
	movl	%eax, -44(%rbp)
	leaq	-80(%rbp), %rax
	movq	%rax, -56(%rbp)
	leaq	L_.str.3(%rip), %rdi
	callq	_H2O_STRLIT
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_h2o_build_destination
	movq	%rax, %r12
	movq	%rax, %rbx
	shrq	$32, %rbx
	leaq	L_.str.4(%rip), %r15
	movq	%r15, %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	leaq	L_.str.5(%rip), %rdi
	callq	_H2O_STRLIT
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_h2o_build_destination
	movq	%rax, %r12
	movq	%rax, %rbx
	shrq	$32, %rbx
	movq	%r15, %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movq	%r14, %rdi
	callq	_h2o_mem_clear_pool
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/abc"

	.section	__TEXT,__const
l_.str.1:                               ## @.str.1
	.asciz	"/abc/mno\000xyz"

	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"?q"

L_.str.3:                               ## @.str.3
	.asciz	"/def"

L_.str.4:                               ## @.str.4
	.asciz	"/def/mno%00xyz?q"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_percent_encode_zero_byte  ; -- Begin function test_percent_encode_zero_byte
	.p2align	2
_test_percent_encode_zero_byte:         ; @test_percent_encode_zero_byte
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	str	wzr, [sp, #32]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_H2O_STRLIT
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [sp, #40]
	mov	x0, sp
	mov	x1, #0
	mov	x2, #0
	bl	_h2o_init_request
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	str	w0, [sp, #16]
	str	w0, [sp, #24]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	ldr	w1, [sp, #16]
	mov	w2, w0
	mov	x0, sp
	bl	_h2o_concat
	str	w0, [sp, #20]
	add	x8, sp, #32
	str	x8, [sp, #8]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_H2O_STRLIT
	mov	x1, x0
	mov	x0, sp
	mov	w2, #1
	bl	_h2o_build_destination
	mov	x19, x0
	lsr	x20, x0, #32
Lloh8:
	adrp	x21, l_.str.4@PAGE
Lloh9:
	add	x21, x21, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_h2o_memis
	bl	_ok
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_H2O_STRLIT
	mov	x1, x0
	mov	x0, sp
	mov	w2, #1
	bl	_h2o_build_destination
	mov	x19, x0
	lsr	x20, x0, #32
	mov	x0, x21
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_h2o_memis
	bl	_ok
	mov	x0, sp
	bl	_h2o_mem_clear_pool
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/abc"

	.section	__TEXT,__const
l_.str.1:                               ; @.str.1
	.asciz	"/abc/mno\000xyz"

	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"?q"

l_.str.3:                               ; @.str.3
	.asciz	"/def"

l_.str.4:                               ; @.str.4
	.asciz	"/def/mno%00xyz?q"

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

.subsections_via_symbols
