	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msg_add_rrset_an
_msg_add_rrset_an:                      ## @msg_add_rrset_an
	.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
	movq	%r8, %r14
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	(%rdx), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_log_assert
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	$0, 8(%rax)
	sete	%dil
	callq	_log_assert
	movl	$1, %r15d
	testq	%r12, %r12
	je	LBB0_7
## %bb.1:
	testq	%r14, %r14
	je	LBB0_7
## %bb.2:
	movl	(%r12), %edx
	movl	4(%r12), %esi
	movl	(%r14), %ecx
	movl	(%r13), %r8d
	movq	%rbx, %rdi
	callq	_msg_rrset_duplicate
	testq	%rax, %rax
	je	LBB0_3
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_msg_grow_array
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%r15, %rcx
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	xorl	%r8d, %r8d
	callq	_auth_packed_rrset_copy_region
	movq	(%rbx), %rcx
	movq	16(%rcx), %rdx
	movq	32(%rcx), %rsi
	movl	%eax, (%rsi,%rdx,4)
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	incq	%rdx
	movq	%rdx, 16(%rcx)
	incl	24(%rcx)
	movq	%rbx, %rdi
	callq	_msg_ttl
	movl	$1, %r15d
	jmp	LBB0_7
LBB0_4:
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_msg_add_rrset_an
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msg_add_rrset_an
_msg_add_rrset_an:                      ; @msg_add_rrset_an
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x4
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x23, x0
	ldr	x8, [x2]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, eq
	bl	_log_assert
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_log_assert
	mov	w0, #1
	cbz	x22, LBB0_7
; %bb.1:
	cbz	x20, LBB0_7
; %bb.2:
	ldp	w2, w1, [x22]
	ldr	w3, [x20]
	ldr	w4, [x23]
	mov	x0, x19
	bl	_msg_rrset_duplicate
	cbnz	x0, LBB0_6
; %bb.3:
	mov	x0, x21
	mov	x1, x19
	bl	_msg_grow_array
	cbz	w0, LBB0_7
; %bb.4:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	mov	w4, #0
	bl	_auth_packed_rrset_copy_region
	ldr	x8, [x19]
	ldr	x10, [x8, #32]
	ldr	x9, [x8, #16]
	str	w0, [x10, x9, lsl #2]
	cbz	w0, LBB0_7
; %bb.5:
	add	x9, x9, #1
	str	x9, [x8, #16]
	ldr	w9, [x8, #24]
	add	w9, w9, #1
	str	w9, [x8, #24]
	mov	x0, x19
	bl	_msg_ttl
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_msg_add_rrset_an
.subsections_via_symbols
