	.file	"extr_nvme_ctrlr.c_nvme_ctrlr_start.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"num_io_queues changed from %u to %u"
	.text
	.p2align 4
	.type	nvme_ctrlr_start, @function
nvme_ctrlr_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, 16[rdi]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	esi, esi
	jne	.L25
.L2:
	mov	edx, DWORD PTR 0[rbp]
	xor	ebx, ebx
	test	edx, edx
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 8[rbp]
	lea	rdi, [rax+rbx*4]
	add	rbx, 1
	call	nvme_qpair_reset@PLT
	cmp	DWORD PTR 0[rbp], ebx
	jg	.L3
.L6:
	mov	rdi, r13
	call	nvme_admin_qpair_enable@PLT
	mov	rdi, rbp
	call	nvme_ctrlr_identify@PLT
	test	rax, rax
	jne	.L4
	test	r12d, r12d
	je	.L8
	mov	rdi, rbp
	mov	r12d, DWORD PTR 0[rbp]
	call	nvme_ctrlr_set_num_qpairs@PLT
	test	rax, rax
	jne	.L4
	mov	edx, DWORD PTR 0[rbp]
	cmp	edx, r12d
	jne	.L26
.L8:
	mov	rdi, rbp
	call	nvme_ctrlr_create_qpairs@PLT
	test	rax, rax
	jne	.L4
.L27:
	mov	rdi, rbp
	call	nvme_ctrlr_construct_namespaces@PLT
	test	rax, rax
	jne	.L4
	mov	rdi, rbp
	xor	ebx, ebx
	call	nvme_ctrlr_configure_aer@PLT
	mov	rdi, rbp
	call	nvme_ctrlr_configure_int_coalescing@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	jle	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rax, QWORD PTR 8[rbp]
	lea	rdi, [rax+rbx*4]
	add	rbx, 1
	call	nvme_io_qpair_enable@PLT
	cmp	DWORD PTR 0[rbp], ebx
	jg	.L10
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	nvme_ctrlr_fail@PLT
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	mov	rdi, r13
	call	nvme_qpair_reset@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L26:
	lea	rdi, .LC0[rip]
	mov	esi, r12d
	call	panic@PLT
	mov	rdi, rbp
	call	nvme_ctrlr_create_qpairs@PLT
	test	rax, rax
	je	.L27
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	nvme_ctrlr_start, .-nvme_ctrlr_start
	.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_nvme_ctrlr.c_nvme_ctrlr_start.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"num_io_queues changed from %u to %u\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nvme_ctrlr_start, %function
nvme_ctrlr_start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r6, r1, #0
	mov	r5, r0
	add	r7, r0, #8
	bne	.L23
.L2:
	ldr	r3, [r5]
	cmp	r3, #0
	movgt	r4, #0
	ble	.L6
.L3:
	ldr	r0, [r5, #4]
	add	r0, r0, r4, lsl #2
	bl	nvme_qpair_reset
	ldr	r3, [r5]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L3
.L6:
	mov	r0, r7
	bl	nvme_admin_qpair_enable
	mov	r0, r5
	bl	nvme_ctrlr_identify
	cmp	r0, #0
	bne	.L4
	cmp	r6, #0
	beq	.L8
	mov	r0, r5
	ldr	r4, [r5]
	bl	nvme_ctrlr_set_num_qpairs
	cmp	r0, #0
	bne	.L4
	ldr	r2, [r5]
	cmp	r2, r4
	bne	.L24
.L8:
	mov	r0, r5
	bl	nvme_ctrlr_create_qpairs
	cmp	r0, #0
	bne	.L4
.L25:
	mov	r0, r5
	bl	nvme_ctrlr_construct_namespaces
	subs	r4, r0, #0
	bne	.L4
	mov	r0, r5
	bl	nvme_ctrlr_configure_aer
	mov	r0, r5
	bl	nvme_ctrlr_configure_int_coalescing
	ldr	r3, [r5]
	cmp	r3, #0
	pople	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r0, [r5, #4]
	add	r0, r0, r4, lsl #2
	bl	nvme_io_qpair_enable
	ldr	r3, [r5]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L10
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	nvme_ctrlr_fail
.L23:
	mov	r0, r7
	bl	nvme_qpair_reset
	b	.L2
.L24:
	mov	r1, r4
	ldr	r0, .L26
	bl	panic
	mov	r0, r5
	bl	nvme_ctrlr_create_qpairs
	cmp	r0, #0
	beq	.L25
	b	.L4
.L27:
	.align	2
.L26:
	.word	.LC0
	.size	nvme_ctrlr_start, .-nvme_ctrlr_start
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
