// File: /workspace/github_c_makefile_star2_O2/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 %rbp
pushq %r14
pushq %rbx
movq 0x28(%rdx), %rax
testq %rax, %rax
je 0x10011
cmpq $0x0, (%rax)
je 0x1002a
pushq $0x7
popq %rax
leal -0x63(%rdi), %ecx
cmpl $0x12, %ecx
ja 0xfe82
leaq 0x60d0(%rip), %rdx      # 0x15f30
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
cmpl $-0x1, 0xc800(%rip)     # 0x1c670
je 0xffc7
leaq 0x664a(%rip), %rdi      # 0x164c7
jmp 0xff62
cmpl $0x50, %edi
je 0xff6c
movq %rdx, %rbx
cmpl $0x1000002, %edi        # imm = 0x1000002
je 0xff7b
cmpl $0x1000006, %edi        # imm = 0x1000006
jne 0x1000c
movq 0x10(%rbx), %rax
movslq 0x18(%rbx), %rcx
movq (%rax,%rcx,8), %rsi
leaq 0xc7cf(%rip), %rdi      # 0x1c688
callq 0x3080
movl 0x8(%rbx), %eax
movslq 0x18(%rbx), %rcx
subl %ecx, %eax
movl %eax, 0xc7af(%rip)      # 0x1c67c
shlq $0x3, %rcx
addq 0x10(%rbx), %rcx
movq %rcx, 0xc7a4(%rip)      # 0x1c680
jmp 0x1000a
movq %rsi, %rdi
callq 0x3410
movl %eax, 0xc785(%rip)      # 0x1c674
jmp 0x1000a
leaq 0xc98d(%rip), %rdi      # 0x1c888
jmp 0x10005
cmpl $-0x1, 0xc769(%rip)     # 0x1c670
je 0xffd3
leaq 0x6667(%rip), %rdi      # 0x1657b
jmp 0xff62
cmpl $-0x1, 0xc753(%rip)     # 0x1c670
je 0xffdf
leaq 0x6624(%rip), %rdi      # 0x1654e
jmp 0xff62
cmpl $-0x1, 0xc73d(%rip)     # 0x1c670
je 0xffeb
leaq 0x65b4(%rip), %rdi      # 0x164f4
jmp 0xff62
leaq 0xca3f(%rip), %rdi      # 0x1c988
jmp 0x10005
cmpl $-0x1, 0xc71b(%rip)     # 0x1c670
je 0xfff7
leaq 0x65bf(%rip), %rdi      # 0x16521
callq 0x30a0
jmp 0x1000a
movl $0x1, 0xc702(%rip)      # 0x1c678
jmp 0x1000a
xorl %eax, %eax
cmpl $0x1, 0x8(%rbx)
jg 0x1000c
pushq $0xb
popq %rbp
movl %ebp, %edi
callq 0x3050
movq 0xb040(%rip), %r14      # 0x1afd8
movq (%r14), %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x30e0
movl %ebp, %edi
callq 0x3050
movq (%r14), %rsi
pushq $0x8
popq %rdx
movq %rbx, %rdi
callq 0x30e0
movl %ebp, %edi
callq 0x3050
pushq $0x16
popq %rax
jmp 0x1000c
movl $0x4, 0xc69f(%rip)      # 0x1c670
jmp 0x1000a
movl $0x2, 0xc693(%rip)      # 0x1c670
jmp 0x1000a
movl $0x3, 0xc687(%rip)      # 0x1c670
jmp 0x1000a
movl $0x1, 0xc67b(%rip)      # 0x1c670
jmp 0xfffe
andl $0x0, 0xc672(%rip)      # 0x1c670
leaq 0xc783(%rip), %rdi      # 0x1c788
callq 0x3080
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x5f88(%rip), %rdi      # 0x15fa0
leaq 0x6435(%rip), %rsi      # 0x16454
leaq 0x643c(%rip), %rcx      # 0x16462
pushq $0x62
jmp 0x10041
leaq 0x6465(%rip), %rdi      # 0x16496
leaq 0x641c(%rip), %rsi      # 0x16454
leaq 0x6423(%rip), %rcx      # 0x16462
pushq $0x63
popq %rdx
callq 0x3200
nop