	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iscsi_iser_task_xmit
_iscsi_iser_task_xmit:                  ## @iscsi_iser_task_xmit
	.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	%rdi, %rbx
	movq	32(%rdi), %r14
	movq	16(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	24(%rbx), %r12
	movq	(%rdi), %rax
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	callq	_scsi_bufflen
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_BUG_ON
	movl	(%rbx), %r15d
	movq	16(%rbx), %rdi
	callq	_scsi_bufflen
	movl	4(%rbx), %r8d
	movl	8(%rbx), %ecx
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_iser_dbg
LBB0_3:
	movl	(%r14), %esi
	movslq	(%rbx), %rdx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_iser_dbg
	cmpl	$0, (%r12)
	je	LBB0_4
LBB0_6:
	movq	%rbx, %rdi
	callq	_iscsi_task_has_unsol_data
	movq	%rax, %rcx
	movl	$0, %eax
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.9:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iscsi_iser_task_xmit_unsol_data ## TAILCALL
LBB0_8:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iscsi_iser_mtask_xmit          ## TAILCALL
LBB0_4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_iser_send_command
	testl	%eax, %eax
	je	LBB0_5
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	$1, (%r12)
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TO_DEVICE,8,3              ## @DMA_TO_DEVICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmd [itt %x total %d imm %d unsol_data %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"ctask xmit [cid %d itt 0x%x]\n"

	.no_dead_strip	_iscsi_iser_task_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iscsi_iser_task_xmit
_iscsi_iser_task_xmit:                  ; @iscsi_iser_task_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	x20, [x0, #32]
	ldr	x0, [x0, #16]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x22, [x19, #24]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	bl	_scsi_bufflen
	cmp	x0, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	w21, [x19]
	ldr	x0, [x19, #16]
	bl	_scsi_bufflen
	mov	x2, x0
	ldp	w9, w8, [x19, #4]
	stp	x8, x9, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_iser_dbg
LBB0_3:
	ldr	w1, [x20]
	ldrsw	x2, [x19]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_iser_dbg
	ldr	w8, [x22]
	cbz	w8, LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_iscsi_task_has_unsol_data
	cbz	x0, LBB0_8
; %bb.5:
	mov	x0, x20
	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
	add	sp, sp, #64
	b	_iscsi_iser_task_xmit_unsol_data
LBB0_6:
	mov	x0, x20
	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
	add	sp, sp, #64
	b	_iscsi_iser_mtask_xmit
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	bl	_iser_send_command
	cbz	w0, LBB0_9
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
	add	sp, sp, #64
	ret
LBB0_9:
	mov	w8, #1
	str	w8, [x22]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TO_DEVICE,8,3              ; @DMA_TO_DEVICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmd [itt %x total %d imm %d unsol_data %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"ctask xmit [cid %d itt 0x%x]\n"

	.no_dead_strip	_iscsi_iser_task_xmit
.subsections_via_symbols
