	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_fc_fod_op_done
_nvmet_fc_fod_op_done:                  ## @nvmet_fc_fod_op_done
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	32(%rdi), %r13
	leaq	20(%rdi), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %r12d
	movl	$0, 4(%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movl	(%r13), %eax
	leal	-130(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_9
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_19
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_20
## %bb.3:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	___nvmet_fc_fod_op_abort
	testl	%eax, %eax
	jne	LBB0_20
## %bb.4:
	cmpl	$0, 12(%r13)
	jne	LBB0_21
## %bb.5:
	movl	4(%r13), %eax
	cmpl	8(%r13), %eax
	jne	LBB0_21
## %bb.6:
	addl	16(%rbx), %eax
	movl	%eax, 16(%rbx)
	cmpl	12(%rbx), %eax
	jne	LBB0_7
## %bb.8:
	addq	$12, %rbx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvmet_req_execute              ## TAILCALL
LBB0_9:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	___nvmet_fc_fod_op_abort
	testl	%eax, %eax
	jne	LBB0_20
## %bb.10:
	cmpl	$0, 12(%r13)
	jne	LBB0_22
## %bb.11:
	movl	4(%r13), %eax
	cmpl	8(%r13), %eax
	jne	LBB0_22
## %bb.12:
	cmpl	$130, (%r13)
	jne	LBB0_15
## %bb.13:
	movq	%rbx, %rdi
	callq	_nvmet_fc_free_tgt_pgs
	jmp	LBB0_14
LBB0_19:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	___nvmet_fc_fod_op_abort
	testl	%eax, %eax
	je	LBB0_14
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvmet_fc_abort_op              ## TAILCALL
LBB0_14:
	movl	8(%rbx), %edi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvmet_fc_free_fcp_iod          ## TAILCALL
LBB0_21:
	movq	%r15, %rdi
	callq	_spin_lock
	movl	$1, (%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock
	addq	$12, %rbx
	movq	_NVME_SC_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvmet_req_complete             ## TAILCALL
LBB0_15:
	addl	16(%rbx), %eax
	movl	%eax, 16(%rbx)
	cmpl	12(%rbx), %eax
	jne	LBB0_16
## %bb.18:
	movq	%rbx, %rdi
	callq	_nvmet_fc_free_tgt_pgs
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvmet_fc_xmt_fcp_rsp           ## TAILCALL
LBB0_7:
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movl	$1, 4(%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$128, %edx
	jmp	LBB0_17
LBB0_16:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$131, %edx
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvmet_fc_transfer_fcp_data     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_SC_INTERNAL,4,2           ## @NVME_SC_INTERNAL
	.no_dead_strip	_nvmet_fc_fod_op_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvmet_fc_fod_op_done
_nvmet_fc_fod_op_done:                  ; @nvmet_fc_fod_op_done
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldp	x20, x23, [x0, #24]
	add	x21, x0, #20
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	w22, [x19]
	str	wzr, [x19, #4]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	ldr	w8, [x23]
	sub	w9, w8, #130
	cmp	w9, #2
	b.lo	LBB0_8
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_13
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_14
; %bb.3:
	mov	x0, x19
	mov	x1, x22
	bl	___nvmet_fc_fod_op_abort
	cbnz	w0, LBB0_14
; %bb.4:
	ldr	w8, [x23, #12]
	cbnz	w8, LBB0_17
; %bb.5:
	ldp	w8, w9, [x23, #4]
	cmp	w8, w9
	b.ne	LBB0_17
; %bb.6:
	mov	x0, x19
	ldp	w9, w10, [x0, #12]!
	add	w8, w10, w8
	cmp	w8, w9
	str	w8, [x0, #4]
	b.ne	LBB0_20
; %bb.7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_nvmet_req_execute
LBB0_8:
	mov	x0, x19
	mov	x1, x22
	bl	___nvmet_fc_fod_op_abort
	cbnz	w0, LBB0_14
; %bb.9:
	ldr	w8, [x23, #12]
	cbnz	w8, LBB0_15
; %bb.10:
	ldp	w8, w9, [x23, #4]
	cmp	w8, w9
	b.ne	LBB0_15
; %bb.11:
	ldr	w9, [x23]
	cmp	w9, #130
	b.ne	LBB0_18
; %bb.12:
	mov	x0, x19
	bl	_nvmet_fc_free_tgt_pgs
	b	LBB0_16
LBB0_13:
	mov	x0, x19
	mov	x1, x22
	bl	___nvmet_fc_fod_op_abort
	cbz	w0, LBB0_16
LBB0_14:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_nvmet_fc_abort_op
LBB0_16:
	ldr	w0, [x19, #8]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_nvmet_fc_free_fcp_iod
LBB0_17:
	mov	x0, x21
	bl	_spin_lock
	mov	w8, #1
	str	w8, [x19], #12
	mov	x0, x21
	bl	_spin_unlock
Lloh0:
	adrp	x8, _NVME_SC_INTERNAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVME_SC_INTERNAL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, 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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_nvmet_req_complete
LBB0_18:
	ldp	w10, w9, [x19, #12]
	add	w8, w9, w8
	cmp	w8, w10
	str	w8, [x19, #16]
	b.ne	LBB0_21
; %bb.19:
	mov	x0, x19
	bl	_nvmet_fc_free_tgt_pgs
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_nvmet_fc_xmt_fcp_rsp
LBB0_20:
	mov	x0, x21
	bl	_spin_lock_irqsave
	mov	w8, #1
	str	w8, [x19, #4]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	mov	x1, x19
	mov	w2, #128
	b	LBB0_22
LBB0_21:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #131
LBB0_22:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_nvmet_fc_transfer_fcp_data
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_SC_INTERNAL,4,2           ; @NVME_SC_INTERNAL
	.no_dead_strip	_nvmet_fc_fod_op_done
.subsections_via_symbols
