	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_reset_stack
_hclge_reset_stack:                     ## @hclge_reset_stack
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_HNAE3_UNINIT_CLIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_hclge_notify_client
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	(%rbx), %edi
	callq	_hclge_reset_ae_dev
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_HNAE3_INIT_CLIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_hclge_notify_client
	testl	%eax, %eax
	je	LBB0_4
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	_HNAE3_RESTORE_CLIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_hclge_notify_client            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HNAE3_UNINIT_CLIENT,4,2        ## @HNAE3_UNINIT_CLIENT
	.comm	_HNAE3_INIT_CLIENT,4,2          ## @HNAE3_INIT_CLIENT
	.comm	_HNAE3_RESTORE_CLIENT,4,2       ## @HNAE3_RESTORE_CLIENT
	.no_dead_strip	_hclge_reset_stack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_reset_stack
_hclge_reset_stack:                     ; @hclge_reset_stack
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _HNAE3_UNINIT_CLIENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HNAE3_UNINIT_CLIENT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_hclge_notify_client
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w0, [x19]
	bl	_hclge_reset_ae_dev
	cbnz	w0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _HNAE3_INIT_CLIENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HNAE3_INIT_CLIENT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hclge_notify_client
	cbz	w0, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh6:
	adrp	x8, _HNAE3_RESTORE_CLIENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HNAE3_RESTORE_CLIENT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hclge_notify_client
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HNAE3_UNINIT_CLIENT,4,2        ; @HNAE3_UNINIT_CLIENT
	.comm	_HNAE3_INIT_CLIENT,4,2          ; @HNAE3_INIT_CLIENT
	.comm	_HNAE3_RESTORE_CLIENT,4,2       ; @HNAE3_RESTORE_CLIENT
	.no_dead_strip	_hclge_reset_stack
.subsections_via_symbols
