// File: /workspace/github_c_makefile_star2_O0/GangZhuo[P]dohclient/src/ns_msg.c
// Function: ns_typename
const char *ns_typename(uint16_t type)
{
	static char num[20] = {0};
    switch (type) {
        case NS_QTYPE_A		: return "A";
        case NS_QTYPE_NS	: return "NS";
        case NS_QTYPE_MD	: return "MD";	
        case NS_QTYPE_MF	: return "MF";	
        case NS_QTYPE_CNAME	: return "CNAME";
        case NS_QTYPE_SOA	: return "SOA";
        case NS_QTYPE_MB	: return "MB";	
        case NS_QTYPE_MG	: return "MG";	
        case NS_QTYPE_MR	: return "MR";	
        case NS_QTYPE_NULL	: return "NULL";
        case NS_QTYPE_WKS	: return "WKS";
        case NS_QTYPE_PTR	: return "PTR";
        case NS_QTYPE_HINFO	: return "HINFO";
        case NS_QTYPE_MINFO	: return "MINFO";
        case NS_QTYPE_MX	: return "MX";	
        case NS_QTYPE_TXT	: return "TXT";
        case NS_QTYPE_AAAA	: return "AAAA";
        case NS_QTYPE_OPT	: return "OPT";
        case NS_QTYPE_AXFR	: return "AXFR";
        case NS_QTYPE_MAILB	: return "MAILB";
        case NS_QTYPE_MAILA	: return "MAILA";
        case NS_QTYPE_ANY	: return "ANY";
        default:
			snprintf(num, sizeof(num) - 1, "QTYPE(%d)", (int)type);
			return num;
    }

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movw %di, %ax
movw %ax, -0xa(%rbp)
movzwl -0xa(%rbp), %eax
movl %eax, -0x10(%rbp)
subl $0x1, %eax
je 0x27ba2
jmp 0x27a71
movl -0x10(%rbp), %eax
subl $0x2, %eax
je 0x27bb2
jmp 0x27a7f
movl -0x10(%rbp), %eax
subl $0x3, %eax
je 0x27bc2
jmp 0x27a8d
movl -0x10(%rbp), %eax
subl $0x4, %eax
je 0x27bd2
jmp 0x27a9b
movl -0x10(%rbp), %eax
subl $0x5, %eax
je 0x27be2
jmp 0x27aa9
movl -0x10(%rbp), %eax
subl $0x6, %eax
je 0x27bf2
jmp 0x27ab7
movl -0x10(%rbp), %eax
subl $0x7, %eax
je 0x27c02
jmp 0x27ac5
movl -0x10(%rbp), %eax
subl $0x8, %eax
je 0x27c12
jmp 0x27ad3
movl -0x10(%rbp), %eax
subl $0x9, %eax
je 0x27c22
jmp 0x27ae1
movl -0x10(%rbp), %eax
subl $0xa, %eax
je 0x27c32
jmp 0x27aef
movl -0x10(%rbp), %eax
subl $0xb, %eax
je 0x27c42
jmp 0x27afd
movl -0x10(%rbp), %eax
subl $0xc, %eax
je 0x27c52
jmp 0x27b0b
movl -0x10(%rbp), %eax
subl $0xd, %eax
je 0x27c62
jmp 0x27b19
movl -0x10(%rbp), %eax
subl $0xe, %eax
je 0x27c72
jmp 0x27b27
movl -0x10(%rbp), %eax
subl $0xf, %eax
je 0x27c82
jmp 0x27b35
movl -0x10(%rbp), %eax
subl $0x10, %eax
je 0x27c92
jmp 0x27b43
movl -0x10(%rbp), %eax
subl $0x1c, %eax
je 0x27c9f
jmp 0x27b51
movl -0x10(%rbp), %eax
subl $0x29, %eax
je 0x27cac
jmp 0x27b5f
movl -0x10(%rbp), %eax
subl $0xfc, %eax
je 0x27cb9
jmp 0x27b6f
movl -0x10(%rbp), %eax
subl $0xfd, %eax
je 0x27cc6
jmp 0x27b7f
movl -0x10(%rbp), %eax
subl $0xfe, %eax
je 0x27cd3
jmp 0x27b8f
movl -0x10(%rbp), %eax
subl $0xff, %eax
je 0x27ce0
jmp 0x27ced
leaq 0xe821(%rip), %rax      # 0x363ca
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0xd860(%rip), %rax      # 0x35419
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10af4(%rip), %rax     # 0x386bd
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10ae7(%rip), %rax     # 0x386c0
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10ada(%rip), %rax     # 0x386c3
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10ad0(%rip), %rax     # 0x386c9
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10ac4(%rip), %rax     # 0x386cd
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10ab7(%rip), %rax     # 0x386d0
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10aaa(%rip), %rax     # 0x386d3
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10a9d(%rip), %rax     # 0x386d6
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10a92(%rip), %rax     # 0x386db
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10a86(%rip), %rax     # 0x386df
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10a7a(%rip), %rax     # 0x386e3
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10a70(%rip), %rax     # 0x386e9
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10a66(%rip), %rax     # 0x386ef
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10a59(%rip), %rax     # 0x386f2
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0xe721(%rip), %rax      # 0x363c7
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10a43(%rip), %rax     # 0x386f6
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10a3a(%rip), %rax     # 0x386fa
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10a32(%rip), %rax     # 0x386ff
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10a2b(%rip), %rax     # 0x38705
movq %rax, -0x8(%rbp)
jmp 0x27d16
leaq 0x10a24(%rip), %rax     # 0x3870b
movq %rax, -0x8(%rbp)
jmp 0x27d16
movzwl -0xa(%rbp), %ecx
leaq 0x1a0e8(%rip), %rdi     # 0x41de0
movl $0x13, %esi
leaq 0x10a0b(%rip), %rdx     # 0x3870f
movb $0x0, %al
callq 0x35a0
leaq 0x1a0ce(%rip), %rax     # 0x41de0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x10, %rsp
popq %rbp
retq