	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_fc_start_fcp_op
_nvme_fc_start_fcp_op:                  ## @nvme_fc_start_fcp_op
	.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
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_FC_OBJSTATE_ONLINE@GOTPCREL(%rip), %rdx
	movq	_BLK_STS_RESOURCE@GOTPCREL(%rip), %rcx
	cmpq	(%rdx), %rax
	jne	LBB0_24
## %bb.1:
	movl	%r8d, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_nvme_fc_ctrl_get
	movq	_BLK_STS_IOERR@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	je	LBB0_24
## %bb.2:
	movl	12(%r15), %edi
	callq	_cpu_to_be64
	movl	%eax, 80(%rbx)
	movl	%r12d, %edi
	callq	_cpu_to_be32
	movq	%rax, 72(%rbx)
	cmpl	$130, %r13d
	je	LBB0_3
## %bb.4:
	cmpl	$129, %r13d
	je	LBB0_7
## %bb.5:
	cmpl	$128, %r13d
	jne	LBB0_10
## %bb.6:
	movq	_FCNVME_CMD_FLAGS_WRITE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_7:
	movq	_FCNVME_CMD_FLAGS_READ@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
LBB0_9:
	movl	%eax, 64(%rbx)
LBB0_10:
	movl	%r12d, 48(%rbx)
	movl	%r13d, 16(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	movq	_NVME_SC_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	8(%r15), %edi
	callq	_cpu_to_le16
	movl	%eax, 24(%rbx)
	movl	116(%rbx), %edi
	callq	_WARN_ON_ONCE
	movq	_NVME_CMD_SGL_METABUF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 112(%rbx)
	movq	_NVME_TRANSPORT_SGL_DATA_DESC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$4, %eax
	movq	_NVME_SGL_FMT_TRANSPORT_A@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 88(%rbx)
	movl	%r12d, %edi
	callq	_cpu_to_le32
	movl	%eax, 104(%rbx)
	movq	$0, 96(%rbx)
	movq	_FCOP_FLAGS_AEN@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, (%rbx)
	jne	LBB0_15
## %bb.11:
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_nvme_fc_map_data
	testl	%eax, %eax
	js	LBB0_12
LBB0_15:
	leaq	16(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rax
	movl	16(%rax), %edi
	movl	20(%rbx), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$64, %edx
	callq	_fc_dma_sync_single_for_device
	leaq	8(%rbx), %r12
	movq	_FCPOP_STATE_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_atomic_set
	movl	(%r13), %eax
	testl	%eax, (%rbx)
	jne	LBB0_17
## %bb.16:
	movl	4(%rbx), %edi
	callq	_blk_mq_start_request
LBB0_17:
	leaq	4(%r15), %rdi
	callq	_atomic_inc_return
	movl	%eax, %edi
	callq	_cpu_to_be32
	movq	%rax, 56(%rbx)
	movq	(%r14), %rsi
	movq	8(%r14), %rdi
	movq	8(%rdi), %rax
	movl	(%r15), %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_18
## %bb.19:
	movl	%eax, %r15d
	movq	_FCPOP_STATE_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_atomic_xchg
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	___nvme_fc_fcpop_chk_teardowns
	movq	_FCOP_FLAGS_AEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_21
## %bb.20:
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_nvme_fc_unmap_data
LBB0_21:
	movq	%r14, %rdi
	callq	_nvme_fc_ctrl_put
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_FC_OBJSTATE_ONLINE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_BLK_STS_IOERR@GOTPCREL(%rip), %rcx
	jne	LBB0_23
## %bb.22:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	addl	(%rax), %r15d
	jne	LBB0_24
LBB0_23:
	movq	_BLK_STS_RESOURCE@GOTPCREL(%rip), %rcx
	jmp	LBB0_24
LBB0_18:
	movq	_BLK_STS_OK@GOTPCREL(%rip), %rcx
LBB0_24:
	movl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	%eax, %r12d
	movl	4(%rbx), %edi
	callq	_nvme_cleanup_cmd
	movq	%r14, %rdi
	callq	_nvme_fc_ctrl_put
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_BLK_STS_RESOURCE@GOTPCREL(%rip), %rcx
	addl	%r12d, %eax
	je	LBB0_24
## %bb.13:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	addl	(%rax), %r12d
	je	LBB0_23
## %bb.14:
	movq	_BLK_STS_IOERR@GOTPCREL(%rip), %rcx
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_FC_OBJSTATE_ONLINE,8,3         ## @FC_OBJSTATE_ONLINE
	.comm	_BLK_STS_RESOURCE,4,2           ## @BLK_STS_RESOURCE
	.comm	_BLK_STS_IOERR,4,2              ## @BLK_STS_IOERR
	.comm	_FCNVME_CMD_FLAGS_WRITE,4,2     ## @FCNVME_CMD_FLAGS_WRITE
	.comm	_FCNVME_CMD_FLAGS_READ,4,2      ## @FCNVME_CMD_FLAGS_READ
	.comm	_NVME_SC_SUCCESS,4,2            ## @NVME_SC_SUCCESS
	.comm	_NVME_CMD_SGL_METABUF,4,2       ## @NVME_CMD_SGL_METABUF
	.comm	_NVME_TRANSPORT_SGL_DATA_DESC,4,2 ## @NVME_TRANSPORT_SGL_DATA_DESC
	.comm	_NVME_SGL_FMT_TRANSPORT_A,4,2   ## @NVME_SGL_FMT_TRANSPORT_A
	.comm	_FCOP_FLAGS_AEN,4,2             ## @FCOP_FLAGS_AEN
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_FCPOP_STATE_ACTIVE,4,2         ## @FCPOP_STATE_ACTIVE
	.comm	_FCPOP_STATE_COMPLETE,4,2       ## @FCPOP_STATE_COMPLETE
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_BLK_STS_OK,4,2                 ## @BLK_STS_OK
	.no_dead_strip	_nvme_fc_start_fcp_op
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_fc_start_fcp_op
_nvme_fc_start_fcp_op:                  ; @nvme_fc_start_fcp_op
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x25, _FC_OBJSTATE_ONLINE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _FC_OBJSTATE_ONLINE@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.1:
	mov	x24, x4
	mov	x23, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_nvme_fc_ctrl_get
Lloh2:
	adrp	x26, _BLK_STS_IOERR@GOTPAGE
Lloh3:
	ldr	x26, [x26, _BLK_STS_IOERR@GOTPAGEOFF]
	cbz	w0, LBB0_6
; %bb.2:
	ldr	w0, [x21, #12]
	bl	_cpu_to_be64
	str	w0, [x20, #80]
	mov	x0, x23
	bl	_cpu_to_be32
	str	x0, [x20, #72]
	cmp	w24, #130
	b.eq	LBB0_7
; %bb.3:
	cmp	w24, #129
	b.eq	LBB0_8
; %bb.4:
	cmp	w24, #128
	b.ne	LBB0_11
; %bb.5:
Lloh4:
	adrp	x8, _FCNVME_CMD_FLAGS_WRITE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FCNVME_CMD_FLAGS_WRITE@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	mov	x8, x26
	b	LBB0_21
LBB0_7:
	mov	w8, #0
	b	LBB0_10
LBB0_8:
Lloh6:
	adrp	x8, _FCNVME_CMD_FLAGS_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FCNVME_CMD_FLAGS_READ@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
LBB0_10:
	str	w8, [x20, #64]
LBB0_11:
	mov	x22, x20
	str	w24, [x22, #16]!
	str	w23, [x20, #48]
	stp	xzr, xzr, [x20, #32]
Lloh8:
	adrp	x8, _NVME_SC_SUCCESS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NVME_SC_SUCCESS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x20, #28]
	ldr	w0, [x21, #8]
	bl	_cpu_to_le16
	str	w0, [x20, #24]
	ldr	w0, [x20, #116]
	bl	_WARN_ON_ONCE
Lloh11:
	adrp	x8, _NVME_CMD_SGL_METABUF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NVME_CMD_SGL_METABUF@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x20, #112]
	orr	w8, w9, w8
	str	w8, [x20, #112]
Lloh14:
	adrp	x8, _NVME_TRANSPORT_SGL_DATA_DESC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NVME_TRANSPORT_SGL_DATA_DESC@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _NVME_SGL_FMT_TRANSPORT_A@GOTPAGE
Lloh18:
	ldr	x9, [x9, _NVME_SGL_FMT_TRANSPORT_A@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8, lsl #4
	str	w8, [x20, #88]
	mov	x0, x23
	bl	_cpu_to_le32
	str	w0, [x20, #104]
	str	xzr, [x20, #96]
	ldr	w8, [x20]
Lloh20:
	adrp	x24, _FCOP_FLAGS_AEN@GOTPAGE
Lloh21:
	ldr	x24, [x24, _FCOP_FLAGS_AEN@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_13
; %bb.12:
	ldr	w1, [x20, #4]
	mov	x0, x19
	mov	x2, x20
	bl	_nvme_fc_map_data
	tbnz	w0, #31, LBB0_23
LBB0_13:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #16]
	ldr	w1, [x20, #20]
Lloh22:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
	mov	w2, #64
	bl	_fc_dma_sync_single_for_device
	add	x23, x20, #8
Lloh25:
	adrp	x8, _FCPOP_STATE_ACTIVE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _FCPOP_STATE_ACTIVE@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_atomic_set
	ldr	w8, [x20]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_15
; %bb.14:
	ldr	w0, [x20, #4]
	bl	_blk_mq_start_request
LBB0_15:
	add	x0, x21, #4
	bl	_atomic_inc_return
	bl	_cpu_to_be32
	str	x0, [x20, #56]
	ldp	x1, x0, [x19]
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	w2, [x21]
	mov	x3, x22
	blr	x8
	cbz	w0, LBB0_22
; %bb.16:
	mov	x21, x0
Lloh28:
	adrp	x8, _FCPOP_STATE_COMPLETE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FCPOP_STATE_COMPLETE@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_atomic_xchg
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	___nvme_fc_fcpop_chk_teardowns
	ldr	w8, [x20]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_18
; %bb.17:
	ldr	w1, [x20, #4]
	mov	x0, x19
	mov	x2, x20
	bl	_nvme_fc_unmap_data
LBB0_18:
	mov	x0, x19
	bl	_nvme_fc_ctrl_put
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.19:
Lloh31:
	adrp	x8, _EBUSY@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	cmn	w21, w8
	b.ne	LBB0_25
LBB0_20:
Lloh34:
	adrp	x8, _BLK_STS_RESOURCE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _BLK_STS_RESOURCE@GOTPAGEOFF]
LBB0_21:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_22:
Lloh36:
	adrp	x8, _BLK_STS_OK@GOTPAGE
Lloh37:
	ldr	x8, [x8, _BLK_STS_OK@GOTPAGEOFF]
	b	LBB0_21
LBB0_23:
	mov	x23, x0
	ldr	w0, [x20, #4]
	bl	_nvme_cleanup_cmd
	mov	x0, x19
	bl	_nvme_fc_ctrl_put
Lloh38:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x8]
Lloh41:
	adrp	x8, _BLK_STS_RESOURCE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _BLK_STS_RESOURCE@GOTPAGEOFF]
	cmn	w23, w9
	b.eq	LBB0_21
; %bb.24:
Lloh43:
	adrp	x9, _EAGAIN@GOTPAGE
Lloh44:
	ldr	x9, [x9, _EAGAIN@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	cmn	w23, w9
	csel	x8, x8, x26, eq
	b	LBB0_21
LBB0_25:
Lloh46:
	adrp	x8, _BLK_STS_IOERR@GOTPAGE
Lloh47:
	ldr	x8, [x8, _BLK_STS_IOERR@GOTPAGEOFF]
	b	LBB0_21
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_FC_OBJSTATE_ONLINE,8,3         ; @FC_OBJSTATE_ONLINE
	.comm	_BLK_STS_RESOURCE,4,2           ; @BLK_STS_RESOURCE
	.comm	_BLK_STS_IOERR,4,2              ; @BLK_STS_IOERR
	.comm	_FCNVME_CMD_FLAGS_WRITE,4,2     ; @FCNVME_CMD_FLAGS_WRITE
	.comm	_FCNVME_CMD_FLAGS_READ,4,2      ; @FCNVME_CMD_FLAGS_READ
	.comm	_NVME_SC_SUCCESS,4,2            ; @NVME_SC_SUCCESS
	.comm	_NVME_CMD_SGL_METABUF,4,2       ; @NVME_CMD_SGL_METABUF
	.comm	_NVME_TRANSPORT_SGL_DATA_DESC,4,2 ; @NVME_TRANSPORT_SGL_DATA_DESC
	.comm	_NVME_SGL_FMT_TRANSPORT_A,4,2   ; @NVME_SGL_FMT_TRANSPORT_A
	.comm	_FCOP_FLAGS_AEN,4,2             ; @FCOP_FLAGS_AEN
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_FCPOP_STATE_ACTIVE,4,2         ; @FCPOP_STATE_ACTIVE
	.comm	_FCPOP_STATE_COMPLETE,4,2       ; @FCPOP_STATE_COMPLETE
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_BLK_STS_OK,4,2                 ; @BLK_STS_OK
	.no_dead_strip	_nvme_fc_start_fcp_op
.subsections_via_symbols
