// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/seed-extend.c
// Function: gt_seed_extend_params_keystring
char *gt_seed_extend_params_keystring(bool use_greedy,
                                      bool forxdrop,
                                      unsigned int seedlength,
                                      GtUword userdefinedleastlength,
                                      GtUword minidentity,
                                      GtUword maxalignedlendifference,
                                      GtUword perc_mat_history,
                                      GtUword extendgreedy,
                                      GtUword extendxdrop,
                                      GtUword xdropbelowscore)
{
  size_t maxstrlen = 256, offset = 0;
  char *out = gt_malloc(sizeof *out * (maxstrlen + 1));

  if (use_greedy || forxdrop)
  {
    GT_SEED_EXTEND_PARAMS_APPEND("%s",use_greedy ? "greedy-" : "xdrop-");
  }
  GT_SEED_EXTEND_PARAMS_APPEND("%u",seedlength);
  GT_SEED_EXTEND_PARAMS_APPEND("-" GT_WU,userdefinedleastlength);
  if (use_greedy || forxdrop)
  {
    GT_SEED_EXTEND_PARAMS_APPEND("-" GT_WU,100 -
                                 gt_minidentity2errorpercentage(minidentity));
  }
  if (use_greedy)
  {
    GtUword loc_maxalignedlendifference, loc_perc_mat_history;

    gt_optimal_maxalilendiff_perc_mat_history(
                &loc_maxalignedlendifference,
                &loc_perc_mat_history,
                maxalignedlendifference,
                perc_mat_history,
                gt_minidentity2errorpercentage(minidentity),
                extendgreedy);
    GT_SEED_EXTEND_PARAMS_APPEND("-" GT_WU,loc_maxalignedlendifference);
    GT_SEED_EXTEND_PARAMS_APPEND("-" GT_WU,loc_perc_mat_history);
  } else
  {
    if (forxdrop)
    {
      if (xdropbelowscore == 0)
      {
        GT_SEED_EXTEND_PARAMS_APPEND("-" GT_WD,
                          gt_optimalxdropbelowscore(
                          gt_minidentity2errorpercentage(minidentity),
                                                      extendxdrop));
      } else
      {
        GT_SEED_EXTEND_PARAMS_APPEND("-" GT_WD,xdropbelowscore);
      }
    }
  }
  return out;
}

// Assembly:
subq $0x78, %rsp
movb %sil, %al
movb %dil, %sil
movq 0x98(%rsp), %rdi
movq 0x90(%rsp), %rdi
movq 0x88(%rsp), %rdi
movq 0x80(%rsp), %rdi
andb $0x1, %sil
movb %sil, 0x77(%rsp)
andb $0x1, %al
movb %al, 0x76(%rsp)
movl %edx, 0x70(%rsp)
movq %rcx, 0x68(%rsp)
movq %r8, 0x60(%rsp)
movq %r9, 0x58(%rsp)
movq $0x100, 0x50(%rsp)      # imm = 0x100
movq $0x0, 0x48(%rsp)
movq 0x50(%rsp), %rdi
addq $0x1, %rdi
shlq $0x0, %rdi
leaq 0x2da982(%rip), %rsi    # 0x5876d4
movl $0x371, %edx            # imm = 0x371
callq 0xe80f0
movq %rax, 0x40(%rsp)
testb $0x1, 0x77(%rsp)
jne 0x2acd73
testb $0x1, 0x76(%rsp)
je 0x2ace02
jmp 0x2acd75
movq 0x50(%rsp), %rax
cmpq 0x48(%rsp), %rax
ja 0x2acdb9
movq 0x38f218(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x269281(%rip), %rsi    # 0x516013
leaq 0x2dad1f(%rip), %rdx    # 0x587ab8
leaq 0x2dad2b(%rip), %rcx    # 0x587acb
leaq 0x2da92d(%rip), %r8     # 0x5876d4
movl $0x375, %r9d            # imm = 0x375
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2acdbb
movq 0x40(%rsp), %rdi
addq 0x48(%rsp), %rdi
movq 0x50(%rsp), %rsi
subq 0x48(%rsp), %rsi
movb 0x77(%rsp), %dl
leaq 0x2dad19(%rip), %rcx    # 0x587af3
leaq 0x2dad0a(%rip), %rax    # 0x587aeb
testb $0x1, %dl
cmovneq %rax, %rcx
leaq 0x2ef232(%rip), %rdx    # 0x59c021
movb $0x0, %al
callq 0x19b90
cltq
addq 0x48(%rsp), %rax
movq %rax, 0x48(%rsp)
jmp 0x2ace04
movq 0x50(%rsp), %rax
cmpq 0x48(%rsp), %rax
ja 0x2ace48
movq 0x38f189(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2691f2(%rip), %rsi    # 0x516013
leaq 0x2dac90(%rip), %rdx    # 0x587ab8
leaq 0x2dac9c(%rip), %rcx    # 0x587acb
leaq 0x2da89e(%rip), %r8     # 0x5876d4
movl $0x377, %r9d            # imm = 0x377
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2ace4a
movq 0x40(%rsp), %rdi
addq 0x48(%rsp), %rdi
movq 0x50(%rsp), %rsi
subq 0x48(%rsp), %rsi
movl 0x70(%rsp), %ecx
leaq 0x2b4e67(%rip), %rdx    # 0x561cd0
movb $0x0, %al
callq 0x19b90
cltq
addq 0x48(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0x50(%rsp), %rax
cmpq 0x48(%rsp), %rax
ja 0x2acec0
movq 0x38f111(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x26917a(%rip), %rsi    # 0x516013
leaq 0x2dac18(%rip), %rdx    # 0x587ab8
leaq 0x2dac24(%rip), %rcx    # 0x587acb
leaq 0x2da826(%rip), %r8     # 0x5876d4
movl $0x378, %r9d            # imm = 0x378
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2acec2
movq 0x40(%rsp), %rdi
addq 0x48(%rsp), %rdi
movq 0x50(%rsp), %rsi
subq 0x48(%rsp), %rsi
movq 0x68(%rsp), %rcx
leaq 0x30ebaf(%rip), %rdx    # 0x5bba91
movb $0x0, %al
callq 0x19b90
cltq
addq 0x48(%rsp), %rax
movq %rax, 0x48(%rsp)
testb $0x1, 0x77(%rsp)
jne 0x2acf07
testb $0x1, 0x76(%rsp)
je 0x2acfa3
jmp 0x2acf09
movq 0x50(%rsp), %rax
cmpq 0x48(%rsp), %rax
ja 0x2acf4d
movq 0x38f084(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2690ed(%rip), %rsi    # 0x516013
leaq 0x2dab8b(%rip), %rdx    # 0x587ab8
leaq 0x2dab97(%rip), %rcx    # 0x587acb
leaq 0x2da799(%rip), %r8     # 0x5876d4
movl $0x37c, %r9d            # imm = 0x37C
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2acf4f
movq 0x40(%rsp), %rax
addq 0x48(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x50(%rsp), %rax
subq 0x48(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x60(%rsp), %rdi
callq 0x2acc50
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %rsi
movl $0x64, %ecx
subq %rax, %rcx
leaq 0x30eb01(%rip), %rdx    # 0x5bba91
movb $0x0, %al
callq 0x19b90
cltq
addq 0x48(%rsp), %rax
movq %rax, 0x48(%rsp)
testb $0x1, 0x77(%rsp)
je 0x2ad0ea
movq 0x58(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x60(%rsp), %rdi
callq 0x2acc50
movq 0x10(%rsp), %rdx
movq 0x18(%rsp), %rcx
movq %rax, %r8
movq 0x88(%rsp), %r9
leaq 0x38(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x2ab720
movq 0x50(%rsp), %rax
cmpq 0x48(%rsp), %rax
ja 0x2ad037
movq 0x38ef9a(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x269003(%rip), %rsi    # 0x516013
leaq 0x2daaa1(%rip), %rdx    # 0x587ab8
leaq 0x2daaad(%rip), %rcx    # 0x587acb
leaq 0x2da6af(%rip), %r8     # 0x5876d4
movl $0x389, %r9d            # imm = 0x389
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2ad039
movq 0x40(%rsp), %rdi
addq 0x48(%rsp), %rdi
movq 0x50(%rsp), %rsi
subq 0x48(%rsp), %rsi
movq 0x38(%rsp), %rcx
leaq 0x30ea38(%rip), %rdx    # 0x5bba91
movb $0x0, %al
callq 0x19b90
cltq
addq 0x48(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0x50(%rsp), %rax
cmpq 0x48(%rsp), %rax
ja 0x2ad0b0
movq 0x38ef21(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x268f8a(%rip), %rsi    # 0x516013
leaq 0x2daa28(%rip), %rdx    # 0x587ab8
leaq 0x2daa34(%rip), %rcx    # 0x587acb
leaq 0x2da636(%rip), %r8     # 0x5876d4
movl $0x38a, %r9d            # imm = 0x38A
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2ad0b2
movq 0x40(%rsp), %rdi
addq 0x48(%rsp), %rdi
movq 0x50(%rsp), %rsi
subq 0x48(%rsp), %rsi
movq 0x30(%rsp), %rcx
leaq 0x30e9bf(%rip), %rdx    # 0x5bba91
movb $0x0, %al
callq 0x19b90
cltq
addq 0x48(%rsp), %rax
movq %rax, 0x48(%rsp)
jmp 0x2ad22d
testb $0x1, 0x76(%rsp)
je 0x2ad22b
cmpq $0x0, 0x98(%rsp)
jne 0x2ad1ab
jmp 0x2ad106
movq 0x50(%rsp), %rax
cmpq 0x48(%rsp), %rax
ja 0x2ad14a
movq 0x38ee87(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x268ef0(%rip), %rsi    # 0x516013
leaq 0x2da98e(%rip), %rdx    # 0x587ab8
leaq 0x2da99a(%rip), %rcx    # 0x587acb
leaq 0x2da59c(%rip), %r8     # 0x5876d4
movl $0x394, %r9d            # imm = 0x394
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2ad14c
movq 0x40(%rsp), %rax
addq 0x48(%rsp), %rax
movq %rax, (%rsp)
movq 0x50(%rsp), %rax
subq 0x48(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x60(%rsp), %rdi
callq 0x2acc50
movq %rax, %rdi
movq 0x90(%rsp), %rsi
callq 0x2ab140
movq (%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %rax, %rcx
leaq 0x2ba119(%rip), %rdx    # 0x5672af
movb $0x0, %al
callq 0x19b90
cltq
addq 0x48(%rsp), %rax
movq %rax, 0x48(%rsp)
jmp 0x2ad229
jmp 0x2ad1ad
movq 0x50(%rsp), %rax
cmpq 0x48(%rsp), %rax
ja 0x2ad1f1
movq 0x38ede0(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x268e49(%rip), %rsi    # 0x516013
leaq 0x2da8e7(%rip), %rdx    # 0x587ab8
leaq 0x2da8f3(%rip), %rcx    # 0x587acb
leaq 0x2da4f5(%rip), %r8     # 0x5876d4
movl $0x397, %r9d            # imm = 0x397
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2ad1f3
movq 0x40(%rsp), %rdi
addq 0x48(%rsp), %rdi
movq 0x50(%rsp), %rsi
subq 0x48(%rsp), %rsi
movq 0x98(%rsp), %rcx
leaq 0x2ba099(%rip), %rdx    # 0x5672af
movb $0x0, %al
callq 0x19b90
cltq
addq 0x48(%rsp), %rax
movq %rax, 0x48(%rsp)
jmp 0x2ad22b
jmp 0x2ad22d
movq 0x40(%rsp), %rax
addq $0x78, %rsp
retq
nopw (%rax,%rax)