	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iser_send_control              ## -- Begin function iser_send_control
	.p2align	4, 0x90
_iser_send_control:                     ## @iser_send_control
	.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, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movq	16(%rsi), %r12
	movq	_ISCSI_TX_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
	movq	_iser_ctrl_comp@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_iser_create_send_desc
	movq	(%r15), %r13
	movq	(%r14), %rax
	movl	4(%rax), %edi
	callq	_ntoh24
	movq	%rax, %rdx
	testq	%rax, %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.1:
	cmpq	%r14, (%rbx)
	je	LBB0_2
## %bb.8:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_iser_err
	jmp	LBB0_9
LBB0_2:
	movq	8(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	8(%r13), %edi
	movl	8(%r15), %esi
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	8(%r14), %edx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_ib_dma_sync_single_for_cpu
	movl	12(%r15), %edi
	movl	8(%r14), %edx
	movl	12(%r14), %esi
	callq	_memcpy
	movl	8(%r13), %edi
	movl	8(%r15), %esi
	movl	8(%r14), %edx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_ib_dma_sync_single_for_device
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	8(%r15), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 20(%rcx)
	movl	8(%r14), %eax
	movl	%eax, 16(%rcx)
	movq	(%r13), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rcx)
	movl	$2, (%r12)
LBB0_3:
	cmpq	%r14, (%rbx)
	je	LBB0_4
LBB0_6:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_iser_post_send
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_4:
	movq	(%r14), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_iser_dbg
	movq	%r15, %rdi
	callq	_iser_post_recvl
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.5:
	movq	(%r14), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_iser_post_rx_bufs
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_6
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_iser_err
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISCSI_TX_CONTROL,4,2           ## @ISCSI_TX_CONTROL
	.comm	_iser_ctrl_comp,4,2             ## @iser_ctrl_comp
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"data present on non login task!!!\n"

	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
L_.str.1:                               ## @.str.1
	.asciz	"op %x dsl %lx, posting login rx buffer\n"

L_.str.2:                               ## @.str.2
	.asciz	"conn %p failed err %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iser_send_control              ; -- Begin function iser_send_control
	.p2align	2
_iser_send_control:                     ; @iser_send_control
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x1
	mov	x19, x0
	ldr	x20, [x0, #8]
	ldr	x21, [x1, #16]
Lloh0:
	adrp	x8, _ISCSI_TX_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISCSI_TX_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _iser_ctrl_comp@GOTPAGE
Lloh4:
	ldr	x9, [x9, _iser_ctrl_comp@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #16]
	mov	x0, x20
	mov	x1, x21
	bl	_iser_create_send_desc
	ldr	x24, [x20]
	ldr	x8, [x22]
	ldr	w0, [x8, #4]
	bl	_ntoh24
	mov	x23, x0
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19]
	cmp	x8, x22
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_iser_err
	mov	w23, #0
	b	LBB0_8
LBB0_3:
	ldr	x25, [x21, #8]
	ldr	w0, [x24, #8]
	ldr	w1, [x20, #8]
	ldr	w2, [x22, #8]
Lloh8:
	adrp	x26, _DMA_TO_DEVICE@GOTPAGE
Lloh9:
	ldr	x26, [x26, _DMA_TO_DEVICE@GOTPAGEOFF]
	ldr	w3, [x26]
	bl	_ib_dma_sync_single_for_cpu
	ldr	w0, [x20, #12]
	ldp	w2, w1, [x22, #8]
	bl	_memcpy
	ldr	w0, [x24, #8]
	ldr	w1, [x20, #8]
	ldr	w2, [x22, #8]
	ldr	w3, [x26]
	bl	_ib_dma_sync_single_for_device
	ldr	w8, [x20, #8]
	str	w8, [x25, #20]
	ldr	w8, [x22, #8]
	ldr	x9, [x24]
	ldr	w9, [x9]
	stp	w9, w8, [x25, #12]
	mov	w8, #2
	str	w8, [x21]
LBB0_4:
	ldr	x8, [x19]
	cmp	x8, x22
	b.eq	LBB0_6
LBB0_5:
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	bl	_iser_post_send
	mov	x23, x0
	cbnz	w0, LBB0_8
	b	LBB0_9
LBB0_6:
	ldr	x8, [x22]
	ldr	w1, [x8]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x23
	bl	_iser_dbg
	mov	x0, x20
	bl	_iser_post_recvl
	mov	x23, x0
	cbnz	w0, LBB0_8
; %bb.7:
	ldr	x1, [x22]
	mov	x0, x19
	bl	_iser_post_rx_bufs
	mov	x23, x0
	cbz	w0, LBB0_5
LBB0_8:
	stp	x19, x23, [sp]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_iser_err
LBB0_9:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ISCSI_TX_CONTROL,4,2           ; @ISCSI_TX_CONTROL
	.comm	_iser_ctrl_comp,4,2             ; @iser_ctrl_comp
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"data present on non login task!!!\n"

	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
l_.str.1:                               ; @.str.1
	.asciz	"op %x dsl %lx, posting login rx buffer\n"

l_.str.2:                               ; @.str.2
	.asciz	"conn %p failed err %d\n"

.subsections_via_symbols
