// File: /workspace/github_c_makefile_star2_O2/hilbix[P]unbuffered/./tino/getopt.h
// Function: tino_getopt_var_to_str
static const char *
tino_getopt_var_to_str(const union tino_getopt_types *ptr, enum tino_getopt_type type, char auxbuf[TINO_GETOPT_AUXBUF_SIZE])
{
  switch (type)
    {
      long long			lld;
      unsigned long long	llu;
      int			i;

    case TINO_GETOPT_TYPE_STRINGFLAG:
    case TINO_GETOPT_TYPE_STRING:	return ptr->s;

    case TINO_GETOPT_TYPE_UCHAR:
    case TINO_GETOPT_TYPE_CHAR:
      i	= ptr->C+1;
      if (i==128)
        i	= 0;
      if (i<=32)
        {
          strncpy(auxbuf, "-0------abtnvfr", TINO_GETOPT_AUXBUF_SIZE);
          snprintf(auxbuf, TINO_GETOPT_AUXBUF_SIZE,
                   "%.3s 0x%02x %d%c'\\%c'",
                   &
                   "DELNULSOHSTXETXEOTENQACKBELBS\0HT\0LF\0VT\0FF\0CR\0SO\0SI\0"
                   "DLEDC1DC2DC3DC4NAKSYNETBCANEM\0SUBESCFS\0GS\0RS\0US\0"
                   [i*3],
                   ptr->C,
                   ptr->C,
                   (auxbuf[i] && auxbuf[i]!='-' ? ' ' : 0),
                   auxbuf[i]);
          break;
        }
      snprintf(auxbuf, TINO_GETOPT_AUXBUF_SIZE,
               "'%c' 0x%02x %d",
               ptr->c,
               ptr->C,
               ptr->C);
      break;

    case TINO_GETOPT_TYPE_IGNORE:	strcpy(auxbuf, "(has no value)");	break;
    case TINO_GETOPT_TYPE_HELP:		strcpy(auxbuf, "(has no value)");	break;
    case TINO_GETOPT_TYPE_FLAG:		strcpy(auxbuf, ptr->u ? "SET(1)" : "UNSET(0)"); if (ptr->u<=1) break;
      /* fallthrough!	*/

#pragma GCC diagnostic ignored "-Wmisleading-indentation"
    case TINO_GETOPT_TYPE_INT:		lld	= ptr->i;	if(0)
    case TINO_GETOPT_TYPE_BYTE:		lld	= ptr->c;	if(0)
    case TINO_GETOPT_TYPE_SHORT:	lld	= ptr->w;	if(0)
    case TINO_GETOPT_TYPE_LONGINT:	lld	= ptr->I;	if(0)
    case TINO_GETOPT_TYPE_LLONG:	lld	= ptr->l;
      snprintf(auxbuf, TINO_GETOPT_AUXBUF_SIZE, "%lld", lld);
      break;

    case TINO_GETOPT_TYPE_UNSIGNED:	llu	= ptr->u;	if(0)
    case TINO_GETOPT_TYPE_UBYTE:	llu	= ptr->C;	if(0)
    case TINO_GETOPT_TYPE_USHORT:	llu	= ptr->W;	if(0)
    case TINO_GETOPT_TYPE_ULONGINT:	llu	= ptr->U;	if(0)
    case TINO_GETOPT_TYPE_ULLONG:	llu	= ptr->L;
#pragma GCC diagnostic warning "-Wmisleading-indentation"
      snprintf(auxbuf, TINO_GETOPT_AUXBUF_SIZE, "%llu", llu);
      break;
    }
  return auxbuf;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
incl %esi
cmpl $0x10, %esi
ja 0x6735
movq %rdi, %r14
leaq 0x1c72(%rip), %rax      # 0x8280
movslq (%rax,%rsi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movabsq $0x2965756c617620, %rax # imm = 0x2965756C617620
movq %rax, 0x7(%rbx)
movabsq $0x206f6e2073616828, %rax # imm = 0x206F6E2073616828
movq %rax, (%rbx)
jmp 0x6735
movq (%r14), %rcx
jmp 0x6714
movq (%r14), %rcx
jmp 0x6721
movzbl (%r14), %r8d
leal 0x1(%r8), %ecx
xorl %eax, %eax
cmpl $0x80, %ecx
cmovnel %ecx, %eax
cmpl $0x20, %eax
ja 0x6740
movups 0x1cce(%rip), %xmm0     # 0x8338
movups %xmm0, 0x10(%rbx)
movups 0x1cb3(%rip), %xmm0     # 0x8328
movups %xmm0, (%rbx)
andq $0x0, 0x20(%rbx)
leal (%rax,%rax,2), %edx
leaq 0x1c3d(%rip), %rcx      # 0x82c4
addq %rdx, %rcx
movzbl (%r14), %r8d
movl %eax, %eax
movsbl (%rbx,%rax), %r10d
xorl %r11d, %r11d
cmpl $0x2d, %r10d
setne %r11b
shll $0x5, %r11d
testl %r10d, %r10d
cmovel %r10d, %r11d
leaq 0x2de6(%rip), %rdx      # 0x9498
pushq $0x28
popq %rsi
movq %rbx, %rdi
movl %r8d, %r9d
xorl %eax, %eax
pushq %r10
pushq %r11
callq 0x2110
popq %rcx
popq %rdx
jmp 0x6735
movq (%r14), %rbx
jmp 0x6735
movzbl (%r14), %ecx
jmp 0x6714
movsbq (%r14), %rcx
jmp 0x6721
movl (%r14), %ecx
jmp 0x6714
cmpl $0x0, (%r14)
leaq 0x2de8(%rip), %rax      # 0x94d3
leaq 0x2dda(%rip), %rsi      # 0x94cc
cmoveq %rax, %rsi
movq %rbx, %rdi
callq 0x20a0
movl (%r14), %eax
cmpl $0x2, %eax
jae 0x670b
jmp 0x6735
movl (%r14), %eax
movslq %eax, %rcx
jmp 0x6721
movzwl (%r14), %ecx
leaq 0x2dc6(%rip), %rdx      # 0x94e1
jmp 0x6728
movswq (%r14), %rcx
leaq 0x2db4(%rip), %rdx      # 0x94dc
pushq $0x28
popq %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x2110
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movsbl %r8b, %ecx
leaq 0x2d63(%rip), %rdx      # 0x94ae
pushq $0x28
popq %rsi
movq %rbx, %rdi
movl %r8d, %r9d
xorl %eax, %eax
callq 0x2110
jmp 0x6735