// File: /workspace/github_c_makefile_star2_O1/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
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
movzwl 0x6(%rdi), %esi
movzwl 0x8(%rdi), %eax
leal (%rax,%rsi), %edx
movq %rdi, 0x48(%rsp)
movzwl 0xa(%rdi), %ecx
addl %ecx, %edx
je 0x1a789
addl %ecx, %eax
addl %eax, %esi
shll $0x5, %esi
movq %rsi, 0x20(%rsp)
xorl %r14d, %r14d
xorl %ebx, %ebx
movq 0x48(%rsp), %rax
movq 0x18(%rax), %r15
movzwl 0x8(%r15,%r14), %eax
cmpl $0x5, %eax
jle 0x1a5c9
cmpl $0x6, %eax
je 0x1a622
cmpl $0xc, %eax
je 0x1a5db
cmpl $0x1c, %eax
jne 0x1a711
movq 0x18(%r15,%r14), %rsi
movl $0xa, %edi
leaq 0x137b5(%rip), %rdx     # 0x2dd30
movl $0x2e, %ecx
callq 0x33b0
leaq 0xa95e(%rip), %rbp      # 0x24eea
testl %ebx, %ebx
jg 0x1a597
leaq 0xa955(%rip), %rbp      # 0x24eec
movq (%r15,%r14), %r13
movl 0xc(%r15,%r14), %eax
movl %eax, 0x18(%rsp)
movzwl 0xa(%r15,%r14), %edi
callq 0x1a47d
movq %rax, %r12
movzwl 0x8(%r15,%r14), %edi
callq 0x1a346
leaq 0x1376c(%rip), %rcx     # 0x2dd30
jmp 0x1a6d9
cmpl $0x1, %eax
je 0x1a683
cmpl $0x5, %eax
jne 0x1a711
leaq 0xa908(%rip), %r13      # 0x24eea
testl %ebx, %ebx
jg 0x1a5ed
leaq 0xa8ff(%rip), %r13      # 0x24eec
movq (%r15,%r14), %rax
movq %rax, 0x18(%rsp)
movl 0xc(%r15,%r14), %ebp
movzwl 0xa(%r15,%r14), %edi
callq 0x1a47d
movq %rax, %r12
movzwl 0x8(%r15,%r14), %edi
callq 0x1a346
movq 0x18(%r15,%r14), %rcx
movq %rcx, (%rsp)
jmp 0x1a753
leaq 0xa8d2(%rip), %rbp      # 0x24efb
testl %ebx, %ebx
jg 0x1a634
leaq 0xa8c8(%rip), %rbp      # 0x24efc
movq 0x18(%r15,%r14), %r13
movq (%r15,%r14), %rax
movq %rax, 0x18(%rsp)
movl 0xc(%r15,%r14), %eax
movl %eax, 0x2c(%rsp)
movzwl 0xa(%r15,%r14), %edi
callq 0x1a47d
movq %rax, %r12
movzwl 0x8(%r15,%r14), %edi
callq 0x1a346
movups (%r13), %xmm0
movups %xmm0, (%rsp)
xorl %r15d, %r15d
leaq 0x30(%rsp), %rdi
movq %rbp, %rsi
movq 0x18(%rsp), %rdx
movl 0x2c(%rsp), %ecx
jmp 0x1a6ef
movq 0x18(%r15,%r14), %rsi
movl $0x2, %edi
leaq 0x50(%rsp), %rdx
movl $0x2e, %ecx
callq 0x33b0
leaq 0xa847(%rip), %rbp      # 0x24eea
testl %ebx, %ebx
jg 0x1a6ae
leaq 0xa83e(%rip), %rbp      # 0x24eec
movq (%r15,%r14), %r13
movl 0xc(%r15,%r14), %eax
movl %eax, 0x18(%rsp)
movzwl 0xa(%r15,%r14), %edi
callq 0x1a47d
movq %rax, %r12
movzwl 0x8(%r15,%r14), %edi
callq 0x1a346
leaq 0x50(%rsp), %rcx
movq %rcx, (%rsp)
xorl %r15d, %r15d
leaq 0x30(%rsp), %rdi
movq %rbp, %rsi
movq %r13, %rdx
movl 0x18(%rsp), %ecx
movq %r12, %r8
movq %rax, %r9
xorl %eax, %eax
callq 0x1db4e
testl %eax, %eax
jns 0x1a705
movl $0x0, %eax
movq 0x20(%rsp), %rcx
jns 0x1a778
jmp 0x1a7bc
leaq 0xa7f7(%rip), %r13      # 0x24f0f
testl %ebx, %ebx
jg 0x1a723
leaq 0xa7ee(%rip), %r13      # 0x24f11
movq (%r15,%r14), %rax
movq %rax, 0x18(%rsp)
movl 0xc(%r15,%r14), %ebp
movzwl 0xa(%r15,%r14), %edi
callq 0x1a47d
movq %rax, %r12
movzwl 0x8(%r15,%r14), %edi
callq 0x1a346
movzwl 0x10(%r15,%r14), %ecx
movl %ecx, (%rsp)
leaq 0x30(%rsp), %rdi
movq %r13, %rsi
movq 0x18(%rsp), %rdx
movl %ebp, %ecx
movq %r12, %r8
movq %rax, %r9
xorl %eax, %eax
callq 0x1db4e
testl %eax, %eax
js 0x1a7db
movq 0x20(%rsp), %rcx
addl %eax, %ebx
addq $0x20, %r14
cmpq %r14, %rcx
jne 0x1a53f
jmp 0x1a78b
xorl %ebx, %ebx
movl $0x3ff, %eax            # imm = 0x3FF
cmpl %eax, %ebx
cmovbl %ebx, %eax
movl %eax, %r14d
testl %ebx, %ebx
je 0x1a7b0
movq 0x30(%rsp), %rsi
leaq 0x13188(%rip), %rdi     # 0x2d930
movq %r14, %rdx
callq 0x31d0
leaq 0x13179(%rip), %r15     # 0x2d930
movb $0x0, (%r14,%r15)
leaq 0x30(%rsp), %rdi
callq 0x1d5f9
movq %r15, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r15d, %r15d
jmp 0x1a7bc