// File: /workspace/github_c_makefile_star2_O1/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 0x70c4
movq %rdi, %r14
leaq 0x2280(%rip), %rax      # 0x9218
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 0x70c4
movq (%r14), %rcx
jmp 0x70ae
movq (%r14), %rcx
jmp 0x70a1
movq (%r14), %rbx
jmp 0x70c4
movzbl (%r14), %r8d
leal 0x1(%r8), %ecx
xorl %eax, %eax
cmpl $0x80, %ecx
cmovnel %ecx, %eax
cmpl $0x20, %eax
ja 0x70cf
movups 0x22d4(%rip), %xmm0     # 0x92d0
movups %xmm0, 0x10(%rbx)
movups 0x22b9(%rip), %xmm0     # 0x92c0
movups %xmm0, (%rbx)
movq $0x0, 0x20(%rbx)
leal (%rax,%rax,2), %edx
leaq 0x2240(%rip), %rcx      # 0x925c
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 0x341a(%rip), %rdx      # 0xa461
movl $0x28, %esi
movq %rbx, %rdi
movl %r8d, %r9d
xorl %eax, %eax
pushq %r10
pushq %r11
callq 0x2120
addq $0x10, %rsp
jmp 0x70c4
movzbl (%r14), %ecx
jmp 0x70ae
movswq (%r14), %rcx
jmp 0x70a1
cmpl $0x0, (%r14)
leaq 0x3422(%rip), %rax      # 0xa49c
leaq 0x3414(%rip), %rsi      # 0xa495
cmoveq %rax, %rsi
movq %rbx, %rdi
callq 0x20b0
cmpl $0x2, (%r14)
jb 0x70c4
movslq (%r14), %rcx
jmp 0x70a1
movl (%r14), %ecx
jmp 0x70ae
movsbq (%r14), %rcx
leaq 0x33fd(%rip), %rdx      # 0xa4a5
jmp 0x70b5
movzwl (%r14), %ecx
leaq 0x33f5(%rip), %rdx      # 0xa4aa
movl $0x28, %esi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x2120
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movsbl %r8b, %ecx
leaq 0x339d(%rip), %rdx      # 0xa477
movl $0x28, %esi
movq %rbx, %rdi
movl %r8d, %r9d
xorl %eax, %eax
callq 0x2120
jmp 0x70c4