	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bbr_lt_bw_samp_done
_bbr_lt_bw_samp_done:                   ## @bbr_lt_bw_samp_done
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movslq	4(%rdi), %r8
	testq	%r8, %r8
	je	LBB0_4
## %bb.1:
	movl	%r8d, %eax
	subl	%r12d, %eax
	negl	%eax
	movl	%r8d, %esi
	subl	%r12d, %esi
	cmovlel	%eax, %esi
	movq	_bbr_lt_bw_diff@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jle	LBB0_3
## %bb.2:
	movq	_bbr_lt_bw_ratio@GOTPCREL(%rip), %rcx
	movl	%r8d, %eax
	cltd
	idivl	(%rcx)
	cmpl	%eax, %esi
	jle	LBB0_3
LBB0_4:
	movl	%r12d, 4(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_bbr_reset_lt_bw_interval
	movslq	%r12d, %r8
	movq	%r15, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$5, %edx
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	jmp	LBB0_5
LBB0_3:
	leal	(%r8,%r12), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, 4(%rbx)
	movl	$1, (%rbx)
	movq	_BBR_UNIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	8(%rbx), %eax
	movl	%eax, 12(%rbx)
	movslq	%r12d, %rcx
	movslq	%esi, %r9
	movq	%r15, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
LBB0_5:
	callq	_bbr_log_type_ltbw
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bbr_lt_bw_diff,4,2             ## @bbr_lt_bw_diff
	.comm	_bbr_lt_bw_ratio,4,2            ## @bbr_lt_bw_ratio
	.comm	_BBR_UNIT,4,2                   ## @BBR_UNIT
	.no_dead_strip	_bbr_lt_bw_samp_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bbr_lt_bw_samp_done
_bbr_lt_bw_samp_done:                   ; @bbr_lt_bw_samp_done
	.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	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	ldrsw	x4, [x0, #4]
	cbz	w4, LBB0_3
; %bb.1:
	sub	w8, w22, w4
	subs	w9, w4, w22
	csel	w8, w9, w8, gt
Lloh0:
	adrp	x9, _bbr_lt_bw_diff@GOTPAGE
Lloh1:
	ldr	x9, [x9, _bbr_lt_bw_diff@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.le	LBB0_4
; %bb.2:
Lloh3:
	adrp	x9, _bbr_lt_bw_ratio@GOTPAGE
Lloh4:
	ldr	x9, [x9, _bbr_lt_bw_ratio@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sdiv	w9, w4, w9
	cmp	w8, w9
	b.le	LBB0_4
LBB0_3:
	str	w22, [x21, #4]
	mov	x0, x21
	mov	x1, x20
	bl	_bbr_reset_lt_bw_interval
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	sxtw	x4, w22
	mov	x0, x21
	mov	x1, x20
	mov	w2, #5
	mov	x3, #0
	mov	x5, #0
	b	LBB0_5
LBB0_4:
	add	w9, w4, w22
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	mov	w10, #1
	stp	w10, w9, [x21]
Lloh6:
	adrp	x9, _BBR_UNIT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BBR_UNIT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ldr	w10, [x21, #8]
	stp	w10, w9, [x21, #12]
	sxtw	x3, w22
	sxtw	x5, w8
	mov	x0, x21
	mov	x1, x20
	mov	w2, #4
LBB0_5:
	mov	x6, 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
	b	_bbr_log_type_ltbw
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_bbr_lt_bw_diff,4,2             ; @bbr_lt_bw_diff
	.comm	_bbr_lt_bw_ratio,4,2            ; @bbr_lt_bw_ratio
	.comm	_BBR_UNIT,4,2                   ; @BBR_UNIT
	.no_dead_strip	_bbr_lt_bw_samp_done
.subsections_via_symbols
