	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvme_failover_req              ## -- Begin function nvme_failover_req
	.p2align	4, 0x90
_nvme_failover_req:                     ## @nvme_failover_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %r14
	callq	_nvme_req
	movq	(%r14), %rdi
	addq	$4, %rdi
	movl	$2047, %r15d                    ## imm = 0x7FF
	andl	(%rax), %r15d
	callq	_spin_lock_irqsave
	movq	(%r14), %rdi
	addq	$8, %rdi
	movq	%rbx, %rsi
	callq	_blk_steal_bios
	movq	(%r14), %rdi
	addq	$4, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_blk_mq_end_request
	leal	-129(%r15), %eax
	cmpl	$3, %eax
	jae	LBB0_1
## %bb.3:
	movq	%r14, %rdi
	callq	_nvme_mpath_clear_current_path
	movq	8(%r14), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_6
## %bb.4:
	movq	_NVME_NS_ANA_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r14), %rsi
	callq	_set_bit
	movq	_nvme_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r14), %rsi
	callq	_queue_work
	jmp	LBB0_6
LBB0_1:
	cmpl	$128, %r15d
	jne	LBB0_5
## %bb.2:
	movq	%r14, %rdi
	callq	_nvme_mpath_clear_current_path
	jmp	LBB0_6
LBB0_5:
	movq	8(%r14), %rdi
	callq	_nvme_reset_ctrl
LBB0_6:
	movq	(%r14), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kblockd_schedule_work          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_NS_ANA_PENDING,4,2        ## @NVME_NS_ANA_PENDING
	.comm	_nvme_wq,4,2                    ## @nvme_wq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvme_failover_req              ; -- Begin function nvme_failover_req
	.p2align	2
_nvme_failover_req:                     ; @nvme_failover_req
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x19, [x8]
	bl	_nvme_req
	ldr	w21, [x0]
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_spin_lock_irqsave
	ldr	x8, [x19]
	add	x0, x8, #8
	mov	x1, x20
	bl	_blk_steal_bios
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	mov	w1, #0
	bl	_blk_mq_end_request
	and	w8, w21, #0x7ff
	sub	w9, w8, #129
	cmp	w9, #3
	b.hs	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_nvme_mpath_clear_current_path
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _NVME_NS_ANA_PENDING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVME_NS_ANA_PENDING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #16
	bl	_set_bit
Lloh3:
	adrp	x8, _nvme_wq@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nvme_wq@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x1, [x19, #8]
	bl	_queue_work
	b	LBB0_6
LBB0_3:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_nvme_mpath_clear_current_path
	b	LBB0_6
LBB0_5:
	ldr	x0, [x19, #8]
	bl	_nvme_reset_ctrl
LBB0_6:
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_kblockd_schedule_work
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_NS_ANA_PENDING,4,2        ; @NVME_NS_ANA_PENDING
	.comm	_nvme_wq,4,2                    ; @nvme_wq
.subsections_via_symbols
