	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isert_put_text_rsp
_isert_put_text_rsp:                    ## @isert_put_text_rsp
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_iscsit_priv_cmd
	movq	%rax, %r15
	movq	(%rbx), %r12
	leaq	8(%rax), %rdx
	leaq	24(%rax), %r14
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	callq	_isert_create_send_desc
	movq	_ISCSI_INFINIBAND@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_iscsit_build_text_rsp
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_6
## %bb.1:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_isert_init_tx_hdrs
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.2:
	movq	(%r12), %r13
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %r14
	movq	16(%r15), %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_ib_dma_map_single
	movl	%eax, 32(%r15)
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ib_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	%ebx, (%r15)
	movl	32(%r15), %eax
	movl	%eax, 20(%r12)
	movl	%ebx, 12(%r12)
	movq	(%r13), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movl	$2, 8(%r15)
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_4:
	movq	%r15, %rdx
	addq	$28, %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_isert_init_send_wr
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_isert_dbg
	movq	%r12, %rdi
	movq	%r15, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isert_post_response            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ISCSI_INFINIBAND,4,2           ## @ISCSI_INFINIBAND
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"conn %p Text Response\n"

	.no_dead_strip	_isert_put_text_rsp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isert_put_text_rsp
_isert_put_text_rsp:                    ; @isert_put_text_rsp
	.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
	mov	x21, x1
	mov	x22, x0
	bl	_iscsit_priv_cmd
	mov	x19, x0
	ldr	x20, [x21]
	add	x23, x0, #8
	add	x24, x0, #24
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_isert_create_send_desc
Lloh0:
	adrp	x8, _ISCSI_INFINIBAND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISCSI_INFINIBAND@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x24
	bl	_iscsit_build_text_rsp
	mov	x21, x0
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x0, x20
	mov	x1, x23
	bl	_isert_init_tx_hdrs
	cbz	w21, LBB0_6
; %bb.2:
	ldr	x24, [x20]
	ldr	x23, [x24, #8]
	ldr	x25, [x19, #16]
	ldr	x1, [x22]
Lloh3:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x23
	mov	x2, x21
	bl	_ib_dma_map_single
	mov	x1, x0
	str	w0, [x19, #32]
	mov	x0, x23
	bl	_ib_dma_mapping_error
	cbz	x0, LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_4:
	mov	x0, x21
	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_5:
	str	w21, [x19]
	ldr	w8, [x19, #32]
	str	w8, [x25, #20]
	ldr	x8, [x24]
	ldr	w8, [x8]
	stp	w21, w8, [x25, #12]
	mov	w8, #2
	str	w8, [x19, #8]
LBB0_6:
	add	x2, x19, #28
	mov	x0, x20
	mov	x1, x19
	bl	_isert_init_send_wr
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_isert_dbg
	mov	x0, x20
	mov	x1, x19
	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
	b	_isert_post_response
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ISCSI_INFINIBAND,4,2           ; @ISCSI_INFINIBAND
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"conn %p Text Response\n"

	.no_dead_strip	_isert_put_text_rsp
.subsections_via_symbols
