	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_update_itr
_fm10k_update_itr:                      ## @fm10k_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_ITR_IS_ADAPTIVE
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movl	4(%rbx), %ecx
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.2:
	movl	8(%rbx), %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$360, %eax                      ## imm = 0x168
	ja	LBB0_4
## %bb.3:
	leal	376(,%rax,8), %r15d
	jmp	LBB0_7
LBB0_4:
	cmpl	$1152, %eax                     ## imm = 0x480
	ja	LBB0_6
## %bb.5:
	leal	(%rax,%rax,2), %r15d
	addl	$2176, %r15d                    ## imm = 0x880
	jmp	LBB0_7
LBB0_6:
	leal	4480(%rax), %ecx
	cmpl	$1921, %eax                     ## imm = 0x781
	movl	$6656, %r15d                    ## imm = 0x1A00
	cmovbl	%ecx, %r15d
LBB0_7:
	movl	12(%rbx), %edi
	callq	_READ_ONCE
                                        ## kill: def $eax killed $eax def $rax
	leal	8(%rax), %r14d
	movl	%r14d, %edi
	callq	_BIT
                                        ## kill: def $eax killed $eax def $rax
	addl	%r15d, %eax
	decl	%eax
	movl	%r14d, %ecx
	shrl	%cl, %eax
	movq	_FM10K_ITR_ADAPTIVE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
LBB0_8:
	movq	$0, 4(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_ITR_ADAPTIVE,4,2         ## @FM10K_ITR_ADAPTIVE
	.no_dead_strip	_fm10k_update_itr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_update_itr
_fm10k_update_itr:                      ; @fm10k_update_itr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	w0, [x0]
	bl	_ITR_IS_ADAPTIVE
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_3
; %bb.2:
	ldp	w9, w0, [x19, #8]
	udiv	w8, w9, w8
	mov	w9, #4480
	add	w9, w8, w9
	mov	w10, #6656
	cmp	w8, #1921
	csel	w9, w9, w10, lo
	add	w10, w8, w8, lsl #1
	add	w10, w10, #2176
	cmp	w8, #1152
	csel	w9, w9, w10, hi
	lsl	w10, w8, #3
	add	w10, w10, #376
	cmp	w8, #360
	csel	w21, w9, w10, hi
	bl	_READ_ONCE
	add	w20, w0, #8
	mov	x0, x20
	bl	_BIT
	add	w8, w21, w0
	sub	w8, w8, #1
	lsr	w8, w8, w20
Lloh0:
	adrp	x9, _FM10K_ITR_ADAPTIVE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FM10K_ITR_ADAPTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
LBB0_3:
	stp	wzr, wzr, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_ITR_ADAPTIVE,4,2         ; @FM10K_ITR_ADAPTIVE
	.no_dead_strip	_fm10k_update_itr
.subsections_via_symbols
