	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclgevf_get_reset_level
_hclgevf_get_reset_level:               ## @hclgevf_get_reset_level
	.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	_HNAE3_NONE_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_HNAE3_VF_RESET@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r15), %r14d
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	movq	_HNAE3_VF_PF_FUNC_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_4
LBB0_2:
	movq	_HNAE3_VF_FULL_RESET@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_3
## %bb.5:
	movq	_HNAE3_VF_PF_FUNC_RESET@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
LBB0_3:
	movl	(%r15), %r14d
	movl	%r14d, %edi
LBB0_4:
	movq	%rbx, %rsi
	callq	_clear_bit
	movq	_HNAE3_VF_FUNC_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_9:
	movq	%rbx, %rsi
	callq	_clear_bit
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_HNAE3_VF_FUNC_RESET@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	_HNAE3_FLR_RESET@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_10
LBB0_8:
	movl	(%r15), %edi
	movl	%edi, %r14d
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_HNAE3_NONE_RESET,4,2           ## @HNAE3_NONE_RESET
	.comm	_HNAE3_VF_RESET,4,2             ## @HNAE3_VF_RESET
	.comm	_HNAE3_VF_PF_FUNC_RESET,4,2     ## @HNAE3_VF_PF_FUNC_RESET
	.comm	_HNAE3_VF_FUNC_RESET,4,2        ## @HNAE3_VF_FUNC_RESET
	.comm	_HNAE3_VF_FULL_RESET,4,2        ## @HNAE3_VF_FULL_RESET
	.comm	_HNAE3_FLR_RESET,4,2            ## @HNAE3_FLR_RESET
	.no_dead_strip	_hclgevf_get_reset_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclgevf_get_reset_level
_hclgevf_get_reset_level:               ; @hclgevf_get_reset_level
	.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, x1
Lloh0:
	adrp	x8, _HNAE3_NONE_RESET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HNAE3_NONE_RESET@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x21, _HNAE3_VF_RESET@GOTPAGE
Lloh4:
	ldr	x21, [x21, _HNAE3_VF_RESET@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w20, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_clear_bit
Lloh5:
	adrp	x8, _HNAE3_VF_PF_FUNC_RESET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HNAE3_VF_PF_FUNC_RESET@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_2:
Lloh8:
	adrp	x21, _HNAE3_VF_FULL_RESET@GOTPAGE
Lloh9:
	ldr	x21, [x21, _HNAE3_VF_FULL_RESET@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x19
	bl	_test_bit
	cbnz	x0, LBB0_4
; %bb.3:
Lloh10:
	adrp	x21, _HNAE3_VF_PF_FUNC_RESET@GOTPAGE
Lloh11:
	ldr	x21, [x21, _HNAE3_VF_PF_FUNC_RESET@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_8
LBB0_4:
	ldr	w20, [x21]
	mov	x0, x20
LBB0_5:
	mov	x1, x19
	bl	_clear_bit
Lloh12:
	adrp	x8, _HNAE3_VF_FUNC_RESET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HNAE3_VF_FUNC_RESET@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_6:
	mov	x1, x19
	bl	_clear_bit
LBB0_7:
	mov	x0, x20
	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
LBB0_8:
Lloh15:
	adrp	x21, _HNAE3_VF_FUNC_RESET@GOTPAGE
Lloh16:
	ldr	x21, [x21, _HNAE3_VF_FUNC_RESET@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x19
	bl	_test_bit
	cbnz	x0, LBB0_10
; %bb.9:
Lloh17:
	adrp	x21, _HNAE3_FLR_RESET@GOTPAGE
Lloh18:
	ldr	x21, [x21, _HNAE3_FLR_RESET@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_7
LBB0_10:
	ldr	w0, [x21]
	mov	x20, x0
	b	LBB0_6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_HNAE3_NONE_RESET,4,2           ; @HNAE3_NONE_RESET
	.comm	_HNAE3_VF_RESET,4,2             ; @HNAE3_VF_RESET
	.comm	_HNAE3_VF_PF_FUNC_RESET,4,2     ; @HNAE3_VF_PF_FUNC_RESET
	.comm	_HNAE3_VF_FUNC_RESET,4,2        ; @HNAE3_VF_FUNC_RESET
	.comm	_HNAE3_VF_FULL_RESET,4,2        ; @HNAE3_VF_FULL_RESET
	.comm	_HNAE3_FLR_RESET,4,2            ; @HNAE3_FLR_RESET
	.no_dead_strip	_hclgevf_get_reset_level
.subsections_via_symbols
