	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_v2_rst_process_cmd
_hns_roce_v2_rst_process_cmd:           ## @hns_roce_v2_rst_process_cmd
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_CMD_RST_PRC_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rdi, %r13
	movq	16(%rdi), %rax
	movq	(%rax), %rbx
	movq	16(%rbx), %rax
	movq	(%rax), %r15
	movq	(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	*(%r15)
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	*8(%r15)
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	*16(%r15)
	cmpq	(%r13), %r14
	jne	LBB0_7
## %bb.3:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.8:
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hns_roce_v2_cmd_hw_resetting   ## TAILCALL
LBB0_7:
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hns_roce_v2_cmd_hw_reseted     ## TAILCALL
LBB0_4:
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.5:
	movq	_HNS_ROCE_STATE_INIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	jne	LBB0_6
## %bb.9:
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hns_roce_v2_cmd_sw_resetting   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_RST_PRC_SUCCESS,4,2        ## @CMD_RST_PRC_SUCCESS
	.comm	_HNS_ROCE_STATE_INIT,8,3        ## @HNS_ROCE_STATE_INIT
	.no_dead_strip	_hns_roce_v2_rst_process_cmd
.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_rst_process_cmd
_hns_roce_v2_rst_process_cmd:           ; @hns_roce_v2_rst_process_cmd
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _CMD_RST_PRC_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_RST_PRC_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x23, [x8]
	ldp	x21, x8, [x23, #8]
	ldr	x25, [x8]
	ldr	x20, [x23]
	ldr	x8, [x25]
	mov	x0, x23
	blr	x8
	mov	x24, x0
	ldr	x8, [x25, #8]
	mov	x0, x23
	blr	x8
	mov	x22, x0
	ldr	x8, [x25, #16]
	mov	x0, x23
	blr	x8
	ldr	x8, [x19]
	cmp	x24, x8
	b.ne	LBB0_6
; %bb.4:
	cbz	w22, LBB0_7
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_hns_roce_v2_cmd_hw_resetting
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_hns_roce_v2_cmd_hw_reseted
LBB0_7:
Lloh3:
	adrp	x8, _HNS_ROCE_STATE_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HNS_ROCE_STATE_INIT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	w0, #0
	ccmp	x20, x8, #0, ne
	b.eq	LBB0_9
; %bb.8:
	mov	w0, #0
	b	LBB0_2
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_hns_roce_v2_cmd_sw_resetting
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_RST_PRC_SUCCESS,4,2        ; @CMD_RST_PRC_SUCCESS
	.comm	_HNS_ROCE_STATE_INIT,8,3        ; @HNS_ROCE_STATE_INIT
	.no_dead_strip	_hns_roce_v2_rst_process_cmd
.subsections_via_symbols
