	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_ib_qp_event
_hns_roce_ib_qp_event:                  ## @hns_roce_ib_qp_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	%esi, %edx
	leaq	8(%rdi), %r8
	movq	24(%rdi), %rsi
	movq	%rsi, -8(%rbp)
	movq	%r8, -16(%rbp)
	leal	-128(%rdx), %ecx
	cmpl	$7, %ecx
	ja	LBB0_13
## %bb.2:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_9:
	movq	_IB_EVENT_QP_FATAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_13:
	movl	(%rsi), %eax
	movl	(%rdi), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	addq	$32, %rsp
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
LBB0_8:
	movq	_IB_EVENT_QP_LAST_WQE_REACHED@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_7:
	movq	_IB_EVENT_SQ_DRAINED@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_10:
	movq	_IB_EVENT_PATH_MIG_ERR@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_3:
	movq	_IB_EVENT_PATH_MIG@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_12:
	movq	_IB_EVENT_QP_ACCESS_ERR@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_11:
	movq	_IB_EVENT_QP_REQ_ERR@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_6:
	movq	_IB_EVENT_COMM_EST@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %ecx
	movl	%ecx, -24(%rbp)
	movl	(%r8), %esi
	leaq	-24(%rbp), %rdi
	callq	*%rax
LBB0_5:
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_3
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_IB_EVENT_PATH_MIG,4,2          ## @IB_EVENT_PATH_MIG
	.comm	_IB_EVENT_COMM_EST,4,2          ## @IB_EVENT_COMM_EST
	.comm	_IB_EVENT_SQ_DRAINED,4,2        ## @IB_EVENT_SQ_DRAINED
	.comm	_IB_EVENT_QP_LAST_WQE_REACHED,4,2 ## @IB_EVENT_QP_LAST_WQE_REACHED
	.comm	_IB_EVENT_QP_FATAL,4,2          ## @IB_EVENT_QP_FATAL
	.comm	_IB_EVENT_PATH_MIG_ERR,4,2      ## @IB_EVENT_PATH_MIG_ERR
	.comm	_IB_EVENT_QP_REQ_ERR,4,2        ## @IB_EVENT_QP_REQ_ERR
	.comm	_IB_EVENT_QP_ACCESS_ERR,4,2     ## @IB_EVENT_QP_ACCESS_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"roce_ib: Unexpected event type %d on QP %06lx\n"

	.no_dead_strip	_hns_roce_ib_qp_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_roce_ib_qp_event
_hns_roce_ib_qp_event:                  ; @hns_roce_ib_qp_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_13
; %bb.1:
	mov	x2, x1
	add	x9, x0, #8
	ldr	x10, [x0, #24]
	stp	x9, x10, [sp, #16]
	sub	w11, w1, #128
	cmp	w11, #7
	b.hi	LBB0_4
; %bb.2:
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x12, LBB0_3
	ldrb	w13, [x10, x11]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_3:
Lloh2:
	adrp	x10, _IB_EVENT_QP_FATAL@GOTPAGE
Lloh3:
	ldr	x10, [x10, _IB_EVENT_QP_FATAL@GOTPAGEOFF]
	b	LBB0_12
LBB0_4:
	ldr	w8, [x10]
	ldr	w3, [x0]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_dev_dbg
LBB0_5:
Lloh6:
	adrp	x10, _IB_EVENT_QP_LAST_WQE_REACHED@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IB_EVENT_QP_LAST_WQE_REACHED@GOTPAGEOFF]
	b	LBB0_12
LBB0_6:
Lloh8:
	adrp	x10, _IB_EVENT_SQ_DRAINED@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IB_EVENT_SQ_DRAINED@GOTPAGEOFF]
	b	LBB0_12
LBB0_7:
Lloh10:
	adrp	x10, _IB_EVENT_PATH_MIG_ERR@GOTPAGE
Lloh11:
	ldr	x10, [x10, _IB_EVENT_PATH_MIG_ERR@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
Lloh12:
	adrp	x10, _IB_EVENT_PATH_MIG@GOTPAGE
Lloh13:
	ldr	x10, [x10, _IB_EVENT_PATH_MIG@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
Lloh14:
	adrp	x10, _IB_EVENT_QP_ACCESS_ERR@GOTPAGE
Lloh15:
	ldr	x10, [x10, _IB_EVENT_QP_ACCESS_ERR@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh16:
	adrp	x10, _IB_EVENT_QP_REQ_ERR@GOTPAGE
Lloh17:
	ldr	x10, [x10, _IB_EVENT_QP_REQ_ERR@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh18:
	adrp	x10, _IB_EVENT_COMM_EST@GOTPAGE
Lloh19:
	ldr	x10, [x10, _IB_EVENT_COMM_EST@GOTPAGEOFF]
LBB0_12:
	ldr	w10, [x10]
	str	w10, [sp, #8]
	ldr	w1, [x9]
	add	x0, sp, #8
	blr	x8
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
                                        ; -- End function
	.comm	_IB_EVENT_PATH_MIG,4,2          ; @IB_EVENT_PATH_MIG
	.comm	_IB_EVENT_COMM_EST,4,2          ; @IB_EVENT_COMM_EST
	.comm	_IB_EVENT_SQ_DRAINED,4,2        ; @IB_EVENT_SQ_DRAINED
	.comm	_IB_EVENT_QP_LAST_WQE_REACHED,4,2 ; @IB_EVENT_QP_LAST_WQE_REACHED
	.comm	_IB_EVENT_QP_FATAL,4,2          ; @IB_EVENT_QP_FATAL
	.comm	_IB_EVENT_PATH_MIG_ERR,4,2      ; @IB_EVENT_PATH_MIG_ERR
	.comm	_IB_EVENT_QP_REQ_ERR,4,2        ; @IB_EVENT_QP_REQ_ERR
	.comm	_IB_EVENT_QP_ACCESS_ERR,4,2     ; @IB_EVENT_QP_ACCESS_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"roce_ib: Unexpected event type %d on QP %06lx\n"

	.no_dead_strip	_hns_roce_ib_qp_event
.subsections_via_symbols
