	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclgevf_ae_stop
_hclgevf_ae_stop:                       ## @hclgevf_ae_stop
	.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	%rdi, %r15
	callq	_hclgevf_ae_get_hdev
	movq	%rax, %r14
	movq	_HCLGEVF_STATE_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r14), %rsi
	callq	_set_bit
	movq	(%r14), %rax
	movq	_HNAE3_VF_RESET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.1:
	cmpl	$0, (%r15)
	jle	LBB0_5
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_hclgevf_reset_tqp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_4
LBB0_5:
	movq	%r15, %rdi
	callq	_hclgevf_reset_tqp_stats
	movq	%r14, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hclgevf_update_link_status     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGEVF_STATE_DOWN,4,2         ## @HCLGEVF_STATE_DOWN
	.comm	_HNAE3_VF_RESET,8,3             ## @HNAE3_VF_RESET
	.no_dead_strip	_hclgevf_ae_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclgevf_ae_stop
_hclgevf_ae_stop:                       ; @hclgevf_ae_stop
	.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, x0
	bl	_hclgevf_ae_get_hdev
	mov	x20, x0
Lloh0:
	adrp	x8, _HCLGEVF_STATE_DOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HCLGEVF_STATE_DOWN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x20, #8
	bl	_set_bit
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _HNAE3_VF_RESET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HNAE3_VF_RESET@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	w21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_hclgevf_reset_tqp
	cbnz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w21, w21, #1
	ldr	w8, [x19]
	cmp	w21, w8
	b.lt	LBB0_3
LBB0_5:
	mov	x0, x19
	bl	_hclgevf_reset_tqp_stats
	mov	x0, x20
	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	_hclgevf_update_link_status
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGEVF_STATE_DOWN,4,2         ; @HCLGEVF_STATE_DOWN
	.comm	_HNAE3_VF_RESET,8,3             ; @HNAE3_VF_RESET
	.no_dead_strip	_hclgevf_ae_stop
.subsections_via_symbols
