	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function answer_chaos
_answer_chaos:                          ## @answer_chaos
	.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	%r8, %r12
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r15
	movq	(%rsi), %rax
	movq	_LDNS_RR_TYPE_ANY@GOTPCREL(%rip), %rsi
	xorl	%ebx, %ebx
	cmpq	(%rsi), %rax
	je	LBB0_2
## %bb.1:
	movq	_LDNS_RR_TYPE_TXT@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_22
LBB0_2:
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	8(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_query_dname_compare
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	8(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_query_dname_compare
	testq	%rax, %rax
	je	LBB0_4
## %bb.11:
	movl	8(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_query_dname_compare
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	8(%r14), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_query_dname_compare
	testq	%rax, %rax
	je	LBB0_13
## %bb.18:
	movl	8(%r14), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_query_dname_compare
	testq	%rax, %rax
	jne	LBB0_22
## %bb.19:
	cmpq	$0, 16(%r15)
	jne	LBB0_22
## %bb.20:
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_chaos_trustanchor
	jmp	LBB0_21
LBB0_4:
	cmpq	$0, 32(%r15)
	jne	LBB0_22
## %bb.5:
	movq	(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:
	cmpq	$0, (%rsi)
	jne	LBB0_17
LBB0_7:
	movq	%rsp, %r14
	movq	_MAXHOSTNAMELEN@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_gethostname
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_log_err
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	jmp	LBB0_10
LBB0_13:
	cmpq	$0, 24(%r15)
	jne	LBB0_22
## %bb.14:
	movq	8(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.15:
	cmpq	$0, (%rsi)
	jne	LBB0_17
LBB0_16:
	movq	_PACKAGE_STRING@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
LBB0_17:
	movq	%r12, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_chaos_replyonestr
	jmp	LBB0_21
LBB0_8:
	movslq	(%r15), %rax
	movb	$0, (%rbx,%rax)
	movq	%r12, %rdi
	movq	%rbx, %rsi
LBB0_10:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_chaos_replyonestr
	movq	%r14, %rsp
LBB0_21:
	movl	$1, %ebx
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_ANY,8,3           ## @LDNS_RR_TYPE_ANY
	.comm	_LDNS_RR_TYPE_TXT,8,3           ## @LDNS_RR_TYPE_TXT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\002id\006server"

L_.str.1:                               ## @.str.1
	.asciz	"\bhostname\004bind"

	.comm	_MAXHOSTNAMELEN,4,2             ## @MAXHOSTNAMELEN
L_.str.2:                               ## @.str.2
	.asciz	"gethostname: %s"

	.comm	_errno,4,2                      ## @errno
L_.str.3:                               ## @.str.3
	.asciz	"no hostname"

L_.str.4:                               ## @.str.4
	.asciz	"\007version\006server"

L_.str.5:                               ## @.str.5
	.asciz	"\007version\004bind"

	.comm	_PACKAGE_STRING,8,3             ## @PACKAGE_STRING
L_.str.6:                               ## @.str.6
	.asciz	"\013trustanchor\007unbound"

	.no_dead_strip	_answer_chaos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function answer_chaos
_answer_chaos:                          ; @answer_chaos
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x8, [x1]
Lloh3:
	adrp	x9, _LDNS_RR_TYPE_ANY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LDNS_RR_TYPE_ANY@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _LDNS_RR_TYPE_TXT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _LDNS_RR_TYPE_TXT@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_14
; %bb.1:
	mov	x22, x4
	mov	x19, x3
	mov	x21, x2
	mov	x23, x1
	mov	x20, x0
	ldr	x24, [x0]
	ldr	w0, [x1, #8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_query_dname_compare
	cbz	x0, LBB0_8
; %bb.2:
	ldr	w0, [x23, #8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_query_dname_compare
	cbz	x0, LBB0_8
; %bb.3:
	ldr	w0, [x23, #8]
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_query_dname_compare
	cbz	x0, LBB0_13
; %bb.4:
	ldr	w0, [x23, #8]
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_query_dname_compare
	cbz	x0, LBB0_13
; %bb.5:
	ldr	w0, [x23, #8]
Lloh17:
	adrp	x1, l_.str.6@PAGE
Lloh18:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_query_dname_compare
	cbnz	x0, LBB0_14
; %bb.6:
	ldr	x8, [x24, #16]
	cbnz	x8, LBB0_14
; %bb.7:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_chaos_trustanchor
	b	LBB0_23
LBB0_8:
	ldr	x8, [x24, #32]
	cbnz	x8, LBB0_14
; %bb.9:
	ldr	x1, [x24]
	cbz	x1, LBB0_11
; %bb.10:
	ldr	x8, [x1]
	cbnz	x8, LBB0_20
LBB0_11:
	mov	x24, sp
Lloh19:
	adrp	x25, _MAXHOSTNAMELEN@GOTPAGE
Lloh20:
	ldr	x25, [x25, _MAXHOSTNAMELEN@GOTPAGEOFF]
	ldr	w8, [x25]
	add	w8, w8, #1
	mov	x9, x8
Lloh21:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh22:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	ldr	w1, [x25]
	mov	x0, x23
	bl	_gethostname
	cbz	x0, LBB0_21
; %bb.12:
Lloh23:
	adrp	x8, _errno@GOTPAGE
Lloh24:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_strerror
	mov	x1, x0
Lloh26:
	adrp	x0, l_.str.2@PAGE
Lloh27:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_log_err
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	b	LBB0_22
LBB0_13:
	ldr	x8, [x24, #24]
	cbz	x8, LBB0_17
LBB0_14:
	mov	w0, #0
LBB0_15:
	ldur	x8, [x29, #-72]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.16:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_17:
	ldr	x1, [x24, #8]
	cbz	x1, LBB0_19
; %bb.18:
	ldr	x8, [x1]
	cbnz	x8, LBB0_20
LBB0_19:
Lloh33:
	adrp	x8, _PACKAGE_STRING@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PACKAGE_STRING@GOTPAGEOFF]
Lloh35:
	ldr	x1, [x8]
LBB0_20:
	mov	x0, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_chaos_replyonestr
	b	LBB0_23
LBB0_21:
	ldrsw	x8, [x25]
	strb	wzr, [x23, x8]
	mov	x0, x22
	mov	x1, x23
LBB0_22:
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_chaos_replyonestr
	mov	sp, x24
LBB0_23:
	mov	w0, #1
	b	LBB0_15
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_ANY,8,3           ; @LDNS_RR_TYPE_ANY
	.comm	_LDNS_RR_TYPE_TXT,8,3           ; @LDNS_RR_TYPE_TXT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\002id\006server"

l_.str.1:                               ; @.str.1
	.asciz	"\bhostname\004bind"

	.comm	_MAXHOSTNAMELEN,4,2             ; @MAXHOSTNAMELEN
l_.str.2:                               ; @.str.2
	.asciz	"gethostname: %s"

	.comm	_errno,4,2                      ; @errno
l_.str.3:                               ; @.str.3
	.asciz	"no hostname"

l_.str.4:                               ; @.str.4
	.asciz	"\007version\006server"

l_.str.5:                               ; @.str.5
	.asciz	"\007version\004bind"

	.comm	_PACKAGE_STRING,8,3             ; @PACKAGE_STRING
l_.str.6:                               ; @.str.6
	.asciz	"\013trustanchor\007unbound"

	.no_dead_strip	_answer_chaos
.subsections_via_symbols
