// File: /workspace/github_c_makefile_star2_O2/GangZhuo[P]dohclient/src/ns_msg.c
// Function: msg_answers
const char* msg_answers(const ns_msg_t* msg)
{
	stream_t s = STREAM_INIT();
	const char* answers = get_answers(&s, msg);
	stream_free(&s);
	return answers;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %rax
movaps %xmm0, (%rax)
andq $0x0, 0x10(%rax)
movzwl 0x6(%rdi), %eax
movzwl 0x8(%rdi), %ecx
movq %rdi, 0x40(%rsp)
movzwl 0xa(%rdi), %edx
addl %ecx, %edx
addl %eax, %edx
shll $0x5, %edx
movq %rdx, 0x48(%rsp)
xorl %r15d, %r15d
xorl %r14d, %r14d
cmpq %r15, 0x48(%rsp)
je 0x18e34
movq 0x40(%rsp), %rax
movq 0x18(%rax), %r12
movzwl 0x8(%r12,%r15), %eax
cmpl $0x1c, %eax
je 0x18dac
cmpl $0x5, %eax
je 0x18cc2
cmpl $0x6, %eax
je 0x18d06
cmpl $0xc, %eax
je 0x18cc2
cmpl $0x1, %eax
jne 0x18d67
movq 0x18(%r12,%r15), %rsi
pushq $0x2
popq %rdi
leaq 0x50(%rsp), %rdx
pushq $0x2e
popq %rcx
callq 0x33c0
leaq 0xa2ae(%rip), %rbx      # 0x22f1c
testl %r14d, %r14d
je 0x18c7a
leaq 0xa2a0(%rip), %rbx      # 0x22f1a
movq (%r12,%r15), %rax
movq %rax, 0x10(%rsp)
movl 0xc(%r12,%r15), %r13d
movzwl 0xa(%r12,%r15), %edi
callq 0x18b5a
movq %rax, %rbp
movzwl 0x8(%r12,%r15), %edi
callq 0x18a25
leaq 0x50(%rsp), %rcx
movq %rcx, (%rsp)
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
movq 0x10(%rsp), %rdx
movl %r13d, %ecx
movq %rbp, %r8
jmp 0x18e1a
leaq 0xa253(%rip), %rbx      # 0x22f1c
testl %r14d, %r14d
je 0x18cd5
leaq 0xa245(%rip), %rbx      # 0x22f1a
movq (%r12,%r15), %rax
movq %rax, 0x10(%rsp)
movl 0xc(%r12,%r15), %ebp
movzwl 0xa(%r12,%r15), %edi
callq 0x18b5a
movq %rax, %r13
movzwl 0x8(%r12,%r15), %edi
callq 0x18a25
movq 0x18(%r12,%r15), %rcx
jmp 0x18e04
leaq 0xa21f(%rip), %rbx      # 0x22f2c
testl %r14d, %r14d
je 0x18d19
leaq 0xa212(%rip), %rbx      # 0x22f2b
movq 0x18(%r12,%r15), %rbp
movq (%r12,%r15), %rax
movq %rax, 0x10(%rsp)
movl 0xc(%r12,%r15), %eax
movl %eax, 0x1c(%rsp)
movzwl 0xa(%r12,%r15), %edi
callq 0x18b5a
movq %rax, %r13
movzwl 0x8(%r12,%r15), %edi
callq 0x18a25
movups (%rbp), %xmm0
movups %xmm0, (%rsp)
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
movq 0x10(%rsp), %rdx
movl 0x1c(%rsp), %ecx
jmp 0x18e17
leaq 0xa1d3(%rip), %rbx      # 0x22f41
testl %r14d, %r14d
je 0x18d7a
leaq 0xa1c5(%rip), %rbx      # 0x22f3f
movq (%r12,%r15), %rax
movq %rax, 0x10(%rsp)
movl 0xc(%r12,%r15), %ebp
movzwl 0xa(%r12,%r15), %edi
callq 0x18b5a
movq %rax, %r13
movzwl 0x8(%r12,%r15), %edi
callq 0x18a25
movzwl 0x10(%r12,%r15), %ecx
movl %ecx, (%rsp)
jmp 0x18e08
movq 0x18(%r12,%r15), %rsi
pushq $0xa
popq %rdi
leaq 0x15f85(%rip), %rdx     # 0x2ed40
pushq $0x2e
popq %rcx
callq 0x33c0
leaq 0xa152(%rip), %rbx      # 0x22f1c
testl %r14d, %r14d
je 0x18dd6
leaq 0xa144(%rip), %rbx      # 0x22f1a
movq (%r12,%r15), %rax
movq %rax, 0x10(%rsp)
movl 0xc(%r12,%r15), %ebp
movzwl 0xa(%r12,%r15), %edi
callq 0x18b5a
movq %rax, %r13
movzwl 0x8(%r12,%r15), %edi
callq 0x18a25
leaq 0x15f3c(%rip), %rcx     # 0x2ed40
movq %rcx, (%rsp)
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
movq 0x10(%rsp), %rdx
movl %ebp, %ecx
movq %r13, %r8
movq %rax, %r9
xorl %eax, %eax
callq 0x1bdd2
testl %eax, %eax
js 0x18e5d
addl %eax, %r14d
addq $0x20, %r15
jmp 0x18c0f
movl $0x3ff, %eax            # imm = 0x3FF
cmpl %eax, %r14d
cmovbl %r14d, %eax
testl %r14d, %r14d
je 0x18e62
movq 0x20(%rsp), %rsi
movl %eax, %ebx
leaq 0x15aed(%rip), %rdi     # 0x2e940
movq %rbx, %rdx
callq 0x31e0
jmp 0x18e64
xorl %r14d, %r14d
jmp 0x18e70
movl %eax, %ebx
leaq 0x15ad5(%rip), %r14     # 0x2e940
movb $0x0, (%rbx,%r14)
leaq 0x20(%rsp), %rdi
callq 0x1b8a6
movq %r14, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq