	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ccid2_new_ack
_ccid2_new_ack:                         ## @ccid2_new_ack
	.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	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_ccid2_hc_tx_sk
	movq	%rax, %rbx
	movl	(%rax), %eax
	cmpl	4(%rbx), %eax
	jge	LBB0_4
## %bb.1:
	cmpl	$0, (%r15)
	je	LBB0_7
## %bb.2:
	movl	8(%rbx), %ecx
	incl	%ecx
	movl	%ecx, 8(%rbx)
	cmpl	$2, %ecx
	jne	LBB0_7
## %bb.3:
	movq	%rbx, %rcx
	addq	$8, %rcx
	incl	%eax
	movl	%eax, (%rbx)
	decl	(%r15)
	jmp	LBB0_6
LBB0_4:
	movl	8(%rbx), %ecx
	incl	%ecx
	movl	%ecx, 8(%rbx)
	cmpl	%eax, %ecx
	jl	LBB0_7
## %bb.5:
	movq	%rbx, %rcx
	addq	$8, %rcx
	incl	%eax
	movl	%eax, (%rbx)
LBB0_6:
	movl	$0, (%rcx)
LBB0_7:
	movslq	12(%rbx), %rsi
	movq	_jiffies@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	cmpq	$-1, %rsi
	je	LBB0_8
## %bb.9:
	addq	32(%rbx), %rsi
	movq	%rdx, %rdi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movslq	12(%rbx), %rax
	movq	(%r13), %rdx
	movq	%rdx, %r15
	subq	8(%r12), %r15
	cmpq	$-1, %rax
	je	LBB0_11
## %bb.12:
	movq	%rax, %rcx
	subq	%r15, %rcx
	movq	%rcx, %rdx
	negq	%rdx
	cmovsq	%rcx, %rdx
	shrq	$2, %rdx
	movq	16(%rbx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	shrq	$2, %rcx
	addq	%rdx, %rcx
	movq	%rcx, 16(%rbx)
	leaq	(,%rax,8), %rcx
	subq	%rax, %rcx
	sarq	$3, %rcx
	movq	%r15, %rsi
	shrq	$3, %rsi
	addq	%rcx, %rsi
	movq	%rbx, %rdi
	callq	_ccid2_change_srtt
	movq	16(%rbx), %r9
	jmp	LBB0_13
LBB0_8:
	movq	%rdx, %r15
	subq	8(%r12), %r15
LBB0_11:
	movl	(%r12), %ecx
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_ccid2_pr_debug
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ccid2_change_srtt
	movq	%r15, %r9
	shrq	%r9
	movq	%r9, 16(%rbx)
LBB0_13:
	leal	(,%r9,4), %eax
	testl	%eax, %eax
	movl	$1, %edi
	cmovnel	%eax, %edi
	movl	12(%rbx), %esi
	addl	%esi, %edi
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%edi, %eax
	cltd
	idivl	%r8d
	testl	%eax, %eax
	cmovlel	%r8d, %edi
	imull	$60, %r8d, %ecx
	cmpl	$61, %eax
	cmovll	%edi, %ecx
	movl	%ecx, 24(%rbx)
	movq	(%r13), %rax
	movq	%rax, 32(%rbx)
	leaq	L_.str.1(%rip), %rdi
	movl	%r9d, %edx
	movq	%r15, %r9
	xorl	%eax, %eax
	callq	_ccid2_pr_debug
LBB0_14:
	movq	%r14, %rdi
	callq	_ccid2_hc_tx_kill_rto_timer
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ccid2_start_rto_timer          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"R: %lu Time=%lu seq=%llu\n"

	.comm	_HZ,4,2                         ## @HZ
L_.str.1:                               ## @.str.1
	.asciz	"srtt: %ld rttvar: %ld rto: %ld (HZ=%d) R=%lu\n"

	.no_dead_strip	_ccid2_new_ack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ccid2_new_ack
_ccid2_new_ack:                         ; @ccid2_new_ack
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_ccid2_hc_tx_sk
	mov	x20, x0
	ldp	w9, w8, [x0]
	cmp	w9, w8
	b.ge	LBB0_4
; %bb.1:
	ldr	w8, [x22]
	cbz	w8, LBB0_7
; %bb.2:
	mov	x8, x20
	ldr	w10, [x8, #8]!
	add	w10, w10, #1
	str	w10, [x8]
	cmp	w10, #2
	b.ne	LBB0_7
; %bb.3:
	add	w9, w9, #1
	str	w9, [x20]
	ldr	w9, [x22]
	sub	w9, w9, #1
	str	w9, [x22]
	b	LBB0_6
LBB0_4:
	mov	x8, x20
	ldr	w10, [x8, #8]!
	add	w10, w10, #1
	str	w10, [x8]
	cmp	w10, w9
	b.lt	LBB0_7
; %bb.5:
	add	w9, w9, #1
	str	w9, [x20]
LBB0_6:
	str	wzr, [x8]
LBB0_7:
	ldrsw	x8, [x20, #12]
Lloh0:
	adrp	x23, _jiffies@GOTPAGE
Lloh1:
	ldr	x23, [x23, _jiffies@GOTPAGEOFF]
	ldr	x2, [x23]
	cmn	w8, #1
	b.eq	LBB0_11
; %bb.8:
	ldr	x9, [x20, #32]
	add	x1, x9, x8
	mov	x0, x2
	bl	_time_after
	cbz	x0, LBB0_14
; %bb.9:
	ldrsw	x8, [x20, #12]
	ldr	x2, [x23]
	ldr	x9, [x21, #8]
	sub	x22, x2, x9
	cmn	w8, #1
	b.eq	LBB0_12
; %bb.10:
	subs	x9, x8, x22
	cneg	x9, x9, mi
	ldr	x10, [x20, #16]
	add	x10, x10, x10, lsl #1
	lsr	x10, x10, #2
	add	x9, x10, x9, lsr #2
	str	x9, [x20, #16]
	lsl	x9, x8, #3
	sub	x8, x9, x8
	lsr	x9, x22, #3
	add	x1, x9, x8, asr #3
	mov	x0, x20
	bl	_ccid2_change_srtt
	ldr	x2, [x20, #16]
	b	LBB0_13
LBB0_11:
	ldr	x8, [x21, #8]
	sub	x22, x2, x8
LBB0_12:
	ldr	w3, [x21]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_ccid2_pr_debug
	mov	x0, x20
	mov	x1, x22
	bl	_ccid2_change_srtt
	lsr	x2, x22, #1
	str	x2, [x20, #16]
LBB0_13:
	lsl	w8, w2, #2
	cmp	w8, #0
	csinc	w8, w8, wzr, ne
	ldr	w1, [x20, #12]
Lloh4:
	adrp	x9, _HZ@GOTPAGE
Lloh5:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
	add	w8, w8, w1
Lloh6:
	ldr	w9, [x9]
	sdiv	w10, w8, w9
	cmp	w10, #1
	csel	w8, w9, w8, lt
	mov	w11, #60
	mul	w11, w9, w11
	cmp	w10, #60
	csel	w3, w11, w8, gt
	str	w3, [x20, #24]
	ldr	x8, [x23]
	str	x8, [x20, #32]
	stp	x9, x22, [sp]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_ccid2_pr_debug
LBB0_14:
	mov	x0, x19
	bl	_ccid2_hc_tx_kill_rto_timer
	mov	x0, x19
	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
	b	_ccid2_start_rto_timer
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"R: %lu Time=%lu seq=%llu\n"

	.comm	_HZ,4,2                         ; @HZ
l_.str.1:                               ; @.str.1
	.asciz	"srtt: %ld rttvar: %ld rto: %ld (HZ=%d) R=%lu\n"

	.no_dead_strip	_ccid2_new_ack
.subsections_via_symbols
