	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_cc_on_acked             ## -- Begin function quicly_cc_on_acked
	.p2align	4, 0x90
_quicly_cc_on_acked:                    ## @quicly_cc_on_acked
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpq	%rsi, %rcx
	setge	%dil
	callq	_assert
	cmpq	%rbx, (%r14)
	jg	LBB0_9
## %bb.1:
	movq	8(%r14), %rcx
	cmpq	16(%r14), %rcx
	jge	LBB0_3
## %bb.2:
	addq	%r15, %rcx
	movq	%rcx, %rax
	jmp	LBB0_8
LBB0_3:
	addq	24(%r14), %r15
	movq	%r15, 24(%r14)
	cmpq	%rcx, %r15
	jl	LBB0_9
## %bb.4:
	movq	%r15, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_5
## %bb.6:
	movq	%r15, %rax
	cqto
	idivq	%rcx
	jmp	LBB0_7
LBB0_5:
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
LBB0_7:
	movq	%rdx, 24(%r14)
	movq	_QUICLY_MAX_PACKET_SIZE@GOTPCREL(%rip), %rdx
	imulq	(%rdx), %rax
	addq	%rcx, %rax
LBB0_8:
	movq	%rax, 8(%r14)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QUICLY_MAX_PACKET_SIZE,8,3     ## @QUICLY_MAX_PACKET_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_cc_on_acked             ; -- Begin function quicly_cc_on_acked
	.p2align	2
_quicly_cc_on_acked:                    ; @quicly_cc_on_acked
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	cmp	x3, x1
	cset	w0, ge
	bl	_assert
	ldr	x8, [x19]
	cmp	x8, x21
	b.gt	LBB0_6
; %bb.1:
	ldp	x8, x9, [x19, #8]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.2:
	add	x8, x8, x20
	b	LBB0_5
LBB0_3:
	ldr	x9, [x19, #24]
	add	x9, x9, x20
	cmp	x9, x8
	str	x9, [x19, #24]
	b.lt	LBB0_6
; %bb.4:
	sdiv	x10, x9, x8
	msub	x9, x10, x8, x9
	str	x9, [x19, #24]
Lloh0:
	adrp	x9, _QUICLY_MAX_PACKET_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QUICLY_MAX_PACKET_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	madd	x8, x9, x10, x8
LBB0_5:
	str	x8, [x19, #8]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QUICLY_MAX_PACKET_SIZE,8,3     ; @QUICLY_MAX_PACKET_SIZE
.subsections_via_symbols
