	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_bbr_xmit_timer_commit
_tcp_bbr_xmit_timer_commit:             ## @tcp_bbr_xmit_timer_commit
	.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
	cmpq	$0, (%rdi)
	je	LBB0_25
## %bb.1:
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	24(%rdi), %r15
	movq	32(%rdi), %rdx
	cmpq	$0, 144(%rdi)
	je	LBB0_6
## %bb.2:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	$0, 144(%rbx)
	leaq	88(%rbx), %r12
	movq	%r12, %rdi
	callq	_get_filter_value_small
	movq	%r15, %rsi
	movq	%r12, %rdi
	subq	%rax, %rsi
	jle	LBB0_4
## %bb.3:
	movq	%r13, %rdx
	callq	_filter_increase_by_small
	jmp	LBB0_5
LBB0_4:
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_apply_filter_min_small
LBB0_5:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_6:
	cmpq	$0, 136(%rbx)
	je	LBB0_8
## %bb.7:
	addq	80(%rbx), %r15
LBB0_8:
	cmpq	40(%rbx), %r15
	jge	LBB0_10
## %bb.9:
	movq	%r15, 40(%rbx)
LBB0_10:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_bbr_log_rtt_sample
	cmpq	$0, 128(%rbx)
	je	LBB0_12
## %bb.11:
	movq	$0, 128(%rbx)
	movl	$0, (%r14)
LBB0_12:
	cmpq	$0, 8(%rbx)
	je	LBB0_13
LBB0_19:
	movq	_USECS_IN_MSEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%r15,%rax), %edi
	decl	%edi
	callq	_USEC_2_TICKS
	movl	%eax, %r15d
	testl	%eax, %eax
	movl	$1, %r9d
	cmovel	%r9d, %r15d
	movl	(%r14), %esi
	testl	%esi, %esi
	je	LBB0_22
## %bb.20:
	leal	-1(%r15), %edi
	movq	_TCP_DELTA_SHIFT@GOTPCREL(%rip), %r8
	movl	(%r8), %ecx
	shll	%cl, %edi
	movq	_TCP_RTT_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	%ecx, %eax
	movl	%esi, %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	subl	%edx, %edi
	addl	%edi, %esi
	cmpl	$2, %esi
	cmovll	%r9d, %esi
	movl	%esi, (%r14)
	movl	%edi, %eax
	negl	%eax
	cmovsl	%edi, %eax
	movq	_TCP_RTTVAR_SHIFT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subl	(%r8), %ecx
	movl	4(%r14), %edx
	addl	%edx, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edx
	subl	%edx, %eax
	cmpl	$2, %eax
	cmovll	%r9d, %eax
	movl	8(%r14), %ecx
	movl	%eax, 4(%r14)
	addl	%esi, %eax
	cmpl	%eax, %ecx
	jle	LBB0_23
## %bb.21:
	movl	%eax, 8(%r14)
	jmp	LBB0_23
LBB0_13:
	cmpq	$0, 120(%rbx)
	je	LBB0_19
## %bb.14:
	cmpq	$0, 112(%rbx)
	je	LBB0_18
## %bb.15:
	cmpl	$0, 16(%rbx)
	je	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	callq	_bbr_make_timestamp_determination
	jmp	LBB0_19
LBB0_22:
	movq	_TCP_RTT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r15d, %eax
	shll	%cl, %eax
	movl	%eax, (%r14)
	movq	_TCP_RTTVAR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	decb	%cl
	movl	%r15d, %edx
	shll	%cl, %edx
	movl	%edx, 4(%r14)
	addl	%eax, %edx
	movl	%edx, 8(%r14)
LBB0_23:
	movq	_tcps_rttupdated@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TCPSTAT_INC
	incl	32(%r14)
	movl	24(%r14), %r12d
	movq	%r14, %rdi
	callq	_TCP_REXMTVAL
	movl	%eax, %r13d
	movq	48(%rbx), %rdi
	callq	_MSEC_2_TICKS
	addl	$2, %r15d
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	_max
	movl	%eax, %r15d
	imulq	$1000, 104(%rbx), %rdi          ## imm = 0x3E8
	callq	_MSEC_2_TICKS
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_TCPT_RANGESET
	movq	$0, 16(%r14)
	movq	96(%rbx), %rax
	movl	(%rax), %edi
	callq	_TICKS_2_USEC
	movq	_TCP_RTT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	cltq
	cmpq	%rax, 56(%rbx)
	jle	LBB0_25
## %bb.24:
	movq	%rax, 56(%rbx)
LBB0_25:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	$0, 16(%rbx)
	jmp	LBB0_19
LBB0_17:
	movl	$1, 16(%rbx)
	movl	64(%rbx), %eax
	movl	72(%rbx), %ecx
	movl	%ecx, 76(%rbx)
	movl	%eax, 68(%rbx)
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_USECS_IN_MSEC,4,2              ## @USECS_IN_MSEC
	.comm	_TCP_DELTA_SHIFT,4,2            ## @TCP_DELTA_SHIFT
	.comm	_TCP_RTT_SHIFT,4,2              ## @TCP_RTT_SHIFT
	.comm	_TCP_RTTVAR_SHIFT,4,2           ## @TCP_RTTVAR_SHIFT
	.comm	_tcps_rttupdated,4,2            ## @tcps_rttupdated
	.comm	_VOI_TCP_RTT,4,2                ## @VOI_TCP_RTT
	.no_dead_strip	_tcp_bbr_xmit_timer_commit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_bbr_xmit_timer_commit
_tcp_bbr_xmit_timer_commit:             ; @tcp_bbr_xmit_timer_commit
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_21
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldp	x21, x22, [x0, #24]
	ldr	x8, [x0, #144]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x23, x2
	str	xzr, [x19, #144]
	add	x24, x19, #88
	mov	x0, x24
	bl	_get_filter_value_small
	subs	x1, x21, x0
	b.le	LBB0_22
; %bb.3:
	mov	x0, x24
	mov	x2, x23
	bl	_filter_increase_by_small
LBB0_4:
	ldr	x8, [x19, #136]
	cbz	x8, LBB0_6
LBB0_5:
	ldr	x8, [x19, #80]
	add	x21, x8, x21
LBB0_6:
	ldr	x8, [x19, #40]
	cmp	x21, x8
	b.ge	LBB0_8
; %bb.7:
	str	x21, [x19, #40]
LBB0_8:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_bbr_log_rtt_sample
	ldr	x8, [x19, #128]
	cbz	x8, LBB0_10
; %bb.9:
	str	xzr, [x19, #128]
	str	wzr, [x20]
LBB0_10:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_13
LBB0_11:
Lloh0:
	adrp	x8, _USECS_IN_MSEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USECS_IN_MSEC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w8, w21, w8
	sub	w0, w8, #1
	bl	_USEC_2_TICKS
	cmp	w0, #0
	csinc	w23, w0, wzr, ne
	ldr	w8, [x20]
Lloh3:
	adrp	x24, _TCP_RTT_SHIFT@GOTPAGE
Lloh4:
	ldr	x24, [x24, _TCP_RTT_SHIFT@GOTPAGEOFF]
	cbz	w8, LBB0_17
; %bb.12:
	sub	w9, w23, #1
Lloh5:
	adrp	x10, _TCP_DELTA_SHIFT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _TCP_DELTA_SHIFT@GOTPAGEOFF]
	ldr	w11, [x10]
	lsl	w9, w9, w11
	ldr	w12, [x24]
	sub	w11, w12, w11
	asr	w11, w8, w11
	sub	w9, w9, w11
	add	w8, w9, w8
	cmp	w8, #1
	csinc	w8, w8, wzr, gt
	str	w8, [x20]
	cmp	w9, #0
	cneg	w9, w9, mi
Lloh7:
	adrp	x11, _TCP_RTTVAR_SHIFT@GOTPAGE
Lloh8:
	ldr	x11, [x11, _TCP_RTTVAR_SHIFT@GOTPAGEOFF]
Lloh9:
	ldr	w11, [x11]
	ldr	w10, [x10]
	sub	w10, w11, w10
	ldp	w11, w12, [x20, #4]
	asr	w10, w11, w10
	add	w9, w9, w11
	sub	w9, w9, w10
	cmp	w9, #1
	csinc	w9, w9, wzr, gt
	str	w9, [x20, #4]
	add	w8, w9, w8
	cmp	w12, w8
	b.gt	LBB0_18
	b	LBB0_19
LBB0_13:
	ldr	x8, [x19, #120]
	cbz	x8, LBB0_11
; %bb.14:
	ldr	x8, [x19, #112]
	cbz	x8, LBB0_23
; %bb.15:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_24
; %bb.16:
	mov	x0, x19
	bl	_bbr_make_timestamp_determination
	b	LBB0_11
LBB0_17:
	ldr	w8, [x24]
	lsl	w8, w23, w8
	str	w8, [x20]
Lloh10:
	adrp	x9, _TCP_RTTVAR_SHIFT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _TCP_RTTVAR_SHIFT@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	sub	w9, w9, #1
	lsl	w9, w23, w9
	add	w8, w9, w8
	str	w9, [x20, #4]
LBB0_18:
	str	w8, [x20, #8]
LBB0_19:
Lloh13:
	adrp	x8, _tcps_rttupdated@GOTPAGE
Lloh14:
	ldr	x8, [x8, _tcps_rttupdated@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_TCPSTAT_INC
	ldr	w8, [x20, #32]
	add	w8, w8, #1
	str	w8, [x20, #32]
	ldr	w21, [x20, #24]
	mov	x0, x20
	bl	_TCP_REXMTVAL
	mov	x22, x0
	ldr	x0, [x19, #48]
	bl	_MSEC_2_TICKS
	add	w1, w23, #2
	bl	_max
	mov	x23, x0
	ldr	x8, [x19, #104]
	mov	w9, #1000
	mul	x0, x8, x9
	bl	_MSEC_2_TICKS
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_TCPT_RANGESET
	str	xzr, [x20, #16]
	ldr	x8, [x19, #96]
	ldr	w0, [x8]
	bl	_TICKS_2_USEC
	ldr	w8, [x24]
	asr	w8, w0, w8
	sxtw	x8, w8
	ldr	x9, [x19, #56]
	cmp	x9, x8
	b.le	LBB0_21
; %bb.20:
	str	x8, [x19, #56]
LBB0_21:
	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
LBB0_22:
	mov	x0, x24
	mov	x1, x21
	mov	x2, x23
	bl	_apply_filter_min_small
	ldr	x8, [x19, #136]
	cbnz	x8, LBB0_5
	b	LBB0_6
LBB0_23:
	str	wzr, [x19, #16]
	b	LBB0_11
LBB0_24:
	mov	w8, #1
	str	w8, [x19, #16]
	ldr	w8, [x19, #72]
	str	w8, [x19, #76]
	ldr	w8, [x19, #64]
	str	w8, [x19, #68]
	b	LBB0_11
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_USECS_IN_MSEC,4,2              ; @USECS_IN_MSEC
	.comm	_TCP_DELTA_SHIFT,4,2            ; @TCP_DELTA_SHIFT
	.comm	_TCP_RTT_SHIFT,4,2              ; @TCP_RTT_SHIFT
	.comm	_TCP_RTTVAR_SHIFT,4,2           ; @TCP_RTTVAR_SHIFT
	.comm	_tcps_rttupdated,4,2            ; @tcps_rttupdated
	.comm	_VOI_TCP_RTT,4,2                ; @VOI_TCP_RTT
	.no_dead_strip	_tcp_bbr_xmit_timer_commit
.subsections_via_symbols
