	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adaptive_coalesce_tx_interrupts
_adaptive_coalesce_tx_interrupts:       ## @adaptive_coalesce_tx_interrupts
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	incq	(%rdi)
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	movslq	%eax, %rdi
	addq	8(%rbx), %rdi
	movq	_jiffies@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	callq	_time_before
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	(%rbx), %rcx
	movq	16(%rbx), %rdi
	movq	(%r14), %rax
	movq	%rax, 8(%rbx)
	movq	_VXGE_T1A_MAX_TX_INTERRUPT_COUNT@GOTPCREL(%rip), %rdx
	movq	(%rdi), %rax
	cmpq	(%rdx), %rcx
	jle	LBB0_3
## %bb.2:
	movq	_VXGE_TTI_RTIMER_ADAPT_VAL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_5
LBB0_3:
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	xorl	%ecx, %ecx
LBB0_5:
	movq	%rcx, (%rdi)
	callq	_vxge_hw_vpath_dynamic_tti_rtimer_set
LBB0_6:
	movq	$0, (%rbx)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HZ,4,2                         ## @HZ
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_VXGE_T1A_MAX_TX_INTERRUPT_COUNT,8,3 ## @VXGE_T1A_MAX_TX_INTERRUPT_COUNT
	.comm	_VXGE_TTI_RTIMER_ADAPT_VAL,8,3  ## @VXGE_TTI_RTIMER_ADAPT_VAL
	.no_dead_strip	_adaptive_coalesce_tx_interrupts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adaptive_coalesce_tx_interrupts
_adaptive_coalesce_tx_interrupts:       ; @adaptive_coalesce_tx_interrupts
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldp	x8, x9, [x0]
	add	x8, x8, #1
	str	x8, [x0]
Lloh0:
	adrp	x8, _HZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	mul	x8, x8, x10
	lsr	x10, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w10
	add	x0, x9, w8, sxtw
Lloh3:
	adrp	x20, _jiffies@GOTPAGE
Lloh4:
	ldr	x20, [x20, _jiffies@GOTPAGEOFF]
	ldr	x1, [x20]
	bl	_time_before
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x0, [x19, #16]
	ldr	x8, [x20]
	str	x8, [x19, #8]
	ldr	x10, [x19]
Lloh5:
	adrp	x8, _VXGE_T1A_MAX_TX_INTERRUPT_COUNT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VXGE_T1A_MAX_TX_INTERRUPT_COUNT@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x8]
	ldr	x8, [x0]
Lloh8:
	adrp	x9, _VXGE_TTI_RTIMER_ADAPT_VAL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VXGE_TTI_RTIMER_ADAPT_VAL@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x10, x11
	ccmp	x8, x9, #4, gt
	b.ne	LBB0_4
; %bb.2:
	cbz	x8, LBB0_5
; %bb.3:
	mov	x9, #0
LBB0_4:
	str	x9, [x0]
	bl	_vxge_hw_vpath_dynamic_tti_rtimer_set
LBB0_5:
	str	xzr, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_HZ,4,2                         ; @HZ
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_VXGE_T1A_MAX_TX_INTERRUPT_COUNT,8,3 ; @VXGE_T1A_MAX_TX_INTERRUPT_COUNT
	.comm	_VXGE_TTI_RTIMER_ADAPT_VAL,8,3  ; @VXGE_TTI_RTIMER_ADAPT_VAL
	.no_dead_strip	_adaptive_coalesce_tx_interrupts
.subsections_via_symbols
