	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isert_send_done
_isert_send_done:                       ## @isert_send_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), %r13
	movq	8(%r13), %rax
	movq	(%rax), %r14
	movl	8(%rsi), %edi
	callq	_cqe_to_tx_desc
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_tx_desc_to_cmd
	movq	%rax, %r15
	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_5
## %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	(%r13), %edi
	xorl	%esi, %esi
	callq	_iscsit_cause_connection_reinstatement
LBB0_3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movl	$1, %ecx
	jmp	LBB0_4
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_isert_dbg
	movq	(%r15), %rax
	movl	(%rax), %ecx
	andl	$-4, %ecx
	cmpl	$128, %ecx
	jne	LBB0_6
## %bb.7:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_isert_unmap_tx_desc
	addq	$8, %r15
	movq	_isert_do_control_comp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_INIT_WORK
	movq	_isert_comp_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_work                     ## TAILCALL
LBB0_6:
	movq	_ISTATE_SENT_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isert_completion_put           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_WC_SUCCESS,8,3              ## @IB_WC_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"send"

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

	.comm	_isert_do_control_comp,4,2      ## @isert_do_control_comp
	.comm	_isert_comp_wq,4,2              ## @isert_comp_wq
	.comm	_ISTATE_SENT_STATUS,4,2         ## @ISTATE_SENT_STATUS
	.no_dead_strip	_isert_send_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isert_send_done
_isert_send_done:                       ; @isert_send_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	x22, x1
	ldr	x8, [x1, #16]
	ldr	x23, [x8]
	ldr	x8, [x23, #8]
	ldr	x19, [x8]
	ldr	w0, [x1, #8]
	bl	_cqe_to_tx_desc
	mov	x20, x0
	bl	_tx_desc_to_cmd
	mov	x21, x0
	ldr	x8, [x22]
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, x22
	bl	_isert_print_wc
	ldr	x8, [x22]
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, [x23]
	mov	w1, #0
	bl	_iscsit_cause_connection_reinstatement
LBB0_3:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	w3, #1
	b	LBB0_7
LBB0_4:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_isert_dbg
	ldr	x8, [x21]
	ldr	w9, [x8]
	and	w9, w9, #0xfffffffc
	cmp	w9, #128
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	bl	_isert_unmap_tx_desc
	add	x19, x21, #8
Lloh10:
	adrp	x8, _isert_do_control_comp@GOTPAGE
Lloh11:
	ldr	x8, [x8, _isert_do_control_comp@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_INIT_WORK
Lloh13:
	adrp	x8, _isert_comp_wq@GOTPAGE
Lloh14:
	ldr	x8, [x8, _isert_comp_wq@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x19
	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	_queue_work
LBB0_6:
Lloh16:
	adrp	x9, _ISTATE_SENT_STATUS@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ISTATE_SENT_STATUS@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	str	w9, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	w3, #0
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_WC_SUCCESS,8,3              ; @IB_WC_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"send"

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

	.comm	_isert_do_control_comp,4,2      ; @isert_do_control_comp
	.comm	_isert_comp_wq,4,2              ; @isert_comp_wq
	.comm	_ISTATE_SENT_STATUS,4,2         ; @ISTATE_SENT_STATUS
	.no_dead_strip	_isert_send_done
.subsections_via_symbols
