	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_cmd_check_retval
_hclge_cmd_check_retval:                ## @hclge_cmd_check_retval
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	4(%rsi), %edi
	callq	_le16_to_cpu
	testl	%r15d, %r15d
	jle	LBB0_11
## %bb.1:
	movl	%r15d, %r8d
	cmpl	$1, %r15d
	jne	LBB0_3
## %bb.2:
	xorl	%edx, %edx
LBB0_9:
	testb	$1, %r8b
	je	LBB0_11
## %bb.10:
	movq	16(%r12), %rcx
	movslq	%ebx, %rsi
	movq	(%rcx,%rsi,8), %rcx
	movq	%rcx, (%r14,%rdx,8)
LBB0_11:
	movl	%eax, %edi
	callq	_hclge_is_special_opcode
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_likely
	decl	%r15d
	testq	%rax, %rax
	movslq	%r15d, %rcx
	cmoveq	%rax, %rcx
	movl	(%r14,%rcx,8), %edi
	callq	_le16_to_cpu
	movl	%eax, (%r12)
	movl	%eax, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hclge_cmd_convert_err_code     ## TAILCALL
LBB0_3:
	movl	%r8d, %esi
	andl	$-2, %esi
	xorl	%edx, %edx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rcx
	movslq	%ebx, %rdi
	movq	(%rcx,%rdi,8), %rcx
	movq	%rcx, (%r14,%rdx,8)
	incl	%edi
	cmpl	8(%r12), %edi
	jl	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r12), %rcx
	movslq	%edi, %rbx
	movq	(%rcx,%rbx,8), %rcx
	movq	%rcx, 8(%r14,%rdx,8)
	incl	%ebx
	cmpl	8(%r12), %ebx
	jl	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hclge_cmd_check_retval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_cmd_check_retval
_hclge_cmd_check_retval:                ; @hclge_cmd_check_retval
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1, #4]
	bl	_le16_to_cpu
	subs	w23, w22, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w8, w22
	mov	x9, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x19, #16]
	ldr	x10, [x10, w21, sxtw #3]
	str	x10, [x9], #8
	add	w10, w21, #1
	ldr	w11, [x19, #8]
	cmp	w10, w11
	csinc	w21, wzr, w21, ge
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_3:
	bl	_hclge_is_special_opcode
	cmp	w0, #0
	cset	w0, eq
	bl	_likely
	sxtw	x8, w23
	cmp	x0, #0
	csel	x8, xzr, x8, eq
	lsl	x8, x8, #3
	ldr	w0, [x20, x8]
	bl	_le16_to_cpu
	str	w0, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_hclge_cmd_convert_err_code
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hclge_cmd_check_retval
.subsections_via_symbols
