	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iser_snd_completion            ## -- Begin function iser_snd_completion
	.p2align	4, 0x90
_iser_snd_completion:                   ## @iser_snd_completion
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_ISCSI_TX_DATAOUT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %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
	movq	_ig@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_kmem_cache_free
LBB0_2:
	movq	%r14, %rdi
	callq	_atomic_dec
	movq	(%rbx), %rax
	movq	_ISCSI_TX_CONTROL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	-8(%rbx), %rax
	movq	(%rax), %rax
	movq	_RESERVED_ITT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	addq	$-8, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_iscsi_put_task                 ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISCSI_TX_DATAOUT,8,3           ## @ISCSI_TX_DATAOUT
	.comm	_ISER_HEADERS_LEN,4,2           ## @ISER_HEADERS_LEN
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_ig,4,2                         ## @ig
	.comm	_ISCSI_TX_CONTROL,8,3           ## @ISCSI_TX_CONTROL
	.comm	_RESERVED_ITT,8,3               ## @RESERVED_ITT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iser_snd_completion            ; -- Begin function iser_snd_completion
	.p2align	2
_iser_snd_completion:                   ; @iser_snd_completion
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ISCSI_TX_DATAOUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISCSI_TX_DATAOUT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
Lloh3:
	adrp	x8, _ISER_HEADERS_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISER_HEADERS_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	bl	_ib_dma_unmap_single
Lloh9:
	adrp	x8, _ig@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ig@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_kmem_cache_free
LBB0_2:
	mov	x0, x20
	bl	_atomic_dec
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _ISCSI_TX_CONTROL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ISCSI_TX_CONTROL@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x19, #-8]!
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _RESERVED_ITT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _RESERVED_ITT@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iscsi_put_task
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ISCSI_TX_DATAOUT,8,3           ; @ISCSI_TX_DATAOUT
	.comm	_ISER_HEADERS_LEN,4,2           ; @ISER_HEADERS_LEN
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_ig,4,2                         ; @ig
	.comm	_ISCSI_TX_CONTROL,8,3           ; @ISCSI_TX_CONTROL
	.comm	_RESERVED_ITT,8,3               ; @RESERVED_ITT
.subsections_via_symbols
