	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_qpack_decoder_handle_input ## -- Begin function h2o_qpack_decoder_handle_input
	.p2align	4, 0x90
_h2o_qpack_decoder_handle_input:        ## @h2o_qpack_decoder_handle_input
	.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
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, %rbx
	movq	%rcx, %r14
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	testq	%rax, %rax
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	je	LBB0_4
## %bb.1:
	movq	16(%r12), %rbx
	subq	%rax, %rbx
	je	LBB0_3
## %bb.2:
	movq	24(%r12), %rdi
	movq	%rbx, %rsi
	shlq	$4, %rsi
	addq	%rdi, %rsi
	movl	%ebx, %edx
	shll	$4, %edx
	callq	_memmove
LBB0_3:
	movq	%rbx, 16(%r12)
	movq	$0, 8(%r12)
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
LBB0_4:
	movq	(%r14), %rax
	movq	%rax, -56(%rbp)
	movl	$0, %r15d
	cmpq	%rbx, %rax
	je	LBB0_34
## %bb.5:
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %r13d
	movl	%r13d, %eax
	sarl	$5, %eax
	leal	-2(%rax), %ecx
	leaq	-44(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdx
	cmpl	$2, %ecx
	jb	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	testl	%eax, %eax
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$1, %eax
	jne	LBB0_19
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$5, %ecx
	callq	_decode_int
	testl	%eax, %eax
	jne	LBB0_32
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-44(%rbp), %esi
	movq	%r12, %rdi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_dynamic_table_size_update
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$5, %ecx
	callq	_decode_int
	testl	%eax, %eax
	jne	LBB0_29
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %r14
	movslq	-44(%rbp), %rax
	leaq	(%r14,%rax,4), %rax
	xorl	%r15d, %r15d
	cmpq	%rbx, %rax
	jae	LBB0_27
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, -56(%rbp)
	movq	%rbx, %r12
	movl	(%rax), %ebx
	leaq	-60(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdx
	movl	$7, %ecx
	callq	_decode_int
	testl	%eax, %eax
	jne	LBB0_29
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %r9
	movslq	-60(%rbp), %rax
	leaq	(%r9,%rax,4), %rcx
	cmpq	%r12, %rcx
	ja	LBB0_27
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	shrl	$5, %r13d
	andl	$1, %r13d
	shrl	$7, %ebx
	andl	$1, %ebx
	movl	-44(%rbp), %ecx
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	%r13d, %esi
	movq	%r14, %rdx
	movl	%ebx, %r8d
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	callq	_insert_without_name_reference
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$5, %ecx
	callq	_decode_int
	testl	%eax, %eax
	jne	LBB0_32
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-44(%rbp), %esi
	movq	%r12, %rdi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_duplicate
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, %r15d
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$6, %ecx
	callq	_decode_int
	testl	%eax, %eax
	jne	LBB0_32
## %bb.20:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rax
	xorl	%r15d, %r15d
	cmpq	%rbx, %rax
	je	LBB0_34
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %r14
	movq	%rbx, %r12
	movl	(%rax), %ebx
	leaq	-60(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdx
	movl	$7, %ecx
	callq	_decode_int
	testl	%eax, %eax
	jne	LBB0_33
## %bb.22:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %r8
	movslq	-60(%rbp), %r9
	leaq	(%r8,%r9,4), %rax
	cmpq	%r12, %rax
	movq	%r14, %r12
	ja	LBB0_34
## %bb.23:                              ##   in Loop: Header=BB0_6 Depth=1
	shrl	$6, %r13d
	andl	$1, %r13d
	shrl	$7, %ebx
	andl	$1, %ebx
	movl	-44(%rbp), %edx
	subq	$8, %rsp
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%ebx, %ecx
                                        ## kill: def $r9d killed $r9d killed $r9
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_insert_with_name_reference
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	$16, %rsp
	movl	%eax, %r15d
	movslq	-60(%rbp), %rax
	shlq	$2, %rax
	addq	%rax, -56(%rbp)
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	-104(%rbp), %r14                ## 8-byte Reload
LBB0_25:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rax
	movq	%rax, (%r14)
	cmpq	%rbx, %rax
	je	LBB0_34
## %bb.26:                              ##   in Loop: Header=BB0_6 Depth=1
	testl	%r15d, %r15d
	je	LBB0_6
	jmp	LBB0_34
LBB0_29:
	movl	%eax, %r15d
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_34
LBB0_27:
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_34
LBB0_32:
	movl	%eax, %r15d
	jmp	LBB0_34
LBB0_33:
	movl	%eax, %r15d
	movq	%r14, %r12
LBB0_34:
	movq	_H2O_HTTP2_ERROR_INCOMPLETE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	movl	$0, %eax
	cmovnel	%r15d, %eax
	testl	%eax, %eax
	jne	LBB0_42
## %bb.35:
	movq	24(%r12), %r8
	leaq	8(%r8), %rcx
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	%rcx, (%rdx)
	movq	16(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_40
## %bb.36:
	movq	(%r12), %rsi
	movq	24(%r12), %rdi
	addq	$8, %rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, -8(%rdi)
	jg	LBB0_41
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=1
	movl	(%rdi), %ebx
	movl	%ebx, 8(%r8,%rcx,4)
	incq	%rcx
	addq	$16, %rdi
	cmpq	%rcx, %rdx
	jne	LBB0_37
## %bb.39:
	movq	%rdx, %rcx
	jmp	LBB0_41
LBB0_40:
	xorl	%ecx, %ecx
LBB0_41:
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%rcx, 8(%r12)
	movq	%rcx, (%rdx)
LBB0_42:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_HTTP2_ERROR_INCOMPLETE,4,2 ## @H2O_HTTP2_ERROR_INCOMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_qpack_decoder_handle_input ; -- Begin function h2o_qpack_decoder_handle_input
	.p2align	2
_h2o_qpack_decoder_handle_input:        ; @h2o_qpack_decoder_handle_input
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x9, [x20, #16]
	subs	x25, x9, x8
	b.eq	LBB0_3
; %bb.2:
	ldr	x0, [x20, #24]
	add	x1, x0, x25, lsl #4
	lsl	w2, w25, #4
	bl	_memmove
LBB0_3:
	stp	xzr, x25, [x20, #8]
LBB0_4:
	ldr	x8, [x24]
	str	x8, [sp, #8]
	cmp	x8, x23
	b.eq	LBB0_25
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w26, [x8]
	asr	w8, w26, #5
	sub	w9, w8, #2
	add	x0, sp, #4
	add	x1, sp, #8
	mov	x2, x23
	cmp	w9, #2
	b.lo	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w8, LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #1
	b.ne	LBB0_17
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w3, #5
	bl	_decode_int
	cbnz	w0, LBB0_26
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [sp, #4]
	mov	x0, x20
	mov	x2, x22
	bl	_dynamic_table_size_update
	b	LBB0_23
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w3, #5
	bl	_decode_int
	cbnz	w0, LBB0_26
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x25, [sp, #8]
	ldrsw	x8, [sp, #4]
	add	x8, x25, x8, lsl #2
	cmp	x8, x23
	b.hs	LBB0_25
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	str	x8, [sp, #8]
	ldr	w27, [x8]
	mov	x0, sp
	add	x1, sp, #8
	mov	x2, x23
	mov	w3, #7
	bl	_decode_int
	cbnz	w0, LBB0_26
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x5, [sp, #8]
	ldrsw	x6, [sp]
	add	x8, x5, x6, lsl #2
	cmp	x8, x23
	b.hi	LBB0_25
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ubfx	w1, w26, #5, #1
	ubfx	w4, w27, #7, #1
	ldr	w3, [sp, #4]
	mov	x0, x20
	mov	x2, x25
                                        ; kill: def $w6 killed $w6 killed $x6
	mov	x7, x22
	bl	_insert_without_name_reference
	b	LBB0_22
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w3, #5
	bl	_decode_int
	cbnz	w0, LBB0_26
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [sp, #4]
	mov	x0, x20
	mov	x2, x22
	bl	_duplicate
	b	LBB0_23
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w3, #6
	bl	_decode_int
	cbnz	w0, LBB0_26
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #8]
	cmp	x8, x23
	b.eq	LBB0_25
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w25, [x8]
	mov	x0, sp
	add	x1, sp, #8
	mov	x2, x23
	mov	w3, #7
	bl	_decode_int
	cbnz	w0, LBB0_26
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x4, [sp, #8]
	ldrsw	x5, [sp]
	add	x8, x4, x5, lsl #2
	cmp	x8, x23
	b.hi	LBB0_25
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	ubfx	w1, w26, #6, #1
	ubfx	w3, w25, #7, #1
	ldr	w2, [sp, #4]
	mov	x0, x20
                                        ; kill: def $w5 killed $w5 killed $x5
	mov	x6, x22
	bl	_insert_with_name_reference
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsw	x8, [sp]
	ldr	x9, [sp, #8]
	add	x8, x9, x8, lsl #2
	str	x8, [sp, #8]
LBB0_23:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #8]
	str	x8, [x24]
	cmp	x8, x23
	b.eq	LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_5 Depth=1
	cbz	w0, LBB0_5
	b	LBB0_26
LBB0_25:
	mov	w0, #0
LBB0_26:
Lloh0:
	adrp	x8, _H2O_HTTP2_ERROR_INCOMPLETE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H2O_HTTP2_ERROR_INCOMPLETE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	csel	w0, wzr, w0, eq
	cbnz	w0, LBB0_34
; %bb.27:
	ldr	x8, [x20, #24]
	add	x9, x8, #8
	str	x9, [x21]
	ldr	x10, [x20, #16]
	cbz	x10, LBB0_32
; %bb.28:
	mov	x8, #0
	ldr	x12, [x20, #24]
	ldr	x11, [x20]
	add	x12, x12, #8
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldur	x13, [x12, #-8]
	cmp	x13, x11
	b.gt	LBB0_33
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	w13, [x12], #16
	str	w13, [x9, x8, lsl #2]
	add	x8, x8, #1
	cmp	x10, x8
	b.ne	LBB0_29
; %bb.31:
	mov	x8, x10
	b	LBB0_33
LBB0_32:
	mov	x8, #0
LBB0_33:
	str	x8, [x20, #8]
	str	x8, [x19]
LBB0_34:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_HTTP2_ERROR_INCOMPLETE,4,2 ; @H2O_HTTP2_ERROR_INCOMPLETE
.subsections_via_symbols
