	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_handle_lan_overflow_event
_i40e_handle_lan_overflow_event:        ## @i40e_handle_lan_overflow_event
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movl	4(%rsi), %edi
	callq	_le32_to_cpu
	movl	%eax, %r15d
	movl	(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movq	8(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	callq	_dev_dbg
	movq	_I40E_QTX_CTL_PFVF_Q_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	movq	_I40E_QTX_CTL_PFVF_Q_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	_I40E_QTX_CTL_VF_QUEUE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.2:
	movq	_I40E_QTX_CTL_VFVM_INDX_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_I40E_QTX_CTL_VFVM_INDX_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %ebx
	movslq	%ebx, %rbx
	subq	16(%r14), %rbx
	shlq	$2, %rbx
	addq	(%r14), %rbx
	movq	%rbx, %rdi
	callq	_i40e_vc_notify_vf_reset
	movl	$20, %edi
	callq	_msleep
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i40e_reset_vf                  ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"overflow Rx Queue Number = %d QTX_CTL=0x%08x\n"

	.comm	_I40E_QTX_CTL_PFVF_Q_MASK,4,2   ## @I40E_QTX_CTL_PFVF_Q_MASK
	.comm	_I40E_QTX_CTL_PFVF_Q_SHIFT,4,2  ## @I40E_QTX_CTL_PFVF_Q_SHIFT
	.comm	_I40E_QTX_CTL_VF_QUEUE,4,2      ## @I40E_QTX_CTL_VF_QUEUE
	.comm	_I40E_QTX_CTL_VFVM_INDX_MASK,4,2 ## @I40E_QTX_CTL_VFVM_INDX_MASK
	.comm	_I40E_QTX_CTL_VFVM_INDX_SHIFT,4,2 ## @I40E_QTX_CTL_VFVM_INDX_SHIFT
	.no_dead_strip	_i40e_handle_lan_overflow_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_handle_lan_overflow_event
_i40e_handle_lan_overflow_event:        ; @i40e_handle_lan_overflow_event
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x1, #4]
	bl	_le32_to_cpu
	mov	x21, x0
	ldr	w0, [x20]
	bl	_le32_to_cpu
	mov	x20, x0
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x20
	bl	_dev_dbg
Lloh2:
	adrp	x8, _I40E_QTX_CTL_PFVF_Q_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _I40E_QTX_CTL_PFVF_Q_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	and	w8, w8, w20
Lloh5:
	adrp	x9, _I40E_QTX_CTL_PFVF_Q_SHIFT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _I40E_QTX_CTL_PFVF_Q_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh8:
	adrp	x9, _I40E_QTX_CTL_VF_QUEUE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _I40E_QTX_CTL_VF_QUEUE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _I40E_QTX_CTL_VFVM_INDX_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _I40E_QTX_CTL_VFVM_INDX_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	and	w8, w8, w20
Lloh14:
	adrp	x9, _I40E_QTX_CTL_VFVM_INDX_SHIFT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _I40E_QTX_CTL_VFVM_INDX_SHIFT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	asr	w8, w8, w9
	sxtw	x8, w8
	ldr	x9, [x19, #16]
	sub	x8, x8, x9
	ldr	x9, [x19]
	add	x19, x9, x8, lsl #2
	mov	x0, x19
	bl	_i40e_vc_notify_vf_reset
	mov	w0, #20
	bl	_msleep
	mov	x0, x19
	mov	w1, #0
	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
	b	_i40e_reset_vf
LBB0_2:
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"overflow Rx Queue Number = %d QTX_CTL=0x%08x\n"

	.comm	_I40E_QTX_CTL_PFVF_Q_MASK,4,2   ; @I40E_QTX_CTL_PFVF_Q_MASK
	.comm	_I40E_QTX_CTL_PFVF_Q_SHIFT,4,2  ; @I40E_QTX_CTL_PFVF_Q_SHIFT
	.comm	_I40E_QTX_CTL_VF_QUEUE,4,2      ; @I40E_QTX_CTL_VF_QUEUE
	.comm	_I40E_QTX_CTL_VFVM_INDX_MASK,4,2 ; @I40E_QTX_CTL_VFVM_INDX_MASK
	.comm	_I40E_QTX_CTL_VFVM_INDX_SHIFT,4,2 ; @I40E_QTX_CTL_VFVM_INDX_SHIFT
	.no_dead_strip	_i40e_handle_lan_overflow_event
.subsections_via_symbols
