	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __nvme_fc_send_ls_req
___nvme_fc_send_ls_req:                 ## @__nvme_fc_send_ls_req
	.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	8(%rdi), %rax
	movq	_FC_OBJSTATE_ONLINE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_nvme_fc_rport_get
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%rbx, 24(%r12)
	movq	%r14, 16(%r12)
	movl	$0, (%r12)
	leaq	8(%r12), %r15
	movq	%r15, %rdi
	callq	_INIT_LIST_HEAD
	leaq	12(%r12), %rdi
	callq	_init_completion
	movl	(%r14), %edi
	movl	64(%r12), %esi
	movq	32(%r12), %rdx
	addq	40(%r12), %rdx
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_fc_dma_map_single
	movq	%rax, 48(%r12)
	movl	(%r14), %edi
	movq	%rax, %rsi
	callq	_fc_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_1:
	movq	_ECONNREFUSED@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ESHUTDOWN@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_7:
	leaq	24(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%r14), %rbx
	movq	40(%r12), %rax
	addq	48(%r12), %rax
	movq	%rax, 56(%r12)
	leaq	4(%r14), %r13
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	leaq	24(%r14), %rsi
	movq	%r15, %rdi
	callq	_list_add_tail
	movl	$1, (%r12)
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	movq	16(%r14), %rdi
	movq	8(%rdi), %rax
	movq	%rbx, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movl	%eax, %ebx
	movl	%eax, 4(%r12)
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movl	$0, (%r12)
	movq	%r15, %rdi
	callq	_list_del
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	movl	(%r14), %edi
	movq	32(%r12), %rdx
	movq	48(%r12), %rsi
	addq	40(%r12), %rdx
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_fc_dma_unmap_single
LBB0_10:
	movq	%r14, %rdi
	callq	_nvme_fc_rport_put
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_FC_OBJSTATE_ONLINE,8,3         ## @FC_OBJSTATE_ONLINE
	.comm	_ECONNREFUSED,4,2               ## @ECONNREFUSED
	.comm	_ESHUTDOWN,4,2                  ## @ESHUTDOWN
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.comm	_EFAULT,4,2                     ## @EFAULT
	.no_dead_strip	___nvme_fc_send_ls_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __nvme_fc_send_ls_req
___nvme_fc_send_ls_req:                 ; @__nvme_fc_send_ls_req
	.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
	mov	x21, x0
	ldr	x8, [x21, #8]!
Lloh0:
	adrp	x9, _FC_OBJSTATE_ONLINE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FC_OBJSTATE_ONLINE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	bl	_nvme_fc_rport_get
	cbz	w0, LBB0_5
; %bb.2:
	stp	x19, x22, [x20, #16]
	add	x22, x20, #8
	str	wzr, [x20]
	mov	x0, x22
	bl	_INIT_LIST_HEAD
	add	x0, x20, #12
	bl	_init_completion
	ldr	w0, [x19]
	ldr	w1, [x20, #64]
	ldp	x9, x8, [x20, #32]
	add	x2, x9, x8
Lloh3:
	adrp	x25, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh4:
	ldr	x25, [x25, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
	ldr	w3, [x25]
	bl	_fc_dma_map_single
	mov	x1, x0
	str	x0, [x20, #48]
	ldr	w0, [x19]
	bl	_fc_dma_mapping_error
	cbz	x0, LBB0_7
; %bb.3:
Lloh5:
	adrp	x8, _EFAULT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_9
LBB0_4:
Lloh8:
	adrp	x8, _ECONNREFUSED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ECONNREFUSED@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _ESHUTDOWN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ESHUTDOWN@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_10
LBB0_7:
	add	x24, x20, #24
	ldp	x9, x8, [x20, #40]
	add	x8, x9, x8
	str	x8, [x20, #56]
	add	x23, x19, #4
	mov	x0, x23
	bl	_spin_lock_irqsave
	add	x1, x19, #24
	mov	x0, x22
	bl	_list_add_tail
	mov	w8, #1
	str	w8, [x20]
	mov	x0, x23
	bl	_spin_unlock_irqrestore
	ldr	x0, [x19, #16]
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	mov	x1, x21
	mov	x2, x24
	blr	x8
	mov	x21, x0
	cbz	w0, LBB0_10
; %bb.8:
	str	w21, [x20, #4]
	mov	x0, x23
	bl	_spin_lock_irqsave
	str	wzr, [x20]
	mov	x0, x22
	bl	_list_del
	mov	x0, x23
	bl	_spin_unlock_irqrestore
	ldr	w0, [x19]
	ldp	x8, x1, [x20, #40]
	ldr	x9, [x20, #32]
	add	x2, x9, x8
	ldr	w3, [x25]
	bl	_fc_dma_unmap_single
LBB0_9:
	mov	x0, x19
	bl	_nvme_fc_rport_put
LBB0_10:
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FC_OBJSTATE_ONLINE,8,3         ; @FC_OBJSTATE_ONLINE
	.comm	_ECONNREFUSED,4,2               ; @ECONNREFUSED
	.comm	_ESHUTDOWN,4,2                  ; @ESHUTDOWN
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.comm	_EFAULT,4,2                     ; @EFAULT
	.no_dead_strip	___nvme_fc_send_ls_req
.subsections_via_symbols
