	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_decode_context
_parse_decode_context:                  ## @parse_decode_context
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %r13
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rdi, 8(%rsi)
	movq	%rsi, %rdi
	movq	%rcx, %rsi
	movq	%r8, %rdx
	movl	$8, %ecx
	callq	_decode_int
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movq	_H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_5
## %bb.3:
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.4:
	leal	(%rcx,%rcx), %r8d
	addl	4(%r15), %ecx
	movl	%ecx, %eax
	cltd
	idivl	%r8d
	notl	%edx
	addl	%edx, %esi
	addl	%ecx, %esi
	xorl	%eax, %eax
	cmpl	%r8d, %esi
	cmovlel	%eax, %r8d
	cmpl	%ecx, %esi
	cmovlel	%eax, %r8d
	xorl	%edi, %edi
	subl	%r8d, %esi
	movl	%esi, (%rbx)
	setne	%dil
	callq	_assert
LBB0_5:
	movq	(%r13), %rax
	cmpq	%r12, %rax
	jae	LBB0_1
## %bb.6:
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	4(%rbx), %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movl	$7, %ecx
	callq	_decode_int
	testq	%rax, %rax
	jne	LBB0_1
## %bb.7:
	movslq	(%rbx), %rdx
	movsbl	-44(%rbp), %eax                 ## 1-byte Folded Reload
	sarl	$7, %eax
	xorl	4(%rbx), %eax
	addl	%edx, %eax
	movl	%eax, 4(%rbx)
	movq	32(%r15), %rcx
	addq	24(%r15), %rcx
	subq	40(%r15), %rcx
	xorl	%eax, %eax
	cmpq	%rdx, %rcx
	jg	LBB0_11
## %bb.8:
	movq	16(%r15), %rax
	incq	%rax
	cmpq	8(%r15), %rax
	jge	LBB0_1
## %bb.9:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_decoder_link_blocked
	movq	_H2O_HTTP3_ERROR_INCOMPLETE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED,4,2 ## @H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED
	.comm	_H2O_HTTP3_ERROR_INCOMPLETE,4,2 ## @H2O_HTTP3_ERROR_INCOMPLETE
	.no_dead_strip	_parse_decode_context
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_decode_context
_parse_decode_context:                  ; @parse_decode_context
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x4
	mov	x23, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	str	x0, [x1, #8]
	mov	x0, x1
	mov	x1, x3
	mov	x2, x4
	mov	w3, #8
	bl	_decode_int
	cbz	x0, LBB0_4
LBB0_1:
Lloh0:
	adrp	x8, _H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
LBB0_3:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	ldr	w9, [x20]
	cbz	w9, LBB0_1
; %bb.6:
	lsl	w10, w9, #1
	ldr	w11, [x20, #4]
	add	w9, w11, w9
	sdiv	w11, w9, w10
	msub	w11, w11, w10, w9
	mvn	w11, w11
	add	w8, w8, w11
	add	w8, w8, w9
	cmp	w8, w10
	ccmp	w8, w9, #4, gt
	csel	w9, w10, wzr, gt
	subs	w8, w8, w9
	str	w8, [x21]
	cset	w0, ne
	bl	_assert
LBB0_7:
	ldr	x8, [x23]
	cmp	x8, x22
	b.hs	LBB0_1
; %bb.8:
	ldr	w24, [x8]
	add	x0, x21, #4
	mov	x1, x23
	mov	x2, x22
	mov	w3, #7
	bl	_decode_int
	cbnz	x0, LBB0_1
; %bb.9:
	ldp	w2, w8, [x21]
                                        ; kill: def $w2 killed $w2 def $x2
	sxtw	x2, w2
	lsl	w9, w24, #24
	eor	w8, w8, w9, asr #31
	add	w8, w2, w8
	str	w8, [x21, #4]
	ldp	x8, x9, [x20, #24]
	ldr	x10, [x20, #40]
	add	x8, x9, x8
	sub	x8, x8, x10
	cmp	x8, x2
	b.le	LBB0_11
; %bb.10:
	mov	w0, #0
	b	LBB0_3
LBB0_11:
	ldp	x9, x8, [x20, #8]
	add	x8, x8, #1
	cmp	x8, x9
	b.ge	LBB0_1
; %bb.12:
	mov	x0, x20
	mov	x1, x19
	bl	_decoder_link_blocked
Lloh2:
	adrp	x8, _H2O_HTTP3_ERROR_INCOMPLETE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _H2O_HTTP3_ERROR_INCOMPLETE@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED,4,2 ; @H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED
	.comm	_H2O_HTTP3_ERROR_INCOMPLETE,4,2 ; @H2O_HTTP3_ERROR_INCOMPLETE
	.no_dead_strip	_parse_decode_context
.subsections_via_symbols
