	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function auth_zone_generate_answer
_auth_zone_generate_answer:             ## @auth_zone_generate_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	$1128, %rsp                     ## imm = 0x468
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %eax
	movl	%eax, (%r8)
	movq	%rdx, %rdi
	callq	_msg_create
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	-1140(%rbp), %rdx
	leaq	-1152(%rbp), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_az_find_domain
	movq	-1152(%rbp), %rdx
	movl	-1140(%rbp), %ecx
	leaq	-1168(%rbp), %r8
	leaq	-1160(%rbp), %r9
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_az_find_ce
	movl	%eax, %r13d
	movq	_verbosity@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_VERB_ALGO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_13
## %bb.3:
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	leaq	-560(%rbp), %rdx
	movl	$256, %ecx                      ## imm = 0x100
	callq	_sldns_wire2str_dname_buf
	movl	(%rbx), %edi
	leaq	-1104(%rbp), %rsi
	movl	$32, %edx
	callq	_sldns_wire2str_type_buf
	movl	4(%r15), %esi
	movl	8(%r15), %edi
	leaq	-304(%rbp), %rdx
	movl	$256, %ecx                      ## imm = 0x100
	callq	_sldns_wire2str_dname_buf
	movq	-1152(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%rax), %esi
	movl	4(%rax), %edi
	leaq	-816(%rbp), %rdx
	movl	$256, %ecx                      ## imm = 0x100
	callq	_sldns_wire2str_dname_buf
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_5:
	leaq	L_.str(%rip), %rdx
	leaq	-816(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_snprintf
LBB0_6:
	movq	-1168(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	(%rax), %esi
	movl	4(%rax), %edi
	leaq	-1072(%rbp), %rdx
	movl	$256, %ecx                      ## imm = 0x100
	callq	_sldns_wire2str_dname_buf
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str(%rip), %rdx
	leaq	-1072(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_snprintf
LBB0_9:
	movq	-1160(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	(%rax), %edi
	leaq	-1136(%rbp), %rsi
	movl	$32, %edx
	callq	_sldns_wire2str_type_buf
	jmp	LBB0_12
LBB0_11:
	leaq	L_.str(%rip), %rdx
	leaq	-1136(%rbp), %rdi
	movl	$32, %esi
	callq	_snprintf
LBB0_12:
	cmpl	$0, -1140(%rbp)
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %r9
	cmoveq	%rax, %r9
	testl	%r13d, %r13d
	leaq	L_.str.5(%rip), %rcx
	leaq	L_.str.4(%rip), %rax
	cmoveq	%rcx, %rax
	subq	$8, %rsp
	leaq	-1136(%rbp), %r10
	leaq	-1072(%rbp), %r11
	leaq	L_.str.1(%rip), %rdi
	leaq	-304(%rbp), %rsi
	leaq	-560(%rbp), %rdx
	leaq	-1104(%rbp), %rcx
	leaq	-816(%rbp), %r8
	pushq	%r10
	pushq	%r11
	pushq	%rax
	callq	_log_info
	addq	$32, %rsp
LBB0_13:
	movq	(%r12), %rcx
	testl	%r13d, %r13d
	je	LBB0_15
## %bb.14:
	movq	-1152(%rbp), %r8
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_az_generate_answer_with_node
	jmp	LBB0_16
LBB0_15:
	movq	-1168(%rbp), %r8
	movq	-1160(%rbp), %r9
	subq	$8, %rsp
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	pushq	-1152(%rbp)
	callq	_az_generate_answer_nonexistnode
	addq	$16, %rsp
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_18
## %bb.17:
	addq	$1128, %rsp                     ## imm = 0x468
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_VERB_ALGO,8,3                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NULL"

L_.str.1:                               ## @.str.1
	.asciz	"auth_zone %s query %s %s, domain %s %s %s, ce %s, rrset %s"

L_.str.2:                               ## @.str.2
	.asciz	"exact"

L_.str.3:                               ## @.str.3
	.asciz	"notexact"

L_.str.4:                               ## @.str.4
	.asciz	"exist"

L_.str.5:                               ## @.str.5
	.asciz	"notexist"

	.no_dead_strip	_auth_zone_generate_answer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function auth_zone_generate_answer
_auth_zone_generate_answer:             ; @auth_zone_generate_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
	sub	sp, sp, #1136
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	w8, [x0]
	str	w8, [x4]
	mov	x0, x2
	bl	_msg_create
	str	x0, [x22]
	cbz	x0, LBB0_13
; %bb.1:
	add	x2, sp, #12
	add	x3, sp, #32
	mov	x0, x21
	mov	x1, x20
	bl	_az_find_domain
	ldr	x2, [sp, #32]
	ldr	w3, [sp, #12]
	add	x4, sp, #24
	add	x5, sp, #16
	mov	x0, x21
	mov	x1, x20
	bl	_az_find_ce
	mov	x23, x0
Lloh3:
	adrp	x8, _verbosity@GOTPAGE
Lloh4:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _VERB_ALGO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VERB_ALGO@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_10
; %bb.2:
	ldp	w1, w0, [x20, #4]
	add	x2, sp, #616
	mov	w3, #256
	bl	_sldns_wire2str_dname_buf
	ldr	w0, [x20]
	add	x1, sp, #72
	mov	w2, #32
	bl	_sldns_wire2str_type_buf
	ldp	w1, w0, [x21, #4]
	add	x2, sp, #872
	mov	w3, #256
	bl	_sldns_wire2str_dname_buf
	ldr	x8, [sp, #32]
	cbz	x8, LBB0_6
; %bb.3:
	ldp	w1, w0, [x8]
	add	x2, sp, #360
	mov	w3, #256
	bl	_sldns_wire2str_dname_buf
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_7
LBB0_4:
	ldp	w1, w0, [x8]
	add	x2, sp, #104
	mov	w3, #256
	bl	_sldns_wire2str_dname_buf
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_8
LBB0_5:
	ldr	w0, [x8]
	add	x1, sp, #40
	mov	w2, #32
	bl	_sldns_wire2str_type_buf
	b	LBB0_9
LBB0_6:
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #360
	mov	w1, #256
	bl	_snprintf
	ldr	x8, [sp, #24]
	cbnz	x8, LBB0_4
LBB0_7:
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #104
	mov	w1, #256
	bl	_snprintf
	ldr	x8, [sp, #16]
	cbnz	x8, LBB0_5
LBB0_8:
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #40
	mov	w1, #32
	bl	_snprintf
LBB0_9:
	ldr	w8, [sp, #12]
Lloh15:
	adrp	x9, l_.str.2@PAGE
Lloh16:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh17:
	adrp	x10, l_.str.3@PAGE
Lloh18:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	w8, #0
	csel	x5, x10, x9, eq
Lloh19:
	adrp	x8, l_.str.4@PAGE
Lloh20:
	add	x8, x8, l_.str.4@PAGEOFF
Lloh21:
	adrp	x9, l_.str.5@PAGE
Lloh22:
	add	x9, x9, l_.str.5@PAGEOFF
	cmp	w23, #0
	csel	x6, x9, x8, eq
	add	x8, sp, #40
	str	x8, [sp]
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #872
	add	x2, sp, #616
	add	x3, sp, #72
	add	x4, sp, #360
	add	x7, sp, #104
	bl	_log_info
LBB0_10:
	ldr	x3, [x22]
	cbz	w23, LBB0_12
; %bb.11:
	ldr	x4, [sp, #32]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_az_generate_answer_with_node
	b	LBB0_13
LBB0_12:
	ldp	x5, x4, [sp, #16]
	ldr	x6, [sp, #32]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_az_generate_answer_nonexistnode
LBB0_13:
	ldur	x8, [x29, #-56]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	add	sp, sp, #1136
	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
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_VERB_ALGO,8,3                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NULL"

l_.str.1:                               ; @.str.1
	.asciz	"auth_zone %s query %s %s, domain %s %s %s, ce %s, rrset %s"

l_.str.2:                               ; @.str.2
	.asciz	"exact"

l_.str.3:                               ; @.str.3
	.asciz	"notexact"

l_.str.4:                               ; @.str.4
	.asciz	"exist"

l_.str.5:                               ; @.str.5
	.asciz	"notexist"

	.no_dead_strip	_auth_zone_generate_answer
.subsections_via_symbols
