	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nd_label_gen_id                ## -- Begin function nd_label_gen_id
	.p2align	4, 0x90
_nd_label_gen_id:                       ## @nd_label_gen_id
	.cfi_startproc
## %bb.0:
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%rsi, %r8
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	movq	_ND_LABEL_ID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NSLABEL_FLAG_LOCAL@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str(%rip), %rdx
	callq	_snprintf
	movq	(%rbx), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
LBB0_3:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ND_LABEL_ID_SIZE,4,2           ## @ND_LABEL_ID_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s-%pUb"

	.comm	_NSLABEL_FLAG_LOCAL,4,2         ## @NSLABEL_FLAG_LOCAL
L_.str.1:                               ## @.str.1
	.asciz	"blk"

L_.str.2:                               ## @.str.2
	.asciz	"pmem"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nd_label_gen_id                ; -- Begin function nd_label_gen_id
	.p2align	2
_nd_label_gen_id:                       ; @nd_label_gen_id
	.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	x19, x0
	mov	x0, #0
	cbz	x19, LBB0_3
; %bb.1:
	mov	x4, x1
	cbz	x1, LBB0_3
; %bb.2:
	ldr	x0, [x19]
Lloh0:
	adrp	x8, _ND_LABEL_ID_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ND_LABEL_ID_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _NSLABEL_FLAG_LOCAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NSLABEL_FLAG_LOCAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, l_.str.1@PAGE
Lloh7:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh8:
	adrp	x10, l_.str.2@PAGE
Lloh9:
	add	x10, x10, l_.str.2@PAGEOFF
	tst	w8, w2
	csel	x3, x10, x9, eq
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	bl	_snprintf
	ldr	x0, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ND_LABEL_ID_SIZE,4,2           ; @ND_LABEL_ID_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s-%pUb"

	.comm	_NSLABEL_FLAG_LOCAL,4,2         ; @NSLABEL_FLAG_LOCAL
l_.str.1:                               ; @.str.1
	.asciz	"blk"

l_.str.2:                               ; @.str.2
	.asciz	"pmem"

.subsections_via_symbols
