	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isert_rdma_read_done
_isert_rdma_read_done:                  ## @isert_rdma_read_done
	.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	%rsi, %rbx
	movq	16(%rsi), %rax
	movq	(%rax), %r14
	movq	8(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	8(%rsi), %edi
	callq	_cqe_to_tx_desc
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_tx_desc_to_cmd
	movq	%rax, %r15
	movq	8(%rax), %r13
	movq	(%rbx), %rax
	movq	_IB_WC_SUCCESS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_isert_print_wc
	movq	(%rbx), %rax
	movq	_IB_WC_WR_FLUSH_ERR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movl	(%r14), %edi
	xorl	%esi, %esi
	callq	_iscsit_cause_connection_reinstatement
LBB0_3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$1, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isert_completion_put           ## TAILCALL
LBB0_4:
	leaq	24(%r13), %r12
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_isert_dbg
	movq	%r13, %rdi
	callq	_iscsit_stop_dataout_timer
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_isert_prot_cmd
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	(%r15), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_isert_check_pi_status
	testl	%eax, %eax
	sete	%bl
	jmp	LBB0_7
LBB0_5:
	movb	$1, %bl
LBB0_7:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_isert_rdma_rw_ctx_destroy
	movq	$0, 16(%r13)
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	callq	_isert_dbg
	movq	%r13, %rdi
	callq	_spin_lock_bh
	movq	_ICF_GOT_LAST_DATAOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r13)
	movq	_ISTATE_RECEIVED_LAST_DATAOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	movq	%r13, %rdi
	callq	_spin_unlock_bh
	testb	%bl, %bl
	je	LBB0_8
## %bb.9:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_target_execute_cmd             ## TAILCALL
LBB0_8:
	movl	(%r12), %esi
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_transport_generic_request_failure ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_WC_SUCCESS,8,3              ## @IB_WC_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rdma read"

	.comm	_IB_WC_WR_FLUSH_ERR,8,3         ## @IB_WC_WR_FLUSH_ERR
L_.str.1:                               ## @.str.1
	.asciz	"Cmd %p\n"

L_.str.2:                               ## @.str.2
	.asciz	"Cmd: %p RDMA_READ comp calling execute_cmd\n"

	.comm	_ICF_GOT_LAST_DATAOUT,4,2       ## @ICF_GOT_LAST_DATAOUT
	.comm	_ISTATE_RECEIVED_LAST_DATAOUT,4,2 ## @ISTATE_RECEIVED_LAST_DATAOUT
	.no_dead_strip	_isert_rdma_read_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isert_rdma_read_done
_isert_rdma_read_done:                  ; @isert_rdma_read_done
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x1
	ldr	x8, [x1, #16]
	ldr	x20, [x8]
	ldr	x24, [x20, #8]
	ldr	w0, [x1, #8]
	bl	_cqe_to_tx_desc
	mov	x22, x0
	bl	_tx_desc_to_cmd
	mov	x19, x0
	ldr	x21, [x0, #8]
	ldr	x8, [x23]
Lloh0:
	adrp	x9, _IB_WC_SUCCESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_WC_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_isert_print_wc
	ldr	x8, [x23]
Lloh5:
	adrp	x9, _IB_WC_WR_FLUSH_ERR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IB_WC_WR_FLUSH_ERR@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x20]
	mov	w1, #0
	bl	_iscsit_cause_connection_reinstatement
LBB0_3:
	ldr	w2, [x24]
	mov	x0, x22
	mov	x1, x19
	mov	w3, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_isert_completion_put
LBB0_4:
	add	x22, x21, #24
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_isert_dbg
	mov	x0, x21
	bl	_iscsit_stop_dataout_timer
	mov	x0, x20
	mov	x1, x22
	bl	_isert_prot_cmd
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x19]
	ldr	w1, [x8]
	mov	x0, x22
	bl	_isert_check_pi_status
	cmp	w0, #0
	cset	w23, eq
	b	LBB0_7
LBB0_6:
	mov	w23, #1
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	bl	_isert_rdma_rw_ctx_destroy
	str	xzr, [x21, #16]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_isert_dbg
	mov	x0, x21
	bl	_spin_lock_bh
Lloh12:
	adrp	x8, _ICF_GOT_LAST_DATAOUT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ICF_GOT_LAST_DATAOUT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x21, #8]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _ISTATE_RECEIVED_LAST_DATAOUT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ISTATE_RECEIVED_LAST_DATAOUT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #4]
	mov	x0, x21
	bl	_spin_unlock_bh
	tbz	w23, #0, LBB0_9
; %bb.8:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_target_execute_cmd
LBB0_9:
	ldr	w1, [x22]
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_transport_generic_request_failure
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_WC_SUCCESS,8,3              ; @IB_WC_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rdma read"

	.comm	_IB_WC_WR_FLUSH_ERR,8,3         ; @IB_WC_WR_FLUSH_ERR
l_.str.1:                               ; @.str.1
	.asciz	"Cmd %p\n"

l_.str.2:                               ; @.str.2
	.asciz	"Cmd: %p RDMA_READ comp calling execute_cmd\n"

	.comm	_ICF_GOT_LAST_DATAOUT,4,2       ; @ICF_GOT_LAST_DATAOUT
	.comm	_ISTATE_RECEIVED_LAST_DATAOUT,4,2 ; @ISTATE_RECEIVED_LAST_DATAOUT
	.no_dead_strip	_isert_rdma_read_done
.subsections_via_symbols
