	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nd_region_advance_seeds        ## -- Begin function nd_region_advance_seeds
	.p2align	4, 0x90
_nd_region_advance_seeds:               ## @nd_region_advance_seeds
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_nvdimm_bus_lock
	cmpq	%rbx, (%r14)
	je	LBB0_11
## %bb.1:
	movq	%rbx, %rdi
	callq	_is_nd_btt
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	callq	_to_nd_btt
	movq	%rax, %r15
	cmpq	%rbx, 24(%r14)
	jne	LBB0_10
## %bb.3:
	movq	%r14, %rdi
	callq	_nd_region_create_btt_seed
	jmp	LBB0_10
LBB0_4:
	callq	_is_nd_pfn
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	callq	_to_nd_pfn
	movq	%rax, %r15
	cmpq	%rbx, 16(%r14)
	jne	LBB0_10
## %bb.6:
	movq	%r14, %rdi
	callq	_nd_region_create_pfn_seed
	jmp	LBB0_10
LBB0_7:
	callq	_is_nd_dax
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	movq	%rbx, %rdi
	callq	_to_nd_dax
	movq	%rax, %r15
	cmpq	%rbx, 8(%r14)
	jne	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_nd_region_create_dax_seed
LBB0_10:
	movq	(%r14), %rax
	cmpq	(%r15), %rax
	jne	LBB0_12
LBB0_11:
	movq	%r14, %rdi
	callq	_nd_region_create_ns_seed
LBB0_12:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvdimm_bus_unlock              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nd_region_advance_seeds        ; -- Begin function nd_region_advance_seeds
	.p2align	2
_nd_region_advance_seeds:               ; @nd_region_advance_seeds
	.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	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_nvdimm_bus_lock
	ldr	x8, [x20]
	cmp	x8, x19
	b.eq	LBB0_11
; %bb.1:
	mov	x0, x19
	bl	_is_nd_btt
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_to_nd_btt
	mov	x21, x0
	ldr	x8, [x20, #24]
	cmp	x8, x19
	b.ne	LBB0_10
; %bb.3:
	mov	x0, x20
	bl	_nd_region_create_btt_seed
	b	LBB0_10
LBB0_4:
	mov	x0, x19
	bl	_is_nd_pfn
	cbz	x0, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_to_nd_pfn
	mov	x21, x0
	ldr	x8, [x20, #16]
	cmp	x8, x19
	b.ne	LBB0_10
; %bb.6:
	mov	x0, x20
	bl	_nd_region_create_pfn_seed
	b	LBB0_10
LBB0_7:
	mov	x0, x19
	bl	_is_nd_dax
	cbz	x0, LBB0_12
; %bb.8:
	mov	x0, x19
	bl	_to_nd_dax
	mov	x21, x0
	ldr	x8, [x20, #8]
	cmp	x8, x19
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_nd_region_create_dax_seed
LBB0_10:
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_12
LBB0_11:
	mov	x0, x20
	bl	_nd_region_create_ns_seed
LBB0_12:
	mov	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	_nvdimm_bus_unlock
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
