	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nes_cm_disconn_true
_nes_cm_disconn_true:                   ## @nes_cm_disconn_true
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movq	_NES_CQP_FLUSH_RQ@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	104(%rdi), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	112(%r14), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r15
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movl	80(%r14), %edi
	callq	_to_nesvnic
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	_NES_DBG_CM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	52(%r14), %edx
	leaq	L_.str.2(%rip), %rsi
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_nes_debug
	movq	(%r14), %r13
	movq	16(%r14), %rbx
	cmpq	$0, 96(%r14)
	je	LBB0_8
## %bb.5:
	movq	$0, 112(%r14)
	leaq	120(%r14), %rdi
	callq	_del_timer
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	cmpl	$0, 24(%r14)
	je	LBB0_7
## %bb.6:
	movb	$1, %cl
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_16
LBB0_1:
	movq	_NES_DBG_CM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_nes_debug
	movl	$-1, %r15d
	jmp	LBB0_37
LBB0_3:
	movq	_NES_DBG_CM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	52(%r14), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_nes_debug
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movl	$-1, %r15d
	jmp	LBB0_37
LBB0_8:
	movq	_NES_AEQE_TCP_STATE_CLOSE_WAIT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_9
## %bb.11:
	movq	_NES_AEQE_AEID_LLP_CONNECTION_RESET@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_14
## %bb.12:
	movb	$1, %cl
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_15
LBB0_7:
	movl	$1, 24(%r14)
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%ecx, %ecx
	jmp	LBB0_16
LBB0_9:
	movq	8(%r14), %rax
	movq	_IB_QPS_RTS@GOTPCREL(%rip), %rcx
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movb	$1, %dl
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.13:
	movq	_NES_AEQE_AEID_LLP_CONNECTION_RESET@GOTPCREL(%rip), %rax
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movb	$1, %cl
	cmpq	(%rax), %rbx
	jne	LBB0_16
LBB0_14:
	movq	_ECONNRESET@GOTPCREL(%rip), %rax
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movb	$1, %cl
LBB0_15:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
LBB0_16:
	movq	_NES_AEQE_TCP_STATE_CLOSED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_20
## %bb.17:
	movq	_NES_AEQE_TCP_STATE_TIME_WAIT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_20
## %bb.18:
	movq	_NES_AEQE_AEID_RDMAP_ROE_BAD_LLP_CLOSE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_20
## %bb.19:
	movq	_NES_AEQE_AEID_LLP_CONNECTION_RESET@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_22
LBB0_20:
	movq	$0, 112(%r14)
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	cmpl	$0, 24(%r14)
	je	LBB0_21
LBB0_22:
	movq	%r12, %rdi
	movl	%ecx, %ebx
	callq	_spin_unlock_irqrestore
	testb	%bl, %bl
	movq	%r15, %rbx
	jne	LBB0_29
## %bb.23:
	cmpq	$0, 32(%r14)
	jne	LBB0_29
	jmp	LBB0_24
LBB0_21:
	movl	$1, 24(%r14)
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	movq	%r15, %rbx
	cmpq	$0, 32(%r14)
	jne	LBB0_29
LBB0_24:
	movq	40(%r14), %rax
	movq	_NES_AEQE_IWARP_STATE_TERMINATE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	jl	LBB0_26
## %bb.25:
	movq	_NES_CQP_FLUSH_SQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_26:
	orl	-56(%rbp), %edx                 ## 4-byte Folded Reload
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	movq	%r14, %rsi
	movl	$1, %ecx
	callq	_flush_wqes
	cmpq	$0, 96(%r14)
	je	LBB0_29
## %bb.27:
	leaq	64(%r14), %rax
	movl	80(%r14), %ecx
	movl	%ecx, -116(%rbp)
	movl	88(%r14), %ecx
	movl	%ecx, -120(%rbp)
	movq	%rax, -128(%rbp)
	movq	72(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_29
## %bb.28:
	movl	(%rax), %esi
	leaq	-128(%rbp), %rdi
	callq	*%rcx
LBB0_29:
	xorl	%r15d, %r15d
	cmpq	$0, (%rbx)
	je	LBB0_37
## %bb.30:
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_33
## %bb.31:
	movq	_cm_disconnects@GOTPCREL(%rip), %rdi
	callq	_atomic_inc
	movq	_IW_CM_EVENT_DISCONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -104(%rbp)
	movl	20(%rbx), %eax
	movl	%eax, -76(%rbp)
	movl	16(%rbx), %eax
	movl	%eax, -80(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -96(%rbp)
	movq	_NES_DBG_CM@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	60(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	52(%r14), %r13d
	movl	56(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	48(%r14), %rdi
	callq	_atomic_read
	movl	%eax, (%rsp)
	leaq	L_.str.3(%rip), %rsi
	movl	%r12d, %edi
	movl	%r13d, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	%rbx, %r9
	xorl	%eax, %eax
	callq	_nes_debug
	leaq	-104(%rbp), %rsi
	movq	%rbx, %rdi
	callq	*(%rbx)
	testl	%eax, %eax
	je	LBB0_33
## %bb.32:
	movq	_NES_DBG_CM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_nes_debug
LBB0_33:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_37
## %bb.34:
	movq	_cm_closes@GOTPCREL(%rip), %rdi
	callq	_atomic_inc
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_nes_disconnect
	movq	%r14, 24(%rbx)
	movq	_IW_CM_EVENT_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	$0, -104(%rbp)
	movq	%r14, -72(%rbp)
	movl	20(%rbx), %eax
	movl	%eax, -76(%rbp)
	movl	16(%rbx), %eax
	movl	%eax, -80(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -96(%rbp)
	leaq	-104(%rbp), %rsi
	movq	%rbx, %rdi
	callq	*(%rbx)
	testl	%eax, %eax
	je	LBB0_36
## %bb.35:
	movq	_NES_DBG_CM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_nes_debug
LBB0_36:
	movq	%rbx, %rdi
	callq	*8(%rbx)
LBB0_37:
	movl	%r15d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movb	$1, %cl
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_NES_CQP_FLUSH_RQ,4,2           ## @NES_CQP_FLUSH_RQ
	.comm	_NES_DBG_CM,4,2                 ## @NES_DBG_CM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"disconnect_worker nesqp is NULL\n"

L_.str.1:                               ## @.str.1
	.asciz	"QP%u disconnect_worker cmid is NULL\n"

L_.str.2:                               ## @.str.2
	.asciz	"Disconnecting QP%u\n"

	.comm	_NES_AEQE_TCP_STATE_CLOSE_WAIT,8,3 ## @NES_AEQE_TCP_STATE_CLOSE_WAIT
	.comm	_IB_QPS_RTS,8,3                 ## @IB_QPS_RTS
	.comm	_NES_AEQE_AEID_LLP_CONNECTION_RESET,8,3 ## @NES_AEQE_AEID_LLP_CONNECTION_RESET
	.comm	_ECONNRESET,4,2                 ## @ECONNRESET
	.comm	_NES_AEQE_TCP_STATE_CLOSED,8,3  ## @NES_AEQE_TCP_STATE_CLOSED
	.comm	_NES_AEQE_TCP_STATE_TIME_WAIT,8,3 ## @NES_AEQE_TCP_STATE_TIME_WAIT
	.comm	_NES_AEQE_AEID_RDMAP_ROE_BAD_LLP_CLOSE,8,3 ## @NES_AEQE_AEID_RDMAP_ROE_BAD_LLP_CLOSE
	.comm	_NES_AEQE_IWARP_STATE_TERMINATE,8,3 ## @NES_AEQE_IWARP_STATE_TERMINATE
	.comm	_NES_CQP_FLUSH_SQ,4,2           ## @NES_CQP_FLUSH_SQ
	.comm	_cm_disconnects,4,2             ## @cm_disconnects
	.comm	_IW_CM_EVENT_DISCONNECT,4,2     ## @IW_CM_EVENT_DISCONNECT
L_.str.3:                               ## @.str.3
	.asciz	"Generating a CM Disconnect Event for  QP%u, SQ Head = %u, SQ Tail = %u. cm_id = %p, refcount = %u.\n"

L_.str.4:                               ## @.str.4
	.asciz	"OFA CM event_handler returned, ret=%d\n"

	.comm	_cm_closes,4,2                  ## @cm_closes
	.comm	_IW_CM_EVENT_CLOSE,4,2          ## @IW_CM_EVENT_CLOSE
	.no_dead_strip	_nes_cm_disconn_true
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nes_cm_disconn_true
_nes_cm_disconn_true:                   ; @nes_cm_disconn_true
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _NES_CQP_FLUSH_RQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NES_CQP_FLUSH_RQ@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
	add	x21, x0, #104
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x19, [x20, #112]
	cbz	x19, LBB0_6
; %bb.2:
	ldr	w0, [x20, #80]
	bl	_to_nesvnic
	mov	x26, x0
Lloh3:
	adrp	x23, _NES_DBG_CM@GOTPAGE
Lloh4:
	ldr	x23, [x23, _NES_DBG_CM@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w8, [x20, #52]
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_nes_debug
	ldr	x22, [x20]
	ldr	x28, [x20, #16]
	ldr	x8, [x20, #96]
Lloh7:
	adrp	x25, _NES_AEQE_AEID_LLP_CONNECTION_RESET@GOTPAGE
Lloh8:
	ldr	x25, [x25, _NES_AEQE_AEID_LLP_CONNECTION_RESET@GOTPAGEOFF]
	str	x26, [sp, #48]                  ; 8-byte Folded Spill
	str	w27, [sp, #44]                  ; 4-byte Folded Spill
	cbz	x8, LBB0_7
; %bb.3:
	str	xzr, [x20, #112]
	add	x0, x20, #120
	bl	_del_timer
	ldr	w8, [x20, #24]
	mov	w24, #1
	cbz	w8, LBB0_10
; %bb.4:
	str	wzr, [sp, #60]                  ; 4-byte Folded Spill
	mov	w27, #0
	b	LBB0_14
LBB0_5:
Lloh9:
	adrp	x8, _NES_DBG_CM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NES_DBG_CM@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_nes_debug
	mov	w0, #-1
	b	LBB0_35
LBB0_6:
Lloh14:
	adrp	x8, _NES_DBG_CM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NES_DBG_CM@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	w8, [x20, #52]
	str	x8, [sp]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_nes_debug
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	w0, #-1
	b	LBB0_35
LBB0_7:
Lloh19:
	adrp	x8, _NES_AEQE_TCP_STATE_CLOSE_WAIT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NES_AEQE_TCP_STATE_CLOSE_WAIT@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_11
; %bb.8:
	ldr	x8, [x25]
	cmp	x28, x8
	b.eq	LBB0_13
; %bb.9:
	str	wzr, [sp, #60]                  ; 4-byte Folded Spill
	mov	w27, #0
	mov	w24, #0
	b	LBB0_14
LBB0_10:
	str	wzr, [sp, #60]                  ; 4-byte Folded Spill
	mov	w27, #0
	mov	w26, #0
	str	w24, [x20, #24]
	b	LBB0_15
LBB0_11:
	ldr	x8, [x20, #8]
Lloh22:
	adrp	x9, _IB_QPS_RTS@GOTPAGE
Lloh23:
	ldr	x9, [x9, _IB_QPS_RTS@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	ldr	x10, [x25]
	cmp	x8, x9
	ccmp	x28, x10, #0, eq
	b.eq	LBB0_13
; %bb.12:
	str	wzr, [sp, #60]                  ; 4-byte Folded Spill
	mov	w24, #0
	mov	w27, #1
	b	LBB0_14
LBB0_13:
	mov	w27, #0
	mov	w24, #0
Lloh25:
	adrp	x8, _ECONNRESET@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ECONNRESET@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
LBB0_14:
	mov	w26, #1
LBB0_15:
Lloh28:
	adrp	x8, _NES_AEQE_TCP_STATE_CLOSED@GOTPAGE
Lloh29:
	ldr	x8, [x8, _NES_AEQE_TCP_STATE_CLOSED@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	cmp	x22, x8
	b.eq	LBB0_19
; %bb.16:
Lloh31:
	adrp	x8, _NES_AEQE_TCP_STATE_TIME_WAIT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _NES_AEQE_TCP_STATE_TIME_WAIT@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cmp	x22, x8
	b.eq	LBB0_19
; %bb.17:
Lloh34:
	adrp	x8, _NES_AEQE_AEID_RDMAP_ROE_BAD_LLP_CLOSE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _NES_AEQE_AEID_RDMAP_ROE_BAD_LLP_CLOSE@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	cmp	x28, x8
	b.eq	LBB0_19
; %bb.18:
	ldr	x8, [x25]
	cmp	x28, x8
	b.ne	LBB0_20
LBB0_19:
	str	xzr, [x20, #112]
	ldr	w8, [x20, #24]
	mov	w24, #1
	cbz	w8, LBB0_22
LBB0_20:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	tbnz	w26, #0, LBB0_26
; %bb.21:
	ldr	x8, [x20, #32]
	cbnz	x8, LBB0_26
	b	LBB0_23
LBB0_22:
	str	w24, [x20, #24]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	ldr	x8, [x20, #32]
	cbnz	x8, LBB0_26
LBB0_23:
	ldr	x8, [x20, #40]
Lloh37:
	adrp	x9, _NES_AEQE_IWARP_STATE_TERMINATE@GOTPAGE
Lloh38:
	ldr	x9, [x9, _NES_AEQE_IWARP_STATE_TERMINATE@GOTPAGEOFF]
Lloh39:
	adrp	x10, _NES_CQP_FLUSH_SQ@GOTPAGE
Lloh40:
	ldr	x10, [x10, _NES_CQP_FLUSH_SQ@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
Lloh42:
	ldr	w10, [x10]
	cmp	x8, x9
	csel	w8, wzr, w10, lt
	ldr	w9, [sp, #44]                   ; 4-byte Folded Reload
	orr	w2, w8, w9
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
	mov	x1, x20
	mov	w3, #1
	bl	_flush_wqes
	ldr	x8, [x20, #96]
	cbz	x8, LBB0_26
; %bb.24:
	add	x8, x20, #64
	ldr	w9, [x20, #80]
	ldr	w10, [x20, #88]
	stp	w10, w9, [sp, #72]
	str	x8, [sp, #64]
	ldr	x9, [x20, #72]
	cbz	x9, LBB0_26
; %bb.25:
	ldr	w1, [x8]
	add	x0, sp, #64
	blr	x9
LBB0_26:
	ldr	x8, [x19]
	cbz	x8, LBB0_34
; %bb.27:
	mov	x26, x23
	tbnz	w27, #0, LBB0_30
; %bb.28:
Lloh43:
	adrp	x0, _cm_disconnects@GOTPAGE
Lloh44:
	ldr	x0, [x0, _cm_disconnects@GOTPAGEOFF]
	bl	_atomic_inc
Lloh45:
	adrp	x8, _IW_CM_EVENT_DISCONNECT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _IW_CM_EVENT_DISCONNECT@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	str	w8, [sp, #120]
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	str	w8, [sp, #80]
	ldr	d0, [x19, #16]
	str	d0, [sp, #104]
	stp	xzr, xzr, [sp, #88]
	ldr	w21, [x26]
	add	x0, x20, #48
	ldp	w25, w22, [x20, #56]
	ldr	w23, [x20, #52]
	bl	_atomic_read
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp, #24]
	stp	x22, x25, [sp, #8]
	str	x23, [sp]
Lloh48:
	adrp	x1, l_.str.3@PAGE
Lloh49:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_nes_debug
	ldr	x8, [x19]
	add	x1, sp, #80
	mov	x0, x19
	blr	x8
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_30
; %bb.29:
	ldr	w8, [x26]
	str	x0, [sp]
Lloh50:
	adrp	x1, l_.str.4@PAGE
Lloh51:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x8
	bl	_nes_debug
LBB0_30:
	cbz	w24, LBB0_34
; %bb.31:
Lloh52:
	adrp	x0, _cm_closes@GOTPAGE
Lloh53:
	ldr	x0, [x0, _cm_closes@GOTPAGEOFF]
	bl	_atomic_inc
	mov	x0, x20
	mov	w1, #1
	bl	_nes_disconnect
	str	x20, [x19, #24]
Lloh54:
	adrp	x8, _IW_CM_EVENT_CLOSE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _IW_CM_EVENT_CLOSE@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	str	w8, [sp, #120]
	str	wzr, [sp, #80]
	str	x20, [sp, #112]
	ldr	d0, [x19, #16]
	str	d0, [sp, #104]
	stp	xzr, xzr, [sp, #88]
	ldr	x8, [x19]
	add	x1, sp, #80
	mov	x0, x19
	blr	x8
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_33
; %bb.32:
	ldr	w8, [x26]
	str	x0, [sp]
Lloh57:
	adrp	x1, l_.str.4@PAGE
Lloh58:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x8
	bl	_nes_debug
LBB0_33:
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
LBB0_34:
	mov	w0, #0
LBB0_35:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh41
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_NES_CQP_FLUSH_RQ,4,2           ; @NES_CQP_FLUSH_RQ
	.comm	_NES_DBG_CM,4,2                 ; @NES_DBG_CM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"disconnect_worker nesqp is NULL\n"

l_.str.1:                               ; @.str.1
	.asciz	"QP%u disconnect_worker cmid is NULL\n"

l_.str.2:                               ; @.str.2
	.asciz	"Disconnecting QP%u\n"

	.comm	_NES_AEQE_TCP_STATE_CLOSE_WAIT,8,3 ; @NES_AEQE_TCP_STATE_CLOSE_WAIT
	.comm	_IB_QPS_RTS,8,3                 ; @IB_QPS_RTS
	.comm	_NES_AEQE_AEID_LLP_CONNECTION_RESET,8,3 ; @NES_AEQE_AEID_LLP_CONNECTION_RESET
	.comm	_ECONNRESET,4,2                 ; @ECONNRESET
	.comm	_NES_AEQE_TCP_STATE_CLOSED,8,3  ; @NES_AEQE_TCP_STATE_CLOSED
	.comm	_NES_AEQE_TCP_STATE_TIME_WAIT,8,3 ; @NES_AEQE_TCP_STATE_TIME_WAIT
	.comm	_NES_AEQE_AEID_RDMAP_ROE_BAD_LLP_CLOSE,8,3 ; @NES_AEQE_AEID_RDMAP_ROE_BAD_LLP_CLOSE
	.comm	_NES_AEQE_IWARP_STATE_TERMINATE,8,3 ; @NES_AEQE_IWARP_STATE_TERMINATE
	.comm	_NES_CQP_FLUSH_SQ,4,2           ; @NES_CQP_FLUSH_SQ
	.comm	_cm_disconnects,4,2             ; @cm_disconnects
	.comm	_IW_CM_EVENT_DISCONNECT,4,2     ; @IW_CM_EVENT_DISCONNECT
l_.str.3:                               ; @.str.3
	.asciz	"Generating a CM Disconnect Event for  QP%u, SQ Head = %u, SQ Tail = %u. cm_id = %p, refcount = %u.\n"

l_.str.4:                               ; @.str.4
	.asciz	"OFA CM event_handler returned, ret=%d\n"

	.comm	_cm_closes,4,2                  ; @cm_closes
	.comm	_IW_CM_EVENT_CLOSE,4,2          ; @IW_CM_EVENT_CLOSE
	.no_dead_strip	_nes_cm_disconn_true
.subsections_via_symbols
