	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bbr_window_update_needed
_bbr_window_update_needed:              ## @bbr_window_update_needed
	.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
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_TCP_MAXWIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movb	(%rdi), %cl
	shll	%cl, %esi
	movl	%edx, %edi
	callq	_min
	movl	%eax, %r13d
	movl	4(%rbx), %edi
	movl	8(%rbx), %esi
	callq	_SEQ_GT
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movl	4(%rbx), %edx
	subl	8(%rbx), %edx
	subl	%edx, %r13d
	jmp	LBB0_3
LBB0_1:
	xorl	%edx, %edx
LBB0_3:
	movb	(%rbx), %cl
	movl	%edx, %esi
	sarl	%cl, %esi
	addl	%r13d, %edx
	sarl	%cl, %edx
	cmpl	%edx, %esi
	je	LBB0_9
## %bb.4:
	leal	(%r14,%r14), %eax
	movl	(%r12), %ecx
	cmpl	%eax, %r13d
	jl	LBB0_8
## %bb.5:
	leal	3(%rcx), %esi
	leal	7(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %esi
	cmovnsl	%ecx, %edx
	sarl	$2, %esi
	movl	$1, %eax
	cmpl	%esi, %r13d
	jge	LBB0_9
## %bb.6:
	sarl	$3, %edx
	cmpl	%r15d, %edx
	jge	LBB0_9
## %bb.7:
	shll	$3, %r14d
	cmpl	%r14d, %ecx
	jle	LBB0_9
LBB0_8:
	addl	%r13d, %r13d
	xorl	%eax, %eax
	cmpl	%ecx, %r13d
	setge	%al
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCP_MAXWIN,4,2                 ## @TCP_MAXWIN
	.no_dead_strip	_bbr_window_update_needed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bbr_window_update_needed
_bbr_window_update_needed:              ; @bbr_window_update_needed
	.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	x20, x3
	mov	x19, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _TCP_MAXWIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TCP_MAXWIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	lsl	w1, w8, w9
	mov	x0, x2
	bl	_min
	mov	x21, x0
	ldp	w0, w1, [x23, #4]
	bl	_SEQ_GT
	cbz	x0, LBB0_2
; %bb.1:
	ldp	w8, w9, [x23, #4]
	sub	w8, w8, w9
	sub	w21, w21, w8
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
	ldr	w9, [x23]
	asr	w10, w8, w9
	add	w8, w8, w21
	asr	w8, w8, w9
	cmp	w10, w8
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
	b	LBB0_9
LBB0_5:
	ldr	w8, [x22]
	cmp	w21, w20, lsl #1
	b.lt	LBB0_8
; %bb.6:
	add	w9, w8, #3
	cmp	w8, #0
	csel	w9, w9, w8, lt
	add	w10, w8, #7
	csel	w10, w10, w8, lt
	asr	w10, w10, #3
	lsl	w11, w20, #3
	cmp	w21, w9, asr #2
	ccmp	w10, w19, #0, lt
	ccmp	w8, w11, #4, lt
	b.gt	LBB0_8
; %bb.7:
	mov	w0, #1
	b	LBB0_9
LBB0_8:
	cmp	w8, w21, lsl #1
	cset	w0, le
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TCP_MAXWIN,4,2                 ; @TCP_MAXWIN
	.no_dead_strip	_bbr_window_update_needed
.subsections_via_symbols
