	.file	"extr_rdma.c_nvme_rdma_teardown_io_queues.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nvme_rdma_teardown_io_queues, @function
nvme_rdma_teardown_io_queues:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR [rdi], 1
	jg	.L15
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	nvme_stop_queues@PLT
	mov	rdi, rbp
	call	nvme_rdma_stop_io_queues@PLT
	mov	rdi, QWORD PTR 8[rbp]
	test	rdi, rdi
	jne	.L16
	test	r12d, r12d
	jne	.L17
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	esi, r12d
	mov	rdi, rbp
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 8
	jmp	nvme_rdma_destroy_io_queues@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	esi, DWORD PTR nvme_cancel_request[rip]
	mov	rdx, rbp
	call	blk_mq_tagset_busy_iter@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	blk_mq_tagset_wait_completed_request@PLT
	test	r12d, r12d
	je	.L4
.L17:
	mov	rdi, rbp
	call	nvme_start_queues@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	nvme_rdma_teardown_io_queues, .-nvme_rdma_teardown_io_queues
	.comm	nvme_cancel_request,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_rdma.c_nvme_rdma_teardown_io_queues.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nvme_rdma_teardown_io_queues, %function
nvme_rdma_teardown_io_queues:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	cmp	r3, #1
	bxle	lr
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	bl	nvme_stop_queues
	mov	r0, r4
	bl	nvme_rdma_stop_io_queues
	ldr	r0, [r4, #4]
	cmp	r0, #0
	bne	.L15
	cmp	r5, #0
	bne	.L16
.L4:
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	nvme_rdma_destroy_io_queues
.L15:
	ldr	r3, .L17
	mov	r2, r4
	ldr	r1, [r3]
	bl	blk_mq_tagset_busy_iter
	ldr	r0, [r4, #4]
	bl	blk_mq_tagset_wait_completed_request
	cmp	r5, #0
	beq	.L4
.L16:
	mov	r0, r4
	bl	nvme_start_queues
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	nvme_rdma_destroy_io_queues
.L18:
	.align	2
.L17:
	.word	nvme_cancel_request
	.size	nvme_rdma_teardown_io_queues, .-nvme_rdma_teardown_io_queues
	.comm	nvme_cancel_request,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
