	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bbr_nf_measurement
_bbr_nf_measurement:                    ## @bbr_nf_measurement
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	cmpq	$0, (%rdi)
	je	LBB0_1
LBB0_31:
	addq	$24, %rsp
LBB0_32:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	movl	(%rsi), %esi
	callq	_TSTMP_GT
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	16(%rbx), %ecx
	subl	(%r15), %ecx
	jmp	LBB0_4
LBB0_2:
	movl	$1, %ecx
LBB0_4:
	movl	20(%rbx), %r14d
	movl	4(%r15), %r13d
	movl	%r14d, %edx
	subl	%r13d, %edx
	movq	_USECS_IN_SECOND@GOTPCREL(%rip), %rdi
	movl	(%rdi), %eax
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	imull	%edx, %eax
	cltd
	idivl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	je	LBB0_31
## %bb.5:
	cmpq	$0, 56(%r15)
	je	LBB0_22
## %bb.6:
	cmpq	$0, 64(%rbx)
	je	LBB0_22
## %bb.7:
	cmpq	$0, 56(%rbx)
	je	LBB0_22
## %bb.8:
	cmpq	$0, 8(%rbx)
	jne	LBB0_22
## %bb.9:
	cmpq	$0, 48(%rbx)
	je	LBB0_22
## %bb.10:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	24(%rbx), %edi
	subl	8(%r15), %edi
	movl	$1, %esi
	callq	_max
	movl	%eax, %ecx
	imull	28(%rbx), %ecx
	cmpl	$1000, %r12d                    ## imm = 0x3E8
	jl	LBB0_12
## %bb.11:
	cmpl	%r13d, %r14d
	je	LBB0_12
## %bb.13:
	movq	_USECS_IN_SECOND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	imull	%r10d, %eax
	cltd
	idivl	%ecx
	movl	%eax, %r12d
	subq	$8, %rsp
	movq	%rbx, %rdi
	movl	$62, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %r8d
	xorl	%r9d, %r9d
	pushq	%r10
	movq	%rcx, %r14
	pushq	%rcx
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_bbr_log_type_bbrupd
	addq	$48, %rsp
	cmpq	$0, 40(%rbx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_16
## %bb.14:
	cmpl	%eax, %r12d
	jle	LBB0_16
## %bb.15:
	subq	$8, %rsp
	movq	%rbx, %rdi
	movl	$8, %esi
	jmp	LBB0_19
LBB0_12:
	movl	24(%rbx), %r8d
	movl	8(%r15), %r9d
	subq	$8, %rsp
	movq	%rbx, %rdi
	movl	$61, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_bbr_log_type_bbrupd
	addq	$48, %rsp
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_21
LBB0_16:
	testl	%r12d, %r12d
	je	LBB0_20
## %bb.17:
	cmpl	%eax, %r12d
	jge	LBB0_20
## %bb.18:
	subq	$8, %rsp
	movq	%rbx, %rdi
	movl	$7, %esi
LBB0_19:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r14d, %r8d
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	%rax
	callq	_bbr_log_type_bbrupd
	addq	$48, %rsp
	movl	%r12d, %eax
LBB0_20:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
LBB0_21:
	movq	_USECS_IN_SECOND@GOTPCREL(%rip), %rdi
LBB0_22:
	movl	12(%r15), %esi
	testl	%esi, %esi
	je	LBB0_28
## %bb.23:
	movq	%rdi, %r12
	movq	%rax, %r13
	movl	%ecx, %r14d
	movq	16(%r15), %rax
	movslq	24(%r15), %rcx
	movl	-4(%rax,%rcx,4), %edi
	callq	_TSTMP_GT
	testq	%rax, %rax
	je	LBB0_24
## %bb.25:
	movl	(%r12), %eax
	imull	48(%r15), %eax
	movq	16(%r15), %rcx
	movslq	24(%r15), %rdx
	movl	-4(%rcx,%rdx,4), %r8d
	movl	12(%r15), %ecx
	subl	%ecx, %r8d
	addl	40(%r15), %r8d
	cltd
	idivl	%r8d
	movl	%eax, %r12d
	movq	%r13, %rax
	cmpl	%eax, %r12d
	jge	LBB0_27
## %bb.26:
	subq	$48, %rsp
	movl	%r12d, 32(%rsp)
	movl	%ecx, 8(%rsp)
	movl	%eax, (%rsp)
	movl	$0, 16(%rsp)
	movq	%rbx, %rdi
	movl	$6, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_bbr_log_type_bbrupd
	addq	$48, %rsp
	movl	%r12d, %eax
LBB0_27:
	movl	%r14d, %ecx
	jmp	LBB0_28
LBB0_24:
	movl	%r14d, %ecx
	movq	%r13, %rax
LBB0_28:
	movl	%eax, 32(%rbx)
	cmpq	$0, 32(%r15)
	je	LBB0_30
## %bb.29:
	leaq	36(%rbx), %rdi
	movl	%ecx, %r14d
	movq	%rax, %r12
	callq	_get_filter_value
	movl	%r14d, %ecx
	cmpl	%eax, %r12d
	jle	LBB0_31
LBB0_30:
	movq	%rbx, %rdi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	movl	%ecx, %r12d
	callq	_tcp_bbr_commit_bw
	movl	16(%rbx), %r10d
	movl	(%r15), %eax
	subq	$8, %rsp
	movq	%rbx, %rdi
	movl	$10, %esi
	movl	%r14d, %edx
	movl	%r12d, %ecx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	%r10
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_bbr_log_type_bbrupd
	addq	$72, %rsp
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.comm	_USECS_IN_SECOND,8,3            ## @USECS_IN_SECOND
	.no_dead_strip	_bbr_nf_measurement
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bbr_nf_measurement
_bbr_nf_measurement:                    ; @bbr_nf_measurement
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x0]
	cbnz	x8, LBB0_16
; %bb.1:
	mov	x19, x3
	mov	x26, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x0, #16]
	ldr	w1, [x1]
	bl	_TSTMP_GT
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w8, [x20, #16]
	ldr	w9, [x21]
	sub	w22, w8, w9
	b	LBB0_4
LBB0_3:
	mov	w22, #1
LBB0_4:
	ldr	w28, [x20, #20]
	ldr	w25, [x21, #4]
	sub	w23, w28, w25
Lloh0:
	adrp	x27, _USECS_IN_SECOND@GOTPAGE
Lloh1:
	ldr	x27, [x27, _USECS_IN_SECOND@GOTPAGEOFF]
	ldr	w8, [x27]
	mul	w8, w23, w8
	sdiv	w24, w8, w22
	cbz	w24, LBB0_16
; %bb.5:
	ldr	x8, [x21, #56]
	cbz	x8, LBB0_9
; %bb.6:
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_9
; %bb.7:
	ldr	x8, [x20, #56]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_17
LBB0_9:
	ldr	w1, [x21, #12]
	cbz	w1, LBB0_13
; %bb.10:
	ldr	x8, [x21, #16]
	ldrsw	x9, [x21, #24]
	add	x8, x8, x9, lsl #2
	ldur	w0, [x8, #-4]
	bl	_TSTMP_GT
	cbz	x0, LBB0_13
; %bb.11:
	ldr	w8, [x21, #48]
	ldr	w9, [x27]
	mul	w8, w9, w8
	ldr	x9, [x21, #16]
	ldrsw	x10, [x21, #24]
	add	x9, x9, x10, lsl #2
	ldur	w9, [x9, #-4]
	ldr	w7, [x21, #12]
	ldr	w10, [x21, #40]
	sub	w9, w9, w7
	add	w4, w9, w10
	sdiv	w25, w8, w4
	cmp	w25, w24
	b.ge	LBB0_13
; %bb.12:
	str	w25, [sp, #8]
	str	wzr, [sp]
	mov	x0, x20
	mov	w1, #6
	mov	x2, x19
	mov	x3, x23
	mov	x6, x24
	bl	_bbr_log_type_bbrupd
	mov	x24, x25
LBB0_13:
	str	w24, [x20, #32]
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_15
; %bb.14:
	add	x0, x20, #36
	bl	_get_filter_value
	cmp	w24, w0
	b.le	LBB0_16
LBB0_15:
	mov	x0, x20
	mov	x1, x19
	bl	_tcp_bbr_commit_bw
	ldr	w8, [x20, #16]
	ldr	w9, [x21]
	stp	w8, w9, [sp, #4]
	str	wzr, [sp]
	mov	x0, x20
	mov	w1, #10
	mov	x2, x19
	mov	x3, x22
	mov	x4, x23
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_bbr_log_type_bbrupd
LBB0_16:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_17:
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_9
; %bb.18:
	ldr	w8, [x20, #24]
	ldr	w9, [x21, #8]
	sub	w0, w8, w9
	mov	w1, #1
	bl	_max
	ldr	w8, [x20, #28]
	mul	w3, w8, w0
	cmp	w26, #1000
	b.lt	LBB0_23
; %bb.19:
	cmp	w28, w25
	b.eq	LBB0_23
; %bb.20:
	ldr	w8, [x27]
	mul	w8, w23, w8
	sdiv	w26, w8, w3
	stp	w3, w23, [sp, #4]
	mov	x25, x3
	str	wzr, [sp]
	mov	x0, x20
	mov	w1, #62
	mov	x2, x19
	mov	x4, x26
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_bbr_log_type_bbrupd
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_24
; %bb.21:
	cmp	w26, w24
	b.le	LBB0_24
; %bb.22:
	str	wzr, [sp, #8]
	str	xzr, [sp]
	mov	x0, x20
	mov	w1, #8
	b	LBB0_26
LBB0_23:
	ldr	w4, [x20, #24]
	ldr	w5, [x21, #8]
	str	w23, [sp, #8]
	str	xzr, [sp]
	mov	x0, x20
	mov	w1, #61
	mov	x2, x19
	mov	w6, #0
	mov	w7, #0
	bl	_bbr_log_type_bbrupd
	b	LBB0_9
LBB0_24:
	cmp	w26, #0
	ccmp	w26, w24, #0, ne
	b.ge	LBB0_9
; %bb.25:
	str	wzr, [sp, #8]
	str	xzr, [sp]
	mov	x0, x20
	mov	w1, #7
LBB0_26:
	mov	x2, x19
	mov	x3, x23
	mov	x4, x25
	mov	x6, x24
	mov	w7, #0
	bl	_bbr_log_type_bbrupd
	mov	x24, x26
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_USECS_IN_SECOND,8,3            ; @USECS_IN_SECOND
	.no_dead_strip	_bbr_nf_measurement
.subsections_via_symbols
