// File: /workspace/github_c_makefile_star2_O0/jsummers[P]deark/modules/sauce.c
// Function: get_sauce_filetype_name
static const char *get_sauce_filetype_name(u8 dt, unsigned int t)
{
	const char *n = "?";

	if(dt==5) return "=width/2";
	switch(t) {
	case 0x0100: n="ASCII"; break;
	case 0x0101: n="ANSI"; break;
	case 0x0102: n="ANSiMation"; break;
	case 0x0103: n="RIP script"; break;
	case 0x0104: n="PCBoard"; break;
	case 0x0105: n="Avatar"; break;
	case 0x0106: n="HTML"; break;
	case 0x0108: n="TundraDraw"; break;
	case 0x0200: n="GIF"; break;
	case 0x0206: n="BMP"; break;
	case 0x020a: n="PNG"; break;
	case 0x020b: n="JPEG"; break;
	case 0x0600: n="XBIN"; break;
	case 0x0800: n="executable"; break;
	}
	// There are many more SAUCE file types defined, but it's not clear how
	// many have actually been used.

	return n;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movb %dil, %al
movb %al, -0x9(%rbp)
movl %esi, -0x10(%rbp)
leaq 0x72c79(%rip), %rax     # 0x1b7c2d
movq %rax, -0x18(%rbp)
movzbl -0x9(%rbp), %eax
cmpl $0x5, %eax
jne 0x144fd1
leaq 0x89a7f(%rip), %rax     # 0x1cea47
movq %rax, -0x8(%rbp)
jmp 0x14517f
movl -0x10(%rbp), %eax
movl %eax, -0x1c(%rbp)
subl $0x100, %eax            # imm = 0x100
je 0x1450b7
jmp 0x144fe4
movl -0x1c(%rbp), %eax
subl $0x101, %eax            # imm = 0x101
je 0x1450c7
jmp 0x144ff4
movl -0x1c(%rbp), %eax
subl $0x102, %eax            # imm = 0x102
je 0x1450d7
jmp 0x145004
movl -0x1c(%rbp), %eax
subl $0x103, %eax            # imm = 0x103
je 0x1450e7
jmp 0x145014
movl -0x1c(%rbp), %eax
subl $0x104, %eax            # imm = 0x104
je 0x1450f7
jmp 0x145024
movl -0x1c(%rbp), %eax
subl $0x105, %eax            # imm = 0x105
je 0x145104
jmp 0x145034
movl -0x1c(%rbp), %eax
subl $0x106, %eax            # imm = 0x106
je 0x145111
jmp 0x145044
movl -0x1c(%rbp), %eax
subl $0x108, %eax            # imm = 0x108
je 0x14511e
jmp 0x145054
movl -0x1c(%rbp), %eax
subl $0x200, %eax            # imm = 0x200
je 0x14512b
jmp 0x145064
movl -0x1c(%rbp), %eax
subl $0x206, %eax            # imm = 0x206
je 0x145138
jmp 0x145074
movl -0x1c(%rbp), %eax
subl $0x20a, %eax            # imm = 0x20A
je 0x145145
jmp 0x145084
movl -0x1c(%rbp), %eax
subl $0x20b, %eax            # imm = 0x20B
je 0x145152
jmp 0x145094
movl -0x1c(%rbp), %eax
subl $0x600, %eax            # imm = 0x600
je 0x14515f
jmp 0x1450a4
movl -0x1c(%rbp), %eax
subl $0x800, %eax            # imm = 0x800
je 0x14516c
jmp 0x145177
leaq 0x8823e(%rip), %rax     # 0x1cd2fc
movq %rax, -0x18(%rbp)
jmp 0x145177
leaq 0x89982(%rip), %rax     # 0x1cea50
movq %rax, -0x18(%rbp)
jmp 0x145177
leaq 0x89977(%rip), %rax     # 0x1cea55
movq %rax, -0x18(%rbp)
jmp 0x145177
leaq 0x89972(%rip), %rax     # 0x1cea60
movq %rax, -0x18(%rbp)
jmp 0x145177
leaq 0x8996d(%rip), %rax     # 0x1cea6b
movq %rax, -0x18(%rbp)
jmp 0x145177
leaq 0x89968(%rip), %rax     # 0x1cea73
movq %rax, -0x18(%rbp)
jmp 0x145177
leaq 0x58ee9(%rip), %rax     # 0x19e001
movq %rax, -0x18(%rbp)
jmp 0x145177
leaq 0x89955(%rip), %rax     # 0x1cea7a
movq %rax, -0x18(%rbp)
jmp 0x145177
leaq 0x71030(%rip), %rax     # 0x1b6162
movq %rax, -0x18(%rbp)
jmp 0x145177
leaq 0x69f4b(%rip), %rax     # 0x1af08a
movq %rax, -0x18(%rbp)
jmp 0x145177
leaq 0x7de21(%rip), %rax     # 0x1c2f6d
movq %rax, -0x18(%rbp)
jmp 0x145177
leaq 0x594de(%rip), %rax     # 0x19e637
movq %rax, -0x18(%rbp)
jmp 0x145177
leaq 0x898dc(%rip), %rax     # 0x1cea42
movq %rax, -0x18(%rbp)
jmp 0x145177
leaq 0x63639(%rip), %rax     # 0x1a87ac
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
popq %rbp
retq
nopw %cs:(%rax,%rax)