	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_fc_delete_association
_nvme_fc_delete_association:            ## @nvme_fc_delete_association
	.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
	cmpl	$0, (%rdi)
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movl	$0, (%rdi)
	leaq	48(%rdi), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_FCCTRL_TERMIO@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	orl	%eax, 52(%rbx)
	movq	$0, 8(%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	leaq	16(%rbx), %r14
	cmpl	$2, 16(%rbx)
	jl	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_nvme_stop_queues
	leaq	64(%rbx), %r12
	movq	_nvme_fc_terminate_exchange@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_blk_mq_tagset_busy_iter
	movq	%r12, %rdi
	callq	_blk_mq_tagset_wait_completed_request
LBB0_3:
	movl	20(%rbx), %edi
	callq	_blk_mq_quiesce_queue
	leaq	60(%rbx), %r12
	movq	_nvme_fc_terminate_exchange@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_blk_mq_tagset_busy_iter
	movq	%r12, %rdi
	callq	_blk_mq_tagset_wait_completed_request
	movq	%rbx, %rdi
	callq	_nvme_fc_abort_aen_ops
	movq	%r15, %rdi
	callq	_spin_lock_irq
	movl	48(%rbx), %edx
	movl	56(%rbx), %edi
	xorl	%esi, %esi
	cmpq	$0, 8(%rbx)
	sete	%sil
	callq	_wait_event_lock_irq
	movl	(%r13), %eax
	notl	%eax
	andl	%eax, 52(%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movq	%rbx, %rdi
	callq	_nvme_fc_term_aen_ops
	cmpq	$0, 40(%rbx)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_nvme_fc_xmt_disconnect_assoc
LBB0_5:
	cmpq	$0, 24(%rbx)
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_nvme_fc_delete_hw_io_queues
	movq	%rbx, %rdi
	callq	_nvme_fc_free_io_queues
LBB0_7:
	movq	32(%rbx), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	___nvme_fc_delete_hw_queue
	movq	32(%rbx), %rdi
	callq	_nvme_fc_free_queue
	movl	20(%rbx), %edi
	callq	_blk_mq_unquiesce_queue
	movq	%r14, %rdi
	callq	_nvme_start_queues
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvme_fc_ctlr_inactive_on_rport ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FCCTRL_TERMIO,4,2              ## @FCCTRL_TERMIO
	.comm	_nvme_fc_terminate_exchange,4,2 ## @nvme_fc_terminate_exchange
	.no_dead_strip	_nvme_fc_delete_association
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_fc_delete_association
_nvme_fc_delete_association:            ; @nvme_fc_delete_association
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_8
; %bb.1:
	mov	x19, x0
	str	wzr, [x0]
	add	x21, x0, #48
	mov	x0, x21
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x23, _FCCTRL_TERMIO@GOTPAGE
Lloh1:
	ldr	x23, [x23, _FCCTRL_TERMIO@GOTPAGEOFF]
	ldr	w8, [x23]
	ldr	w9, [x19, #52]
	orr	w8, w9, w8
	str	w8, [x19, #52]
	str	xzr, [x19, #8]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	x20, x19
	ldr	w8, [x20, #16]!
Lloh2:
	adrp	x24, _nvme_fc_terminate_exchange@GOTPAGE
Lloh3:
	ldr	x24, [x24, _nvme_fc_terminate_exchange@GOTPAGEOFF]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_nvme_stop_queues
	add	x22, x19, #64
	ldr	w1, [x24]
	mov	x0, x22
	mov	x2, x20
	bl	_blk_mq_tagset_busy_iter
	mov	x0, x22
	bl	_blk_mq_tagset_wait_completed_request
LBB0_3:
	ldr	w0, [x19, #20]
	bl	_blk_mq_quiesce_queue
	add	x22, x19, #60
	ldr	w1, [x24]
	mov	x0, x22
	mov	x2, x20
	bl	_blk_mq_tagset_busy_iter
	mov	x0, x22
	bl	_blk_mq_tagset_wait_completed_request
	mov	x0, x19
	bl	_nvme_fc_abort_aen_ops
	mov	x0, x21
	bl	_spin_lock_irq
	ldr	w0, [x19, #56]
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w1, eq
	ldr	w2, [x19, #48]
	bl	_wait_event_lock_irq
	ldr	w8, [x23]
	ldr	w9, [x19, #52]
	bic	w8, w9, w8
	str	w8, [x19, #52]
	mov	x0, x21
	bl	_spin_unlock_irq
	mov	x0, x19
	bl	_nvme_fc_term_aen_ops
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_nvme_fc_xmt_disconnect_assoc
LBB0_5:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_nvme_fc_delete_hw_io_queues
	mov	x0, x19
	bl	_nvme_fc_free_io_queues
LBB0_7:
	ldr	x1, [x19, #32]
	mov	x0, x19
	mov	w2, #0
	bl	___nvme_fc_delete_hw_queue
	ldr	x0, [x19, #32]
	bl	_nvme_fc_free_queue
	ldr	w0, [x19, #20]
	bl	_blk_mq_unquiesce_queue
	mov	x0, x20
	bl	_nvme_start_queues
	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	_nvme_fc_ctlr_inactive_on_rport
LBB0_8:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FCCTRL_TERMIO,4,2              ; @FCCTRL_TERMIO
	.comm	_nvme_fc_terminate_exchange,4,2 ; @nvme_fc_terminate_exchange
	.no_dead_strip	_nvme_fc_delete_association
.subsections_via_symbols
