	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_fc_prep_fcp_iodlist
_nvmet_fc_prep_fcp_iodlist:             ## @nvmet_fc_prep_fcp_iodlist
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rsi)
	jle	LBB0_7
## %bb.1:
	movq	%rdi, %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rbx
	addq	$4, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	addq	$-56, %rbx
	xorl	%r15d, %r15d
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	120(%rbx), %rdi
	movq	_nvmet_fc_fcp_rqst_op_defer_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	%r12, 112(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 104(%rbx)
	movq	$0, 56(%rbx)
	movl	$0, 64(%rbx)
	movq	$0, 96(%rbx)
	leaq	80(%rbx), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_list_add_tail
	leaq	88(%rbx), %rdi
	callq	_spin_lock_init
	movl	(%r12), %edi
	leaq	84(%rbx), %rsi
	movl	(%r14), %ecx
	movl	$4, %edx
	callq	_fc_dma_map_single
	movq	%rax, 72(%rbx)
	movq	%r12, %r13
	movl	(%r12), %edi
	movq	%rax, %rsi
	callq	_fc_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
	addq	$72, %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax), %r15d
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %r14
	movq	%r13, %r12
	jl	LBB0_2
	jmp	LBB0_7
LBB0_3:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_list_del
	testl	%r15d, %r15d
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %r14
	je	LBB0_7
## %bb.4:
	incl	%r15d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	(%rbx), %rsi
	movl	(%r14), %ecx
	movl	$4, %edx
	callq	_fc_dma_unmap_single
	movq	$0, (%rbx)
	leaq	8(%rbx), %rdi
	callq	_list_del
	decl	%r15d
	addq	$-72, %rbx
	cmpl	$1, %r15d
	jg	LBB0_5
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nvmet_fc_fcp_rqst_op_defer_work,4,2 ## @nvmet_fc_fcp_rqst_op_defer_work
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.no_dead_strip	_nvmet_fc_prep_fcp_iodlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvmet_fc_prep_fcp_iodlist
_nvmet_fc_prep_fcp_iodlist:             ; @nvmet_fc_prep_fcp_iodlist
	.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	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	w25, #0
	ldr	x8, [x1, #8]
	add	x21, x1, #4
	sub	x23, x8, #56
Lloh0:
	adrp	x26, _nvmet_fc_fcp_rqst_op_defer_work@GOTPAGE
Lloh1:
	ldr	x26, [x26, _nvmet_fc_fcp_rqst_op_defer_work@GOTPAGEOFF]
Lloh2:
	adrp	x24, _DMA_TO_DEVICE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _DMA_TO_DEVICE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x23, #120
	ldr	w1, [x26]
	bl	_INIT_WORK
	stp	x20, x19, [x23, #104]
	str	xzr, [x23, #56]
	str	wzr, [x23, #64]
	add	x22, x23, #80
	str	xzr, [x23, #96]
	mov	x0, x22
	mov	x1, x21
	bl	_list_add_tail
	add	x0, x23, #88
	bl	_spin_lock_init
	ldr	w0, [x19]
	add	x1, x23, #84
	ldr	w3, [x24]
	mov	w2, #4
	bl	_fc_dma_map_single
	mov	x1, x0
	str	x0, [x23, #72]
	ldr	w0, [x19]
	bl	_fc_dma_mapping_error
	cbnz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w25, w25, #1
	ldr	w8, [x20]
	add	x23, x23, #72
	cmp	w25, w8
	b.lt	LBB0_2
	b	LBB0_7
LBB0_4:
	mov	x0, x22
	bl	_list_del
	cbz	w25, LBB0_7
; %bb.5:
	add	w21, w25, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	mov	x20, x23
	ldr	x1, [x20], #8
	ldr	w3, [x24]
	mov	w2, #4
	bl	_fc_dma_unmap_single
	str	xzr, [x23], #-72
	mov	x0, x20
	bl	_list_del
	sub	w21, w21, #1
	cmp	w21, #1
	b.gt	LBB0_6
LBB0_7:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_nvmet_fc_fcp_rqst_op_defer_work,4,2 ; @nvmet_fc_fcp_rqst_op_defer_work
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.no_dead_strip	_nvmet_fc_prep_fcp_iodlist
.subsections_via_symbols
