	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qedr_iw_event_handler
_qedr_iw_event_handler:                 ## @qedr_iw_event_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	movl	(%rsi), %edx
	leal	-128(%rdx), %eax
	cmpl	$14, %eax
	ja	LBB0_19
## %bb.1:
	movq	%rsi, %r14
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_18:
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP_NOTICE
	jmp	LBB0_20
LBB0_19:
	leaq	L_.str.9(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_DP_NOTICE
	jmp	LBB0_20
LBB0_9:
	movq	_IB_EVENT_QP_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	jmp	LBB0_10
LBB0_13:
	movq	_IB_EVENT_QP_ACCESS_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rcx
	jmp	LBB0_10
LBB0_17:
	movq	_IB_EVENT_QP_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.7(%rip), %rcx
	jmp	LBB0_10
LBB0_15:
	movq	_IB_EVENT_QP_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rcx
	jmp	LBB0_10
LBB0_4:
	movl	$0, (%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_qedr_iw_passive_complete
	jmp	LBB0_20
LBB0_2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_qedr_iw_mpa_request
	jmp	LBB0_20
LBB0_16:
	movq	_IB_EVENT_QP_ACCESS_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.6(%rip), %rcx
	jmp	LBB0_10
LBB0_12:
	movq	_IB_EVENT_QP_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	jmp	LBB0_10
LBB0_11:
	movq	_IB_EVENT_QP_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_10
LBB0_7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_qedr_iw_disconnect_event
	jmp	LBB0_20
LBB0_14:
	movq	_IB_EVENT_QP_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rcx
LBB0_10:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_qedr_iw_qp_event
LBB0_20:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movl	$0, (%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_qedr_iw_close_event
	jmp	LBB0_20
LBB0_3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_qedr_iw_mpa_reply
	jmp	LBB0_20
LBB0_5:
	movl	$0, (%rbx)
	movq	_IW_CM_EVENT_CONNECT_REPLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_qedr_iw_issue_event
	cmpl	$0, 4(%r14)
	jns	LBB0_20
## %bb.6:
	movq	8(%rbx), %rdi
	callq	*(%rdi)
	movq	$0, 8(%rbx)
	jmp	LBB0_20
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_18
	.long	L0_0_set_9
	.long	L0_0_set_13
	.long	L0_0_set_17
	.long	L0_0_set_15
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_16
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_14
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_IW_CM_EVENT_CONNECT_REPLY,4,2  ## @IW_CM_EVENT_CONNECT_REPLY
	.comm	_IB_EVENT_QP_FATAL,4,2          ## @IB_EVENT_QP_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"QED_IWARP_EVENT_RQ_EMPTY"

L_.str.1:                               ## @.str.1
	.asciz	"QED_IWARP_EVENT_IRQ_FULL"

L_.str.2:                               ## @.str.2
	.asciz	"QED_IWARP_EVENT_LLP_TIMEOUT"

	.comm	_IB_EVENT_QP_ACCESS_ERR,4,2     ## @IB_EVENT_QP_ACCESS_ERR
L_.str.3:                               ## @.str.3
	.asciz	"QED_IWARP_EVENT_REMOTE_PROTECTION_ERROR"

L_.str.4:                               ## @.str.4
	.asciz	"QED_IWARP_EVENT_CQ_OVERFLOW"

L_.str.5:                               ## @.str.5
	.asciz	"QED_IWARP_EVENT_QP_CATASTROPHIC"

L_.str.6:                               ## @.str.6
	.asciz	"QED_IWARP_EVENT_LOCAL_ACCESS_ERROR"

L_.str.7:                               ## @.str.7
	.asciz	"QED_IWARP_EVENT_REMOTE_OPERATION_ERROR"

L_.str.8:                               ## @.str.8
	.asciz	"Got terminate message\n"

L_.str.9:                               ## @.str.9
	.asciz	"Unknown event received %d\n"

	.no_dead_strip	_qedr_iw_event_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qedr_iw_event_handler
_qedr_iw_event_handler:                 ; @qedr_iw_event_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x0
	ldr	x0, [x0, #16]
	ldr	w8, [x1]
	sub	w9, w8, #128
	cmp	w9, #14
	b.hi	LBB0_3
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x8, lJTI0_0@PAGE
Lloh1:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x1, l_.str.8@PAGE
Lloh3:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_4
LBB0_3:
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str.9@PAGE
Lloh5:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_4:
	bl	_DP_NOTICE
	b	LBB0_17
LBB0_5:
Lloh6:
	adrp	x8, _IB_EVENT_QP_FATAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_EVENT_QP_FATAL@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	b	LBB0_16
LBB0_6:
Lloh11:
	adrp	x8, _IB_EVENT_QP_ACCESS_ERR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IB_EVENT_QP_ACCESS_ERR@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x3, l_.str.3@PAGE
Lloh15:
	add	x3, x3, l_.str.3@PAGEOFF
	b	LBB0_16
LBB0_7:
Lloh16:
	adrp	x8, _IB_EVENT_QP_FATAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IB_EVENT_QP_FATAL@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x3, l_.str.7@PAGE
Lloh20:
	add	x3, x3, l_.str.7@PAGEOFF
	b	LBB0_16
LBB0_8:
Lloh21:
	adrp	x8, _IB_EVENT_QP_FATAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IB_EVENT_QP_FATAL@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
Lloh24:
	adrp	x3, l_.str.5@PAGE
Lloh25:
	add	x3, x3, l_.str.5@PAGEOFF
	b	LBB0_16
LBB0_9:
	str	wzr, [x20]
	mov	x0, x20
	mov	x1, x19
	bl	_qedr_iw_passive_complete
	b	LBB0_17
LBB0_10:
	mov	x0, x20
	mov	x1, x19
	bl	_qedr_iw_mpa_request
	b	LBB0_17
LBB0_11:
Lloh26:
	adrp	x8, _IB_EVENT_QP_ACCESS_ERR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IB_EVENT_QP_ACCESS_ERR@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x3, l_.str.6@PAGE
Lloh30:
	add	x3, x3, l_.str.6@PAGEOFF
	b	LBB0_16
LBB0_12:
Lloh31:
	adrp	x8, _IB_EVENT_QP_FATAL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IB_EVENT_QP_FATAL@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
Lloh34:
	adrp	x3, l_.str.2@PAGE
Lloh35:
	add	x3, x3, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_13:
Lloh36:
	adrp	x8, _IB_EVENT_QP_FATAL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _IB_EVENT_QP_FATAL@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
Lloh39:
	adrp	x3, l_.str.1@PAGE
Lloh40:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_14:
	mov	x0, x20
	mov	x1, x19
	bl	_qedr_iw_disconnect_event
	b	LBB0_17
LBB0_15:
Lloh41:
	adrp	x8, _IB_EVENT_QP_FATAL@GOTPAGE
Lloh42:
	ldr	x8, [x8, _IB_EVENT_QP_FATAL@GOTPAGEOFF]
Lloh43:
	ldr	w2, [x8]
Lloh44:
	adrp	x3, l_.str.4@PAGE
Lloh45:
	add	x3, x3, l_.str.4@PAGEOFF
LBB0_16:
	mov	x0, x20
	mov	x1, x19
	bl	_qedr_iw_qp_event
LBB0_17:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_18:
	str	wzr, [x20]
	mov	x0, x20
	mov	x1, x19
	bl	_qedr_iw_close_event
	b	LBB0_17
LBB0_19:
	mov	x0, x20
	mov	x1, x19
	bl	_qedr_iw_mpa_reply
	b	LBB0_17
LBB0_20:
	str	wzr, [x20]
Lloh46:
	adrp	x8, _IW_CM_EVENT_CONNECT_REPLY@GOTPAGE
Lloh47:
	ldr	x8, [x8, _IW_CM_EVENT_CONNECT_REPLY@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_qedr_iw_issue_event
	ldr	w8, [x19, #4]
	tbz	w8, #31, LBB0_17
; %bb.21:
	ldr	x0, [x20, #8]
	ldr	x8, [x0]
	blr	x8
	str	xzr, [x20, #8]
	b	LBB0_17
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-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
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
	.byte	(LBB0_20-LBB0_2)>>2
                                        ; -- End function
	.comm	_IW_CM_EVENT_CONNECT_REPLY,4,2  ; @IW_CM_EVENT_CONNECT_REPLY
	.comm	_IB_EVENT_QP_FATAL,4,2          ; @IB_EVENT_QP_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"QED_IWARP_EVENT_RQ_EMPTY"

l_.str.1:                               ; @.str.1
	.asciz	"QED_IWARP_EVENT_IRQ_FULL"

l_.str.2:                               ; @.str.2
	.asciz	"QED_IWARP_EVENT_LLP_TIMEOUT"

	.comm	_IB_EVENT_QP_ACCESS_ERR,4,2     ; @IB_EVENT_QP_ACCESS_ERR
l_.str.3:                               ; @.str.3
	.asciz	"QED_IWARP_EVENT_REMOTE_PROTECTION_ERROR"

l_.str.4:                               ; @.str.4
	.asciz	"QED_IWARP_EVENT_CQ_OVERFLOW"

l_.str.5:                               ; @.str.5
	.asciz	"QED_IWARP_EVENT_QP_CATASTROPHIC"

l_.str.6:                               ; @.str.6
	.asciz	"QED_IWARP_EVENT_LOCAL_ACCESS_ERROR"

l_.str.7:                               ; @.str.7
	.asciz	"QED_IWARP_EVENT_REMOTE_OPERATION_ERROR"

l_.str.8:                               ; @.str.8
	.asciz	"Got terminate message\n"

l_.str.9:                               ; @.str.9
	.asciz	"Unknown event received %d\n"

	.no_dead_strip	_qedr_iw_event_handler
.subsections_via_symbols
