	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_rdma_timeout
_nvme_rdma_timeout:                     ## @nvme_rdma_timeout
	.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
	callq	_blk_mq_rq_to_pdu
	movq	(%rax), %rdi
	movq	(%rdi), %r14
	movl	8(%r14), %r15d
	movl	(%rbx), %ebx
	callq	_nvme_rdma_queue_idx
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_warn
	movq	(%r14), %rax
	movq	_NVME_CTRL_RESETTING@GOTPCREL(%rip), %rcx
	movq	_BLK_EH_RESET_TIMER@GOTPCREL(%rip), %rbx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.1:
	movq	_NVME_CTRL_LIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movl	8(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_warn
	movq	%r14, %rdi
	callq	_nvme_rdma_error_recovery
	jmp	LBB0_4
LBB0_2:
	leaq	16(%r14), %rdi
	callq	_flush_work
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_nvme_rdma_teardown_io_queues
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_nvme_rdma_teardown_admin_queue
	movq	_BLK_EH_DONE@GOTPCREL(%rip), %rbx
LBB0_4:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"I/O %d QID %d timeout\n"

	.comm	_NVME_CTRL_RESETTING,8,3        ## @NVME_CTRL_RESETTING
	.comm	_BLK_EH_RESET_TIMER,4,2         ## @BLK_EH_RESET_TIMER
	.comm	_NVME_CTRL_LIVE,8,3             ## @NVME_CTRL_LIVE
	.comm	_BLK_EH_DONE,4,2                ## @BLK_EH_DONE
L_.str.1:                               ## @.str.1
	.asciz	"starting error recovery\n"

	.no_dead_strip	_nvme_rdma_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_rdma_timeout
_nvme_rdma_timeout:                     ; @nvme_rdma_timeout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	bl	_blk_mq_rq_to_pdu
	ldr	x0, [x0]
	ldr	x19, [x0]
	ldr	w21, [x19, #8]
	ldr	w20, [x20]
	bl	_nvme_rdma_queue_idx
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_warn
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _NVME_CTRL_RESETTING@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NVME_CTRL_RESETTING@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
Lloh5:
	adrp	x9, _NVME_CTRL_LIVE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NVME_CTRL_LIVE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	w0, [x19, #8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_warn
	mov	x0, x19
	bl	_nvme_rdma_error_recovery
LBB0_3:
Lloh10:
	adrp	x8, _BLK_EH_RESET_TIMER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BLK_EH_RESET_TIMER@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	add	x0, x19, #16
	bl	_flush_work
	mov	x0, x19
	mov	w1, #0
	bl	_nvme_rdma_teardown_io_queues
	mov	x0, x19
	mov	w1, #0
	bl	_nvme_rdma_teardown_admin_queue
Lloh12:
	adrp	x8, _BLK_EH_DONE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BLK_EH_DONE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"I/O %d QID %d timeout\n"

	.comm	_NVME_CTRL_RESETTING,8,3        ; @NVME_CTRL_RESETTING
	.comm	_BLK_EH_RESET_TIMER,4,2         ; @BLK_EH_RESET_TIMER
	.comm	_NVME_CTRL_LIVE,8,3             ; @NVME_CTRL_LIVE
	.comm	_BLK_EH_DONE,4,2                ; @BLK_EH_DONE
l_.str.1:                               ; @.str.1
	.asciz	"starting error recovery\n"

	.no_dead_strip	_nvme_rdma_timeout
.subsections_via_symbols
