// File: /workspace/github_c_makefile_star2_O3/yhg926[P]public_kssd/command_set.c
// Function: parse_set
static error_t parse_set(int key, char* arg, struct argp_state* state) {
  struct arg_set* set = state->input;
  assert( set );
  assert( set->global );
  switch(key)
  {
    case 'u':
  {
   if (set_opt.operation != -1 ) printf("set operation is already set, -u is ignored.\n");
   else set_opt.operation = 2 ;
   break;
  }
  case 'q':
    {
      if (set_opt.operation != -1 ) printf("set operation is already set, -q is ignored.\n");
      else set_opt.operation = 3 ;
      break;
    }
  case 's':
  {
   if (set_opt.operation != -1) printf("set operation is already set, -s is ignored.\n");
   else {
    set_opt.operation = 0;
    strcpy(set_opt.pansketchpath, arg);
   }
   break;
  }
  case 'i':
  {
   if (set_opt.operation != -1 ) printf("set operation is already set, -i is ignored.\n");
   else {
    set_opt.operation = 1 ;
    strcpy(set_opt.pansketchpath, arg);
   }
   break;
  }
  case 'c':
  {
   if (set_opt.operation != -1 ) printf("set operation is already set, -c is ignored.\n");
   else set_opt.operation = 4 ;
   break;
  }
  case 'o':
  {
   strcpy(set_opt.outdir, arg);
   break;
  }
  case 'p':
  {
   set_opt.p = atoi(arg);
   break;
  }
  case 'P':
  {
   set_opt.P = 1;
   break;
  }
  case 'g':
  {
   strcpy(set_opt.subsetf, arg);
   break;
  }
  case ARGP_KEY_ARGS:
   strcpy(set_opt.insketchpath, state->argv[state->next]);
   set_opt.num_remaining_args = state->argc - state->next;
   set_opt.remaining_args = state->argv + state->next;
   break;
    case ARGP_KEY_NO_ARGS:
    {
   if(state->argc<2)
   {
       printf("\v");
    argp_state_help(state,stdout,ARGP_HELP_SHORT_USAGE);
    printf("\v");
       argp_state_help(state,stdout,ARGP_HELP_LONG);
       printf("\v");
    return EINVAL;
   }
    }
  break;
    default:
      return ARGP_ERR_UNKNOWN;
  }
  return 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x28(%rdx), %rax
testq %rax, %rax
je 0x10e64
cmpq $0x0, (%rax)
je 0x10e83
movl $0x7, %eax
cmpl $0x1000001, %edi        # imm = 0x1000001
jg 0x10cca
leal -0x63(%rdi), %ecx
cmpl $0x12, %ecx
ja 0x10d20
leaq 0x62d8(%rip), %rdx      # 0x16f80
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
cmpl $-0x1, 0xc9b8(%rip)     # 0x1d670
je 0x10e40
leaq 0x6852(%rip), %rdi      # 0x17517
jmp 0x10db9
movq %rdx, %rbx
cmpl $0x1000002, %edi        # imm = 0x1000002
je 0x10dc0
cmpl $0x1000006, %edi        # imm = 0x1000006
jne 0x10e38
movq 0x10(%rbx), %rax
movslq 0x18(%rbx), %rcx
movq (%rax,%rcx,8), %rsi
leaq 0xc990(%rip), %rdi      # 0x1d688
callq 0x3080
movl 0x8(%rbx), %eax
movslq 0x18(%rbx), %rcx
subl %ecx, %eax
movl %eax, 0xc970(%rip)      # 0x1d67c
shlq $0x3, %rcx
addq 0x10(%rbx), %rcx
movq %rcx, 0xc965(%rip)      # 0x1d680
jmp 0x10e36
cmpl $0x50, %edi
jne 0x10e38
movl $0x1, 0xc945(%rip)      # 0x1d678
jmp 0x10e36
movq %rsi, %rdi
callq 0x3410
movl %eax, 0xc92e(%rip)      # 0x1d674
jmp 0x10e36
cmpl $-0x1, 0xc91e(%rip)     # 0x1d670
je 0x10e14
leaq 0x6812(%rip), %rdi      # 0x17571
jmp 0x10db9
cmpl $-0x1, 0xc908(%rip)     # 0x1d670
je 0x10e20
leaq 0x67cf(%rip), %rdi      # 0x17544
jmp 0x10db9
leaq 0xcb0a(%rip), %rdi      # 0x1d888
jmp 0x10e31
leaq 0xcbfe(%rip), %rdi      # 0x1d988
jmp 0x10e31
cmpl $-0x1, 0xc8da(%rip)     # 0x1d670
je 0x10e4c
leaq 0x6828(%rip), %rdi      # 0x175cb
jmp 0x10db9
cmpl $-0x1, 0xc8c4(%rip)     # 0x1d670
je 0x10e58
leaq 0x67e5(%rip), %rdi      # 0x1759e
callq 0x30a0
jmp 0x10e36
xorl %eax, %eax
cmpl $0x1, 0x8(%rbx)
jg 0x10e38
movl $0xb, %edi
callq 0x3050
movq 0xb1ff(%rip), %r14      # 0x1bfd8
movq (%r14), %rsi
movq %rbx, %rdi
movl $0x2, %edx
callq 0x30e0
movl $0xb, %edi
callq 0x3050
movq (%r14), %rsi
movq %rbx, %rdi
movl $0x8, %edx
callq 0x30e0
movl $0xb, %edi
callq 0x3050
movl $0x16, %eax
jmp 0x10e38
movl $0x0, 0xc852(%rip)      # 0x1d670
jmp 0x10e2a
movl $0x1, 0xc846(%rip)      # 0x1d670
leaq 0xc957(%rip), %rdi      # 0x1d788
callq 0x3080
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl $0x4, 0xc826(%rip)      # 0x1d670
jmp 0x10e36
movl $0x2, 0xc81a(%rip)      # 0x1d670
jmp 0x10e36
movl $0x3, 0xc80e(%rip)      # 0x1d670
jmp 0x10e36
leaq 0x6185(%rip), %rdi      # 0x16ff0
leaq 0x6632(%rip), %rsi      # 0x174a4
leaq 0x6639(%rip), %rcx      # 0x174b2
movl $0x62, %edx
callq 0x3200
leaq 0x665c(%rip), %rdi      # 0x174e6
leaq 0x6613(%rip), %rsi      # 0x174a4
leaq 0x661a(%rip), %rcx      # 0x174b2
movl $0x63, %edx
callq 0x3200
nop