	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delegpt_rrset_add_ns           ## -- Begin function delegpt_rrset_add_ns
	.p2align	4, 0x90
_delegpt_rrset_add_ns:                  ## @delegpt_rrset_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, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	(%rdx), %r12
	xorl	%edi, %edi
	cmpl	$0, 4(%r13)
	sete	%dil
	callq	_log_assert
	movq	(%r12), %rax
	movq	_sec_status_bogus@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	$1, (%r13)
LBB0_2:
	movl	$1, %eax
	cmpq	$0, 8(%r12)
	je	LBB0_10
## %bb.3:
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	cmpq	8(%r12), %r14
	jae	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movl	(%rax,%r14,4), %esi
	cmpl	$3, %esi
	jl	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r12), %rax
	movq	(%rax,%r14,8), %rdi
	addq	$2, %rdi
	addl	$-2, %esi
	callq	_dname_valid
	movq	%rax, %rbx
	movq	24(%r12), %rax
	movq	(%rax,%r14,8), %rdi
	callq	_sldns_read_uint16
	cmpq	%rax, %rbx
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r12), %rax
	movq	(%rax,%r14,8), %rdx
	addq	$2, %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_delegpt_add_ns
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_9:
	movl	$1, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sec_status_bogus,8,3           ## @sec_status_bogus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delegpt_rrset_add_ns           ; -- Begin function delegpt_rrset_add_ns
	.p2align	2
_delegpt_rrset_add_ns:                  ; @delegpt_rrset_add_ns
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
	ldr	x23, [x2]
	ldr	w8, [x0, #4]
	cmp	w8, #0
	cset	w0, eq
	bl	_log_assert
	ldr	x8, [x23]
Lloh0:
	adrp	x9, _sec_status_bogus@GOTPAGE
Lloh1:
	ldr	x9, [x9, _sec_status_bogus@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x21]
LBB0_2:
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_8
; %bb.3:
	mov	x24, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	ldr	x8, [x23, #8]
	cmp	x24, x8
	b.hs	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #16]
	ldr	w8, [x8, x24, lsl #2]
	cmp	w8, #3
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x23, #24]
	lsl	x25, x24, #3
	ldr	x9, [x9, x25]
	add	x0, x9, #2
	sub	w1, w8, #2
	bl	_dname_valid
	mov	x22, x0
	ldr	x8, [x23, #24]
	ldr	x0, [x8, x25]
	bl	_sldns_read_uint16
	cmp	x22, x0
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23, #24]
	ldr	x8, [x8, x24, lsl #3]
	add	x2, x8, #2
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	bl	_delegpt_add_ns
	cbnz	w0, LBB0_4
	b	LBB0_9
LBB0_8:
	mov	w0, #1
LBB0_9:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sec_status_bogus,8,3           ; @sec_status_bogus
.subsections_via_symbols
