	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isert_put_datain
_isert_put_datain:                      ## @isert_put_datain
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_iscsit_priv_cmd
	movq	%rax, %r12
	movq	(%r15), %r14
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_isert_dbg
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_isert_prot_cmd
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_isert_rdma_write_done@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, %rdx
	addq	$8, %rdx
	movl	%eax, 8(%r12)
	xorl	%ecx, %ecx
LBB0_4:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_isert_rdma_rw_ctx_post
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_isert_dbg
	jmp	LBB0_5
LBB0_2:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r12, %rdx
	callq	_isert_create_send_desc
	movq	%r12, %rcx
	addq	$4, %rcx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_iscsit_build_rsp_pdu
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_isert_init_tx_hdrs
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r12, %rdx
	callq	_isert_init_send_wr
	movl	12(%r12), %esi
	movq	%r14, %rdi
	callq	_isert_post_recv
	testl	%eax, %eax
	je	LBB0_3
## %bb.6:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_isert_err
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%edx, %edx
	movq	%r12, %rcx
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cmd: %p RDMA_WRITE data_length: %u\n"

	.comm	_isert_rdma_write_done,4,2      ## @isert_rdma_write_done
L_.str.1:                               ## @.str.1
	.asciz	"ib_post_recv failed with %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Cmd: %p posted RDMA_WRITE for iSER Data READ rc: %d\n"

	.no_dead_strip	_isert_put_datain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isert_put_datain
_isert_put_datain:                      ; @isert_put_datain
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x1
	mov	x21, x0
	mov	x0, x1
	bl	_iscsit_priv_cmd
	mov	x19, x0
	ldr	x20, [x21]
	ldr	w2, [x22]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_isert_dbg
	mov	x0, x20
	mov	x1, x22
	bl	_isert_prot_cmd
	cbz	x0, LBB0_3
; %bb.1:
	mov	x3, #0
Lloh2:
	adrp	x8, _isert_rdma_write_done@GOTPAGE
Lloh3:
	ldr	x8, [x8, _isert_rdma_write_done@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mov	x2, x19
	str	w8, [x2, #8]!
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	bl	_isert_rdma_rw_ctx_post
	mov	x21, x0
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	mov	x2, x21
	bl	_isert_dbg
	b	LBB0_5
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x19
	bl	_isert_create_send_desc
	add	x3, x19, #4
	mov	x0, x22
	mov	x1, x21
	mov	w2, #1
	bl	_iscsit_build_rsp_pdu
	mov	x0, x20
	mov	x1, x19
	bl	_isert_init_tx_hdrs
	mov	x0, x20
	mov	x1, x19
	mov	x2, x19
	bl	_isert_init_send_wr
	ldr	w1, [x19, #12]
	mov	x0, x20
	bl	_isert_post_recv
	cbz	w0, LBB0_6
; %bb.4:
	mov	x21, x0
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_isert_err
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x2, #0
	mov	x3, x19
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cmd: %p RDMA_WRITE data_length: %u\n"

	.comm	_isert_rdma_write_done,4,2      ; @isert_rdma_write_done
l_.str.1:                               ; @.str.1
	.asciz	"ib_post_recv failed with %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Cmd: %p posted RDMA_WRITE for iSER Data READ rc: %d\n"

	.no_dead_strip	_isert_put_datain
.subsections_via_symbols
