	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_handle_over_8bd_err
_hclge_handle_over_8bd_err:             ## @hclge_handle_over_8bd_err
	.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, %r15
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	leaq	-28(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	callq	_hclge_query_over_8bd_err_info
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
LBB0_2:
	xorl	%eax, %eax
	callq	_dev_err
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	-28(%rbp), %edx
	movl	-32(%rbp), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movslq	-28(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.4:
	cmpl	(%rbx), %edx
	jge	LBB0_5
## %bb.6:
	cmpq	$0, (%r15)
	jne	LBB0_10
## %bb.7:
	shlq	$2, %rdx
	addq	8(%rbx), %rdx
	movq	%rdx, %rdi
	callq	_hclge_inform_reset_assert_to_vf
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	movq	8(%rbx), %rcx
	movl	(%rcx), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_10
LBB0_9:
	movq	_HNAE3_FUNC_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
	jmp	LBB0_10
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fail(%d) to query over_8bd_no_fe info\n"

L_.str.1:                               ## @.str.1
	.asciz	"PPU_PF_ABNORMAL_INT_ST over_8bd_no_fe found, vf_id(%u), queue_id(%u)\n"

L_.str.2:                               ## @.str.2
	.asciz	"invalid vf id(%d)\n"

L_.str.3:                               ## @.str.3
	.asciz	"inform reset to vf(%u) failed %d!\n"

	.comm	_HNAE3_FUNC_RESET,4,2           ## @HNAE3_FUNC_RESET
	.no_dead_strip	_hclge_handle_over_8bd_err
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_handle_over_8bd_err
_hclge_handle_over_8bd_err:             ; @hclge_handle_over_8bd_err
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x1
	mov	x20, x0
	ldr	x19, [x0, #16]
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_hclge_query_over_8bd_err_info
	cbz	w0, LBB0_5
; %bb.1:
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x19
LBB0_3:
	bl	_dev_err
LBB0_4:
	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
	add	sp, sp, #64
	ret
LBB0_5:
	ldp	w8, w2, [sp, #8]
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldrsw	x2, [sp, #12]
	cbz	w2, LBB0_10
; %bb.6:
	ldr	w8, [x20]
	cmp	w2, w8
	b.ge	LBB0_11
; %bb.7:
	ldr	x8, [x21]
	cbnz	x8, LBB0_4
; %bb.8:
	ldr	x8, [x20, #8]
	add	x0, x8, x2, lsl #2
	bl	_hclge_inform_reset_assert_to_vf
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_4
; %bb.9:
	ldr	x8, [x20, #8]
	ldr	w2, [x8]
	str	x0, [sp]
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_2
LBB0_10:
Lloh6:
	adrp	x8, _HNAE3_FUNC_RESET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HNAE3_FUNC_RESET@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_set_bit
	b	LBB0_4
LBB0_11:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fail(%d) to query over_8bd_no_fe info\n"

l_.str.1:                               ; @.str.1
	.asciz	"PPU_PF_ABNORMAL_INT_ST over_8bd_no_fe found, vf_id(%u), queue_id(%u)\n"

l_.str.2:                               ; @.str.2
	.asciz	"invalid vf id(%d)\n"

l_.str.3:                               ; @.str.3
	.asciz	"inform reset to vf(%u) failed %d!\n"

	.comm	_HNAE3_FUNC_RESET,4,2           ; @HNAE3_FUNC_RESET
	.no_dead_strip	_hclge_handle_over_8bd_err
.subsections_via_symbols
