	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mark_additional_rrset
_mark_additional_rrset:                 ## @mark_additional_rrset
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	movl	24(%rdx), %edi
	callq	_has_additional
	testl	%eax, %eax
	je	LBB0_11
## %bb.1:
	movq	16(%r12), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rbx
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	leaq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%r15, %r8
	callq	_get_additional_name
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rsi
	movq	_LDNS_RR_TYPE_A@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movl	12(%r12), %ecx
	movq	%r15, %rdi
	xorl	%r8d, %r8d
	callq	_pkt_hash_rrset
	movq	-48(%rbp), %r8
	movq	-56(%rbp), %r9
	movl	(%r13), %r10d
	movl	12(%r12), %r11d
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	pushq	%r11
	pushq	%r10
	callq	_msgparse_hashtable_lookup
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rcx
	movq	_LDNS_SECTION_ADDITIONAL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_RRSET_SCRUB_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 8(%rax)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rsi
	movq	_LDNS_RR_TYPE_AAAA@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movl	12(%r12), %ecx
	movq	%r15, %rdi
	xorl	%r8d, %r8d
	callq	_pkt_hash_rrset
	movq	-48(%rbp), %r8
	movq	-56(%rbp), %r9
	movl	(%r13), %r10d
	movl	12(%r12), %r11d
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	pushq	%r11
	pushq	%r10
	callq	_msgparse_hashtable_lookup
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rcx
	movq	_LDNS_SECTION_ADDITIONAL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_RRSET_SCRUB_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 8(%rax)
	jmp	LBB0_10
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_A,4,2             ## @LDNS_RR_TYPE_A
	.comm	_LDNS_SECTION_ADDITIONAL,8,3    ## @LDNS_SECTION_ADDITIONAL
	.comm	_RRSET_SCRUB_OK,4,2             ## @RRSET_SCRUB_OK
	.comm	_LDNS_RR_TYPE_AAAA,4,2          ## @LDNS_RR_TYPE_AAAA
	.no_dead_strip	_mark_additional_rrset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mark_additional_rrset
_mark_additional_rrset:                 ; @mark_additional_rrset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x2
	mov	x20, x1
	mov	x21, x0
	stp	xzr, xzr, [sp]
	ldr	w0, [x2, #24]
	bl	_has_additional
	cbz	w0, LBB0_11
; %bb.1:
	ldr	x22, [x19, #16]
	cbz	x22, LBB0_11
; %bb.2:
Lloh0:
	adrp	x23, _LDNS_RR_TYPE_A@GOTPAGE
Lloh1:
	ldr	x23, [x23, _LDNS_RR_TYPE_A@GOTPAGEOFF]
Lloh2:
	adrp	x24, _LDNS_RR_TYPE_AAAA@GOTPAGE
Lloh3:
	ldr	x24, [x24, _LDNS_RR_TYPE_AAAA@GOTPAGEOFF]
Lloh4:
	adrp	x25, _LDNS_SECTION_ADDITIONAL@GOTPAGE
Lloh5:
	ldr	x25, [x25, _LDNS_SECTION_ADDITIONAL@GOTPAGEOFF]
Lloh6:
	adrp	x26, _RRSET_SCRUB_OK@GOTPAGE
Lloh7:
	ldr	x26, [x26, _RRSET_SCRUB_OK@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [x22]
	cbz	x22, LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x19
	mov	x1, x22
	mov	x4, x21
	bl	_get_additional_name
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [sp, #8]
	ldr	w2, [x23]
	ldr	w3, [x19, #12]
	mov	x0, x21
	mov	w4, #0
	bl	_pkt_hash_rrset
	mov	x2, x0
	ldp	x5, x4, [sp]
	ldr	w6, [x23]
	ldr	w7, [x19, #12]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	bl	_msgparse_hashtable_lookup
	cbz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x0]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26]
	ldr	w9, [x0, #8]
	orr	w8, w9, w8
	str	w8, [x0, #8]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [sp, #8]
	ldr	w2, [x24]
	ldr	w3, [x19, #12]
	mov	x0, x21
	mov	w4, #0
	bl	_pkt_hash_rrset
	mov	x2, x0
	ldp	x5, x4, [sp]
	ldr	w6, [x24]
	ldr	w7, [x19, #12]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	bl	_msgparse_hashtable_lookup
	cbz	x0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x0]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26]
	ldr	w9, [x0, #8]
	orr	w8, w9, w8
	str	w8, [x0, #8]
	b	LBB0_3
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_A,4,2             ; @LDNS_RR_TYPE_A
	.comm	_LDNS_SECTION_ADDITIONAL,8,3    ; @LDNS_SECTION_ADDITIONAL
	.comm	_RRSET_SCRUB_OK,4,2             ; @RRSET_SCRUB_OK
	.comm	_LDNS_RR_TYPE_AAAA,4,2          ; @LDNS_RR_TYPE_AAAA
	.no_dead_strip	_mark_additional_rrset
.subsections_via_symbols
