	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns_roce_cmd_event             ## -- Begin function hns_roce_cmd_event
	.p2align	4, 0x90
_hns_roce_cmd_event:                    ## @hns_roce_cmd_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movq	(%rdi), %rdi
	andq	%rsi, %rdi
	leaq	(%rdi,%rdi,2), %rdi
	cmpq	%rsi, (%rax,%rdi,8)
	jne	LBB0_1
## %bb.2:
	movq	_HNS_ROCE_CMD_SUCCESS@GOTPCREL(%rip), %r8
	movq	_EIO@GOTPCREL(%rip), %r10
	xorl	%r9d, %r9d
	xorl	%esi, %esi
	subl	(%r10), %esi
	cmpq	%rdx, (%r8)
	cmovel	%r9d, %esi
	movl	%esi, 16(%rax,%rdi,8)
	movl	%ecx, 12(%rax,%rdi,8)
	leaq	(%rax,%rdi,8), %rdi
	addq	$8, %rdi
	popq	%rbp
	jmp	_complete                       ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HNS_ROCE_CMD_SUCCESS,8,3       ## @HNS_ROCE_CMD_SUCCESS
	.comm	_EIO,4,2                        ## @EIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns_roce_cmd_event             ; -- Begin function hns_roce_cmd_event
	.p2align	2
_hns_roce_cmd_event:                    ; @hns_roce_cmd_event
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0]
	and	x9, x9, x1
	mov	w10, #24
	mul	x10, x9, x10
	ldr	x10, [x8, x10]
	cmp	x10, x1
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x10, _HNS_ROCE_CMD_SUCCESS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _HNS_ROCE_CMD_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _EIO@GOTPAGE
Lloh4:
	ldr	x11, [x11, _EIO@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	cmp	x10, x2
	csneg	w10, wzr, w11, eq
	mov	w11, #24
	madd	x8, x9, x11, x8
	stp	w3, w10, [x8, #12]
	add	x0, x8, #8
	b	_complete
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HNS_ROCE_CMD_SUCCESS,8,3       ; @HNS_ROCE_CMD_SUCCESS
	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
