	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_send_shift
_on_send_shift:                         ## @on_send_shift
	.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	%rsi, %r14
	movq	(%rdi), %r15
	xorl	%edi, %edi
	testq	%rsi, %rsi
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	$0, 40(%r15)
	setne	%dil
	callq	_assert
	movq	16(%r15), %rax
	movq	48(%r15), %rdi
	movq	(%rdi), %rcx
	subq	%rax, %rcx
	cmpq	%r14, %rcx
	jbe	LBB0_3
## %bb.1:
	addq	%r14, %rax
	movq	%rax, 16(%r15)
	jmp	LBB0_2
LBB0_3:
	subq	%rcx, %r14
	movq	$0, 16(%r15)
	cmpq	$0, 24(%r15)
	je	LBB0_5
## %bb.4:
	movq	8(%rdi), %rax
	leaq	56(%r15), %rsi
	xorl	%edx, %edx
	callq	*(%rax)
LBB0_5:
	testq	%r14, %r14
	je	LBB0_6
## %bb.7:
	leaq	56(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %r13d
	movl	$16, %ebx
	movq	%r14, %r12
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%r13
	addq	$16, %rbx
	movq	%r12, %r14
	testq	%r12, %r12
	je	LBB0_13
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	cmpq	40(%r15), %r13
	setb	%dil
	callq	_assert
	movq	48(%r15), %rdi
	subq	(%rdi,%rbx), %r12
	jb	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpq	24(%r15), %r13
	jae	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%rdi,%rbx), %rax
	addq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	*(%rax)
	jmp	LBB0_12
LBB0_6:
	movl	$1, %r13d
	jmp	LBB0_13
LBB0_9:
	movq	%r14, 16(%r15)
LBB0_13:
	movq	40(%r15), %rdx
	movq	48(%r15), %rdi
	movq	%r13, %rsi
	shlq	$4, %rsi
	addq	%rdi, %rsi
	subq	%r13, %rdx
	shlq	$4, %rdx
	callq	_memmove
	movq	24(%r15), %rax
	xorl	%ecx, %ecx
	subq	%r13, %rax
	cmovaeq	%rax, %rcx
	subq	%r13, 40(%r15)
	movq	%rcx, 24(%r15)
	jne	LBB0_2
## %bb.14:
	movl	(%r15), %eax
	cmpl	$129, %eax
	je	LBB0_17
## %bb.15:
	cmpl	$128, %eax
	jne	LBB0_18
## %bb.16:
	movl	32(%r15), %edi
	jmp	LBB0_19
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	8(%r15), %rdi
	callq	_quicly_sendstate_transfer_complete
	movl	%eax, %edi
	jmp	LBB0_19
LBB0_18:
	xorl	%edi, %edi
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_on_send_shift
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_send_shift
_on_send_shift:                         ; @on_send_shift
	.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	x19, x1
	ldr	x20, [x0]
	cmp	x1, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x20, #40]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x0, [x20, #48]
	ldr	x9, [x0]
	ldr	x8, [x20, #16]
	sub	x9, x9, x8
	cmp	x9, x19
	b.ls	LBB0_2
; %bb.1:
	add	x8, x8, x19
	str	x8, [x20, #16]
	b	LBB0_16
LBB0_2:
	sub	x23, x19, x9
	str	xzr, [x20, #16]
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	add	x1, x20, #56
	mov	w2, #0
	blr	x8
LBB0_4:
	cbz	x23, LBB0_10
; %bb.5:
	mov	x22, #0
	add	x19, x20, #56
	mov	w21, #1
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #1
	add	x22, x22, #16
	mov	x23, x24
	cbz	x24, LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #40]
	cmp	x21, x8
	cset	w0, lo
	bl	_assert
	ldr	x8, [x20, #48]
	add	x0, x8, x22
	ldr	x9, [x0, #16]!
	subs	x24, x23, x9
	b.lo	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x20, #24]
	cmp	x21, x9
	b.hs	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x8, x22
	ldr	x8, [x8, #24]
	ldr	x8, [x8]
	mov	x1, x19
	mov	w2, #0
	blr	x8
	b	LBB0_6
LBB0_10:
	mov	w21, #1
	b	LBB0_12
LBB0_11:
	str	x23, [x20, #16]
LBB0_12:
	ldp	x8, x0, [x20, #40]
	add	x1, x0, x21, lsl #4
	sub	x8, x8, x21
	lsl	x2, x8, #4
	bl	_memmove
	ldr	x8, [x20, #40]
	ldr	x9, [x20, #24]
	subs	x9, x9, x21
	csel	x9, xzr, x9, lo
	str	x9, [x20, #24]
	subs	x8, x8, x21
	str	x8, [x20, #40]
	b.ne	LBB0_16
; %bb.13:
	ldr	w8, [x20]
	cmp	w8, #129
	b.eq	LBB0_17
; %bb.14:
	cmp	w8, #128
	b.ne	LBB0_18
; %bb.15:
	ldr	w0, [x20, #32]
	b	LBB0_19
LBB0_16:
	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_17:
	ldr	x0, [x20, #8]
	bl	_quicly_sendstate_transfer_complete
	b	LBB0_19
LBB0_18:
	mov	w0, #0
LBB0_19:
	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
	b	_assert
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_on_send_shift
.subsections_via_symbols
