	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_qpack_encoder_handle_input ## -- Begin function h2o_qpack_encoder_handle_input
	.p2align	4, 0x90
_h2o_qpack_encoder_handle_input:        ## @h2o_qpack_encoder_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	(%rsi), %rcx
	movq	%rcx, -56(%rbp)
	movl	$0, %eax
	cmpq	%rdx, %rcx
	je	LBB0_12
## %bb.1:
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r13
	leaq	-56(%rbp), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %eax
	sarl	$6, %eax
	leaq	-44(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	cmpl	$1, %eax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$6, %ecx
	callq	_decode_int
	testl	%eax, %eax
	jne	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %esi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_handle_table_state_synchronize
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$6, %ecx
	callq	_decode_int
	testl	%eax, %eax
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %esi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_handle_stream_cancellation
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$7, %ecx
	callq	_decode_int
	testl	%eax, %eax
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %esi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_handle_header_ack
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rcx
	movq	%rcx, (%r12)
	cmpq	%rbx, %rcx
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	je	LBB0_2
LBB0_12:
	movq	_H2O_HTTP3_ERROR_INCOMPLETE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movl	$0, %ecx
	cmovnel	%eax, %ecx
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_HTTP3_ERROR_INCOMPLETE,4,2 ## @H2O_HTTP3_ERROR_INCOMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_qpack_encoder_handle_input ; -- Begin function h2o_qpack_encoder_handle_input
	.p2align	2
_h2o_qpack_encoder_handle_input:        ; @h2o_qpack_encoder_handle_input
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x1]
	str	x8, [sp, #8]
	cmp	x8, x2
	b.eq	LBB0_12
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x8]
	asr	w8, w8, #6
	add	x0, sp, #4
	add	x1, sp, #8
	mov	x2, x20
	cmp	w8, #1
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	w8, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w3, #6
	bl	_decode_int
	cbnz	w0, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [sp, #4]
	mov	x0, x22
	mov	x2, x19
	bl	_handle_table_state_synchronize
	b	LBB0_10
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w3, #6
	bl	_decode_int
	cbnz	w0, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [sp, #4]
	mov	x0, x22
	mov	x2, x19
	bl	_handle_stream_cancellation
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w3, #7
	bl	_decode_int
	cbnz	w0, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [sp, #4]
	mov	x0, x22
	mov	x2, x19
	bl	_handle_header_ack
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #8]
	str	x8, [x21]
	cmp	x8, x20
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	cbz	w0, LBB0_2
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
Lloh0:
	adrp	x8, _H2O_HTTP3_ERROR_INCOMPLETE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H2O_HTTP3_ERROR_INCOMPLETE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	csel	w0, wzr, w0, eq
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_HTTP3_ERROR_INCOMPLETE,4,2 ; @H2O_HTTP3_ERROR_INCOMPLETE
.subsections_via_symbols
