	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function doit
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_doit:                                  ## @doit
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$4096, %edi                     ## imm = 0x1000
	movl	$10, %esi
	callq	_h2o_qpack_create_decoder
	movq	%rax, %rbx
	movl	$4096, %edi                     ## imm = 0x1000
	movl	$10, %esi
	callq	_h2o_qpack_create_encoder
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%rsp, -192(%rbp)                ## 8-byte Spill
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -240(%rbp)
	movq	$0, -224(%rbp)
	movq	_H2O_HPACK_ENCODE_INT_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -184(%rbp)                ## 8-byte Spill
	movq	$0, -136(%rbp)
	leaq	-52(%rbp), %rdi
	callq	_h2o_mem_init_pool
	testl	%r14d, %r14d
	movq	%rbx, -200(%rbp)                ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movl	$24, %edi
	callq	_alloca
	movq	%rax, %r15
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_H2O_STRLIT
	leaq	-52(%rbp), %r12
	leaq	-80(%rbp), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	%eax, %r9d
	callq	_h2o_add_header_by_str
	leaq	L_.str.2(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movl	%eax, %r14d
	leaq	L_.str.3(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movl	%eax, %r13d
	leaq	L_.str.4(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
                                        ## kill: def $eax killed $eax def $rax
	movl	-80(%rbp), %ebx
	subq	$8, %rsp
	movq	_H2O_URL_SCHEME_HTTPS@GOTPCREL(%rip), %r10
	leaq	-240(%rbp), %r8
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	movl	$123, %edx
	movq	%r15, %rcx
	movl	%r14d, %r9d
	pushq	%rbx
	pushq	-72(%rbp)
	pushq	%rax
	pushq	%r13
	pushq	%r10
	callq	_h2o_qpack_flatten_request
	addq	$48, %rsp
	testq	%r15, %r15
	movq	-200(%rbp), %r12                ## 8-byte Reload
	je	LBB0_5
## %bb.4:
	xorl	%edi, %edi
	cmpq	$0, (%r15)
	setne	%dil
	callq	_assert
	movq	8(%r15), %rax
	movq	%rax, -112(%rbp)
	movq	(%r15), %rcx
	leaq	(%rax,%rcx,4), %r8
	leaq	-80(%rbp), %rsi
	leaq	-160(%rbp), %rdx
	leaq	-112(%rbp), %rcx
	leaq	-136(%rbp), %r9
	movq	%r12, %rdi
	callq	_h2o_qpack_decoder_handle_input
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	(%r15), %rax
	shlq	$2, %rax
	addq	8(%r15), %rax
	xorl	%edi, %edi
	cmpq	%rax, -112(%rbp)
	sete	%dil
	callq	_assert
LBB0_5:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -176(%rbp)
	movq	$0, -128(%rbp)
	movl	$0, -84(%rbp)
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -208(%rbp)
	movl	-240(%rbp), %eax
	leaq	-136(%rbp), %rbx
	leaq	-216(%rbp), %r10
	leaq	-208(%rbp), %r11
	leaq	-84(%rbp), %r14
	leaq	-176(%rbp), %r13
	leaq	-52(%rbp), %rdi
	leaq	-160(%rbp), %rcx
	leaq	-128(%rbp), %r8
	leaq	-112(%rbp), %r9
	movq	%r12, %rsi
	xorl	%edx, %edx
	pushq	%rbx
	pushq	%rax
	pushq	-232(%rbp)
	pushq	%r10
	pushq	-184(%rbp)                      ## 8-byte Folded Reload
	pushq	$0
	pushq	%r11
	pushq	%r14
	leaq	-80(%rbp), %rax
	pushq	%rax
	pushq	%r13
	callq	_h2o_qpack_parse_request
	addq	$80, %rsp
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	movl	-160(%rbp), %r14d
	movl	-156(%rbp), %ebx
	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	-128(%rbp), %rax
	xorl	%edi, %edi
	cmpq	_H2O_URL_SCHEME_HTTPS@GOTPCREL(%rip), %rax
	sete	%dil
	callq	_ok
	movl	-112(%rbp), %r14d
	movl	-108(%rbp), %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	movl	-176(%rbp), %r14d
	movl	-172(%rbp), %ebx
	leaq	L_.str.4(%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	$1, -80(%rbp)
	sete	%dil
	callq	_ok
	movq	-72(%rbp), %rax
	movq	8(%rax), %rax
	movl	(%rax), %r14d
	movl	4(%rax), %ebx
	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	-72(%rbp), %rax
	movl	(%rax), %r14d
	movl	4(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, %edi
	callq	_ok
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	cmpq	$0, -216(%rbp)
	sete	%al
	setne	%cl
	testq	%r15, %r15
	cmovel	%eax, %ecx
	movzbl	%cl, %edi
	callq	_ok
	leaq	-52(%rbp), %rdi
	callq	_h2o_mem_clear_pool
	movq	%r12, %rdi
	callq	_h2o_qpack_destroy_decoder
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_h2o_qpack_destroy_encoder
	movq	-192(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_HPACK_ENCODE_INT_MAX_LENGTH,4,2 ## @H2O_HPACK_ENCODE_INT_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"x-hoge"

L_.str.1:                               ## @.str.1
	.asciz	"\001\002\003"

L_.str.2:                               ## @.str.2
	.asciz	"GET"

	.comm	_H2O_URL_SCHEME_HTTPS,4,2       ## @H2O_URL_SCHEME_HTTPS
L_.str.3:                               ## @.str.3
	.asciz	"example.com"

L_.str.4:                               ## @.str.4
	.asciz	"/foobar"

	.comm	_SIZE_MAX,8,3                   ## @SIZE_MAX
	.no_dead_strip	_doit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function doit
_doit:                                  ; @doit
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #160
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	mov	w0, #4096
	mov	w1, #10
	bl	_h2o_qpack_create_decoder
	mov	x19, x0
	mov	w0, #4096
	mov	w1, #10
	bl	_h2o_qpack_create_encoder
	mov	x20, x0
	mov	x25, sp
	stp	xzr, xzr, [x29, #-104]
	stur	xzr, [x29, #-88]
Lloh3:
	adrp	x8, _H2O_HPACK_ENCODE_INT_MAX_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _H2O_HPACK_ENCODE_INT_MAX_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x26, x9, x8
	mov	sp, x26
	stur	xzr, [x29, #-120]
	sub	x0, x29, #76
	bl	_h2o_mem_init_pool
	cbz	w21, LBB0_2
; %bb.1:
	mov	w0, #24
	bl	_alloca
	mov	x21, x0
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	b	LBB0_3
LBB0_2:
	mov	x21, #0
LBB0_3:
	stp	xzr, xzr, [x29, #-144]
	stur	xzr, [x29, #-128]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_H2O_STRLIT
	mov	x22, x0
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_H2O_STRLIT
	mov	x5, x0
	sub	x0, x29, #76
	sub	x1, x29, #144
	mov	x2, x22
	mov	w3, #0
	mov	x4, #0
	bl	_h2o_add_header_by_str
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x23, x0
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x24, x0
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	ldur	x8, [x29, #-136]
	ldur	w9, [x29, #-144]
	sub	sp, sp, #32
	str	w9, [sp, #16]
	str	x8, [sp, #8]
	str	w0, [sp]
Lloh18:
	adrp	x22, _H2O_URL_SCHEME_HTTPS@GOTPAGE
Lloh19:
	ldr	x22, [x22, _H2O_URL_SCHEME_HTTPS@GOTPAGEOFF]
	sub	x1, x29, #76
	sub	x4, x29, #104
	mov	x0, x20
	mov	w2, #123
	mov	x3, x21
	mov	x5, x23
	mov	x6, x22
	mov	x7, x24
	bl	_h2o_qpack_flatten_request
	add	sp, sp, #32
	cbz	x21, LBB0_5
; %bb.4:
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x21, #8]
	stur	x8, [x29, #-176]
	ldr	x9, [x21]
	add	x4, x8, x9, lsl #2
	sub	x1, x29, #144
	sub	x2, x29, #160
	sub	x3, x29, #176
	sub	x5, x29, #120
	mov	x0, x19
	bl	_h2o_qpack_decoder_handle_input
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	ldur	x8, [x29, #-176]
	ldp	x10, x9, [x21]
	add	x9, x9, x10, lsl #2
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
LBB0_5:
	stp	xzr, xzr, [x29, #-160]
	stp	xzr, xzr, [x29, #-176]
	stp	xzr, xzr, [x29, #-192]
	stur	xzr, [x29, #-200]
	stur	wzr, [x29, #-204]
	stp	xzr, xzr, [x29, #-144]
	stur	xzr, [x29, #-128]
Lloh20:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	stur	x8, [x29, #-216]
	ldp	x9, x8, [x29, #-104]
	sub	sp, sp, #64
	sub	x10, x29, #120
	str	x10, [sp, #56]
	str	w9, [sp, #48]
	sub	x9, x29, #112
	stp	x9, x8, [sp, #32]
	sub	x8, x29, #216
	sub	x9, x29, #204
	sub	x0, x29, #76
	sub	x3, x29, #160
	stp	xzr, x26, [sp, #16]
	stp	x9, x8, [sp]
	sub	x4, x29, #200
	sub	x5, x29, #176
	sub	x6, x29, #192
	sub	x7, x29, #144
	mov	x1, x19
	mov	w2, #0
	bl	_h2o_qpack_parse_request
	add	sp, sp, #64
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	ldp	w24, w23, [x29, #-160]
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_h2o_memis
	bl	_ok
	ldur	x8, [x29, #-200]
	cmp	x8, x22
	cset	w0, eq
	bl	_ok
	ldp	w23, w22, [x29, #-176]
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_h2o_memis
	bl	_ok
	ldp	w23, w22, [x29, #-192]
Lloh27:
	adrp	x0, l_.str.4@PAGE
Lloh28:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_h2o_memis
	bl	_ok
	ldur	w8, [x29, #-144]
	cmp	w8, #1
	cset	w0, eq
	bl	_ok
	ldur	x8, [x29, #-136]
	ldr	x8, [x8, #8]
	ldp	w23, w22, [x8]
Lloh29:
	adrp	x0, l_.str@PAGE
Lloh30:
	add	x0, x0, l_.str@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_h2o_memis
	bl	_ok
	ldur	x8, [x29, #-136]
	ldp	w23, w22, [x8]
Lloh31:
	adrp	x0, l_.str.1@PAGE
Lloh32:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_h2o_memis
	bl	_ok
	ldur	x8, [x29, #-112]
	cmp	x8, #0
	cset	w8, eq
	cset	w9, ne
	cmp	x21, #0
	csel	w0, w8, w9, eq
	bl	_ok
	sub	x0, x29, #76
	bl	_h2o_mem_clear_pool
	mov	x0, x19
	bl	_h2o_qpack_destroy_decoder
	mov	x0, x20
	bl	_h2o_qpack_destroy_encoder
	mov	sp, x25
	ldur	x8, [x29, #-72]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_HPACK_ENCODE_INT_MAX_LENGTH,4,2 ; @H2O_HPACK_ENCODE_INT_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"x-hoge"

l_.str.1:                               ; @.str.1
	.asciz	"\001\002\003"

l_.str.2:                               ; @.str.2
	.asciz	"GET"

	.comm	_H2O_URL_SCHEME_HTTPS,4,2       ; @H2O_URL_SCHEME_HTTPS
l_.str.3:                               ; @.str.3
	.asciz	"example.com"

l_.str.4:                               ; @.str.4
	.asciz	"/foobar"

	.comm	_SIZE_MAX,8,3                   ; @SIZE_MAX
	.no_dead_strip	_doit
.subsections_via_symbols
