	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sizeof_namespace_index         ## -- Begin function sizeof_namespace_index
	.p2align	4, 0x90
_sizeof_namespace_index:                ## @sizeof_namespace_index
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_nvdimm_num_label_slots
	movl	%eax, %r14d
	movl	(%r12), %ebx
	movq	%r12, %rdi
	callq	_sizeof_namespace_label
	imull	%r14d, %eax
	subl	%eax, %ebx
	movl	%r14d, %edi
	callq	___sizeof_namespace_index
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax), %ecx
	cmpl	%ebx, %ecx
	jg	LBB0_3
## %bb.1:
	cmpl	$2, %r14d
	jl	LBB0_3
## %bb.2:
	cltq
	jmp	LBB0_4
LBB0_3:
	movl	(%r12), %r14d
	movl	4(%r12), %r15d
	movq	%r12, %rdi
	callq	_sizeof_namespace_label
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_dev_err
	xorl	%eax, %eax
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"label area (%d) too small to host (%d byte) labels\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sizeof_namespace_index         ; -- Begin function sizeof_namespace_index
	.p2align	2
_sizeof_namespace_index:                ; @sizeof_namespace_index
	.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, x0
	bl	_nvdimm_num_label_slots
	mov	x20, x0
	ldr	w21, [x19]
	mov	x0, x19
	bl	_sizeof_namespace_label
	msub	w21, w0, w20, w21
	mov	x0, x20
	bl	___sizeof_namespace_index
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w21, w0, lsl #1
	ccmp	w20, #2, #8, ge
	b.ge	LBB0_2
; %bb.1:
	ldp	w21, w20, [x19]
	mov	x0, x19
	bl	_sizeof_namespace_label
	mov	x3, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_dev_err
	mov	x0, #0
	b	LBB0_3
LBB0_2:
	sxtw	x0, w0
LBB0_3:
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"label area (%d) too small to host (%d byte) labels\n"

.subsections_via_symbols
