	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __bbr_get_bw
___bbr_get_bw:                          ## @__bbr_get_bw
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_BBR_STATE_STARTUP@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.1:
	leaq	64(%rbx), %rdi
	callq	_get_filter_value_small
	movq	%rax, %r14
	decl	%eax
	cmpl	$-3, %eax
	jbe	LBB0_2
## %bb.3:
	movq	24(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_BBR_SRTT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bbr_get_rtt
	movl	%eax, %r14d
LBB0_2:
	movq	24(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_bbr_initial_cwnd
	imull	$1000000, %eax, %eax            ## imm = 0xF4240
	cltd
	idivl	%r14d
	movl	32(%rbx), %r15d
	cmpl	%r15d, %eax
	cmovgl	%eax, %r15d
LBB0_6:
	cmpl	$0, 8(%rbx)
	jne	LBB0_9
LBB0_7:
	movq	24(%rbx), %rsi
	movq	40(%rbx), %r14
	movq	%rbx, %rdi
	callq	_bbr_initial_cwnd
	cmpq	%rax, %r14
	jle	LBB0_9
## %bb.8:
	movl	$1, 8(%rbx)
	jmp	LBB0_9
LBB0_5:
	movl	32(%rbx), %r15d
	cmpl	$0, 8(%rbx)
	je	LBB0_7
LBB0_9:
	movq	16(%rbx), %rax
	movl	48(%rbx), %ecx
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	testl	%ecx, %ecx
	jg	LBB0_16
LBB0_11:
	movq	_bbr_min_measurements_req@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jl	LBB0_13
## %bb.12:
	cmpl	$0, 8(%rbx)
	je	LBB0_13
LBB0_16:
	cmpq	$0, 80(%rbx)
	je	LBB0_18
## %bb.17:
	movl	52(%rbx), %eax
	jmp	LBB0_22
LBB0_18:
	cmpq	$0, 72(%rbx)
	je	LBB0_21
## %bb.19:
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:
	movl	56(%rbx), %eax
	jmp	LBB0_22
LBB0_21:
	leaq	60(%rbx), %rdi
	callq	_get_filter_value
LBB0_22:
	movq	24(%rbx), %rcx
	movq	8(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.23:
	cmpq	$0, 16(%rbx)
	je	LBB0_24
LBB0_25:
	testl	%eax, %eax
	jne	LBB0_26
LBB0_13:
	leaq	64(%rbx), %rdi
	callq	_get_filter_value_small
	movq	%rax, %r14
	decl	%eax
	cmpl	$-3, %eax
	ja	LBB0_15
## %bb.14:
	movq	24(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_bbr_initial_cwnd
	imull	$1000000, %eax, %eax            ## imm = 0xF4240
	cltd
	idivl	%r14d
	movl	%eax, %ecx
	movl	32(%rbx), %eax
	cmpl	%eax, %ecx
	cmovgl	%ecx, %eax
	jmp	LBB0_26
LBB0_15:
	movl	32(%rbx), %eax
	jmp	LBB0_26
LBB0_24:
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%eax, %esi
	callq	_uqmin
	testl	%eax, %eax
	je	LBB0_13
LBB0_26:
	cmpl	%r15d, %eax
	cmovgl	%eax, %r15d
	cmpl	$2, %r15d
	movl	$1, %eax
	cmovgel	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BBR_STATE_STARTUP,8,3          ## @BBR_STATE_STARTUP
	.comm	_BBR_SRTT,4,2                   ## @BBR_SRTT
	.comm	_bbr_min_measurements_req,4,2   ## @bbr_min_measurements_req
	.no_dead_strip	___bbr_get_bw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __bbr_get_bw
___bbr_get_bw:                          ; @__bbr_get_bw
	.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, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BBR_STATE_STARTUP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BBR_STATE_STARTUP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	add	x0, x19, #64
	bl	_get_filter_value_small
	mov	x20, x0
	sub	w8, w20, #1
	cmn	w8, #3
	b.ls	LBB0_4
; %bb.2:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.3:
Lloh3:
	adrp	x8, _BBR_SRTT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BBR_SRTT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bbr_get_rtt
	mov	x20, x0
LBB0_4:
	ldr	x1, [x19, #24]
	mov	x0, x19
	bl	_bbr_initial_cwnd
	mov	w8, #16960
	movk	w8, #15, lsl #16
	mul	w8, w0, w8
	sdiv	w8, w8, w20
	ldr	w9, [x19, #32]
	cmp	w8, w9
	csel	w21, w8, w9, gt
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_9
	b	LBB0_6
LBB0_5:
	mov	w21, #0
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_9
LBB0_6:
	ldr	x20, [x19, #40]
	ldr	x1, [x19, #24]
	mov	x0, x19
	bl	_bbr_initial_cwnd
	cmp	x20, x0
	b.le	LBB0_9
; %bb.7:
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_9
LBB0_8:
	ldr	w21, [x19, #32]
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_6
LBB0_9:
	ldr	x8, [x19, #16]
	ldr	w9, [x19, #48]
	cmp	x8, #0
	ccmp	w9, #0, #4, ne
	b.gt	LBB0_12
; %bb.10:
Lloh6:
	adrp	x10, _bbr_min_measurements_req@GOTPAGE
Lloh7:
	ldr	x10, [x10, _bbr_min_measurements_req@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w9, w10
	b.lt	LBB0_21
; %bb.11:
	ldr	w9, [x19, #8]
	cbz	w9, LBB0_21
LBB0_12:
	ldr	x9, [x19, #80]
	cbz	x9, LBB0_14
; %bb.13:
	ldr	w1, [x19, #52]
	b	LBB0_18
LBB0_14:
	ldr	x9, [x19, #72]
	cbz	x9, LBB0_17
; %bb.15:
	cbnz	x8, LBB0_17
; %bb.16:
	ldr	w1, [x19, #56]
	b	LBB0_18
LBB0_17:
	add	x0, x19, #60
	bl	_get_filter_value
	mov	x1, x0
LBB0_18:
	ldr	x8, [x19, #24]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_20
; %bb.19:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_24
LBB0_20:
	cbnz	w1, LBB0_25
LBB0_21:
	add	x0, x19, #64
	bl	_get_filter_value_small
	mov	x20, x0
	sub	w8, w20, #1
	cmn	w8, #3
	b.hi	LBB0_23
; %bb.22:
	ldr	x1, [x19, #24]
	mov	x0, x19
	bl	_bbr_initial_cwnd
	mov	w8, #16960
	movk	w8, #15, lsl #16
	mul	w8, w0, w8
	sdiv	w8, w8, w20
	ldr	w9, [x19, #32]
	cmp	w8, w9
	csel	w1, w8, w9, gt
	b	LBB0_25
LBB0_23:
	ldr	w1, [x19, #32]
	b	LBB0_25
LBB0_24:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_uqmin
	mov	x1, x0
	cbz	w1, LBB0_21
LBB0_25:
	cmp	w1, w21
	csel	w8, w1, w21, gt
	cmp	w8, #1
	csinc	w0, w8, wzr, gt
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BBR_STATE_STARTUP,8,3          ; @BBR_STATE_STARTUP
	.comm	_BBR_SRTT,4,2                   ; @BBR_SRTT
	.comm	_bbr_min_measurements_req,4,2   ; @bbr_min_measurements_req
	.no_dead_strip	___bbr_get_bw
.subsections_via_symbols
