	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bbr_set_pktepoch
_bbr_set_pktepoch:                      ## @bbr_set_pktepoch
	.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	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	xorl	%r14d, %r14d
	subq	16(%rdi), %r15
	cmovleq	%r14, %r15
	movq	24(%rdi), %rax
	movq	32(%rdi), %rcx
	movq	%rax, %r13
	subq	%rcx, %r13
	testq	%r15, %r15
	je	LBB0_3
## %bb.1:
	movl	$1000, %r14d                    ## imm = 0x3E8
	cmpq	%rcx, %rax
	je	LBB0_3
## %bb.2:
	imull	$1000, %r15d, %eax              ## imm = 0x3E8
	cltd
	idivl	%r13d
	movslq	%eax, %r14
LBB0_3:
	movq	%r14, 64(%rbx)
	movq	80(%rbx), %rax
	movl	(%rax), %edi
	callq	_IN_RECOVERY
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	addl	%r14d, 60(%rbx)
LBB0_5:
	movq	40(%rbx), %rax
	incq	%rax
	movq	%rax, 40(%rbx)
	cmpq	$0, 72(%rbx)
	je	LBB0_8
## %bb.6:
	cmpq	(%rbx), %rax
	jl	LBB0_8
## %bb.7:
	movq	$0, 72(%rbx)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_tcp_bbr_tso_size_check
LBB0_8:
	movq	48(%rbx), %rsi
	movq	%r12, %rdi
	callq	_bbr_calc_time
	movl	%eax, 56(%rbx)
	movq	%r12, 48(%rbx)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r15, %rcx
	movq	%r13, %r8
	callq	_bbr_log_pkt_epoch
	movq	8(%rbx), %rax
	movq	24(%rbx), %rcx
	movq	%rcx, 32(%rbx)
	movq	%rax, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bbr_set_pktepoch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bbr_set_pktepoch
_bbr_set_pktepoch:                      ; @bbr_set_pktepoch
	.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, x2
	mov	x21, x1
	mov	x19, x0
	ldp	x8, x9, [x0, #8]
	subs	x8, x8, x9
	csel	x22, x8, xzr, gt
	ldp	x8, x9, [x0, #24]
	subs	x23, x8, x9
	mov	w8, #1000
	mul	w9, w22, w8
	sdiv	w9, w9, w23
	sxtw	x9, w9
	csel	x8, x8, x9, eq
	cmp	x22, #0
	csel	x24, xzr, x8, eq
	str	x24, [x0, #64]
	ldr	x8, [x0, #80]
	ldr	w0, [x8]
	bl	_IN_RECOVERY
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x19, #60]
	add	w8, w8, w24
	str	w8, [x19, #60]
LBB0_2:
	ldr	x8, [x19, #40]
	add	x8, x8, #1
	str	x8, [x19, #40]
	ldr	x9, [x19, #72]
	cbz	x9, LBB0_5
; %bb.3:
	ldr	x9, [x19]
	cmp	x8, x9
	b.lt	LBB0_5
; %bb.4:
	str	xzr, [x19, #72]
	mov	x0, x19
	mov	x1, x21
	bl	_tcp_bbr_tso_size_check
LBB0_5:
	ldr	x1, [x19, #48]
	mov	x0, x21
	bl	_bbr_calc_time
	str	w0, [x19, #56]
	str	x21, [x19, #48]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, x22
	mov	x4, x23
	bl	_bbr_log_pkt_epoch
	ldr	x8, [x19, #24]
	str	x8, [x19, #32]
	ldr	x8, [x19, #8]
	str	x8, [x19, #16]
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bbr_set_pktepoch
.subsections_via_symbols
