// File: /workspace/github_c_makefile_star2_O1/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 0x10b4d
cmpq $0x0, (%rax)
je 0x10b6c
movl $0x7, %eax
cmpl $0x1000001, %edi        # imm = 0x1000001
jg 0x109b3
leal -0x63(%rdi), %ecx
cmpl $0x12, %ecx
ja 0x10a09
leaq 0x659f(%rip), %rdx      # 0x16f30
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
cmpl $-0x1, 0xcccf(%rip)     # 0x1d670
je 0x10b29
leaq 0x6b19(%rip), %rdi      # 0x174c7
jmp 0x10aa2
movq %rdx, %rbx
cmpl $0x1000002, %edi        # imm = 0x1000002
je 0x10aa9
cmpl $0x1000006, %edi        # imm = 0x1000006
jne 0x10b21
movq 0x10(%rbx), %rax
movslq 0x18(%rbx), %rcx
movq (%rax,%rcx,8), %rsi
leaq 0xcca7(%rip), %rdi      # 0x1d688
callq 0x3080
movl 0x8(%rbx), %eax
movslq 0x18(%rbx), %rcx
subl %ecx, %eax
movl %eax, 0xcc87(%rip)      # 0x1d67c
shlq $0x3, %rcx
addq 0x10(%rbx), %rcx
movq %rcx, 0xcc7c(%rip)      # 0x1d680
jmp 0x10b1f
cmpl $0x50, %edi
jne 0x10b21
movl $0x1, 0xcc5c(%rip)      # 0x1d678
jmp 0x10b1f
movq %rsi, %rdi
callq 0x3410
movl %eax, 0xcc45(%rip)      # 0x1d674
jmp 0x10b1f
cmpl $-0x1, 0xcc35(%rip)     # 0x1d670
je 0x10afd
leaq 0x6ad9(%rip), %rdi      # 0x17521
jmp 0x10aa2
cmpl $-0x1, 0xcc1f(%rip)     # 0x1d670
je 0x10b09
leaq 0x6a96(%rip), %rdi      # 0x174f4
jmp 0x10aa2
leaq 0xce21(%rip), %rdi      # 0x1d888
jmp 0x10b1a
leaq 0xcf15(%rip), %rdi      # 0x1d988
jmp 0x10b1a
cmpl $-0x1, 0xcbf1(%rip)     # 0x1d670
je 0x10b35
leaq 0x6aef(%rip), %rdi      # 0x1757b
jmp 0x10aa2
cmpl $-0x1, 0xcbdb(%rip)     # 0x1d670
je 0x10b41
leaq 0x6aac(%rip), %rdi      # 0x1754e
callq 0x30a0
jmp 0x10b1f
xorl %eax, %eax
cmpl $0x1, 0x8(%rbx)
jg 0x10b21
movl $0xb, %edi
callq 0x3050
movq 0xb516(%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 0x10b21
movl $0x0, 0xcb69(%rip)      # 0x1d670
jmp 0x10b13
movl $0x1, 0xcb5d(%rip)      # 0x1d670
leaq 0xcc6e(%rip), %rdi      # 0x1d788
callq 0x3080
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl $0x4, 0xcb3d(%rip)      # 0x1d670
jmp 0x10b1f
movl $0x2, 0xcb31(%rip)      # 0x1d670
jmp 0x10b1f
movl $0x3, 0xcb25(%rip)      # 0x1d670
jmp 0x10b1f
leaq 0x644c(%rip), %rdi      # 0x16fa0
leaq 0x68f9(%rip), %rsi      # 0x17454
leaq 0x6900(%rip), %rcx      # 0x17462
movl $0x62, %edx
callq 0x3200
leaq 0x6923(%rip), %rdi      # 0x17496
leaq 0x68da(%rip), %rsi      # 0x17454
leaq 0x68e1(%rip), %rcx      # 0x17462
movl $0x63, %edx
callq 0x3200
nop