	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_handle_mpf_msix_error
_hclge_handle_mpf_msix_error:           ## @hclge_handle_mpf_msix_error
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	8(%rdi), %r15
	movq	_HCLGE_QUERY_CLEAR_ALL_MPF_MSIX_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_hclge_cmd_send
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r13d
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	jmp	LBB0_9
LBB0_2:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	4(%rbx), %edi
	callq	_le32_to_cpu
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_hclge_mac_afifo_tnl_int@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %ecx
	movq	%r14, %r8
	callq	_hclge_log_error
LBB0_4:
	movl	28(%rbx), %edi
	callq	_le32_to_cpu
	movq	_HCLGE_PPU_MPF_INT_ST2_MSIX_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	%r15, %r14
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_err
LBB0_6:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	movl	%r15d, %ecx
	callq	_hclge_clear_hw_msix_error
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	%eax, %r13d
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
LBB0_9:
	movl	%r13d, %edx
	callq	_dev_err
LBB0_10:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%r13d, %r13d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_QUERY_CLEAR_ALL_MPF_MSIX_INT,4,2 ## @HCLGE_QUERY_CLEAR_ALL_MPF_MSIX_INT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"query all mpf msix int cmd failed (%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"MAC_AFIFO_TNL_INT_R"

	.comm	_hclge_mac_afifo_tnl_int,8,3    ## @hclge_mac_afifo_tnl_int
	.comm	_HCLGE_PPU_MPF_INT_ST2_MSIX_MASK,4,2 ## @HCLGE_PPU_MPF_INT_ST2_MSIX_MASK
L_.str.2:                               ## @.str.2
	.asciz	"PPU_MPF_ABNORMAL_INT_ST2 rx_q_search_miss found [dfx status=0x%x\n]"

L_.str.3:                               ## @.str.3
	.asciz	"clear all mpf msix int cmd failed (%d)\n"

	.no_dead_strip	_hclge_handle_mpf_msix_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_handle_mpf_msix_error
_hclge_handle_mpf_msix_error:           ; @hclge_handle_mpf_msix_error
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x8, _HCLGE_QUERY_CLEAR_ALL_MPF_MSIX_INT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HCLGE_QUERY_CLEAR_ALL_MPF_MSIX_INT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_hclge_cmd_send
	cbz	w0, LBB0_2
; %bb.1:
	mov	x24, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_2:
	ldr	w0, [x21, #4]
	bl	_le32_to_cpu
	cbz	w0, LBB0_4
; %bb.3:
	mov	x3, x0
Lloh5:
	adrp	x8, _hclge_mac_afifo_tnl_int@GOTPAGE
Lloh6:
	ldr	x8, [x8, _hclge_mac_afifo_tnl_int@GOTPAGEOFF]
Lloh7:
	ldr	x2, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x4, x23
	bl	_hclge_log_error
LBB0_4:
	ldr	w0, [x21, #28]
	bl	_le32_to_cpu
Lloh10:
	adrp	x8, _HCLGE_PPU_MPF_INT_ST2_MSIX_MASK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HCLGE_PPU_MPF_INT_ST2_MSIX_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ands	w2, w8, w0
	b.eq	LBB0_6
; %bb.5:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_6:
	mov	x0, x22
	mov	x1, x21
	mov	w2, #1
	mov	x3, x20
	bl	_hclge_clear_hw_msix_error
	mov	x24, x0
	cbz	w0, LBB0_9
; %bb.7:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_8:
	mov	x0, x19
	mov	x2, x24
	bl	_dev_err
LBB0_9:
	mov	x0, x24
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_QUERY_CLEAR_ALL_MPF_MSIX_INT,4,2 ; @HCLGE_QUERY_CLEAR_ALL_MPF_MSIX_INT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"query all mpf msix int cmd failed (%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"MAC_AFIFO_TNL_INT_R"

	.comm	_hclge_mac_afifo_tnl_int,8,3    ; @hclge_mac_afifo_tnl_int
	.comm	_HCLGE_PPU_MPF_INT_ST2_MSIX_MASK,4,2 ; @HCLGE_PPU_MPF_INT_ST2_MSIX_MASK
l_.str.2:                               ; @.str.2
	.asciz	"PPU_MPF_ABNORMAL_INT_ST2 rx_q_search_miss found [dfx status=0x%x\n]"

l_.str.3:                               ; @.str.3
	.asciz	"clear all mpf msix int cmd failed (%d)\n"

	.no_dead_strip	_hclge_handle_mpf_msix_error
.subsections_via_symbols
