	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iscsi_iser_cleanup_task
_iscsi_iser_cleanup_task:               ## @iscsi_iser_cleanup_task
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	%rdi, %r15
	movq	16(%rdi), %r14
	movl	8(%r14), %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%rbx), %edi
	movl	12(%r14), %esi
	movq	_ISER_HEADERS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_ib_dma_unmap_single
	movl	$0, 8(%r14)
LBB0_3:
	cmpl	$0, (%r15)
	je	LBB0_5
## %bb.4:
	movq	(%r14), %rax
	movq	_ISER_TASK_STATUS_STARTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.6:
	movq	_ISER_TASK_STATUS_COMPLETED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iser_task_rdma_finalize        ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISER_HEADERS_LEN,4,2           ## @ISER_HEADERS_LEN
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_ISER_TASK_STATUS_STARTED,8,3   ## @ISER_TASK_STATUS_STARTED
	.comm	_ISER_TASK_STATUS_COMPLETED,8,3 ## @ISER_TASK_STATUS_COMPLETED
	.no_dead_strip	_iscsi_iser_cleanup_task
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iscsi_iser_cleanup_task
_iscsi_iser_cleanup_task:               ; @iscsi_iser_cleanup_task
	.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
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x21, [x8]
	cbz	x21, LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	x19, [x0, #16]
	ldr	w0, [x19, #8]
	bl	_likely
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x21]
	ldr	w1, [x19, #12]
Lloh0:
	adrp	x8, _ISER_HEADERS_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISER_HEADERS_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	bl	_ib_dma_unmap_single
	str	wzr, [x19, #8]
LBB0_3:
	ldr	w8, [x20]
	cbz	w8, LBB0_6
; %bb.4:
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _ISER_TASK_STATUS_STARTED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ISER_TASK_STATUS_STARTED@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _ISER_TASK_STATUS_COMPLETED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ISER_TASK_STATUS_COMPLETED@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	x0, x19
	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
	b	_iser_task_rdma_finalize
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ISER_HEADERS_LEN,4,2           ; @ISER_HEADERS_LEN
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_ISER_TASK_STATUS_STARTED,8,3   ; @ISER_TASK_STATUS_STARTED
	.comm	_ISER_TASK_STATUS_COMPLETED,8,3 ; @ISER_TASK_STATUS_COMPLETED
	.no_dead_strip	_iscsi_iser_cleanup_task
.subsections_via_symbols
