	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_update_itr
_i40e_update_itr:                       ## @i40e_update_itr
	.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
	movq	24(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_34
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	movl	(%rax), %edi
	callq	_ITR_IS_DYNAMIC
	testl	%eax, %eax
	je	LBB0_34
## %bb.2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_i40e_container_is_rx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_I40E_ITR_ADAPTIVE_MAX_USECS@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_I40E_ITR_ADAPTIVE_MIN_USECS@GOTPCREL(%rip), %rax
LBB0_5:
	movq	_I40E_ITR_ADAPTIVE_LATENCY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	orl	(%rax), %r12d
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_33
## %bb.6:
	cmpq	$0, 16(%r15)
	je	LBB0_8
## %bb.7:
	movl	8(%rbx), %r12d
	jmp	LBB0_33
LBB0_8:
	movl	12(%rbx), %r13d
	movl	16(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_i40e_container_is_rx
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	leal	-1(%r13), %eax
	cmpl	$2, %eax
	movq	%r13, %rsi
	movq	_I40E_ITR_ADAPTIVE_LATENCY@GOTPCREL(%rip), %r13
	ja	LBB0_17
## %bb.10:
	cmpl	$8999, -44(%rbp)                ## 4-byte Folded Reload
                                        ## imm = 0x2327
	ja	LBB0_17
## %bb.11:
	movl	(%r13), %ecx
	testl	%ecx, 8(%r15)
	jne	LBB0_23
	jmp	LBB0_18
LBB0_12:
	cmpl	$3, %r13d
	ja	LBB0_15
## %bb.13:
	movl	8(%rbx), %eax
	movq	_I40E_ITR_ADAPTIVE_MAX_USECS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	_I40E_ITR_ADAPTIVE_LATENCY@GOTPCREL(%rip), %r13
	jne	LBB0_18
## %bb.14:
	movq	_I40E_ITR_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%r15), %ecx
	cmpl	%eax, %ecx
	jne	LBB0_18
	jmp	LBB0_33
LBB0_15:
	movq	%r13, %rsi
	cmpl	$33, %esi
	movq	_I40E_ITR_ADAPTIVE_LATENCY@GOTPCREL(%rip), %r13
	jb	LBB0_18
## %bb.16:
	movl	(%r13), %eax
	notl	%eax
	andl	%eax, 8(%rbx)
LBB0_17:
	cmpl	$55, %esi
	ja	LBB0_19
LBB0_18:
	movq	_I40E_ITR_ADAPTIVE_MIN_INC@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	addl	8(%rbx), %r12d
	jmp	LBB0_31
LBB0_19:
	cmpl	$256, %esi                      ## imm = 0x100
	ja	LBB0_22
## %bb.20:
	movq	%rsi, %r13
	movl	4(%r15), %esi
	movl	12(%r15), %edi
	callq	_min
	movl	%eax, %r12d
	movq	_I40E_ITR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%eax, %r12d
	cmpl	$113, %r13d
	jb	LBB0_33
## %bb.21:
	shrl	%r12d
	andl	%eax, %r12d
	movq	_I40E_ITR_ADAPTIVE_MIN_USECS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r12d
	cmovbel	%eax, %r12d
	jmp	LBB0_33
LBB0_22:
	movq	_I40E_ITR_ADAPTIVE_BULK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_23:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
	movl	$4096, %r12d                    ## imm = 0x1000
	cmpl	$61, %eax
	jb	LBB0_30
## %bb.24:
	cmpl	$380, %eax                      ## imm = 0x17C
	ja	LBB0_26
## %bb.25:
	leal	(%rax,%rax,4), %eax
	leal	1696(,%rax,8), %r12d
	jmp	LBB0_30
LBB0_26:
	cmpl	$1084, %eax                     ## imm = 0x43C
	ja	LBB0_28
## %bb.27:
	leal	(%rax,%rax,4), %eax
	leal	(%rax,%rax,2), %r12d
	addl	$11452, %r12d                   ## imm = 0x2CBC
	jmp	LBB0_30
LBB0_28:
	movl	$32256, %r12d                   ## imm = 0x7E00
	cmpl	$1980, %eax                     ## imm = 0x7BC
	ja	LBB0_30
## %bb.29:
	leal	(%rax,%rax,4), %r12d
	addl	$22420, %r12d                   ## imm = 0x5794
LBB0_30:
	movl	(%r13), %eax
	andl	%ecx, %eax
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	setne	%cl
	shrl	%cl, %r12d
	movq	%r15, %rdi
	callq	_i40e_itr_divisor
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_DIV_ROUND_UP
	movl	%eax, %r12d
	movq	_I40E_ITR_ADAPTIVE_MIN_INC@GOTPCREL(%rip), %rax
	imull	(%rax), %r12d
	addl	-44(%rbp), %r12d                ## 4-byte Folded Reload
LBB0_31:
	movq	_I40E_ITR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%r12d, %ecx
	movq	_I40E_ITR_ADAPTIVE_MAX_USECS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jbe	LBB0_33
## %bb.32:
	andl	(%r13), %r12d
	addl	%eax, %r12d
LBB0_33:
	movl	%r12d, 8(%rbx)
	incq	%r14
	movq	%r14, (%rbx)
	movq	$0, 12(%rbx)
LBB0_34:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_I40E_ITR_ADAPTIVE_MIN_USECS,4,2 ## @I40E_ITR_ADAPTIVE_MIN_USECS
	.comm	_I40E_ITR_ADAPTIVE_LATENCY,4,2  ## @I40E_ITR_ADAPTIVE_LATENCY
	.comm	_I40E_ITR_ADAPTIVE_MAX_USECS,4,2 ## @I40E_ITR_ADAPTIVE_MAX_USECS
	.comm	_I40E_ITR_MASK,4,2              ## @I40E_ITR_MASK
	.comm	_I40E_ITR_ADAPTIVE_MIN_INC,4,2  ## @I40E_ITR_ADAPTIVE_MIN_INC
	.comm	_I40E_ITR_ADAPTIVE_BULK,4,2     ## @I40E_ITR_ADAPTIVE_BULK
	.no_dead_strip	_i40e_update_itr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_update_itr
_i40e_update_itr:                       ; @i40e_update_itr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, [x1, #24]
	cbz	x8, LBB0_29
; %bb.1:
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x9, _jiffies@GOTPAGE
Lloh1:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x9]
	ldr	w0, [x8]
	bl	_ITR_IS_DYNAMIC
	cbz	w0, LBB0_29
; %bb.2:
	mov	x0, x21
	mov	x1, x19
	bl	_i40e_container_is_rx
Lloh3:
	adrp	x24, _I40E_ITR_ADAPTIVE_MAX_USECS@GOTPAGE
Lloh4:
	ldr	x24, [x24, _I40E_ITR_ADAPTIVE_MAX_USECS@GOTPAGEOFF]
Lloh5:
	adrp	x25, _I40E_ITR_ADAPTIVE_MIN_USECS@GOTPAGE
Lloh6:
	ldr	x25, [x25, _I40E_ITR_ADAPTIVE_MIN_USECS@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x24, x25, eq
	ldr	w8, [x8]
Lloh7:
	adrp	x23, _I40E_ITR_ADAPTIVE_LATENCY@GOTPAGE
Lloh8:
	ldr	x23, [x23, _I40E_ITR_ADAPTIVE_LATENCY@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w22, w9, w8
	ldr	x1, [x19]
	mov	x0, x20
	bl	_time_after
	cbnz	x0, LBB0_28
; %bb.3:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w22, [x19, #8]
	b	LBB0_28
LBB0_5:
	ldp	w26, w27, [x19, #12]
	mov	x0, x21
	mov	x1, x19
	bl	_i40e_container_is_rx
	cbz	x0, LBB0_9
; %bb.6:
	sub	w8, w26, #1
	cmp	w8, #2
	b.hi	LBB0_14
; %bb.7:
	lsr	w8, w27, #3
	cmp	w8, #1124
	b.hi	LBB0_14
; %bb.8:
	ldr	w8, [x21, #8]
	ldr	w25, [x23]
	tst	w25, w8
	b.ne	LBB0_20
	b	LBB0_15
LBB0_9:
	cmp	w26, #3
	b.hi	LBB0_12
; %bb.10:
	ldr	w8, [x19, #8]
	ldr	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_15
; %bb.11:
	ldr	w9, [x21]
Lloh9:
	adrp	x10, _I40E_ITR_MASK@GOTPAGE
Lloh10:
	ldr	x10, [x10, _I40E_ITR_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	and	w9, w10, w9
	cmp	w9, w8
	b.ne	LBB0_15
	b	LBB0_28
LBB0_12:
	cmp	w26, #33
	b.lo	LBB0_15
; %bb.13:
	ldr	w8, [x23]
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
	str	w8, [x19, #8]
LBB0_14:
	cmp	w26, #55
	b.hi	LBB0_16
LBB0_15:
	ldr	w8, [x19, #8]
Lloh12:
	adrp	x9, _I40E_ITR_ADAPTIVE_MIN_INC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _I40E_ITR_ADAPTIVE_MIN_INC@GOTPAGEOFF]
Lloh14:
	adrp	x10, _I40E_ITR_MASK@GOTPAGE
Lloh15:
	ldr	x10, [x10, _I40E_ITR_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	ldr	w10, [x10]
	add	w22, w9, w8
	and	w9, w22, w10
	b	LBB0_26
LBB0_16:
	cmp	w26, #256
	b.hi	LBB0_19
; %bb.17:
	ldr	w0, [x21, #12]
	ldr	w1, [x21, #4]
	bl	_min
Lloh18:
	adrp	x8, _I40E_ITR_MASK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _I40E_ITR_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	and	w22, w8, w0
	cmp	w26, #113
	b.lo	LBB0_28
; %bb.18:
	and	w8, w8, w22, lsr #1
	ldr	w9, [x25]
	cmp	w8, w9
	csel	w22, w8, w9, hi
	b	LBB0_28
LBB0_19:
Lloh21:
	adrp	x8, _I40E_ITR_ADAPTIVE_BULK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _I40E_ITR_ADAPTIVE_BULK@GOTPAGEOFF]
Lloh23:
	ldr	w25, [x8]
LBB0_20:
	udiv	w8, w27, w26
	cmp	w8, #61
	b.hs	LBB0_22
; %bb.21:
	mov	w8, #4096
	b	LBB0_25
LBB0_22:
	cmp	w8, #380
	b.hi	LBB0_24
; %bb.23:
	mov	w9, #40
	mul	w8, w8, w9
	add	w8, w8, #1696
	b	LBB0_25
LBB0_24:
	mov	w9, #32256
	add	w10, w8, w8, lsl #2
	mov	w11, #22420
	add	w10, w10, w11
	cmp	w8, #1980
	csel	w9, w9, w10, hi
	lsl	w10, w8, #4
	mov	w11, #11452
	sub	w10, w10, w8
	add	w10, w10, w11
	cmp	w8, #1084
	csel	w8, w9, w10, hi
LBB0_25:
	ldr	w9, [x23]
	tst	w9, w25
	cset	w9, ne
	lsr	w22, w8, w9
	mov	x0, x21
	bl	_i40e_itr_divisor
	mov	x1, x0
	mov	x0, x22
	bl	_DIV_ROUND_UP
Lloh24:
	adrp	x8, _I40E_ITR_ADAPTIVE_MIN_INC@GOTPAGE
Lloh25:
	ldr	x8, [x8, _I40E_ITR_ADAPTIVE_MIN_INC@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	madd	w22, w8, w0, w25
Lloh27:
	adrp	x8, _I40E_ITR_MASK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _I40E_ITR_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	and	w9, w22, w8
LBB0_26:
	ldr	w8, [x24]
	cmp	w9, w8
	b.ls	LBB0_28
; %bb.27:
	ldr	w9, [x23]
	and	w9, w9, w22
	add	w22, w9, w8
LBB0_28:
	add	x8, x20, #1
	str	x8, [x19]
	stp	wzr, wzr, [x19, #12]
	str	w22, [x19, #8]
LBB0_29:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_I40E_ITR_ADAPTIVE_MIN_USECS,4,2 ; @I40E_ITR_ADAPTIVE_MIN_USECS
	.comm	_I40E_ITR_ADAPTIVE_LATENCY,4,2  ; @I40E_ITR_ADAPTIVE_LATENCY
	.comm	_I40E_ITR_ADAPTIVE_MAX_USECS,4,2 ; @I40E_ITR_ADAPTIVE_MAX_USECS
	.comm	_I40E_ITR_MASK,4,2              ; @I40E_ITR_MASK
	.comm	_I40E_ITR_ADAPTIVE_MIN_INC,4,2  ; @I40E_ITR_ADAPTIVE_MIN_INC
	.comm	_I40E_ITR_ADAPTIVE_BULK,4,2     ; @I40E_ITR_ADAPTIVE_BULK
	.no_dead_strip	_i40e_update_itr
.subsections_via_symbols
