	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_rack_output                ## -- Begin function tcp_rack_output
	.p2align	4, 0x90
_tcp_rack_output:                       ## @tcp_rack_output
	.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, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	leaq	12(%rsi), %rdi
	callq	_RB_EMPTY
	testq	%rax, %rax
	jne	LBB0_24
## %bb.2:
	movq	_TF_SENTFIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	jne	LBB0_24
## %bb.4:
	leaq	8(%r15), %rdi
	callq	_TAILQ_FIRST
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %rbx
	movl	(%rax), %eax
	movq	_RACK_ACKED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_8
LBB0_6:
	movq	%r15, %rdi
	callq	_rack_find_lowest_rsm
	testq	%rax, %rax
	je	LBB0_24
## %bb.7:
	movq	%rax, %rbx
	movl	(%rax), %eax
	movq	_RACK_ACKED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_8:
	testl	%eax, %ecx
	je	LBB0_11
LBB0_24:
	xorl	%ebx, %ebx
LBB0_25:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_RACK_SACK_PASSED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_24
## %bb.12:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_rack_grab_rtt
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rdx
	movq	-8(%rdx,%rcx,8), %r13
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_rack_calc_thresh_rack
	cmpq	%r14, %r13
	je	LBB0_24
## %bb.15:
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_TSTMP_LT
	testq	%rax, %rax
	jne	LBB0_24
## %bb.17:
	subq	%r13, %r14
	cmpq	%r12, %r14
	jl	LBB0_24
## %bb.19:
	movq	24(%rbx), %rax
	movq	_DUP_ACK_THRESHOLD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_23
## %bb.20:
	movq	_RACK_SACK_PASSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_24
## %bb.21:
	cmpq	$0, (%r15)
	jne	LBB0_24
LBB0_23:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	movl	$1, %r8d
	callq	_rack_log_retran_reason
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_TF_SENTFIN,4,2                 ## @TF_SENTFIN
	.comm	_RACK_ACKED,4,2                 ## @RACK_ACKED
	.comm	_RACK_SACK_PASSED,4,2           ## @RACK_SACK_PASSED
	.comm	_DUP_ACK_THRESHOLD,8,3          ## @DUP_ACK_THRESHOLD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_rack_output                ; -- Begin function tcp_rack_output
	.p2align	2
_tcp_rack_output:                       ; @tcp_rack_output
	.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	x21, x2
	mov	x20, x1
	mov	x22, x0
	add	x0, x1, #12
	bl	_RB_EMPTY
	cbnz	x0, LBB0_7
; %bb.1:
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _TF_SENTFIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TF_SENTFIN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.2:
	add	x0, x20, #8
	bl	_TAILQ_FIRST
Lloh3:
	adrp	x23, _RACK_ACKED@GOTPAGE
Lloh4:
	ldr	x23, [x23, _RACK_ACKED@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.3:
	mov	x19, x0
	ldr	w8, [x0]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_4:
	mov	x0, x20
	bl	_rack_find_lowest_rsm
	mov	x19, x0
	cbz	x0, LBB0_8
; %bb.5:
	ldr	w8, [x19]
	ldr	w9, [x23]
LBB0_6:
	tst	w9, w8
	b.eq	LBB0_9
LBB0_7:
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	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_9:
Lloh5:
	adrp	x24, _RACK_SACK_PASSED@GOTPAGE
Lloh6:
	ldr	x24, [x24, _RACK_SACK_PASSED@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.10:
	mov	x0, x22
	mov	x1, x20
	bl	_rack_grab_rtt
	mov	x1, x0
	ldp	x8, x9, [x19, #8]
	add	x8, x9, x8, lsl #3
	ldur	x23, [x8, #-8]
	mov	x0, x20
	mov	x2, x21
	bl	_rack_calc_thresh_rack
	cmp	x23, x21
	b.eq	LBB0_7
; %bb.11:
	mov	x22, x0
	mov	x0, x21
	mov	x1, x23
	bl	_TSTMP_LT
	cbnz	x0, LBB0_7
; %bb.12:
	sub	x2, x21, x23
	cmp	x2, x22
	b.lt	LBB0_7
; %bb.13:
	ldr	x8, [x19, #24]
Lloh7:
	adrp	x9, _DUP_ACK_THRESHOLD@GOTPAGE
Lloh8:
	ldr	x9, [x9, _DUP_ACK_THRESHOLD@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_16
; %bb.14:
	ldr	w8, [x19]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.15:
	ldr	x8, [x20]
	cbnz	x8, LBB0_7
LBB0_16:
	mov	x0, x20
	mov	x1, x19
	mov	x3, x22
	mov	w4, #1
	bl	_rack_log_retran_reason
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_TF_SENTFIN,4,2                 ; @TF_SENTFIN
	.comm	_RACK_ACKED,4,2                 ; @RACK_ACKED
	.comm	_RACK_SACK_PASSED,4,2           ; @RACK_SACK_PASSED
	.comm	_DUP_ACK_THRESHOLD,8,3          ; @DUP_ACK_THRESHOLD
.subsections_via_symbols
