	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function az_generate_dname_answer
_az_generate_dname_answer:              ## @az_generate_dname_answer
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	%r8, %rdi
	callq	_log_assert
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %r8
	callq	_msg_add_rrset_an
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edx
	movl	8(%rax), %esi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rcx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %r8
	movq	%r14, %r9
	callq	_add_synth_cname
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movq	(%r12), %rax
	movl	16(%rax), %edi
	callq	_FLAGS_GET_RCODE
	movq	%rax, %rcx
	movq	_LDNS_RCODE_YXDOMAIN@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_9
## %bb.3:
	movq	(%r12), %rax
	movslq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.4:
	movq	8(%rax), %rax
	movq	-8(%rax,%rcx,8), %rcx
	movl	$0, %eax
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	(%rcx), %r8
	movq	%r13, %rdi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_follow_cname_chain
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RCODE_YXDOMAIN,8,3        ## @LDNS_RCODE_YXDOMAIN
	.no_dead_strip	_az_generate_dname_answer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function az_generate_dname_answer
_az_generate_dname_answer:              ; @az_generate_dname_answer
	.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	x23, x5
	mov	x24, x4
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	mov	x0, x4
	bl	_log_assert
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x24
	mov	x4, x23
	bl	_msg_add_rrset_an
	cbz	w0, LBB0_8
; %bb.1:
	ldp	w2, w1, [x22, #4]
	mov	x0, x21
	mov	x3, x20
	mov	x4, x19
	mov	x5, x24
	mov	x6, x23
	bl	_add_synth_cname
	cbz	w0, LBB0_8
; %bb.2:
	ldr	x8, [x19]
	ldr	w0, [x8, #16]
	bl	_FLAGS_GET_RCODE
Lloh0:
	adrp	x8, _LDNS_RCODE_YXDOMAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RCODE_YXDOMAIN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #1
	b	LBB0_8
LBB0_4:
	ldr	x8, [x19]
	ldr	w9, [x8]
	cbz	w9, LBB0_7
; %bb.5:
	ldr	x8, [x8, #8]
	sub	w9, w9, #1
	ldr	x8, [x8, w9, sxtw #3]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	w1, [x22]
	ldr	x4, [x8]
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	bl	_follow_cname_chain
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RCODE_YXDOMAIN,8,3        ; @LDNS_RCODE_YXDOMAIN
	.no_dead_strip	_az_generate_dname_answer
.subsections_via_symbols
