	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_v1_cq_err_handle
_hns_roce_v1_cq_err_handle:             ## @hns_roce_v1_cq_err_handle
	.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	%edx, %r14d
	movq	%rdi, %r12
	movq	(%rdi), %r15
	movl	(%rsi), %edi
	movq	_HNS_ROCE_AEQE_EVENT_CQ_EVENT_CQ_CQN_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HNS_ROCE_AEQE_EVENT_CQ_EVENT_CQ_CQN_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_roce_get_field
	movl	%eax, %ebx
	leal	-128(%r14), %eax
	cmpl	$2, %eax
	ja	LBB0_2
## %bb.1:
	cltq
	leaq	l_reltable.hns_roce_v1_cq_err_handle(%rip), %rcx
	movslq	(%rcx,%rax,4), %rsi
	addq	%rcx, %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_dev_warn
LBB0_2:
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hns_roce_cq_event              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HNS_ROCE_AEQE_EVENT_CQ_EVENT_CQ_CQN_M,4,2 ## @HNS_ROCE_AEQE_EVENT_CQ_EVENT_CQ_CQN_M
	.comm	_HNS_ROCE_AEQE_EVENT_CQ_EVENT_CQ_CQN_S,4,2 ## @HNS_ROCE_AEQE_EVENT_CQ_EVENT_CQ_CQN_S
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CQ 0x%x access err.\n"

L_.str.1:                               ## @.str.1
	.asciz	"CQ 0x%x overflow\n"

L_.str.2:                               ## @.str.2
	.asciz	"CQ 0x%x ID invalid.\n"

	.no_dead_strip	_hns_roce_v1_cq_err_handle
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.hns_roce_v1_cq_err_handle
l_reltable.hns_roce_v1_cq_err_handle:
	.long	L_.str.1-l_reltable.hns_roce_v1_cq_err_handle
	.long	L_.str.2-l_reltable.hns_roce_v1_cq_err_handle
	.long	L_.str-l_reltable.hns_roce_v1_cq_err_handle

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_roce_v1_cq_err_handle
_hns_roce_v1_cq_err_handle:             ; @hns_roce_v1_cq_err_handle
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x0
	ldr	x21, [x0]
	ldr	w0, [x1]
Lloh0:
	adrp	x8, _HNS_ROCE_AEQE_EVENT_CQ_EVENT_CQ_CQN_M@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HNS_ROCE_AEQE_EVENT_CQ_EVENT_CQ_CQN_M@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _HNS_ROCE_AEQE_EVENT_CQ_EVENT_CQ_CQN_S@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HNS_ROCE_AEQE_EVENT_CQ_EVENT_CQ_CQN_S@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_roce_get_field
	mov	x22, x0
	sub	w8, w19, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, l_switch.table.hns_roce_v1_cq_err_handle@PAGE
Lloh7:
	add	x9, x9, l_switch.table.hns_roce_v1_cq_err_handle@PAGEOFF
	ldr	x1, [x9, w8, sxtw #3]
	mov	x0, x21
	mov	x2, x22
	bl	_dev_warn
LBB0_2:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_hns_roce_cq_event
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_HNS_ROCE_AEQE_EVENT_CQ_EVENT_CQ_CQN_M,4,2 ; @HNS_ROCE_AEQE_EVENT_CQ_EVENT_CQ_CQN_M
	.comm	_HNS_ROCE_AEQE_EVENT_CQ_EVENT_CQ_CQN_S,4,2 ; @HNS_ROCE_AEQE_EVENT_CQ_EVENT_CQ_CQN_S
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CQ 0x%x access err.\n"

l_.str.1:                               ; @.str.1
	.asciz	"CQ 0x%x overflow\n"

l_.str.2:                               ; @.str.2
	.asciz	"CQ 0x%x ID invalid.\n"

	.no_dead_strip	_hns_roce_v1_cq_err_handle
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.hns_roce_v1_cq_err_handle
l_switch.table.hns_roce_v1_cq_err_handle:
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str

.subsections_via_symbols
