	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_update_itr
_ice_update_itr:                        ## @ice_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
	cmpl	$0, 32(%rsi)
	je	LBB0_26
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	28(%rsi), %edi
	callq	_ITR_IS_DYNAMIC
	testl	%eax, %eax
	je	LBB0_26
## %bb.2:
	cmpq	$0, 56(%r15)
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %r12d
	jmp	LBB0_25
LBB0_4:
	leaq	8(%r15), %r13
	cmpq	%rbx, %r13
	jne	LBB0_5
## %bb.6:
	movq	_ICE_ITR_ADAPTIVE_MIN_USECS@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_ICE_ITR_ADAPTIVE_MAX_USECS@GOTPCREL(%rip), %rax
LBB0_7:
	movq	_ICE_ITR_ADAPTIVE_LATENCY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	orl	(%rax), %r12d
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_8
LBB0_25:
	movl	%r12d, (%rbx)
	incq	%r14
	movq	%r14, 8(%rbx)
	movq	$0, 16(%rbx)
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_prefetch
	movl	16(%rbx), %esi
	movl	20(%rbx), %eax
	cmpq	%rbx, %r13
	je	LBB0_9
## %bb.12:
	cmpl	$3, %esi
	ja	LBB0_15
## %bb.13:
	movl	(%rbx), %eax
	movq	_ICE_ITR_ADAPTIVE_MAX_USECS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	_ICE_ITR_ADAPTIVE_LATENCY@GOTPCREL(%rip), %rdx
	jne	LBB0_18
## %bb.14:
	movq	_ICE_ITR_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%r13), %ecx
	cmpl	%eax, %ecx
	je	LBB0_25
	jmp	LBB0_18
LBB0_9:
	leal	-1(%rsi), %ecx
	cmpl	$2, %ecx
	movq	_ICE_ITR_ADAPTIVE_LATENCY@GOTPCREL(%rip), %rdx
	ja	LBB0_17
## %bb.10:
	cmpl	$8999, %eax                     ## imm = 0x2327
	ja	LBB0_17
## %bb.11:
	movl	(%rdx), %ecx
	testl	%ecx, 48(%r15)
	jne	LBB0_24
	jmp	LBB0_18
LBB0_15:
	cmpl	$33, %esi
	movq	_ICE_ITR_ADAPTIVE_LATENCY@GOTPCREL(%rip), %rdx
	jb	LBB0_18
## %bb.16:
	movl	(%rdx), %ecx
	notl	%ecx
	andl	%ecx, (%rbx)
LBB0_17:
	cmpl	$55, %esi
	ja	LBB0_20
LBB0_18:
	movq	_ICE_ITR_ADAPTIVE_MIN_INC@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	addl	(%rbx), %r12d
	movq	_ICE_ITR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%r12d, %ecx
	movq	_ICE_ITR_ADAPTIVE_MAX_USECS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jbe	LBB0_25
## %bb.19:
	andl	(%rdx), %r12d
	addl	%eax, %r12d
	jmp	LBB0_25
LBB0_20:
	cmpl	$256, %esi                      ## imm = 0x100
	ja	LBB0_23
## %bb.21:
	movq	%rsi, %r13
	movl	32(%r15), %esi
	movl	52(%r15), %edi
	callq	_min
	movl	%eax, %r12d
	movq	_ICE_ITR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%eax, %r12d
	cmpl	$113, %r13d
	jb	LBB0_25
## %bb.22:
	shrl	%r12d
	andl	%eax, %r12d
	movq	_ICE_ITR_ADAPTIVE_MIN_USECS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r12d
	cmovbel	%eax, %r12d
	jmp	LBB0_25
LBB0_23:
	movq	_ICE_ITR_ADAPTIVE_BULK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_24:
	movq	(%r15), %rdx
	movl	(%rdx), %edi
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %esi
	movl	%ecx, %edx
	callq	_ice_adjust_itr_by_size_and_speed
	movl	%eax, %r12d
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_ICE_ITR_ADAPTIVE_MIN_USECS,4,2 ## @ICE_ITR_ADAPTIVE_MIN_USECS
	.comm	_ICE_ITR_ADAPTIVE_LATENCY,4,2   ## @ICE_ITR_ADAPTIVE_LATENCY
	.comm	_ICE_ITR_ADAPTIVE_MAX_USECS,4,2 ## @ICE_ITR_ADAPTIVE_MAX_USECS
	.comm	_ICE_ITR_MASK,4,2               ## @ICE_ITR_MASK
	.comm	_ICE_ITR_ADAPTIVE_MIN_INC,4,2   ## @ICE_ITR_ADAPTIVE_MIN_INC
	.comm	_ICE_ITR_ADAPTIVE_BULK,4,2      ## @ICE_ITR_ADAPTIVE_BULK
	.no_dead_strip	_ice_update_itr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_update_itr
_ice_update_itr:                        ; @ice_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	w8, [x1, #32]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	ldr	w0, [x1, #28]
	bl	_ITR_IS_DYNAMIC
	cbz	w0, LBB0_6
; %bb.2:
	ldr	x8, [x21, #56]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w22, [x19]
	b	LBB0_5
LBB0_4:
	add	x27, x21, #8
Lloh3:
	adrp	x25, _ICE_ITR_ADAPTIVE_MIN_USECS@GOTPAGE
Lloh4:
	ldr	x25, [x25, _ICE_ITR_ADAPTIVE_MIN_USECS@GOTPAGEOFF]
Lloh5:
	adrp	x24, _ICE_ITR_ADAPTIVE_MAX_USECS@GOTPAGE
Lloh6:
	ldr	x24, [x24, _ICE_ITR_ADAPTIVE_MAX_USECS@GOTPAGEOFF]
	cmp	x27, x19
	csel	x8, x25, x24, eq
	ldr	w8, [x8]
Lloh7:
	adrp	x23, _ICE_ITR_ADAPTIVE_LATENCY@GOTPAGE
Lloh8:
	ldr	x23, [x23, _ICE_ITR_ADAPTIVE_LATENCY@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w22, w9, w8
	ldr	x1, [x19, #8]
	mov	x0, x20
	bl	_time_after
	cbz	x0, LBB0_7
LBB0_5:
	str	w22, [x19]
	add	x8, x20, #1
	stp	x8, xzr, [x19, #8]
LBB0_6:
	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
LBB0_7:
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_prefetch
	ldp	w26, w8, [x19, #16]
	cmp	x27, x19
	b.eq	LBB0_11
; %bb.8:
	cmp	w26, #3
	b.hi	LBB0_14
; %bb.9:
	ldr	w8, [x19]
	ldr	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_17
; %bb.10:
	ldr	w9, [x27]
Lloh9:
	adrp	x10, _ICE_ITR_MASK@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ICE_ITR_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	and	w9, w10, w9
	cmp	w9, w8
	b.eq	LBB0_5
	b	LBB0_17
LBB0_11:
	sub	w9, w26, #1
	cmp	w9, #2
	b.hi	LBB0_16
; %bb.12:
	lsr	w9, w8, #3
	cmp	w9, #1124
	b.hi	LBB0_16
; %bb.13:
	ldr	w9, [x21, #48]
	ldr	w2, [x23]
	tst	w2, w9
	b.ne	LBB0_23
	b	LBB0_17
LBB0_14:
	cmp	w26, #33
	b.lo	LBB0_17
; %bb.15:
	ldr	w9, [x23]
	ldr	w10, [x19]
	bic	w9, w10, w9
	str	w9, [x19]
LBB0_16:
	cmp	w26, #55
	b.hi	LBB0_19
LBB0_17:
	ldr	w8, [x19]
Lloh12:
	adrp	x9, _ICE_ITR_ADAPTIVE_MIN_INC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ICE_ITR_ADAPTIVE_MIN_INC@GOTPAGEOFF]
Lloh14:
	adrp	x10, _ICE_ITR_MASK@GOTPAGE
Lloh15:
	ldr	x10, [x10, _ICE_ITR_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	ldr	w10, [x10]
	add	w22, w9, w8
	and	w9, w22, w10
	ldr	w8, [x24]
	cmp	w9, w8
	b.ls	LBB0_5
; %bb.18:
	ldr	w9, [x23]
	and	w9, w9, w22
	add	w22, w9, w8
	b	LBB0_5
LBB0_19:
	cmp	w26, #256
	b.hi	LBB0_22
; %bb.20:
	ldr	w0, [x21, #52]
	ldr	w1, [x21, #32]
	bl	_min
Lloh18:
	adrp	x8, _ICE_ITR_MASK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ICE_ITR_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	and	w22, w8, w0
	cmp	w26, #113
	b.lo	LBB0_5
; %bb.21:
	and	w8, w8, w22, lsr #1
	ldr	w9, [x25]
	cmp	w8, w9
	csel	w22, w8, w9, hi
	b	LBB0_5
LBB0_22:
Lloh21:
	adrp	x9, _ICE_ITR_ADAPTIVE_BULK@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ICE_ITR_ADAPTIVE_BULK@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x9]
LBB0_23:
	ldr	x9, [x21]
	ldr	w0, [x9]
	udiv	w1, w8, w26
	bl	_ice_adjust_itr_by_size_and_speed
	mov	x22, x0
	b	LBB0_5
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_ICE_ITR_ADAPTIVE_MIN_USECS,4,2 ; @ICE_ITR_ADAPTIVE_MIN_USECS
	.comm	_ICE_ITR_ADAPTIVE_LATENCY,4,2   ; @ICE_ITR_ADAPTIVE_LATENCY
	.comm	_ICE_ITR_ADAPTIVE_MAX_USECS,4,2 ; @ICE_ITR_ADAPTIVE_MAX_USECS
	.comm	_ICE_ITR_MASK,4,2               ; @ICE_ITR_MASK
	.comm	_ICE_ITR_ADAPTIVE_MIN_INC,4,2   ; @ICE_ITR_ADAPTIVE_MIN_INC
	.comm	_ICE_ITR_ADAPTIVE_BULK,4,2      ; @ICE_ITR_ADAPTIVE_BULK
	.no_dead_strip	_ice_update_itr
.subsections_via_symbols
