	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_max_stream_data_frame
_handle_max_stream_data_frame:          ## @handle_max_stream_data_frame
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rsi), %eax
	leaq	4(%rsi), %rdi
	leaq	-40(%rbp), %rdx
	movl	%eax, %esi
	callq	_quicly_decode_max_stream_data_frame
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_1
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_MAX_STREAM_DATA_RECEIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_probe_now
	movl	-32(%rbp), %ecx
	movq	-40(%rbp), %r8
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_QUICLY_PROBE
	movq	%r14, %rdi
	callq	_quicly_is_client
	movl	-32(%rbp), %esi
	movl	%eax, %edi
	callq	_quicly_stream_has_send_side
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	-32(%rbp), %esi
	movq	%r14, %rdi
	callq	_quicly_get_stream
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	-40(%rbp), %rcx
	cmpq	(%rax), %rcx
	jl	LBB0_7
## %bb.5:
	movq	%rcx, (%rax)
	movq	8(%rax), %rcx
	movq	_QUICLY_SENDER_STATE_NONE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.6:
	movq	%rax, %rdi
	callq	_resched_stream_data
	jmp	LBB0_7
LBB0_2:
	movq	_QUICLY_TRANSPORT_ERROR_FRAME_ENCODING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_STREAM_DATA_RECEIVE,4,2    ## @MAX_STREAM_DATA_RECEIVE
	.comm	_QUICLY_TRANSPORT_ERROR_FRAME_ENCODING,4,2 ## @QUICLY_TRANSPORT_ERROR_FRAME_ENCODING
	.comm	_QUICLY_SENDER_STATE_NONE,8,3   ## @QUICLY_SENDER_STATE_NONE
	.no_dead_strip	_handle_max_stream_data_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_max_stream_data_frame
_handle_max_stream_data_frame:          ; @handle_max_stream_data_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x1
	mov	x19, x0
	ldr	w1, [x8], #4
	mov	x2, sp
	mov	x0, x8
	bl	_quicly_decode_max_stream_data_frame
	cbz	w0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
Lloh0:
	adrp	x8, _MAX_STREAM_DATA_RECEIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_STREAM_DATA_RECEIVE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	bl	_probe_now
	mov	x2, x0
	ldr	w3, [sp, #8]
	ldr	x4, [sp]
	mov	x0, x20
	mov	x1, x19
	bl	_QUICLY_PROBE
	mov	x0, x19
	bl	_quicly_is_client
	ldr	w1, [sp, #8]
	bl	_quicly_stream_has_send_side
	cbz	w0, LBB0_8
; %bb.3:
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_quicly_get_stream
	cbz	x0, LBB0_1
; %bb.4:
	ldr	x8, [sp]
	ldr	x9, [x0]
	cmp	x8, x9
	b.lt	LBB0_7
; %bb.5:
	str	x8, [x0]
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _QUICLY_SENDER_STATE_NONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QUICLY_SENDER_STATE_NONE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	bl	_resched_stream_data
LBB0_7:
	mov	w0, #0
	b	LBB0_1
LBB0_8:
Lloh6:
	adrp	x8, _QUICLY_TRANSPORT_ERROR_FRAME_ENCODING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QUICLY_TRANSPORT_ERROR_FRAME_ENCODING@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_STREAM_DATA_RECEIVE,4,2    ; @MAX_STREAM_DATA_RECEIVE
	.comm	_QUICLY_TRANSPORT_ERROR_FRAME_ENCODING,4,2 ; @QUICLY_TRANSPORT_ERROR_FRAME_ENCODING
	.comm	_QUICLY_SENDER_STATE_NONE,8,3   ; @QUICLY_SENDER_STATE_NONE
	.no_dead_strip	_handle_max_stream_data_frame
.subsections_via_symbols
