	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_rdma_cm_handler
_nvme_rdma_cm_handler:                  ## @nvme_rdma_cm_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movq	8(%r14), %rax
	movl	(%rax), %r12d
	movl	(%rsi), %edi
	callq	_rdma_event_msg
	movl	(%rbx), %ecx
	movl	4(%rbx), %r8d
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movl	%eax, %edx
	movq	%r15, %r9
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	(%rbx), %edx
	leal	-128(%rdx), %eax
	cmpl	$11, %eax
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movq	%r14, %rdi
	callq	_nvme_rdma_destroy_queue_ib
	movl	(%rbx), %edx
LBB0_6:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_ECONNRESET@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	testl	%ebx, %ebx
	jne	LBB0_13
	jmp	LBB0_15
LBB0_7:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_8
LBB0_2:
	movq	%r14, %rdi
	callq	_nvme_rdma_route_resolved
	jmp	LBB0_11
LBB0_4:
	movq	%r14, %rdi
	callq	_nvme_rdma_destroy_queue_ib
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_nvme_rdma_conn_rejected
	jmp	LBB0_11
LBB0_3:
	movq	%r14, %rdi
	callq	_nvme_rdma_conn_established
	movl	%eax, (%r14)
	jmp	LBB0_14
LBB0_10:
	movq	%r14, %rdi
	callq	_nvme_rdma_addr_resolved
LBB0_11:
	movl	%eax, %ebx
	testl	%ebx, %ebx
	je	LBB0_15
LBB0_13:
	movl	%ebx, (%r14)
LBB0_14:
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_complete
	jmp	LBB0_15
LBB0_9:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dev_err
LBB0_8:
	movq	8(%r14), %rdi
	callq	_nvme_rdma_error_recovery
LBB0_15:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_15
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s (%d): status %d id %p\n"

L_.str.1:                               ## @.str.1
	.asciz	"CM error event %d\n"

	.comm	_ECONNRESET,4,2                 ## @ECONNRESET
L_.str.2:                               ## @.str.2
	.asciz	"disconnect received - connection closed\n"

L_.str.3:                               ## @.str.3
	.asciz	"Unexpected RDMA CM event (%d)\n"

	.no_dead_strip	_nvme_rdma_cm_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_rdma_cm_handler
_nvme_rdma_cm_handler:                  ; @nvme_rdma_cm_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x21, x0
	ldr	x19, [x0]
	ldr	x8, [x19, #8]
	ldr	w22, [x8]
	ldr	w0, [x1]
	bl	_rdma_event_msg
                                        ; kill: def $w0 killed $w0 def $x0
	ldp	w8, w9, [x20]
	stp	x9, x21, [sp, #16]
	stp	x0, x8, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_dev_dbg
	ldr	w2, [x20]
	sub	w8, w2, #128
	cmp	w8, #11
	b.hi	LBB0_10
; %bb.1:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	bl	_nvme_rdma_destroy_queue_ib
	ldr	w2, [x20]
LBB0_3:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	str	x2, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
Lloh6:
	adrp	x8, _ECONNRESET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ECONNRESET@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	cbnz	w0, LBB0_9
	b	LBB0_12
LBB0_4:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg
	b	LBB0_11
LBB0_5:
	mov	x0, x19
	bl	_nvme_rdma_route_resolved
	cbnz	w0, LBB0_9
	b	LBB0_12
LBB0_6:
	mov	x0, x19
	bl	_nvme_rdma_destroy_queue_ib
	mov	x0, x19
	mov	x1, x20
	bl	_nvme_rdma_conn_rejected
	cbnz	w0, LBB0_9
	b	LBB0_12
LBB0_7:
	mov	x0, x19
	bl	_nvme_rdma_conn_established
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_nvme_rdma_addr_resolved
	cbz	w0, LBB0_12
LBB0_9:
	str	w0, [x19], #4
	mov	x0, x19
	bl	_complete
	b	LBB0_12
LBB0_10:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_dev_err
LBB0_11:
	ldr	x0, [x19, #8]
	bl	_nvme_rdma_error_recovery
LBB0_12:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s (%d): status %d id %p\n"

l_.str.1:                               ; @.str.1
	.asciz	"CM error event %d\n"

	.comm	_ECONNRESET,4,2                 ; @ECONNRESET
l_.str.2:                               ; @.str.2
	.asciz	"disconnect received - connection closed\n"

l_.str.3:                               ; @.str.3
	.asciz	"Unexpected RDMA CM event (%d)\n"

	.no_dead_strip	_nvme_rdma_cm_handler
.subsections_via_symbols
