	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nd_namespace_label_update
_nd_namespace_label_update:             ## @nd_namespace_label_update
	.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
	movl	$1, %esi
	cmpq	$0, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_to_ndns
	xorl	%esi, %esi
	cmpq	$0, (%rax)
	setne	%sil
LBB0_2:
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_dev_WARN_ONCE
	xorl	%r15d, %r15d
	cmpq	$0, (%rbx)
	jne	LBB0_14
## %bb.3:
	movq	%rbx, %rdi
	callq	_to_ndns
	cmpq	$0, (%rax)
	je	LBB0_4
LBB0_14:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	callq	_is_namespace_pmem
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	callq	_to_nd_namespace_pmem
	movq	%rax, %rbx
	leaq	8(%rax), %rdi
	callq	_resource_size
	cmpq	$0, (%rbx)
	je	LBB0_14
## %bb.6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nd_pmem_namespace_label_update ## TAILCALL
LBB0_7:
	movq	%rbx, %rdi
	callq	_is_namespace_blk
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:
	movq	%rbx, %rdi
	callq	_to_nd_namespace_blk
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_nd_namespace_blk_size
	movq	8(%rbx), %rcx
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.11:
	cmpl	$0, (%rbx)
	jne	LBB0_12
	jmp	LBB0_14
LBB0_13:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_14
LBB0_9:
	testq	%rcx, %rcx
	je	LBB0_14
LBB0_12:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nd_blk_namespace_label_update  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"namespace must be idle during label update\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.no_dead_strip	_nd_namespace_label_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nd_namespace_label_update
_nd_namespace_label_update:             ; @nd_namespace_label_update
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w1, #1
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_to_ndns
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w1, ne
LBB0_3:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_WARN_ONCE
	ldr	x8, [x20]
	cbnz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_to_ndns
	ldr	x8, [x0]
	cbz	x8, LBB0_7
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x20
	bl	_is_namespace_pmem
	cbz	x0, LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_to_nd_namespace_pmem
	mov	x20, x0
	add	x0, x0, #8
	bl	_resource_size
	ldr	x8, [x20]
	cbz	x8, LBB0_5
; %bb.9:
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nd_pmem_namespace_label_update
LBB0_10:
	mov	x0, x20
	bl	_is_namespace_blk
	cbz	x0, LBB0_14
; %bb.11:
	mov	x0, x20
	bl	_to_nd_namespace_blk
	mov	x20, x0
	bl	_nd_namespace_blk_size
	mov	x2, x0
	ldr	x8, [x20, #8]
	cbz	x0, LBB0_15
; %bb.12:
	cbz	x8, LBB0_5
; %bb.13:
	ldr	w8, [x20]
	cbnz	w8, LBB0_16
	b	LBB0_5
LBB0_14:
Lloh2:
	adrp	x8, _ENXIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_15:
	cbz	x8, LBB0_5
LBB0_16:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nd_blk_namespace_label_update
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"namespace must be idle during label update\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.no_dead_strip	_nd_namespace_label_update
.subsections_via_symbols
