	.file	"extr_region_devs.c_nd_region_advance_seeds.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	nd_region_advance_seeds
	.type	nd_region_advance_seeds, @function
nd_region_advance_seeds:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	nvdimm_bus_lock@PLT
	cmp	QWORD PTR [r12], rbp
	je	.L6
	mov	rdi, rbp
	call	is_nd_btt@PLT
	mov	rdi, rbp
	test	rax, rax
	je	.L4
	call	to_nd_btt@PLT
	mov	rbx, rax
	cmp	QWORD PTR 24[r12], rbp
	je	.L18
.L10:
	mov	rax, QWORD PTR [rbx]
	cmp	QWORD PTR [r12], rax
	je	.L6
.L3:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	nvdimm_bus_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	call	is_nd_pfn@PLT
	mov	rdi, rbp
	test	rax, rax
	jne	.L19
	call	is_nd_dax@PLT
	test	rax, rax
	je	.L3
	mov	rdi, rbp
	call	to_nd_dax@PLT
	mov	rbx, rax
	cmp	QWORD PTR 8[r12], rbp
	jne	.L10
	mov	rdi, r12
	call	nd_region_create_dax_seed@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, r12
	call	nd_region_create_ns_seed@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	nvdimm_bus_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	call	to_nd_pfn@PLT
	mov	rbx, rax
	cmp	QWORD PTR 16[r12], rbp
	jne	.L10
	mov	rdi, r12
	call	nd_region_create_pfn_seed@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, r12
	call	nd_region_create_btt_seed@PLT
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	nd_region_advance_seeds, .-nd_region_advance_seeds
	.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_region_devs.c_nd_region_advance_seeds.c"
	.text
	.align	2
	.global	nd_region_advance_seeds
	.syntax unified
	.arm
	.fpu softvfp
	.type	nd_region_advance_seeds, %function
nd_region_advance_seeds:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r4, r1
	mov	r0, r1
	bl	nvdimm_bus_lock
	ldr	r3, [r5]
	cmp	r3, r4
	beq	.L6
	mov	r0, r4
	bl	is_nd_btt
	cmp	r0, #0
	mov	r0, r4
	beq	.L4
	bl	to_nd_btt
	ldr	r3, [r5, #12]
	mov	r6, r0
	cmp	r3, r4
	beq	.L18
.L10:
	ldr	r3, [r6]
	ldr	r2, [r5]
	cmp	r2, r3
	beq	.L6
.L3:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	nvdimm_bus_unlock
.L4:
	bl	is_nd_pfn
	cmp	r0, #0
	mov	r0, r4
	bne	.L19
	bl	is_nd_dax
	cmp	r0, #0
	beq	.L3
	mov	r0, r4
	bl	to_nd_dax
	ldr	r3, [r5, #4]
	mov	r6, r0
	cmp	r3, r4
	bne	.L10
	mov	r0, r5
	bl	nd_region_create_dax_seed
	b	.L10
.L6:
	mov	r0, r5
	bl	nd_region_create_ns_seed
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	nvdimm_bus_unlock
.L19:
	bl	to_nd_pfn
	ldr	r3, [r5, #8]
	mov	r6, r0
	cmp	r3, r4
	bne	.L10
	mov	r0, r5
	bl	nd_region_create_pfn_seed
	b	.L10
.L18:
	mov	r0, r5
	bl	nd_region_create_btt_seed
	b	.L10
	.size	nd_region_advance_seeds, .-nd_region_advance_seeds
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
