	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_v1_local_wq_access_err_handle
_hns_roce_v1_local_wq_access_err_handle: ## @hns_roce_v1_local_wq_access_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	(%rdi), %r15
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_warn
	movl	(%rbx), %edi
	movq	_HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_roce_get_field
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_10
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_3
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_3
LBB0_7:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_3
LBB0_6:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_9:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_3
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_3
LBB0_8:
	leaq	L_.str.6(%rip), %rsi
LBB0_3:
	movq	%r15, %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Local Access Violation Work Queue Error.\n"

	.comm	_HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_M,4,2 ## @HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_M
	.comm	_HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_S,4,2 ## @HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_S
L_.str.1:                               ## @.str.1
	.asciz	"QP %d, R_key violation.\n"

L_.str.2:                               ## @.str.2
	.asciz	"QP %d, length error.\n"

L_.str.3:                               ## @.str.3
	.asciz	"QP %d, VA error.\n"

L_.str.4:                               ## @.str.4
	.asciz	"QP %d, PD error.\n"

L_.str.5:                               ## @.str.5
	.asciz	"QP %d, rw acc error.\n"

L_.str.6:                               ## @.str.6
	.asciz	"QP %d, key state error.\n"

L_.str.7:                               ## @.str.7
	.asciz	"QP %d, MR operation error.\n"

	.no_dead_strip	_hns_roce_v1_local_wq_access_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_local_wq_access_err_handle
_hns_roce_v1_local_wq_access_err_handle: ; @hns_roce_v1_local_wq_access_err_handle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	ldr	x19, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_M@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_M@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_S@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_S@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_roce_get_field
	sub	w8, w0, #128
	cmp	w8, #6
	b.hi	LBB0_10
; %bb.1:
Lloh8:
	adrp	x9, lJTI0_0@PAGE
Lloh9:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	str	x20, [sp]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_3:
	str	x20, [sp]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_4:
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	str	x20, [sp]
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_9
LBB0_5:
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	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
	add	sp, sp, #64
	b	_dev_err
LBB0_6:
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	str	x20, [sp]
Lloh18:
	adrp	x1, l_.str.7@PAGE
Lloh19:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_9
LBB0_7:
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	str	x20, [sp]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_8:
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	str	x20, [sp]
Lloh22:
	adrp	x1, l_.str.6@PAGE
Lloh23:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_9:
	mov	x0, x19
	bl	_dev_warn
LBB0_10:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Local Access Violation Work Queue Error.\n"

	.comm	_HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_M,4,2 ; @HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_M
	.comm	_HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_S,4,2 ; @HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_S
l_.str.1:                               ; @.str.1
	.asciz	"QP %d, R_key violation.\n"

l_.str.2:                               ; @.str.2
	.asciz	"QP %d, length error.\n"

l_.str.3:                               ; @.str.3
	.asciz	"QP %d, VA error.\n"

l_.str.4:                               ; @.str.4
	.asciz	"QP %d, PD error.\n"

l_.str.5:                               ; @.str.5
	.asciz	"QP %d, rw acc error.\n"

l_.str.6:                               ; @.str.6
	.asciz	"QP %d, key state error.\n"

l_.str.7:                               ; @.str.7
	.asciz	"QP %d, MR operation error.\n"

	.no_dead_strip	_hns_roce_v1_local_wq_access_err_handle
.subsections_via_symbols
