	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_fc_reconnect_or_delete
_nvme_fc_reconnect_or_delete:           ## @nvme_fc_reconnect_or_delete
	.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), %rax
	movq	_NVME_CTRL_CONNECTING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.1:
	movq	%rdi, %rbx
	movq	32(%rdi), %r15
	movq	16(%rdi), %rax
	movq	_HZ@GOTPCREL(%rip), %r12
	movq	(%r12), %r14
	imulq	(%rax), %r14
	movq	8(%r15), %rax
	movq	_FC_OBJSTATE_ONLINE@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_3
## %bb.2:
	movl	8(%rbx), %edi
	movl	24(%rbx), %edx
	movslq	%esi, %rcx
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	jmp	LBB0_4
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%r15), %rsi
	callq	_time_after_eq
	testq	%rax, %rax
	jne	LBB0_13
LBB0_4:
	movq	%rbx, %rdi
	callq	_nvmf_should_reconnect
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movq	8(%r15), %rax
	cmpq	(%r13), %rax
	jne	LBB0_10
## %bb.6:
	movl	8(%rbx), %edi
	movl	24(%rbx), %ecx
	movq	(%r12), %rsi
	movq	%r14, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_7
## %bb.8:
	movq	%r14, %rax
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_9
LBB0_13:
	movq	8(%r15), %rax
	movl	8(%rbx), %edi
	movl	24(%rbx), %edx
	cmpq	(%r13), %rax
	jne	LBB0_15
## %bb.14:
	movl	12(%rbx), %ecx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_16
LBB0_15:
	movl	16(%r15), %ecx
	leaq	L_.str.3(%rip), %rsi
LBB0_16:
	callq	_dev_warn
	movq	%rbx, %rdi
	callq	_nvme_delete_ctrl
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WARN_ON                        ## TAILCALL
LBB0_10:
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	%r14, %rdi
	movq	(%r15), %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	(%r15), %r14
	subq	(%r12), %r14
	jmp	LBB0_12
LBB0_7:
	movl	%r14d, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_9:
	leaq	L_.str.1(%rip), %rsi
	movl	%ecx, %edx
	movq	%rax, %rcx
	callq	_dev_info
LBB0_12:
	movq	_nvme_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$28, %rbx
	movq	%rbx, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_delayed_work             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HZ,8,3                         ## @HZ
	.comm	_NVME_CTRL_CONNECTING,8,3       ## @NVME_CTRL_CONNECTING
	.comm	_FC_OBJSTATE_ONLINE,8,3         ## @FC_OBJSTATE_ONLINE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NVME-FC{%d}: reset: Reconnect attempt failed (%d)\n"

	.comm	_jiffies,8,3                    ## @jiffies
L_.str.1:                               ## @.str.1
	.asciz	"NVME-FC{%d}: Reconnect attempt in %ld seconds\n"

	.comm	_nvme_wq,4,2                    ## @nvme_wq
L_.str.2:                               ## @.str.2
	.asciz	"NVME-FC{%d}: Max reconnect attempts (%d) reached.\n"

L_.str.3:                               ## @.str.3
	.asciz	"NVME-FC{%d}: dev_loss_tmo (%d) expired while waiting for remoteport connectivity.\n"

	.no_dead_strip	_nvme_fc_reconnect_or_delete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_fc_reconnect_or_delete
_nvme_fc_reconnect_or_delete:           ; @nvme_fc_reconnect_or_delete
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NVME_CTRL_CONNECTING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NVME_CTRL_CONNECTING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x21, [x0, #32]
	ldr	x8, [x0, #16]
	ldr	x20, [x8]
Lloh3:
	adrp	x22, _HZ@GOTPAGE
Lloh4:
	ldr	x22, [x22, _HZ@GOTPAGEOFF]
	ldr	x24, [x22]
	ldr	x8, [x21, #8]
Lloh5:
	adrp	x23, _FC_OBJSTATE_ONLINE@GOTPAGE
Lloh6:
	ldr	x23, [x23, _FC_OBJSTATE_ONLINE@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	w0, [x19, #8]
	ldr	w2, [x19, #24]
	sxtw	x3, w1
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	b	LBB0_5
LBB0_3:
	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_4:
Lloh9:
	adrp	x8, _jiffies@GOTPAGE
Lloh10:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	ldr	x1, [x21]
	bl	_time_after_eq
	cbnz	x0, LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_nvmf_should_reconnect
	cbz	x0, LBB0_8
; %bb.6:
	mul	x20, x24, x20
	ldr	x8, [x21, #8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.7:
	ldr	w0, [x19, #8]
	ldr	w2, [x19, #24]
	ldr	x8, [x22]
	udiv	x3, x20, x8
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_info
	b	LBB0_14
LBB0_8:
	ldr	x8, [x21, #8]
	ldr	x9, [x23]
	ldr	w0, [x19, #8]
	ldr	w2, [x19, #24]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:
	ldr	w3, [x19, #12]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_10:
	ldr	w3, [x21, #16]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_11:
	bl	_dev_warn
	mov	x0, x19
	bl	_nvme_delete_ctrl
	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	_WARN_ON
LBB0_12:
Lloh18:
	adrp	x22, _jiffies@GOTPAGE
Lloh19:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x0, x8, x20
	ldr	x1, [x21]
	bl	_time_after
	cbz	x0, LBB0_14
; %bb.13:
	ldr	x8, [x21]
	ldr	x9, [x22]
	sub	x20, x8, x9
LBB0_14:
Lloh20:
	adrp	x8, _nvme_wq@GOTPAGE
Lloh21:
	ldr	x8, [x8, _nvme_wq@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	add	x1, x19, #28
	mov	x2, x20
	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	_queue_delayed_work
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_HZ,8,3                         ; @HZ
	.comm	_NVME_CTRL_CONNECTING,8,3       ; @NVME_CTRL_CONNECTING
	.comm	_FC_OBJSTATE_ONLINE,8,3         ; @FC_OBJSTATE_ONLINE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NVME-FC{%d}: reset: Reconnect attempt failed (%d)\n"

	.comm	_jiffies,8,3                    ; @jiffies
l_.str.1:                               ; @.str.1
	.asciz	"NVME-FC{%d}: Reconnect attempt in %ld seconds\n"

	.comm	_nvme_wq,4,2                    ; @nvme_wq
l_.str.2:                               ; @.str.2
	.asciz	"NVME-FC{%d}: Max reconnect attempts (%d) reached.\n"

l_.str.3:                               ; @.str.3
	.asciz	"NVME-FC{%d}: dev_loss_tmo (%d) expired while waiting for remoteport connectivity.\n"

	.no_dead_strip	_nvme_fc_reconnect_or_delete
.subsections_via_symbols
