	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_hw_v2_reset_notify_uninit
_hns_roce_hw_v2_reset_notify_uninit:    ## @hns_roce_hw_v2_reset_notify_uninit
	.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	_HNS_ROCE_RST_DIRECT_RETURN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_HNS_ROCE_STATE_RST_UNINIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movq	_HNS_ROCE_V2_HW_RST_UNINT_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msleep
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	___hns_roce_hw_v2_uninit_instance
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HNS_ROCE_RST_DIRECT_RETURN,4,2 ## @HNS_ROCE_RST_DIRECT_RETURN
	.comm	_HNS_ROCE_STATE_RST_UNINIT,4,2  ## @HNS_ROCE_STATE_RST_UNINIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"In reset process RoCE client uninit.\n"

	.comm	_HNS_ROCE_V2_HW_RST_UNINT_DELAY,4,2 ## @HNS_ROCE_V2_HW_RST_UNINT_DELAY
	.no_dead_strip	_hns_roce_hw_v2_reset_notify_uninit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_roce_hw_v2_reset_notify_uninit
_hns_roce_hw_v2_reset_notify_uninit:    ; @hns_roce_hw_v2_reset_notify_uninit
	.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, _HNS_ROCE_RST_DIRECT_RETURN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HNS_ROCE_RST_DIRECT_RETURN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #12
	bl	_test_bit
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _HNS_ROCE_STATE_RST_UNINIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HNS_ROCE_STATE_RST_UNINIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	x0, [x19]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
Lloh8:
	adrp	x8, _HNS_ROCE_V2_HW_RST_UNINT_DELAY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HNS_ROCE_V2_HW_RST_UNINT_DELAY@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_msleep
	mov	x0, x19
	mov	w1, #0
	bl	___hns_roce_hw_v2_uninit_instance
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HNS_ROCE_RST_DIRECT_RETURN,4,2 ; @HNS_ROCE_RST_DIRECT_RETURN
	.comm	_HNS_ROCE_STATE_RST_UNINIT,4,2  ; @HNS_ROCE_STATE_RST_UNINIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"In reset process RoCE client uninit.\n"

	.comm	_HNS_ROCE_V2_HW_RST_UNINT_DELAY,4,2 ; @HNS_ROCE_V2_HW_RST_UNINT_DELAY
	.no_dead_strip	_hns_roce_hw_v2_reset_notify_uninit
.subsections_via_symbols
