	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function az_generate_wildcard_answer
_az_generate_wildcard_answer:           ## @az_generate_wildcard_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	(%rsi), %rsi
	movq	%r9, %rdi
	callq	_az_domain_rrset
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%rax, %r8
	callq	_msg_add_rrset_an
	testl	%eax, %eax
	je	LBB0_9
LBB0_2:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rsi
	movl	(%r15), %ecx
	movl	4(%r15), %edx
	movq	%r15, %rdi
	movl	$1, %r8d
	callq	_az_change_dnames
	xorl	%r13d, %r13d
LBB0_3:
	leaq	16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_az_find_nsec_cover
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	16(%rbp), %rcx
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%rax, %r8
	callq	_msg_add_rrset_ns
	testl	%eax, %eax
	jne	LBB0_12
	jmp	LBB0_9
LBB0_6:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	_LDNS_RR_TYPE_CNAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_az_domain_rrset
	testq	%rax, %rax
	je	LBB0_14
## %bb.7:
	movq	%rax, %r13
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%rax, %r8
	callq	_msg_add_rrset_an
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movq	8(%r14), %rsi
	movl	(%r15), %ecx
	movl	4(%r15), %edx
	movq	%r15, %rdi
	movl	$1, %r8d
	callq	_az_change_dnames
	movq	(%r12), %rsi
	movl	(%r13), %r8d
	movq	%rbx, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_follow_cname_chain
	xorl	%r13d, %r13d
	testl	%eax, %eax
	jne	LBB0_3
	jmp	LBB0_13
LBB0_10:
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_12
## %bb.11:
	movq	8(%r14), %rax
	movq	%rax, -64(%rbp)
	movq	(%r14), %rax
	movq	%rax, -56(%rbp)
	leaq	-64(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	_dname_remove_label
	movq	-64(%rbp), %rcx
	movq	-56(%rbp), %r8
	movl	(%r15), %eax
	movl	4(%r15), %r9d
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	pushq	$0
	pushq	$1
	pushq	%r13
	pushq	$0
	pushq	%rax
	callq	_az_add_nsec3_proof
	addq	$48, %rsp
	testl	%eax, %eax
	je	LBB0_9
LBB0_12:
	movq	8(%r14), %rsi
	movl	(%r15), %ecx
	movl	4(%r15), %edx
	movq	%r15, %rdi
	xorl	%r8d, %r8d
	callq	_az_change_dnames
	movl	$1, %r13d
	jmp	LBB0_13
LBB0_14:
	movq	(%r12), %rax
	movq	_LDNS_RR_TYPE_ANY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.15:
	cmpq	$0, 16(%r14)
	je	LBB0_18
## %bb.16:
	movq	%rbx, %rdi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_az_generate_any_answer
	testl	%eax, %eax
	jne	LBB0_2
	jmp	LBB0_9
LBB0_18:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_az_generate_notype_answer
	movl	$1, %r13d
	testl	%eax, %eax
	jne	LBB0_3
LBB0_9:
	xorl	%r13d, %r13d
LBB0_13:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_CNAME,8,3         ## @LDNS_RR_TYPE_CNAME
	.comm	_LDNS_RR_TYPE_ANY,8,3           ## @LDNS_RR_TYPE_ANY
	.no_dead_strip	_az_generate_wildcard_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_wildcard_answer
_az_generate_wildcard_answer:           ; @az_generate_wildcard_answer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x5
	mov	x23, x4
	mov	x19, x3
	mov	x21, x2
	mov	x24, x1
	mov	x22, x0
	str	x6, [sp, #40]
	ldr	x1, [x1]
	mov	x0, x5
	bl	_az_domain_rrset
	cbz	x0, LBB0_5
; %bb.1:
	mov	x4, x0
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	bl	_msg_add_rrset_an
	cbz	w0, LBB0_11
LBB0_2:
	ldr	x1, [x20, #8]
	ldp	w3, w2, [x19]
	mov	x0, x19
	mov	w4, #1
	bl	_az_change_dnames
	mov	w24, #0
LBB0_3:
	add	x1, sp, #40
	mov	x0, x22
	bl	_az_find_nsec_cover
	cbz	x0, LBB0_8
; %bb.4:
	mov	x4, x0
	ldr	x3, [sp, #40]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	bl	_msg_add_rrset_ns
	cbnz	w0, LBB0_10
	b	LBB0_11
LBB0_5:
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_CNAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_CNAME@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_az_domain_rrset
	cbz	x0, LBB0_12
; %bb.6:
	mov	x25, x0
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	mov	x4, x25
	bl	_msg_add_rrset_an
	cbz	w0, LBB0_11
; %bb.7:
	ldr	x1, [x20, #8]
	ldp	w3, w2, [x19]
	mov	x0, x19
	mov	w4, #1
	bl	_az_change_dnames
	ldr	x1, [x24]
	ldr	w4, [x25]
	mov	x0, x22
	mov	x2, x21
	mov	x3, x19
	bl	_follow_cname_chain
	mov	x8, x0
	mov	w24, #0
	mov	w0, #0
	cbnz	w8, LBB0_3
	b	LBB0_11
LBB0_8:
	cbz	x23, LBB0_10
; %bb.9:
	ldp	x9, x8, [x20]
	stp	x9, x8, [sp, #24]
	add	x0, sp, #32
	add	x1, sp, #24
	bl	_dname_remove_label
	ldp	x4, x3, [sp, #24]
	ldp	w6, w5, [x19]
	mov	w8, #1
	stur	x8, [sp, #4]
	str	w24, [sp]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	w7, #0
	bl	_az_add_nsec3_proof
	cbz	w0, LBB0_11
LBB0_10:
	ldr	x1, [x20, #8]
	ldp	w3, w2, [x19]
	mov	x0, x19
	mov	w4, #0
	bl	_az_change_dnames
	mov	w0, #1
LBB0_11:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_12:
	ldr	x8, [x24]
Lloh3:
	adrp	x9, _LDNS_RR_TYPE_ANY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LDNS_RR_TYPE_ANY@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.13:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_15
; %bb.14:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	bl	_az_generate_any_answer
	cbnz	w0, LBB0_2
	b	LBB0_11
LBB0_15:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	bl	_az_generate_notype_answer
	cbz	w0, LBB0_11
; %bb.16:
	mov	w24, #1
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_CNAME,8,3         ; @LDNS_RR_TYPE_CNAME
	.comm	_LDNS_RR_TYPE_ANY,8,3           ; @LDNS_RR_TYPE_ANY
	.no_dead_strip	_az_generate_wildcard_answer
.subsections_via_symbols
