	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_recv_entry
_handle_recv_entry:                     ## @handle_recv_entry
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	testq	%r14, %r14
	je	LBB0_10
## %bb.1:
	movq	%rdi, %r12
	movq	8(%rdi), %r15
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.2:
	leaq	8(%rbx), %r13
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	cmpq	$0, 24(%rbx)
	je	LBB0_4
## %bb.3:
	movq	_NES_DBG_CM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	4(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_atomic_read
	leaq	L_.str(%rip), %rsi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r15, %rcx
	movl	%eax, %r8d
	callq	_nes_debug
	movq	_NES_AEQE_TCP_STATE_CLOSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_NES_AEQE_AEID_RESET_SENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_IB_QPS_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	callq	_nes_cm_disconn
	cmpq	$0, 8(%r12)
	jne	LBB0_8
	jmp	LBB0_9
LBB0_5:
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:
	movl	16(%r12), %edi
	movq	%r12, %rsi
	callq	_rem_ref_cm_node
LBB0_7:
	cmpq	$0, 8(%r12)
	je	LBB0_9
LBB0_8:
	movq	%r15, %rdi
	callq	*(%r15)
LBB0_9:
	movq	%r14, %rdi
	callq	_kfree
	movq	$0, (%r12)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	movq	_NES_DBG_CM@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	4(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_atomic_read
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r15, %rcx
	movl	%eax, %r8d
	callq	_nes_debug
	cmpq	$0, 8(%r12)
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_NES_DBG_CM,4,2                 ## @NES_DBG_CM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"QP%u: cm_id = %p, refcount = %d: HIT A NES_TIMER_TYPE_CLOSE with something to do!!!\n"

	.comm	_NES_AEQE_TCP_STATE_CLOSED,4,2  ## @NES_AEQE_TCP_STATE_CLOSED
	.comm	_NES_AEQE_AEID_RESET_SENT,4,2   ## @NES_AEQE_AEID_RESET_SENT
	.comm	_IB_QPS_ERR,4,2                 ## @IB_QPS_ERR
L_.str.1:                               ## @.str.1
	.asciz	"QP%u: cm_id = %p, refcount = %d: HIT A NES_TIMER_TYPE_CLOSE with nothing to do!!!\n"

	.no_dead_strip	_handle_recv_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_recv_entry
_handle_recv_entry:                     ; @handle_recv_entry
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x20, [x0]
	cbz	x20, LBB0_9
; %bb.1:
	mov	x19, x0
	ldr	x21, [x0, #8]
	ldr	x22, [x20]
	cbz	x22, LBB0_4
; %bb.2:
	add	x23, x22, #8
	mov	x0, x23
	bl	_spin_lock_irqsave
	ldr	x8, [x22, #24]
	cbz	x8, LBB0_10
; %bb.3:
Lloh0:
	adrp	x8, _NES_DBG_CM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NES_DBG_CM@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	ldr	w25, [x22, #4]
	mov	x0, x22
	bl	_atomic_read
	mov	x4, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	mov	x2, x25
	mov	x3, x21
	bl	_nes_debug
Lloh5:
	adrp	x8, _NES_AEQE_TCP_STATE_CLOSED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NES_AEQE_TCP_STATE_CLOSED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x22, #20]
Lloh8:
	adrp	x8, _NES_AEQE_AEID_RESET_SENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NES_AEQE_AEID_RESET_SENT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _IB_QPS_ERR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IB_QPS_ERR@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #12]
	mov	x0, x23
	bl	_spin_unlock_irqrestore
	mov	x0, x22
	bl	_nes_cm_disconn
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_7
	b	LBB0_8
LBB0_4:
	cbz	x1, LBB0_6
; %bb.5:
	ldr	w0, [x19, #16]
	mov	x1, x19
	bl	_rem_ref_cm_node
LBB0_6:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_8
LBB0_7:
	ldr	x8, [x21]
	mov	x0, x21
	blr	x8
LBB0_8:
	mov	x0, x20
	bl	_kfree
	str	xzr, [x19]
LBB0_9:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x0, x23
	bl	_spin_unlock_irqrestore
Lloh14:
	adrp	x8, _NES_DBG_CM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NES_DBG_CM@GOTPAGEOFF]
Lloh16:
	ldr	w23, [x8]
	ldr	w24, [x22, #4]
	mov	x0, x22
	bl	_atomic_read
	mov	x4, x0
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	mov	x2, x24
	mov	x3, x21
	bl	_nes_debug
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_7
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_NES_DBG_CM,4,2                 ; @NES_DBG_CM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"QP%u: cm_id = %p, refcount = %d: HIT A NES_TIMER_TYPE_CLOSE with something to do!!!\n"

	.comm	_NES_AEQE_TCP_STATE_CLOSED,4,2  ; @NES_AEQE_TCP_STATE_CLOSED
	.comm	_NES_AEQE_AEID_RESET_SENT,4,2   ; @NES_AEQE_AEID_RESET_SENT
	.comm	_IB_QPS_ERR,4,2                 ; @IB_QPS_ERR
l_.str.1:                               ; @.str.1
	.asciz	"QP%u: cm_id = %p, refcount = %d: HIT A NES_TIMER_TYPE_CLOSE with nothing to do!!!\n"

	.no_dead_strip	_handle_recv_entry
.subsections_via_symbols
