	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nd_label_free_slot             ## -- Begin function nd_label_free_slot
	.p2align	4, 0x90
_nd_label_free_slot:                    ## @nd_label_free_slot
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-48(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	callq	_preamble_next
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	(%rbx), %edi
	callq	_is_nvdimm_bus_locked
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	cmpq	%r14, -32(%rbp)
	jle	LBB0_3
## %bb.2:
	movq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_test_and_set_bit_le
	xorl	%r15d, %r15d
	testl	%eax, %eax
	sete	%r15b
LBB0_3:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nd_label_free_slot             ; -- Begin function nd_label_free_slot
	.p2align	2
_nd_label_free_slot:                    ; @nd_label_free_slot
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	bl	_preamble_next
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w0, [x20]
	bl	_is_nvdimm_bus_locked
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	ldr	x8, [sp, #8]
	cmp	x8, x19
	b.le	LBB0_3
; %bb.2:
	ldr	x1, [sp, #16]
	mov	x0, x19
	bl	_test_and_set_bit_le
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
