	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bbr_check_recovery_mode
_bbr_check_recovery_mode:               ## @bbr_check_recovery_mode
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	12(%rsi), %rdi
	callq	_TAILQ_EMPTY
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_2:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	8(%r15), %rdi
	callq	_TAILQ_FIRST
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, %rbx
	movq	_TF_SENTFIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_1
## %bb.7:
	movq	_BBR_ACKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_bbr_find_lowest_rsm
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_1
LBB0_9:
	movq	8(%rbx), %rax
	movq	40(%rbx), %rcx
	movl	-4(%rcx,%rax,4), %esi
	movl	%r12d, %edi
	callq	_SEQ_LEQ
	testq	%rax, %rax
	jne	LBB0_1
## %bb.11:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_bbr_is_lost
	testq	%rax, %rax
	je	LBB0_1
## %bb.12:
	movq	16(%rbx), %rcx
	movq	_DUP_ACK_THRESHOLD@GOTPCREL(%rip), %rdx
	movl	(%rbx), %eax
	cmpq	(%rdx), %rcx
	jge	LBB0_14
## %bb.13:
	movq	_BBR_SACK_PASSED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
LBB0_14:
	movq	_BBR_MARKED_LOST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_16
## %bb.15:
	orl	%eax, %ecx
	movl	%ecx, (%rbx)
	movl	24(%rbx), %eax
	subl	32(%rbx), %eax
	addl	%eax, 4(%r15)
	addl	%eax, (%r15)
LBB0_16:
	movq	_CC_NDUPACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	callq	_bbr_cong_signal
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_TF_SENTFIN,4,2                 ## @TF_SENTFIN
	.comm	_BBR_ACKED,4,2                  ## @BBR_ACKED
	.comm	_DUP_ACK_THRESHOLD,8,3          ## @DUP_ACK_THRESHOLD
	.comm	_BBR_SACK_PASSED,4,2            ## @BBR_SACK_PASSED
	.comm	_BBR_MARKED_LOST,4,2            ## @BBR_MARKED_LOST
	.comm	_CC_NDUPACK,4,2                 ## @CC_NDUPACK
	.no_dead_strip	_bbr_check_recovery_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bbr_check_recovery_mode
_bbr_check_recovery_mode:               ; @bbr_check_recovery_mode
	.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	x22, x2
	mov	x21, x1
	mov	x20, x0
	add	x0, x1, #12
	bl	_TAILQ_EMPTY
	cbz	x0, LBB0_3
LBB0_1:
	mov	x19, #0
LBB0_2:
	mov	x0, x19
	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
LBB0_3:
	add	x0, x21, #8
	bl	_TAILQ_FIRST
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.4:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _TF_SENTFIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TF_SENTFIN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_1
; %bb.5:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _BBR_ACKED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BBR_ACKED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x21
	bl	_bbr_find_lowest_rsm
	mov	x19, x0
	cbz	x0, LBB0_2
LBB0_7:
	ldr	x8, [x19, #8]
	ldr	x9, [x19, #40]
	add	x8, x9, x8, lsl #2
	ldur	w1, [x8, #-4]
	mov	x0, x22
	bl	_SEQ_LEQ
	cbnz	x0, LBB0_1
; %bb.8:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_bbr_is_lost
	cbz	x0, LBB0_1
; %bb.9:
	ldr	x9, [x19, #16]
Lloh6:
	adrp	x8, _DUP_ACK_THRESHOLD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DUP_ACK_THRESHOLD@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x8]
	ldr	w8, [x19]
	cmp	x9, x10
	b.ge	LBB0_11
; %bb.10:
Lloh9:
	adrp	x9, _BBR_SACK_PASSED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BBR_SACK_PASSED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_1
LBB0_11:
Lloh12:
	adrp	x9, _BBR_MARKED_LOST@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BBR_MARKED_LOST@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_13
; %bb.12:
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	w8, [x19, #24]
	ldr	w9, [x19, #32]
	sub	w8, w8, w9
	ldr	d0, [x21]
	dup.2s	v1, w8
	add.2s	v0, v0, v1
	str	d0, [x21]
LBB0_13:
Lloh15:
	adrp	x8, _CC_NDUPACK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CC_NDUPACK@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, #0
	mov	x3, x19
	bl	_bbr_cong_signal
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TF_SENTFIN,4,2                 ; @TF_SENTFIN
	.comm	_BBR_ACKED,4,2                  ; @BBR_ACKED
	.comm	_DUP_ACK_THRESHOLD,8,3          ; @DUP_ACK_THRESHOLD
	.comm	_BBR_SACK_PASSED,4,2            ; @BBR_SACK_PASSED
	.comm	_BBR_MARKED_LOST,4,2            ; @BBR_MARKED_LOST
	.comm	_CC_NDUPACK,4,2                 ; @CC_NDUPACK
	.no_dead_strip	_bbr_check_recovery_mode
.subsections_via_symbols
