	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c4iw_ev_dispatch               ## -- Begin function c4iw_ev_dispatch
	.p2align	4, 0x90
_c4iw_ev_dispatch:                      ## @c4iw_ev_dispatch
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_xa_lock_irq
	movq	%rbx, %rdi
	callq	_CQE_QPID
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_xa_load
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_SQ_TYPE
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	8(%r15,%rcx,4), %r13d
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_get_chp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_c4iw_qp_add_ref
	movq	%r12, %r13
	addq	$4, %r13
	movq	%r13, %rdi
	callq	_atomic_inc
	movq	%r14, %rdi
	callq	_xa_unlock_irq
	movq	%rbx, %rdi
	callq	_RQ_TYPE
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	callq	_CQE_OPCODE
	movq	_FW_RI_RDMA_WRITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	_IB_EVENT_QP_REQ_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_1:
	movq	%rbx, %rdi
	callq	_CQE_QPID
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_CQE_OPCODE
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_CQE_STATUS
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_CQE_TYPE
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_CQE_WRID_HI
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_CQE_WRID_LOW
	movl	%eax, %ebx
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, %ecx
	movl	%r15d, %r8d
	movl	%r12d, %r9d
	xorl	%eax, %eax
	pushq	%rbx
	callq	_pr_err
	jmp	LBB0_2
LBB0_8:
	movq	%rbx, %rdi
	callq	_CQE_STATUS
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$27, %eax
	ja	LBB0_13
## %bb.9:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_14:
	movq	_IB_EVENT_QP_FATAL@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_4:
	movq	%rbx, %rdi
	callq	_CQE_QPID
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_CQE_OPCODE
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_CQE_STATUS
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_CQE_TYPE
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_CQE_WRID_HI
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_CQE_WRID_LOW
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-60(%rbp), %r8d                 ## 4-byte Reload
	movl	%r12d, %r9d
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r15
	callq	_pr_err
LBB0_2:
	addq	$16, %rsp
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xa_unlock_irq                  ## TAILCALL
LBB0_11:
	movq	_IB_EVENT_QP_ACCESS_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_12:
	movq	_IB_EVENT_DEVICE_FATAL@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %r8d
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_post_qp_event
LBB0_16:
	movq	%r13, %rdi
	callq	_atomic_dec_and_test
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	%r12, %rdi
	callq	_wake_up
LBB0_18:
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_c4iw_qp_rem_ref                ## TAILCALL
LBB0_13:
	movq	%rbx, %rdi
	callq	_CQE_STATUS
	movl	4(%r15), %edx
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_14
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_16
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BAD AE qpid 0x%x opcode %d status 0x%x type %d wrid.hi 0x%x wrid.lo 0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"BAD AE cqid 0x%x qpid 0x%x opcode %d status 0x%x type %d wrid.hi 0x%x wrid.lo 0x%x\n"

	.comm	_FW_RI_RDMA_WRITE,8,3           ## @FW_RI_RDMA_WRITE
	.comm	_IB_EVENT_QP_REQ_ERR,4,2        ## @IB_EVENT_QP_REQ_ERR
L_.str.2:                               ## @.str.2
	.asciz	"AE with status 0!\n"

	.comm	_IB_EVENT_QP_ACCESS_ERR,4,2     ## @IB_EVENT_QP_ACCESS_ERR
	.comm	_IB_EVENT_DEVICE_FATAL,4,2      ## @IB_EVENT_DEVICE_FATAL
	.comm	_IB_EVENT_QP_FATAL,4,2          ## @IB_EVENT_QP_FATAL
L_.str.3:                               ## @.str.3
	.asciz	"Unknown T4 status 0x%x QPID 0x%x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c4iw_ev_dispatch               ; -- Begin function c4iw_ev_dispatch
	.p2align	2
_c4iw_ev_dispatch:                      ; @c4iw_ev_dispatch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	bl	_xa_lock_irq
	mov	x0, x20
	bl	_CQE_QPID
	mov	x1, x0
	mov	x0, x19
	bl	_xa_load
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	mov	x0, x20
	bl	_SQ_TYPE
	mov	w8, #12
	mov	w9, #8
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w23, [x21, x8]
	mov	x0, x19
	mov	x1, x23
	bl	_get_chp
	cbz	x0, LBB0_9
; %bb.2:
	mov	x22, x0
	mov	x0, x21
	bl	_c4iw_qp_add_ref
	add	x23, x22, #4
	mov	x0, x23
	bl	_atomic_inc
	mov	x0, x19
	bl	_xa_unlock_irq
	mov	x0, x20
	bl	_RQ_TYPE
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_CQE_OPCODE
Lloh0:
	adrp	x8, _FW_RI_RDMA_WRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_RI_RDMA_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
Lloh3:
	adrp	x8, _IB_EVENT_QP_REQ_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_EVENT_QP_REQ_ERR@GOTPAGEOFF]
	b	LBB0_13
LBB0_5:
	mov	x0, x20
	bl	_CQE_QPID
	mov	x21, x0
	mov	x0, x20
	bl	_CQE_OPCODE
	mov	x22, x0
	mov	x0, x20
	bl	_CQE_STATUS
	mov	x23, x0
	mov	x0, x20
	bl	_CQE_TYPE
	mov	x24, x0
	mov	x0, x20
	bl	_CQE_WRID_HI
	mov	x25, x0
	mov	x0, x20
	bl	_CQE_WRID_LOW
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x25, x0, [sp, #32]
	stp	x23, x24, [sp, #16]
	stp	x21, x22, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_10
LBB0_6:
	mov	x0, x20
	bl	_CQE_STATUS
	sub	w8, w0, #128
	cmp	w8, #27
	b.hi	LBB0_17
; %bb.7:
Lloh7:
	adrp	x9, lJTI0_0@PAGE
Lloh8:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
Lloh9:
	adrp	x8, _IB_EVENT_QP_FATAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IB_EVENT_QP_FATAL@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
	mov	x0, x20
	bl	_CQE_QPID
	mov	x21, x0
	mov	x0, x20
	bl	_CQE_OPCODE
	mov	x22, x0
	mov	x0, x20
	bl	_CQE_STATUS
	mov	x24, x0
	mov	x0, x20
	bl	_CQE_TYPE
	mov	x25, x0
	mov	x0, x20
	bl	_CQE_WRID_HI
	mov	x26, x0
	mov	x0, x20
	bl	_CQE_WRID_LOW
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x26, x0, [sp, #40]
	stp	x24, x25, [sp, #24]
	stp	x21, x22, [sp, #8]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	str	x23, [sp]
LBB0_10:
	bl	_pr_err
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_xa_unlock_irq
LBB0_11:
Lloh13:
	adrp	x8, _IB_EVENT_QP_ACCESS_ERR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IB_EVENT_QP_ACCESS_ERR@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh15:
	adrp	x8, _IB_EVENT_DEVICE_FATAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IB_EVENT_DEVICE_FATAL@GOTPAGEOFF]
LBB0_13:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_post_qp_event
LBB0_14:
	mov	x0, x23
	bl	_atomic_dec_and_test
	cbz	x0, LBB0_16
; %bb.15:
	mov	x0, x22
	bl	_wake_up
LBB0_16:
	mov	x0, x21
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_c4iw_qp_rem_ref
LBB0_17:
	mov	x0, x20
	bl	_CQE_STATUS
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x21, #4]
	stp	x0, x8, [sp]
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_err
	b	LBB0_8
LBB0_18:
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_18-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_12-LBB0_8)>>2
	.byte	(LBB0_12-LBB0_8)>>2
	.byte	(LBB0_12-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BAD AE qpid 0x%x opcode %d status 0x%x type %d wrid.hi 0x%x wrid.lo 0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"BAD AE cqid 0x%x qpid 0x%x opcode %d status 0x%x type %d wrid.hi 0x%x wrid.lo 0x%x\n"

	.comm	_FW_RI_RDMA_WRITE,8,3           ; @FW_RI_RDMA_WRITE
	.comm	_IB_EVENT_QP_REQ_ERR,4,2        ; @IB_EVENT_QP_REQ_ERR
l_.str.2:                               ; @.str.2
	.asciz	"AE with status 0!\n"

	.comm	_IB_EVENT_QP_ACCESS_ERR,4,2     ; @IB_EVENT_QP_ACCESS_ERR
	.comm	_IB_EVENT_DEVICE_FATAL,4,2      ; @IB_EVENT_DEVICE_FATAL
	.comm	_IB_EVENT_QP_FATAL,4,2          ; @IB_EVENT_QP_FATAL
l_.str.3:                               ; @.str.3
	.asciz	"Unknown T4 status 0x%x QPID 0x%x\n"

.subsections_via_symbols
