	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_ack_stream
_on_ack_stream:                         ## @on_ack_stream
	.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	_QUICLY_SENTMAP_EVENT_EXPIRED@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	je	LBB0_14
## %bb.1:
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_QUICLY_SENTMAP_EVENT_ACKED@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	_STREAM_ACKED@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_STREAM_LOST@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %r13d
	xorl	%eax, %eax
	callq	_probe_now
	movl	16(%r15), %ecx
	movq	(%r15), %r8
	movq	8(%r15), %r9
	subq	%r8, %r9
	movl	%r13d, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_QUICLY_PROBE
	movl	16(%r15), %esi
	movq	%r12, %rdi
	callq	_quicly_get_stream
	testq	%rax, %rax
	je	LBB0_14
## %bb.5:
	movq	%rax, %r12
	movq	_QUICLY_SENTMAP_EVENT_ACKED@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_11
## %bb.6:
	movq	%r12, %rdi
	addq	$8, %rdi
	xorl	%edx, %edx
	cmpq	$0, (%r14)
	setne	%dl
	leaq	-48(%rbp), %rcx
	movq	%r15, %rsi
	callq	_quicly_sendstate_acked
	testl	%eax, %eax
	jne	LBB0_15
## %bb.7:
	movq	%r12, %rdi
	callq	_stream_is_destroyable
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_destroy_stream
	jmp	LBB0_14
LBB0_11:
	movq	%r12, %rdi
	addq	$8, %rdi
	movq	%r15, %rsi
	callq	_quicly_sendstate_lost
	testl	%eax, %eax
	jne	LBB0_15
## %bb.12:
	movq	(%r12), %rax
	movq	_QUICLY_SENDER_STATE_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.13:
	movq	%r12, %rdi
	callq	_resched_stream_data
	jmp	LBB0_14
LBB0_9:
	movq	-48(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.10:
	movq	16(%r12), %rax
	movq	%r12, %rdi
	callq	*(%rax)
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QUICLY_SENTMAP_EVENT_EXPIRED,8,3 ## @QUICLY_SENTMAP_EVENT_EXPIRED
	.comm	_QUICLY_SENTMAP_EVENT_ACKED,8,3 ## @QUICLY_SENTMAP_EVENT_ACKED
	.comm	_STREAM_ACKED,4,2               ## @STREAM_ACKED
	.comm	_STREAM_LOST,4,2                ## @STREAM_LOST
	.comm	_QUICLY_SENDER_STATE_NONE,8,3   ## @QUICLY_SENDER_STATE_NONE
	.no_dead_strip	_on_ack_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_ack_stream
_on_ack_stream:                         ; @on_ack_stream
	.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
Lloh0:
	adrp	x8, _QUICLY_SENTMAP_EVENT_EXPIRED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QUICLY_SENTMAP_EVENT_EXPIRED@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x3
	b.ne	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_11
LBB0_2:
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
Lloh3:
	adrp	x24, _QUICLY_SENTMAP_EVENT_ACKED@GOTPAGE
Lloh4:
	ldr	x24, [x24, _QUICLY_SENTMAP_EVENT_ACKED@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x8, x3
	b.ne	LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _STREAM_ACKED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STREAM_ACKED@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _STREAM_LOST@GOTPAGE
Lloh8:
	ldr	x8, [x8, _STREAM_LOST@GOTPAGEOFF]
LBB0_5:
	ldr	w23, [x8]
	bl	_probe_now
	mov	x2, x0
	ldr	w3, [x19, #16]
	ldp	x4, x8, [x19]
	sub	x5, x8, x4
	mov	x0, x23
	mov	x1, x22
	bl	_QUICLY_PROBE
	ldr	w1, [x19, #16]
	mov	x0, x22
	bl	_quicly_get_stream
	cbz	x0, LBB0_11
; %bb.6:
	mov	x22, x0
	ldr	x8, [x24]
	add	x0, x0, #8
	cmp	x8, x21
	b.ne	LBB0_10
; %bb.7:
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w2, ne
	add	x3, sp, #8
	mov	x1, x19
	bl	_quicly_sendstate_acked
	cbnz	w0, LBB0_11
; %bb.8:
	mov	x0, x22
	bl	_stream_is_destroyable
	cbz	x0, LBB0_14
; %bb.9:
	mov	x0, x22
	mov	w1, #0
	bl	_destroy_stream
	b	LBB0_1
LBB0_10:
	mov	x1, x19
	bl	_quicly_sendstate_lost
	cbz	w0, LBB0_12
LBB0_11:
	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
LBB0_12:
	ldr	x8, [x22]
Lloh9:
	adrp	x9, _QUICLY_SENDER_STATE_NONE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _QUICLY_SENDER_STATE_NONE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.13:
	mov	x0, x22
	bl	_resched_stream_data
	b	LBB0_1
LBB0_14:
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_1
; %bb.15:
	ldr	x8, [x22, #16]
	ldr	x8, [x8]
	mov	x0, x22
	blr	x8
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_QUICLY_SENTMAP_EVENT_EXPIRED,8,3 ; @QUICLY_SENTMAP_EVENT_EXPIRED
	.comm	_QUICLY_SENTMAP_EVENT_ACKED,8,3 ; @QUICLY_SENTMAP_EVENT_ACKED
	.comm	_STREAM_ACKED,4,2               ; @STREAM_ACKED
	.comm	_STREAM_LOST,4,2                ; @STREAM_LOST
	.comm	_QUICLY_SENDER_STATE_NONE,8,3   ; @QUICLY_SENDER_STATE_NONE
	.no_dead_strip	_on_ack_stream
.subsections_via_symbols
