	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delegpt_add_ns                 ## -- Begin function delegpt_add_ns
	.p2align	4, 0x90
_delegpt_add_ns:                        ## @delegpt_add_ns
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r13
	leaq	-48(%rbp), %rsi
	movq	%rdx, %rdi
	callq	_dname_count_size_labels
	xorl	%edi, %edi
	cmpl	$0, 8(%r13)
	sete	%dil
	callq	_log_assert
	movq	-48(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_delegpt_find_ns
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_4
## %bb.1:
	movq	%r15, %rdi
	movl	$72, %esi
	callq	_regional_alloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movq	(%r13), %rax
	movq	%rax, 64(%rbx)
	movq	-48(%rbp), %rdx
	movq	%rdx, (%rbx)
	movq	%rbx, (%r13)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_regional_alloc_init
	movq	%rax, %rcx
	movq	%rax, 8(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rbx)
	movq	$0, 56(%rbx)
	movl	%r14d, 32(%rbx)
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
	movups	%xmm0, 16(%rbx)
	jmp	LBB0_4
LBB0_2:
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	_delegpt_add_ns                 ; -- Begin function delegpt_add_ns
	.p2align	2
_delegpt_add_ns:                        ; @delegpt_add_ns
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	x1, sp, #8
	mov	x0, x2
	bl	_dname_count_size_labels
	ldr	w8, [x22, #8]
	cmp	w8, #0
	cset	w0, eq
	bl	_log_assert
	ldr	x2, [sp, #8]
	mov	x0, x22
	mov	x1, x20
	bl	_delegpt_find_ns
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_4
LBB0_2:
	mov	x0, x21
	mov	w1, #72
	bl	_regional_alloc
	cbz	x0, LBB0_4
; %bb.3:
	mov	x23, x0
	ldr	x8, [x22]
	str	x8, [x0, #64]
	ldr	x2, [sp, #8]
	str	x2, [x0]
	str	x0, [x22]
	mov	x0, x21
	mov	x1, x20
	bl	_regional_alloc_init
	mov	x8, x0
	stp	xzr, xzr, [x23, #48]
	str	xzr, [x23, #40]
	str	w19, [x23, #32]
	cmp	x0, #0
	cset	w0, ne
	stp	xzr, xzr, [x23, #16]
	str	x8, [x23, #8]
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
