	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_handle_mdd_event
_i40e_handle_mdd_event:                 ## @i40e_handle_mdd_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___I40E_MDD_EVENT_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_22
## %bb.1:
	leaq	24(%rbx), %r12
	movq	_I40E_GL_MDET_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_rd32
	movl	%eax, %r15d
	movq	_I40E_GL_MDET_TX_VALID_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	testl	%r15d, %r14d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.2:
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	movq	_I40E_GL_MDET_TX_PF_NUM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_I40E_GL_MDET_TX_PF_NUM_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_I40E_GL_MDET_TX_VF_NUM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_I40E_GL_MDET_TX_VF_NUM_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	_I40E_GL_MDET_TX_EVENT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_I40E_GL_MDET_TX_EVENT_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	_I40E_GL_MDET_TX_QUEUE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_I40E_GL_MDET_TX_QUEUE_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	24(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_netif_msg_tx_err
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	andl	%r15d, %r13d
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %r13d
	subl	%r14d, %r13d
	andl	%r15d, %r12d
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %r12d
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	andl	%r15d, %r9d
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %r9d
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	andl	%r15d, %r8d
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %r8d
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_dev_info
LBB0_4:
	movq	_I40E_GL_MDET_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	$-1, %edx
	callq	_wr32
	movl	-56(%rbp), %r14d                ## 4-byte Reload
LBB0_5:
	movq	_I40E_GL_MDET_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_rd32
	movl	%eax, %r13d
	movq	_I40E_GL_MDET_RX_VALID_MASK@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_9
## %bb.6:
	movq	_I40E_GL_MDET_RX_FUNCTION_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_I40E_GL_MDET_RX_FUNCTION_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_I40E_GL_MDET_RX_EVENT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_I40E_GL_MDET_RX_EVENT_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_I40E_GL_MDET_RX_QUEUE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_I40E_GL_MDET_RX_QUEUE_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	24(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_netif_msg_rx_err
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	andl	%r13d, %r15d
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %r15d
	subl	%r14d, %r15d
	andl	%r13d, %r12d
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %r12d
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	andl	%r13d, %r8d
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %r8d
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_dev_info
LBB0_8:
	movq	_I40E_GL_MDET_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	$-1, %edx
	callq	_wr32
	jmp	LBB0_10
LBB0_22:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	testl	%r15d, %r14d
	je	LBB0_21
LBB0_10:
	movq	_I40E_PF_MDET_TX@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_rd32
	movq	_I40E_PF_MDET_TX_VALID_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.11:
	movl	(%r14), %esi
	movq	%r12, %rdi
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_wr32
	movq	8(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_dbg
LBB0_12:
	movq	_I40E_PF_MDET_RX@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_rd32
	movq	_I40E_PF_MDET_RX_VALID_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.13:
	movl	(%r14), %esi
	movq	%r12, %rdi
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_wr32
	movq	8(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_dev_dbg
LBB0_14:
	cmpl	$0, (%rbx)
	jle	LBB0_21
## %bb.15:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r15
	movslq	(%rbx), %rax
	addq	$8, %r14
	cmpq	%rax, %r15
	jge	LBB0_21
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %r13
	movl	%r15d, %edi
	callq	_I40E_VP_MDET_TX
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_rd32
	movq	_I40E_VP_MDET_TX_VALID_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	%r15d, %edi
	callq	_I40E_VP_MDET_TX
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_wr32
	leaq	(%r14,%r13), %r12
	incl	4(%r13,%r14)
	movq	8(%rbx), %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_info
	movq	8(%rbx), %rdi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_I40E_VF_STATE_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	callq	_set_bit
LBB0_18:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	%r15d, %edi
	callq	_I40E_VP_MDET_RX
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_rd32
	movq	_I40E_VP_MDET_RX_VALID_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	%r15d, %edi
	callq	_I40E_VP_MDET_RX
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_wr32
	incl	4(%r13,%r14)
	addq	%r14, %r13
	movq	8(%rbx), %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_info
	movq	8(%rbx), %rdi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_I40E_VF_STATE_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_set_bit
	jmp	LBB0_20
LBB0_21:
	movq	___I40E_MDD_EVENT_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	_clear_bit
	movq	_I40E_PFINT_ICR0_ENA@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_rd32
	movq	_I40E_PFINT_ICR0_ENA_MAL_DETECT_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %esi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_wr32
	movq	%r12, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i40e_flush                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___I40E_MDD_EVENT_PENDING,4,2   ## @__I40E_MDD_EVENT_PENDING
	.comm	_I40E_GL_MDET_TX,4,2            ## @I40E_GL_MDET_TX
	.comm	_I40E_GL_MDET_TX_VALID_MASK,4,2 ## @I40E_GL_MDET_TX_VALID_MASK
	.comm	_I40E_GL_MDET_TX_PF_NUM_MASK,4,2 ## @I40E_GL_MDET_TX_PF_NUM_MASK
	.comm	_I40E_GL_MDET_TX_PF_NUM_SHIFT,4,2 ## @I40E_GL_MDET_TX_PF_NUM_SHIFT
	.comm	_I40E_GL_MDET_TX_VF_NUM_MASK,4,2 ## @I40E_GL_MDET_TX_VF_NUM_MASK
	.comm	_I40E_GL_MDET_TX_VF_NUM_SHIFT,4,2 ## @I40E_GL_MDET_TX_VF_NUM_SHIFT
	.comm	_I40E_GL_MDET_TX_EVENT_MASK,4,2 ## @I40E_GL_MDET_TX_EVENT_MASK
	.comm	_I40E_GL_MDET_TX_EVENT_SHIFT,4,2 ## @I40E_GL_MDET_TX_EVENT_SHIFT
	.comm	_I40E_GL_MDET_TX_QUEUE_MASK,4,2 ## @I40E_GL_MDET_TX_QUEUE_MASK
	.comm	_I40E_GL_MDET_TX_QUEUE_SHIFT,4,2 ## @I40E_GL_MDET_TX_QUEUE_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Malicious Driver Detection event 0x%02x on TX queue %d PF number 0x%02x VF number 0x%02x\n"

	.comm	_I40E_GL_MDET_RX,4,2            ## @I40E_GL_MDET_RX
	.comm	_I40E_GL_MDET_RX_VALID_MASK,4,2 ## @I40E_GL_MDET_RX_VALID_MASK
	.comm	_I40E_GL_MDET_RX_FUNCTION_MASK,4,2 ## @I40E_GL_MDET_RX_FUNCTION_MASK
	.comm	_I40E_GL_MDET_RX_FUNCTION_SHIFT,4,2 ## @I40E_GL_MDET_RX_FUNCTION_SHIFT
	.comm	_I40E_GL_MDET_RX_EVENT_MASK,4,2 ## @I40E_GL_MDET_RX_EVENT_MASK
	.comm	_I40E_GL_MDET_RX_EVENT_SHIFT,4,2 ## @I40E_GL_MDET_RX_EVENT_SHIFT
	.comm	_I40E_GL_MDET_RX_QUEUE_MASK,4,2 ## @I40E_GL_MDET_RX_QUEUE_MASK
	.comm	_I40E_GL_MDET_RX_QUEUE_SHIFT,4,2 ## @I40E_GL_MDET_RX_QUEUE_SHIFT
L_.str.1:                               ## @.str.1
	.asciz	"Malicious Driver Detection event 0x%02x on RX queue %d of function 0x%02x\n"

	.comm	_I40E_PF_MDET_TX,4,2            ## @I40E_PF_MDET_TX
	.comm	_I40E_PF_MDET_TX_VALID_MASK,4,2 ## @I40E_PF_MDET_TX_VALID_MASK
L_.str.2:                               ## @.str.2
	.asciz	"TX driver issue detected on PF\n"

	.comm	_I40E_PF_MDET_RX,4,2            ## @I40E_PF_MDET_RX
	.comm	_I40E_PF_MDET_RX_VALID_MASK,4,2 ## @I40E_PF_MDET_RX_VALID_MASK
L_.str.3:                               ## @.str.3
	.asciz	"RX driver issue detected on PF\n"

	.comm	_I40E_VP_MDET_TX_VALID_MASK,4,2 ## @I40E_VP_MDET_TX_VALID_MASK
L_.str.4:                               ## @.str.4
	.asciz	"TX driver issue detected on VF %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"Use PF Control I/F to re-enable the VF\n"

	.comm	_I40E_VF_STATE_DISABLED,4,2     ## @I40E_VF_STATE_DISABLED
	.comm	_I40E_VP_MDET_RX_VALID_MASK,4,2 ## @I40E_VP_MDET_RX_VALID_MASK
L_.str.6:                               ## @.str.6
	.asciz	"RX driver issue detected on VF %d\n"

	.comm	_I40E_PFINT_ICR0_ENA,4,2        ## @I40E_PFINT_ICR0_ENA
	.comm	_I40E_PFINT_ICR0_ENA_MAL_DETECT_MASK,4,2 ## @I40E_PFINT_ICR0_ENA_MAL_DETECT_MASK
	.no_dead_strip	_i40e_handle_mdd_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_mdd_event
_i40e_handle_mdd_event:                 ; @i40e_handle_mdd_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, ___I40E_MDD_EVENT_PENDING@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___I40E_MDD_EVENT_PENDING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x20, #4]
	bl	_test_bit
	cbz	w0, LBB0_9
; %bb.1:
	add	x19, x20, #24
Lloh3:
	adrp	x8, _I40E_GL_MDET_TX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_GL_MDET_TX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rd32
Lloh6:
	adrp	x8, _I40E_GL_MDET_TX_VALID_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40E_GL_MDET_TX_VALID_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ands	w22, w8, w0
	b.eq	LBB0_5
; %bb.2:
	mov	x21, x0
	str	w22, [sp, #44]                  ; 4-byte Folded Spill
Lloh9:
	adrp	x8, _I40E_GL_MDET_TX_PF_NUM_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I40E_GL_MDET_TX_PF_NUM_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
Lloh12:
	adrp	x8, _I40E_GL_MDET_TX_PF_NUM_SHIFT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _I40E_GL_MDET_TX_PF_NUM_SHIFT@GOTPAGEOFF]
Lloh14:
	adrp	x9, _I40E_GL_MDET_TX_VF_NUM_MASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _I40E_GL_MDET_TX_VF_NUM_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
Lloh17:
	ldr	w26, [x9]
Lloh18:
	adrp	x8, _I40E_GL_MDET_TX_VF_NUM_SHIFT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _I40E_GL_MDET_TX_VF_NUM_SHIFT@GOTPAGEOFF]
Lloh20:
	adrp	x9, _I40E_GL_MDET_TX_EVENT_MASK@GOTPAGE
Lloh21:
	ldr	x9, [x9, _I40E_GL_MDET_TX_EVENT_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w27, [x8]
Lloh23:
	ldr	w28, [x9]
Lloh24:
	adrp	x8, _I40E_GL_MDET_TX_EVENT_SHIFT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _I40E_GL_MDET_TX_EVENT_SHIFT@GOTPAGEOFF]
Lloh26:
	adrp	x9, _I40E_GL_MDET_TX_QUEUE_MASK@GOTPAGE
Lloh27:
	ldr	x9, [x9, _I40E_GL_MDET_TX_QUEUE_MASK@GOTPAGEOFF]
Lloh28:
	ldr	w22, [x8]
Lloh29:
	ldr	w23, [x9]
Lloh30:
	adrp	x8, _I40E_GL_MDET_TX_QUEUE_SHIFT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _I40E_GL_MDET_TX_QUEUE_SHIFT@GOTPAGEOFF]
Lloh32:
	ldr	w24, [x8]
	ldr	w25, [x20, #24]
	mov	x0, x20
	bl	_netif_msg_tx_err
	cbz	x0, LBB0_4
; %bb.3:
	and	w8, w23, w21
	asr	w8, w8, w24
	sub	w8, w8, w25
	and	w9, w28, w21
	asr	w9, w9, w22
	and	w10, w26, w21
	asr	w10, w10, w27
	ldp	w12, w11, [sp, #36]             ; 8-byte Folded Reload
	and	w11, w11, w21
	asr	w11, w11, w12
	ldr	x0, [x20, #8]
	stp	x11, x10, [sp, #16]
	stp	x9, x8, [sp]
Lloh33:
	adrp	x1, l_.str@PAGE
Lloh34:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
LBB0_4:
Lloh35:
	adrp	x8, _I40E_GL_MDET_TX@GOTPAGE
Lloh36:
	ldr	x8, [x8, _I40E_GL_MDET_TX@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_wr32
	ldr	w22, [sp, #44]                  ; 4-byte Folded Reload
LBB0_5:
Lloh38:
	adrp	x8, _I40E_GL_MDET_RX@GOTPAGE
Lloh39:
	ldr	x8, [x8, _I40E_GL_MDET_RX@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rd32
Lloh41:
	adrp	x8, _I40E_GL_MDET_RX_VALID_MASK@GOTPAGE
Lloh42:
	ldr	x8, [x8, _I40E_GL_MDET_RX_VALID_MASK@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_10
; %bb.6:
	mov	x21, x0
Lloh44:
	adrp	x8, _I40E_GL_MDET_RX_FUNCTION_MASK@GOTPAGE
Lloh45:
	ldr	x8, [x8, _I40E_GL_MDET_RX_FUNCTION_MASK@GOTPAGEOFF]
Lloh46:
	ldr	w22, [x8]
Lloh47:
	adrp	x8, _I40E_GL_MDET_RX_FUNCTION_SHIFT@GOTPAGE
Lloh48:
	ldr	x8, [x8, _I40E_GL_MDET_RX_FUNCTION_SHIFT@GOTPAGEOFF]
Lloh49:
	adrp	x9, _I40E_GL_MDET_RX_EVENT_MASK@GOTPAGE
Lloh50:
	ldr	x9, [x9, _I40E_GL_MDET_RX_EVENT_MASK@GOTPAGEOFF]
Lloh51:
	ldr	w24, [x8]
Lloh52:
	ldr	w25, [x9]
Lloh53:
	adrp	x8, _I40E_GL_MDET_RX_EVENT_SHIFT@GOTPAGE
Lloh54:
	ldr	x8, [x8, _I40E_GL_MDET_RX_EVENT_SHIFT@GOTPAGEOFF]
Lloh55:
	adrp	x9, _I40E_GL_MDET_RX_QUEUE_MASK@GOTPAGE
Lloh56:
	ldr	x9, [x9, _I40E_GL_MDET_RX_QUEUE_MASK@GOTPAGEOFF]
Lloh57:
	ldr	w26, [x8]
Lloh58:
	ldr	w27, [x9]
Lloh59:
	adrp	x8, _I40E_GL_MDET_RX_QUEUE_SHIFT@GOTPAGE
Lloh60:
	ldr	x8, [x8, _I40E_GL_MDET_RX_QUEUE_SHIFT@GOTPAGEOFF]
Lloh61:
	ldr	w28, [x8]
	ldr	w23, [x20, #24]
	mov	x0, x20
	bl	_netif_msg_rx_err
	cbz	x0, LBB0_8
; %bb.7:
	and	w8, w27, w21
	asr	w8, w8, w28
	sub	w8, w8, w23
	and	w9, w25, w21
	asr	w9, w9, w26
	and	w10, w22, w21
	asr	w10, w10, w24
	ldr	x0, [x20, #8]
	stp	x8, x10, [sp, #8]
	str	x9, [sp]
Lloh62:
	adrp	x1, l_.str.1@PAGE
Lloh63:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_info
LBB0_8:
Lloh64:
	adrp	x8, _I40E_GL_MDET_RX@GOTPAGE
Lloh65:
	ldr	x8, [x8, _I40E_GL_MDET_RX@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_wr32
	b	LBB0_11
LBB0_9:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_10:
	cbz	w22, LBB0_22
LBB0_11:
Lloh67:
	adrp	x21, _I40E_PF_MDET_TX@GOTPAGE
Lloh68:
	ldr	x21, [x21, _I40E_PF_MDET_TX@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rd32
Lloh69:
	adrp	x8, _I40E_PF_MDET_TX_VALID_MASK@GOTPAGE
Lloh70:
	ldr	x8, [x8, _I40E_PF_MDET_TX_VALID_MASK@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_13
; %bb.12:
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #65535
	bl	_wr32
	ldr	x0, [x20, #8]
Lloh72:
	adrp	x1, l_.str.2@PAGE
Lloh73:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg
LBB0_13:
Lloh74:
	adrp	x21, _I40E_PF_MDET_RX@GOTPAGE
Lloh75:
	ldr	x21, [x21, _I40E_PF_MDET_RX@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rd32
Lloh76:
	adrp	x8, _I40E_PF_MDET_RX_VALID_MASK@GOTPAGE
Lloh77:
	ldr	x8, [x8, _I40E_PF_MDET_RX_VALID_MASK@GOTPAGEOFF]
Lloh78:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_15
; %bb.14:
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #65535
	bl	_wr32
	ldr	x0, [x20, #8]
Lloh79:
	adrp	x1, l_.str.3@PAGE
Lloh80:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_dbg
LBB0_15:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.16:
	mov	x27, #0
	mov	x21, #0
Lloh81:
	adrp	x28, _I40E_VP_MDET_TX_VALID_MASK@GOTPAGE
Lloh82:
	ldr	x28, [x28, _I40E_VP_MDET_TX_VALID_MASK@GOTPAGEOFF]
Lloh83:
	adrp	x26, _I40E_VP_MDET_RX_VALID_MASK@GOTPAGE
Lloh84:
	ldr	x26, [x26, _I40E_VP_MDET_RX_VALID_MASK@GOTPAGEOFF]
Lloh85:
	adrp	x23, l_.str.5@PAGE
Lloh86:
	add	x23, x23, l_.str.5@PAGEOFF
Lloh87:
	adrp	x22, _I40E_VF_STATE_DISABLED@GOTPAGE
Lloh88:
	ldr	x22, [x22, _I40E_VF_STATE_DISABLED@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20]
	add	x27, x27, #8
	cmp	x21, x8
	b.ge	LBB0_22
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x20, #16]
	mov	x0, x21
	bl	_I40E_VP_MDET_TX
	mov	x1, x0
	mov	x0, x19
	bl	_rd32
	ldr	w8, [x28]
	tst	w8, w0
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x21
	bl	_I40E_VP_MDET_TX
	mov	x1, x0
	mov	x0, x19
	mov	w2, #65535
	bl	_wr32
	add	x25, x24, x27
	ldr	w8, [x25, #4]
	add	w8, w8, #1
	str	w8, [x25, #4]
	ldr	x0, [x20, #8]
	str	x21, [sp]
Lloh89:
	adrp	x1, l_.str.4@PAGE
Lloh90:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_info
	ldr	x0, [x20, #8]
	mov	x1, x23
	bl	_dev_info
	ldr	w0, [x22]
	mov	x1, x25
	bl	_set_bit
LBB0_20:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x21
	bl	_I40E_VP_MDET_RX
	mov	x1, x0
	mov	x0, x19
	bl	_rd32
	ldr	w8, [x26]
	tst	w8, w0
	b.eq	LBB0_17
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x21
	bl	_I40E_VP_MDET_RX
	mov	x1, x0
	mov	x0, x19
	mov	w2, #65535
	bl	_wr32
	add	x25, x24, x27
	ldr	w8, [x25, #4]
	add	w8, w8, #1
	str	w8, [x25, #4]
	ldr	x0, [x20, #8]
	str	x21, [sp]
Lloh91:
	adrp	x1, l_.str.6@PAGE
Lloh92:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_dev_info
	ldr	x0, [x20, #8]
	mov	x1, x23
	bl	_dev_info
	ldr	w0, [x22]
	mov	x1, x25
	bl	_set_bit
	b	LBB0_17
LBB0_22:
Lloh93:
	adrp	x8, ___I40E_MDD_EVENT_PENDING@GOTPAGE
Lloh94:
	ldr	x8, [x8, ___I40E_MDD_EVENT_PENDING@GOTPAGEOFF]
Lloh95:
	ldr	w0, [x8]
	ldr	w1, [x20, #4]
	bl	_clear_bit
Lloh96:
	adrp	x20, _I40E_PFINT_ICR0_ENA@GOTPAGE
Lloh97:
	ldr	x20, [x20, _I40E_PFINT_ICR0_ENA@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rd32
Lloh98:
	adrp	x8, _I40E_PFINT_ICR0_ENA_MAL_DETECT_MASK@GOTPAGE
Lloh99:
	ldr	x8, [x8, _I40E_PFINT_ICR0_ENA_MAL_DETECT_MASK@GOTPAGEOFF]
Lloh100:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x20]
	mov	x0, x19
	bl	_wr32
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_i40e_flush
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh57
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh51
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.cfi_endproc
                                        ; -- End function
	.comm	___I40E_MDD_EVENT_PENDING,4,2   ; @__I40E_MDD_EVENT_PENDING
	.comm	_I40E_GL_MDET_TX,4,2            ; @I40E_GL_MDET_TX
	.comm	_I40E_GL_MDET_TX_VALID_MASK,4,2 ; @I40E_GL_MDET_TX_VALID_MASK
	.comm	_I40E_GL_MDET_TX_PF_NUM_MASK,4,2 ; @I40E_GL_MDET_TX_PF_NUM_MASK
	.comm	_I40E_GL_MDET_TX_PF_NUM_SHIFT,4,2 ; @I40E_GL_MDET_TX_PF_NUM_SHIFT
	.comm	_I40E_GL_MDET_TX_VF_NUM_MASK,4,2 ; @I40E_GL_MDET_TX_VF_NUM_MASK
	.comm	_I40E_GL_MDET_TX_VF_NUM_SHIFT,4,2 ; @I40E_GL_MDET_TX_VF_NUM_SHIFT
	.comm	_I40E_GL_MDET_TX_EVENT_MASK,4,2 ; @I40E_GL_MDET_TX_EVENT_MASK
	.comm	_I40E_GL_MDET_TX_EVENT_SHIFT,4,2 ; @I40E_GL_MDET_TX_EVENT_SHIFT
	.comm	_I40E_GL_MDET_TX_QUEUE_MASK,4,2 ; @I40E_GL_MDET_TX_QUEUE_MASK
	.comm	_I40E_GL_MDET_TX_QUEUE_SHIFT,4,2 ; @I40E_GL_MDET_TX_QUEUE_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Malicious Driver Detection event 0x%02x on TX queue %d PF number 0x%02x VF number 0x%02x\n"

	.comm	_I40E_GL_MDET_RX,4,2            ; @I40E_GL_MDET_RX
	.comm	_I40E_GL_MDET_RX_VALID_MASK,4,2 ; @I40E_GL_MDET_RX_VALID_MASK
	.comm	_I40E_GL_MDET_RX_FUNCTION_MASK,4,2 ; @I40E_GL_MDET_RX_FUNCTION_MASK
	.comm	_I40E_GL_MDET_RX_FUNCTION_SHIFT,4,2 ; @I40E_GL_MDET_RX_FUNCTION_SHIFT
	.comm	_I40E_GL_MDET_RX_EVENT_MASK,4,2 ; @I40E_GL_MDET_RX_EVENT_MASK
	.comm	_I40E_GL_MDET_RX_EVENT_SHIFT,4,2 ; @I40E_GL_MDET_RX_EVENT_SHIFT
	.comm	_I40E_GL_MDET_RX_QUEUE_MASK,4,2 ; @I40E_GL_MDET_RX_QUEUE_MASK
	.comm	_I40E_GL_MDET_RX_QUEUE_SHIFT,4,2 ; @I40E_GL_MDET_RX_QUEUE_SHIFT
l_.str.1:                               ; @.str.1
	.asciz	"Malicious Driver Detection event 0x%02x on RX queue %d of function 0x%02x\n"

	.comm	_I40E_PF_MDET_TX,4,2            ; @I40E_PF_MDET_TX
	.comm	_I40E_PF_MDET_TX_VALID_MASK,4,2 ; @I40E_PF_MDET_TX_VALID_MASK
l_.str.2:                               ; @.str.2
	.asciz	"TX driver issue detected on PF\n"

	.comm	_I40E_PF_MDET_RX,4,2            ; @I40E_PF_MDET_RX
	.comm	_I40E_PF_MDET_RX_VALID_MASK,4,2 ; @I40E_PF_MDET_RX_VALID_MASK
l_.str.3:                               ; @.str.3
	.asciz	"RX driver issue detected on PF\n"

	.comm	_I40E_VP_MDET_TX_VALID_MASK,4,2 ; @I40E_VP_MDET_TX_VALID_MASK
l_.str.4:                               ; @.str.4
	.asciz	"TX driver issue detected on VF %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"Use PF Control I/F to re-enable the VF\n"

	.comm	_I40E_VF_STATE_DISABLED,4,2     ; @I40E_VF_STATE_DISABLED
	.comm	_I40E_VP_MDET_RX_VALID_MASK,4,2 ; @I40E_VP_MDET_RX_VALID_MASK
l_.str.6:                               ; @.str.6
	.asciz	"RX driver issue detected on VF %d\n"

	.comm	_I40E_PFINT_ICR0_ENA,4,2        ; @I40E_PFINT_ICR0_ENA
	.comm	_I40E_PFINT_ICR0_ENA_MAL_DETECT_MASK,4,2 ; @I40E_PFINT_ICR0_ENA_MAL_DETECT_MASK
	.no_dead_strip	_i40e_handle_mdd_event
.subsections_via_symbols
