	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_v2_cmd_hw_reseted
_hns_roce_v2_cmd_hw_reseted:            ## @hns_roce_v2_cmd_hw_reseted
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rdi)
	movq	_HNS_ROCE_STATE_RST_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_HNS_ROCE_STATE_INIT@GOTPCREL(%rip), %r8
	movq	_CMD_RST_PRC_EBUSY@GOTPCREL(%rip), %rcx
	movq	%rcx, %rdi
	cmpq	%rsi, (%r8)
	je	LBB0_2
## %bb.1:
	movq	_CMD_RST_PRC_SUCCESS@GOTPCREL(%rip), %rdi
LBB0_2:
	cmpq	%rdx, %rax
	cmoveq	%rcx, %rdi
	movl	(%rdi), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HNS_ROCE_STATE_RST_INIT,8,3    ## @HNS_ROCE_STATE_RST_INIT
	.comm	_HNS_ROCE_STATE_INIT,8,3        ## @HNS_ROCE_STATE_INIT
	.comm	_CMD_RST_PRC_EBUSY,4,2          ## @CMD_RST_PRC_EBUSY
	.comm	_CMD_RST_PRC_SUCCESS,4,2        ## @CMD_RST_PRC_SUCCESS
	.no_dead_strip	_hns_roce_v2_cmd_hw_reseted
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_roce_v2_cmd_hw_reseted
_hns_roce_v2_cmd_hw_reseted:            ; @hns_roce_v2_cmd_hw_reseted
	.cfi_startproc
; %bb.0:
	movi.2s	v0, #1
	str	d0, [x0]
Lloh0:
	adrp	x8, _HNS_ROCE_STATE_RST_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HNS_ROCE_STATE_RST_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _HNS_ROCE_STATE_INIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HNS_ROCE_STATE_INIT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x1
Lloh6:
	adrp	x9, _CMD_RST_PRC_EBUSY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CMD_RST_PRC_EBUSY@GOTPAGEOFF]
	ccmp	x8, x2, #4, ne
Lloh8:
	adrp	x8, _CMD_RST_PRC_SUCCESS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CMD_RST_PRC_SUCCESS@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HNS_ROCE_STATE_RST_INIT,8,3    ; @HNS_ROCE_STATE_RST_INIT
	.comm	_HNS_ROCE_STATE_INIT,8,3        ; @HNS_ROCE_STATE_INIT
	.comm	_CMD_RST_PRC_EBUSY,4,2          ; @CMD_RST_PRC_EBUSY
	.comm	_CMD_RST_PRC_SUCCESS,4,2        ; @CMD_RST_PRC_SUCCESS
	.no_dead_strip	_hns_roce_v2_cmd_hw_reseted
.subsections_via_symbols
