// File: /workspace/github_c_makefile_star2_O1/yhg926[P]public_kssd/global_wrapper.c
// Function: parse_global
static error_t parse_global(int key, char* arg, struct argp_state* state)
{
  if(key == '?' || key=='u')
   state->name = long_domain;
 else if (key == 'l'){
  printf("%s\n",doc_license);
  return EINVAL;
 }
  else if(key==ARGP_KEY_ARG){
      assert( arg );
      state->name = domain;
      if(strcmp(arg, "shuffle") == 0) {
         cmd_shuffle(state);
      }
   else if(strcmp(arg, "set") == 0) {
    cmd_set(state);
   }
   else if(strcmp(arg, "dist") == 0)
   {
    cmd_dist(state);
   }
   else if(strcmp(arg, "reverse") == 0)
    cmd_reverse(state);
   else if(strcmp(arg, "composite") == 0)
    cmd_composite(state);
   else if(strcmp(arg, "primer") == 0)
     for(int i = 8;i<52;i++ )
       printf("%llu\n",find_lgst_primer_2pow(i));
   else {
        argp_error(state, "%s is not a valid command", arg);
      }
  }
  else if(key == ARGP_KEY_NO_ARGS){
        state->name = long_domain;
    printf("\n%s\n\n",argp_program_version);
    printf("Unit_space_size = %d\n\n", COMPONENT_SZ);
    printf("Type 'kssd --license' for license and copyright information.\n\n");
        argp_state_help(state,stdout,ARGP_HELP_SHORT_USAGE);
        printf("\v");
        argp_state_help(state,stdout,ARGP_HELP_POST_DOC);
        return EINVAL;
  }
  else if(key == ARGP_KEY_INVALID){
      state->name = state->argv[0] = domain;
      return ARGP_ERR_UNKNOWN;
  }
  else return ARGP_ERR_UNKNOWN;
  return 0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
movl $0x7, %ebp
cmpl $0x74, %edi
jg 0x12227
testl %edi, %edi
je 0x1225a
cmpl $0x3f, %edi
je 0x12248
cmpl $0x6c, %edi
jne 0x123a2
leaq 0xc043(%rip), %rdi      # 0x1e260
callq 0x30a0
jmp 0x1239d
cmpl $0x1000003, %edi        # imm = 0x1000003
je 0x12316
cmpl $0x1000002, %edi        # imm = 0x1000002
je 0x1232a
cmpl $0x75, %edi
jne 0x123a2
movq 0x4c3b9(%rip), %rax     # 0x5e608
movq %rax, 0x40(%rbx)
xorl %ebp, %ebp
jmp 0x123a2
movq %rsi, %r14
testq %rsi, %rsi
je 0x12415
movq 0x4c393(%rip), %rax     # 0x5e600
movq %rax, 0x40(%rbx)
leaq 0x5357(%rip), %rsi      # 0x175cf
movq %r14, %rdi
callq 0x32b0
testl %eax, %eax
je 0x123a9
leaq 0x4d11(%rip), %rsi      # 0x16fa0
movq %r14, %rdi
callq 0x32b0
testl %eax, %eax
je 0x123b6
leaq 0x43af(%rip), %rsi      # 0x16655
movq %r14, %rdi
callq 0x32b0
testl %eax, %eax
je 0x123c3
leaq 0x4a94(%rip), %rsi      # 0x16d51
movq %r14, %rdi
callq 0x32b0
testl %eax, %eax
je 0x123d0
leaq 0x2fbc(%rip), %rsi      # 0x15290
movq %r14, %rdi
callq 0x32b0
testl %eax, %eax
je 0x123dd
leaq 0x5d88(%rip), %rsi      # 0x18073
movq %r14, %rdi
callq 0x32b0
testl %eax, %eax
je 0x123ea
leaq 0x5d78(%rip), %rsi      # 0x1807a
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x31c0
jmp 0x123a2
movq 0x4c2e3(%rip), %rax     # 0x5e600
movq 0x10(%rbx), %rcx
movq %rax, (%rcx)
movq %rax, 0x40(%rbx)
jmp 0x123a2
movq 0x4c2d7(%rip), %rax     # 0x5e608
movq %rax, 0x40(%rbx)
leaq 0xc16c(%rip), %rax      # 0x1e4a8
movq (%rax), %rsi
leaq 0x5d4e(%rip), %rdi      # 0x18094
xorl %eax, %eax
callq 0x3170
leaq 0x5d46(%rip), %rdi      # 0x1809a
movl $0x7, %esi
xorl %eax, %eax
callq 0x3170
leaq 0x5d4a(%rip), %rdi      # 0x180b1
callq 0x30a0
movq 0x9c65(%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 $0x20, %edx
callq 0x30e0
movl $0x16, %ebp
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
movq %rbx, %rdi
callq 0x10b8c
jmp 0x12253
movq %rbx, %rdi
callq 0xe188
jmp 0x12253
movq %rbx, %rdi
callq 0xcc64
jmp 0x12253
movq %rbx, %rdi
callq 0xd278
jmp 0x12253
movq %rbx, %rdi
callq 0x4788
jmp 0x12253
movl $0x8, %ebx
leaq 0x4a1a(%rip), %r14      # 0x16e10
xorl %ebp, %ebp
movl %ebx, %edi
callq 0x11f1e
movq %r14, %rdi
movq %rax, %rsi
xorl %eax, %eax
callq 0x3170
incl %ebx
cmpl $0x34, %ebx
jne 0x123f8
jmp 0x123a2
leaq 0x5c0b(%rip), %rdi      # 0x18027
leaq 0x5c08(%rip), %rsi      # 0x1802b
leaq 0x5c12(%rip), %rcx      # 0x1803c
movl $0x4e, %edx
callq 0x3200