	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_max_streams_frame
_handle_max_streams_frame:              ## @handle_max_streams_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	%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	%rdi, %r14
	movq	(%rsi), %r13
	movq	_QUICLY_FRAME_TYPE_MAX_STREAMS_UNI@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	xorl	%r12d, %r12d
	cmpq	%rbx, %r13
	sete	%r15b
	movl	8(%rsi), %eax
	leaq	12(%rsi), %rdi
	leaq	-48(%rbp), %rdx
	movl	%eax, %esi
	callq	_quicly_decode_max_streams_frame
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movb	%r15b, %r12b
	movq	_MAX_STREAMS_RECEIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_probe_now
	movl	-48(%rbp), %ecx
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	movl	%r12d, %r8d
	callq	_QUICLY_PROBE
	leaq	4(%r14), %rdi
	cmpq	%rbx, %r13
	cmovneq	%r14, %rdi
	movl	-48(%rbp), %esi
	callq	_update_max_streams
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_open_blocked_streams
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QUICLY_FRAME_TYPE_MAX_STREAMS_UNI,8,3 ## @QUICLY_FRAME_TYPE_MAX_STREAMS_UNI
	.comm	_MAX_STREAMS_RECEIVE,4,2        ## @MAX_STREAMS_RECEIVE
	.no_dead_strip	_handle_max_streams_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_streams_frame
_handle_max_streams_frame:              ; @handle_max_streams_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _QUICLY_FRAME_TYPE_MAX_STREAMS_UNI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QUICLY_FRAME_TYPE_MAX_STREAMS_UNI@GOTPAGEOFF]
	ldr	x22, [x1]
Lloh2:
	ldr	x23, [x8]
	cmp	x22, x23
	cset	w20, eq
	add	x0, x1, #12
	ldr	w1, [x1, #8]
	add	x2, sp, #8
	bl	_quicly_decode_max_streams_frame
	cbnz	w0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _MAX_STREAMS_RECEIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_STREAMS_RECEIVE@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	bl	_probe_now
	mov	x2, x0
	ldr	w3, [sp, #8]
	mov	x0, x21
	mov	x1, x19
	mov	x4, x20
	bl	_QUICLY_PROBE
	add	x8, x19, #4
	cmp	x22, x23
	csel	x0, x8, x19, eq
	ldr	w1, [sp, #8]
	bl	_update_max_streams
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_open_blocked_streams
	mov	w0, #0
LBB0_3:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_QUICLY_FRAME_TYPE_MAX_STREAMS_UNI,8,3 ; @QUICLY_FRAME_TYPE_MAX_STREAMS_UNI
	.comm	_MAX_STREAMS_RECEIVE,4,2        ; @MAX_STREAMS_RECEIVE
	.no_dead_strip	_handle_max_streams_frame
.subsections_via_symbols
