	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isert_rdma_write_done
_isert_rdma_write_done:                 ## @isert_rdma_write_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, %r15
	movq	%rax, %rdi
	callq	_tx_desc_to_cmd
	movq	%rax, %r13
	movq	(%rax), %r12
	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	%r15, %rdi
	movq	%r13, %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	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
	callq	_isert_dbg
	movq	8(%r13), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_isert_check_pi_status
	movl	%eax, %ebx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_isert_rdma_rw_ctx_destroy
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.7:
	leaq	4(%r12), %rdi
	callq	_kref_get
	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
LBB0_5:
	movl	(%r14), %edi
	movq	(%r13), %rsi
	callq	_isert_put_response
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_warn_ratelimited            ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_WC_SUCCESS,8,3              ## @IB_WC_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rdma write"

	.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	"isert_put_response() ret: %d\n"

	.no_dead_strip	_isert_rdma_write_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_write_done
_isert_rdma_write_done:                 ; @isert_rdma_write_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	x19, [x8]
	ldr	x24, [x19, #8]
	ldr	w0, [x1, #8]
	bl	_cqe_to_tx_desc
	mov	x21, x0
	bl	_tx_desc_to_cmd
	mov	x20, x0
	ldr	x22, [x0]
	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, [x19]
	mov	w1, #0
	bl	_iscsit_cause_connection_reinstatement
LBB0_3:
	ldr	w2, [x24]
	mov	x0, x21
	mov	x1, x20
	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:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_isert_dbg
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	mov	x0, x22
	bl	_isert_check_pi_status
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_isert_rdma_rw_ctx_destroy
	cbz	w21, LBB0_6
; %bb.5:
	add	x0, x22, #4
	bl	_kref_get
	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
LBB0_6:
	ldr	w0, [x19]
	ldr	x1, [x20]
	bl	_isert_put_response
	cbz	w0, LBB0_8
; %bb.7:
	mov	x1, x0
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	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	_pr_warn_ratelimited
LBB0_8:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.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 write"

	.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	"isert_put_response() ret: %d\n"

	.no_dead_strip	_isert_rdma_write_done
.subsections_via_symbols
