#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
char *cvector(int, int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, int, int, float,
                           char *, int);
int /*<<< orphan*/ free_cvector(char *, int, int);
int /*<<< orphan*/ num2seq(char *, int, char *, int);
int /*<<< orphan*/ revcomp(char *, char *, int);
int /*<<< orphan*/ sprintf(char *, char *);
int scan_motif4(float **weight_matrix, char *sequence, int motif_length,
                int seq_length, float threshold, int *pos, char *strand, int rc,
                int min_dist, FILE *log_file, int seq_nr) {
  int i, j, k;
  int i_stop;
  char c;
  float p;
  int n;
  float current_score;
  char *revcomp_seq;
  int curr_strand;
  char *word;
  char *numword;
  int previous_position;
  i_stop = seq_length - motif_length;
  n = 0;
  if (seq_nr > 0) {
    numword = cvector(1, motif_length);
    word = cvector(0, motif_length - 1);
  }
  previous_position = -motif_length;
  curr_strand = 1;
  for (i = 1; i <= i_stop; i++) {
    if ((i - previous_position) > min_dist) {
      current_score = 0.0;
      for (j = 1; j <= motif_length; j++) {
        c = sequence[i + j - 1];
        if ((c > 0) & (c < 5)) {
          p = weight_matrix[c][j];
          current_score += p;
        } else {
          current_score += -7.6;
        }
      }
      if (current_score >= threshold) {
        previous_position = i;
        n++;
        pos[n] = seq_length - i;
        strand[n] = curr_strand;
        if (seq_nr > 0) {
          for (j = 1; j <= motif_length; j++)
            numword[j] = sequence[i + j - 1];
          sprintf(word, "");
          num2seq(numword, motif_length, word, 1);
          fprintf(log_file, "%d\t%d\t%.4f\t%s\t%d\n", seq_nr, pos[n],
                  current_score, word, curr_strand);
        }
      }
    }
  }
  curr_strand = 0;
  previous_position = -motif_length;
  if (rc == 1) {
    revcomp_seq = cvector(1, seq_length);
    revcomp(sequence, revcomp_seq, seq_length);
    for (i = 1; i <= i_stop; i++) {
      if ((i - previous_position) > min_dist) {
        current_score = 0.0;
        for (j = 1; j <= motif_length; j++) {
          c = revcomp_seq[i + j - 1];
          if ((c > 0) & (c < 5)) {
            p = weight_matrix[c][j];
            current_score += p;
          } else {
            current_score += -7.6;
          }
        }
        if (current_score >= threshold) {
          previous_position = i;
          n++;
          pos[n] = i;
          strand[n] = 0;
          if (seq_nr > 0) {
            for (j = 1; j <= motif_length; j++)
              numword[j] = revcomp_seq[i + j - 1];
            sprintf(word, "");
            num2seq(numword, motif_length, word, 1);
            fprintf(log_file, "%d\t%d\t%.4f\t%s\t%d\n", seq_nr, pos[n],
                    current_score, word, curr_strand);
          }
        }
      }
    }
    free_cvector(revcomp_seq, 1, seq_length);
  }
  if (seq_nr > 0) {
    free_cvector(numword, 1, motif_length);
    free_cvector(word, 0, motif_length - 1);
  }
  return n;
}


x86 assembly (clang, -O0):
<scan_motif4>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    0x28(%rbp),%eax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
movss  %xmm0,-0x1c(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
mov    -0x18(%rbp),%eax
sub    -0x14(%rbp),%eax
mov    %eax,-0x40(%rbp)
movl   $0x0,-0x4c(%rbp)
cmpl   $0x0,0x28(%rbp)
jle    11cf <scan_motif4+0x6f>
mov    -0x14(%rbp),%esi
mov    $0x1,%edi
call   1030 <cvector@plt>
mov    %rax,-0x70(%rbp)
mov    -0x14(%rbp),%esi
sub    $0x1,%esi
xor    %edi,%edi
call   1030 <cvector@plt>
mov    %rax,-0x68(%rbp)
xor    %eax,%eax
sub    -0x14(%rbp),%eax
mov    %eax,-0x74(%rbp)
movl   $0x1,-0x5c(%rbp)
movl   $0x1,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x40(%rbp),%eax
jg     13b0 <scan_motif4+0x250>
mov    -0x34(%rbp),%eax
sub    -0x74(%rbp),%eax
cmp    0x18(%rbp),%eax
jle    139d <scan_motif4+0x23d>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x50(%rbp)
movl   $0x1,-0x38(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0x14(%rbp),%eax
jg     12bb <scan_motif4+0x15b>
mov    -0x10(%rbp),%rax
mov    -0x34(%rbp),%ecx
add    -0x38(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,1),%al
mov    %al,-0x41(%rbp)
movsbl -0x41(%rbp),%eax
cmp    $0x0,%eax
setg   %al
and    $0x1,%al
movzbl %al,%eax
movsbl -0x41(%rbp),%ecx
cmp    $0x5,%ecx
setl   %cl
and    $0x1,%cl
movzbl %cl,%ecx
and    %ecx,%eax
cmp    $0x0,%eax
je     128a <scan_motif4+0x12a>
mov    -0x8(%rbp),%rax
movsbq -0x41(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x38(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movss  %xmm0,-0x48(%rbp)
movss  -0x48(%rbp),%xmm0
addss  -0x50(%rbp),%xmm0
movss  %xmm0,-0x50(%rbp)
jmp    12a8 <scan_motif4+0x148>
movss  -0x50(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd65(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x50(%rbp)
jmp    12ad <scan_motif4+0x14d>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    120f <scan_motif4+0xaf>
movss  -0x50(%rbp),%xmm0
ucomiss -0x1c(%rbp),%xmm0
jb     1398 <scan_motif4+0x238>
mov    -0x34(%rbp),%eax
mov    %eax,-0x74(%rbp)
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
mov    -0x18(%rbp),%edx
sub    -0x34(%rbp),%edx
mov    -0x28(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x5c(%rbp),%eax
mov    %al,%dl
mov    -0x30(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
cmpl   $0x0,0x28(%rbp)
jle    1393 <scan_motif4+0x233>
movl   $0x1,-0x38(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0x14(%rbp),%eax
jg     1343 <scan_motif4+0x1e3>
mov    -0x10(%rbp),%rax
mov    -0x34(%rbp),%ecx
add    -0x38(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,1),%dl
mov    -0x70(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    130b <scan_motif4+0x1ab>
mov    -0x68(%rbp),%rdi
lea    0xccb(%rip),%rsi
call   1070 <sprintf@plt>
mov    -0x70(%rbp),%rdi
mov    -0x14(%rbp),%esi
mov    -0x68(%rbp),%rdx
mov    $0x1,%ecx
call   1050 <num2seq@plt>
mov    0x20(%rbp),%rdi
mov    0x28(%rbp),%edx
mov    -0x28(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    (%rax,%rcx,4),%ecx
movss  -0x50(%rbp),%xmm0
mov    -0x68(%rbp),%r8
mov    -0x5c(%rbp),%r9d
lea    0xc7a(%rip),%rsi
call   1040 <fprintf@plt>
jmp    1398 <scan_motif4+0x238>
jmp    139d <scan_motif4+0x23d>
jmp    13a2 <scan_motif4+0x242>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    11e5 <scan_motif4+0x85>
movl   $0x0,-0x5c(%rbp)
xor    %eax,%eax
sub    -0x14(%rbp),%eax
mov    %eax,-0x74(%rbp)
cmpl   $0x1,0x10(%rbp)
jne    15c6 <scan_motif4+0x466>
mov    -0x18(%rbp),%esi
mov    $0x1,%edi
call   1030 <cvector@plt>
mov    %rax,-0x58(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x58(%rbp),%rsi
mov    -0x18(%rbp),%edx
call   1080 <revcomp@plt>
movl   $0x1,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x40(%rbp),%eax
jg     15b5 <scan_motif4+0x455>
mov    -0x34(%rbp),%eax
sub    -0x74(%rbp),%eax
cmp    0x18(%rbp),%eax
jle    15a2 <scan_motif4+0x442>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x50(%rbp)
movl   $0x1,-0x38(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0x14(%rbp),%eax
jg     14c7 <scan_motif4+0x367>
mov    -0x58(%rbp),%rax
mov    -0x34(%rbp),%ecx
add    -0x38(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,1),%al
mov    %al,-0x41(%rbp)
movsbl -0x41(%rbp),%eax
cmp    $0x0,%eax
setg   %al
and    $0x1,%al
movzbl %al,%eax
movsbl -0x41(%rbp),%ecx
cmp    $0x5,%ecx
setl   %cl
and    $0x1,%cl
movzbl %cl,%ecx
and    %ecx,%eax
cmp    $0x0,%eax
je     1496 <scan_motif4+0x336>
mov    -0x8(%rbp),%rax
movsbq -0x41(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x38(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movss  %xmm0,-0x48(%rbp)
movss  -0x48(%rbp),%xmm0
addss  -0x50(%rbp),%xmm0
movss  %xmm0,-0x50(%rbp)
jmp    14b4 <scan_motif4+0x354>
movss  -0x50(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xb59(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x50(%rbp)
jmp    14b9 <scan_motif4+0x359>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    141b <scan_motif4+0x2bb>
movss  -0x50(%rbp),%xmm0
ucomiss -0x1c(%rbp),%xmm0
jb     159d <scan_motif4+0x43d>
mov    -0x34(%rbp),%eax
mov    %eax,-0x74(%rbp)
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
mov    -0x34(%rbp),%edx
mov    -0x28(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x30(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movb   $0x0,(%rax,%rcx,1)
cmpl   $0x0,0x28(%rbp)
jle    1598 <scan_motif4+0x438>
movl   $0x1,-0x38(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0x14(%rbp),%eax
jg     1548 <scan_motif4+0x3e8>
mov    -0x58(%rbp),%rax
mov    -0x34(%rbp),%ecx
add    -0x38(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,1),%dl
mov    -0x70(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    1510 <scan_motif4+0x3b0>
mov    -0x68(%rbp),%rdi
lea    0xac6(%rip),%rsi
call   1070 <sprintf@plt>
mov    -0x70(%rbp),%rdi
mov    -0x14(%rbp),%esi
mov    -0x68(%rbp),%rdx
mov    $0x1,%ecx
call   1050 <num2seq@plt>
mov    0x20(%rbp),%rdi
mov    0x28(%rbp),%edx
mov    -0x28(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    (%rax,%rcx,4),%ecx
movss  -0x50(%rbp),%xmm0
mov    -0x68(%rbp),%r8
mov    -0x5c(%rbp),%r9d
lea    0xa75(%rip),%rsi
call   1040 <fprintf@plt>
jmp    159d <scan_motif4+0x43d>
jmp    15a2 <scan_motif4+0x442>
jmp    15a7 <scan_motif4+0x447>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    13f1 <scan_motif4+0x291>
mov    -0x58(%rbp),%rdi
mov    -0x18(%rbp),%edx
mov    $0x1,%esi
call   1060 <free_cvector@plt>
cmpl   $0x0,0x28(%rbp)
jle    15f2 <scan_motif4+0x492>
mov    -0x70(%rbp),%rdi
mov    -0x14(%rbp),%edx
mov    $0x1,%esi
call   1060 <free_cvector@plt>
mov    -0x68(%rbp),%rdi
mov    -0x14(%rbp),%edx
sub    $0x1,%edx
xor    %esi,%esi
call   1060 <free_cvector@plt>
mov    -0x4c(%rbp),%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<scan_motif4>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xe8,%rsp
mov    %r9,0xe0(%rsp)
mov    %r8,0x58(%rsp)
mov    %ecx,0x1c(%rsp)
mov    %rsi,%r14
cmpl   $0x0,0x138(%rsp)
movss  %xmm0,0x18(%rsp)
mov    %rdi,0x50(%rsp)
jle    11c1 <scan_motif4+0x71>
mov    $0x1,%edi
mov    %edx,%esi
mov    %rdx,%rbp
call   1030 <cvector@plt>
mov    %rax,%rbx
lea    -0x1(%rbp),%esi
xor    %edi,%edi
call   1030 <cvector@plt>
mov    %rbp,%rdx
mov    0x50(%rsp),%r10
movss  0x18(%rsp),%xmm0
mov    %rbx,%rdi
mov    %rax,0xc0(%rsp)
jmp    11c4 <scan_motif4+0x74>
mov    %rdi,%r10
mov    0x128(%rsp),%r8d
mov    %edx,%ecx
neg    %ecx
xor    %r9d,%r9d
mov    0x1c(%rsp),%eax
mov    %eax,%r11d
sub    %edx,%r11d
mov    %rdx,0xd8(%rsp)
mov    %rdi,0x48(%rsp)
mov    %ecx,0xd4(%rsp)
jle    16b8 <scan_motif4+0x568>
movabs $0x2100000000,%rsi
movabs $0x100000000,%r12
lea    0x1(%rdx),%r15d
add    $0x1,%r11d
lea    -0x2(%r15),%rax
mov    %rax,0xa8(%rsp)
lea    0x1(%rdi),%rax
mov    %rax,0xa0(%rsp)
lea    (%rdi,%r15,1),%rax
mov    %rax,0x90(%rsp)
lea    -0x1(%r15),%r9
lea    -0x1(%r14,%r15,1),%rax
mov    %rax,0x98(%rsp)
lea    -0x21(%r15),%rax
mov    %rax,0x78(%rsp)
mov    %rax,%rbx
shr    $0x5,%rbx
add    $0x1,%rbx
mov    %r9,%rbp
and    $0xffffffffffffffe0,%rbp
mov    %rbx,%rax
mov    %rbx,0x70(%rsp)
and    $0xfffffffffffffffe,%rbx
mov    %rbx,0x68(%rsp)
mov    %r9,%rax
mov    %r9,(%rsp)
and    $0xfffffffffffffff8,%r9
mov    %r15,%rax
neg    %rax
mov    %rax,0xb0(%rsp)
movsd  0xd6b(%rip),%xmm2
mov    %rbp,0x38(%rsp)
lea    0x1(%rbp),%rax
mov    %rax,0x60(%rsp)
mov    %r9,0x88(%rsp)
lea    0x1(%r9),%rax
mov    %rax,0x80(%rsp)
lea    0x1(%r12),%rbx
xor    %r9d,%r9d
mov    $0x1,%r13d
mov    %r12,%rbp
mov    %ecx,%eax
mov    %r11,0xb8(%rsp)
jmp    1309 <scan_motif4+0x1b9>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %eax,%ecx
add    $0x1,%r13
add    $0x1,%rbp
movabs $0x100000000,%rax
add    %rax,%r12
add    %rax,%rsi
add    $0x1,%rbx
mov    %ecx,%eax
cmp    %r11,%r13
je     16b8 <scan_motif4+0x568>
mov    %r13d,%ecx
mov    %r13d,0x20(%rsp)
sub    %eax,%ecx
cmp    %r8d,%ecx
jle    12e0 <scan_motif4+0x190>
mov    %rbp,0x8(%rsp)
mov    %rbx,0x10(%rsp)
mov    %rsi,0x28(%rsp)
xorps  %xmm1,%xmm1
test   %edx,%edx
jle    1390 <scan_motif4+0x240>
mov    $0x1,%ecx
mov    %r12,%rbp
jmp    1362 <scan_motif4+0x212>
nopl   0x0(%rax,%rax,1)
cvtss2sd %xmm1,%xmm1
addsd  %xmm2,%xmm1
cvtsd2ss %xmm1,%xmm1
add    $0x1,%rcx
movabs $0x100000000,%rsi
add    %rsi,%rbp
cmp    %rcx,%r15
je     1390 <scan_motif4+0x240>
mov    %rbp,%rsi
sar    $0x20,%rsi
movzbl (%r14,%rsi,1),%esi
lea    -0x1(%rsi),%ebx
cmp    $0x3,%bl
ja     1340 <scan_motif4+0x1f0>
mov    (%r10,%rsi,8),%rsi
addss  (%rsi,%rcx,4),%xmm1
jmp    134c <scan_motif4+0x1fc>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
ucomiss %xmm0,%xmm1
jae    13b0 <scan_motif4+0x260>
mov    %eax,%ecx
mov    0x28(%rsp),%rsi
mov    0x10(%rsp),%rbx
mov    0x8(%rsp),%rbp
jmp    12e2 <scan_motif4+0x192>
nopl   0x0(%rax,%rax,1)
movslq %r9d,%rsi
lea    0x1(%rsi),%r9
mov    0x1c(%rsp),%eax
sub    %r13d,%eax
mov    0x58(%rsp),%rcx
mov    %eax,0x4(%rcx,%rsi,4)
mov    0xe0(%rsp),%rax
movb   $0x1,0x1(%rax,%rsi,1)
cmpl   $0x0,0x138(%rsp)
jle    148e <scan_motif4+0x33e>
mov    %rsi,0xc8(%rsp)
movss  %xmm1,0x34(%rsp)
test   %edx,%edx
movabs $0x200000000,%rbp
movabs $0x4000000000,%r10
jle    160e <scan_motif4+0x4be>
movabs $0x100000000,%rax
lea    (%rax,%r13,1),%r8
add    $0xffffffffffffffff,%r8
mov    $0x1,%ecx
cmpq   $0x8,(%rsp)
jb     159a <scan_motif4+0x44a>
mov    0x8(%rsp),%rax
lea    0x1(%rax),%edx
mov    0xa8(%rsp),%rax
lea    (%rdx,%rax,1),%esi
cmp    %edx,%esi
jl     159a <scan_motif4+0x44a>
mov    %rax,%rsi
shr    $0x20,%rsi
jne    159a <scan_motif4+0x44a>
movslq %edx,%rdx
mov    0x98(%rsp),%rax
lea    (%rax,%rdx,1),%rsi
cmp    %rsi,0xa0(%rsp)
jae    1480 <scan_motif4+0x330>
add    %r14,%rdx
cmp    0x90(%rsp),%rdx
jb     159a <scan_motif4+0x44a>
cmpq   $0x20,(%rsp)
jae    1498 <scan_motif4+0x348>
xor    %edx,%edx
jmp    154c <scan_motif4+0x3fc>
mov    0x28(%rsp),%rsi
jmp    16a5 <scan_motif4+0x555>
cmpq   $0x20,0x78(%rsp)
jae    14a4 <scan_motif4+0x354>
xor    %ecx,%ecx
jmp    1508 <scan_motif4+0x3b8>
mov    0x68(%rsp),%rdx
mov    %r12,%rax
mov    0x28(%rsp),%rbx
xor    %ecx,%ecx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %rax,%rsi
sar    $0x20,%rsi
movups (%r14,%rsi,1),%xmm0
movups 0x10(%r14,%rsi,1),%xmm1
movups %xmm0,0x1(%rdi,%rcx,1)
movups %xmm1,0x11(%rdi,%rcx,1)
mov    %rbx,%rsi
sar    $0x20,%rsi
movups (%r14,%rsi,1),%xmm0
movups 0x10(%r14,%rsi,1),%xmm1
movups %xmm0,0x21(%rdi,%rcx,1)
movups %xmm1,0x31(%rdi,%rcx,1)
add    $0x40,%rcx
add    %r10,%rbx
add    %r10,%rax
add    $0xfffffffffffffffe,%rdx
jne    14c0 <scan_motif4+0x370>
testb  $0x1,0x70(%rsp)
je     152d <scan_motif4+0x3dd>
or     $0x1,%rcx
lea    (%rcx,%r8,1),%eax
cltq
movups (%r14,%rax,1),%xmm0
movups 0x10(%r14,%rax,1),%xmm1
movups %xmm0,(%rdi,%rcx,1)
movups %xmm1,0x10(%rdi,%rcx,1)
mov    0x38(%rsp),%rax
cmp    %rax,(%rsp)
je     160e <scan_motif4+0x4be>
mov    0x38(%rsp),%rdx
mov    0x60(%rsp),%rcx
testb  $0x18,(%rsp)
je     159a <scan_motif4+0x44a>
mov    0x10(%rsp),%rax
lea    (%rdx,%rax,1),%ecx
shl    $0x20,%rcx
mov    0x88(%rsp),%rsi
movabs $0x800000000,%rbx
nopw   0x0(%rax,%rax,1)
mov    %rcx,%rax
sar    $0x20,%rax
mov    (%r14,%rax,1),%rax
mov    %rax,0x1(%rdi,%rdx,1)
add    $0x8,%rdx
add    %rbx,%rcx
cmp    %rdx,%rsi
jne    1570 <scan_motif4+0x420>
mov    0x80(%rsp),%rcx
cmp    %rsi,(%rsp)
je     160e <scan_motif4+0x4be>
mov    %rcx,%rdx
test   $0x1,%r15b
jne    15b4 <scan_motif4+0x464>
add    %ecx,%r8d
movslq %r8d,%rax
mov    (%r14,%rax,1),%al
mov    %al,(%rdi,%rcx,1)
lea    0x1(%rcx),%rdx
not    %rcx
cmp    0xb0(%rsp),%rcx
je     160e <scan_motif4+0x4be>
mov    0x8(%rsp),%rax
add    %edx,%eax
shl    $0x20,%rax
mov    0x10(%rsp),%rcx
add    %edx,%ecx
shl    $0x20,%rcx
nopw   0x0(%rax,%rax,1)
mov    %rax,%rsi
sar    $0x20,%rsi
movzbl (%r14,%rsi,1),%ebx
mov    %bl,(%rdi,%rdx,1)
mov    %rcx,%rsi
sar    $0x20,%rsi
movzbl (%r14,%rsi,1),%ebx
mov    %bl,0x1(%rdi,%rdx,1)
add    $0x2,%rdx
add    %rbp,%rax
add    %rbp,%rcx
cmp    %rdx,%r15
jne    15e0 <scan_motif4+0x490>
mov    0xc0(%rsp),%rbx
movb   $0x0,(%rbx)
mov    0xd8(%rsp),%rbp
mov    %ebp,%esi
mov    %rbx,%rdx
mov    $0x1,%ecx
mov    %r9,0x40(%rsp)
call   1050 <num2seq@plt>
mov    0x58(%rsp),%rax
mov    0xc8(%rsp),%rcx
mov    0x4(%rax,%rcx,4),%ecx
mov    0x130(%rsp),%rdi
lea    0x9b3(%rip),%rsi
mov    0x138(%rsp),%edx
movss  0x34(%rsp),%xmm0
mov    %rbx,%r8
mov    $0x1,%r9d
call   1040 <fprintf@plt>
mov    %rbp,%rdx
mov    0x40(%rsp),%r9
mov    0x48(%rsp),%rdi
movss  0x18(%rsp),%xmm0
mov    0x50(%rsp),%r10
mov    0x128(%rsp),%r8d
mov    0xb8(%rsp),%r11
mov    0x28(%rsp),%rsi
movsd  0x95b(%rip),%xmm2
mov    0x10(%rsp),%rbx
mov    0x8(%rsp),%rbp
mov    0x20(%rsp),%ecx
jmp    12e2 <scan_motif4+0x192>
cmpl   $0x1,0x120(%rsp)
01
jne    1bdc <scan_motif4+0xa8c>
mov    %r9,0x40(%rsp)
mov    $0x1,%edi
mov    0x1c(%rsp),%ebp
mov    %ebp,%esi
mov    %rdx,%rbx
call   1030 <cvector@plt>
mov    %rax,%r12
mov    %r14,%rdi
mov    %rax,%rsi
mov    %ebp,%edx
call   1070 <revcomp@plt>
mov    %rbx,%r10
mov    %ebp,%r11d
sub    %r10d,%r11d
jle    1bbb <scan_motif4+0xa6b>
movabs $0x2100000000,%rcx
movabs $0x100000000,%r13
lea    0x1(%r10),%r15d
add    $0x1,%r11d
lea    -0x2(%r15),%rax
mov    %rax,0xa8(%rsp)
mov    0x48(%rsp),%rdi
lea    0x1(%rdi),%rax
mov    %rax,0xa0(%rsp)
lea    (%rdi,%r15,1),%rax
mov    %rax,0x90(%rsp)
lea    -0x1(%r15),%rbp
lea    -0x1(%r12,%r15,1),%rax
mov    %rax,0x98(%rsp)
lea    -0x21(%r15),%rax
mov    %rax,0x78(%rsp)
mov    %rax,%rsi
shr    $0x5,%rsi
add    $0x1,%rsi
mov    %rbp,%rdx
and    $0xffffffffffffffe0,%rdx
mov    %rsi,%rax
mov    %rsi,0x70(%rsp)
and    $0xfffffffffffffffe,%rsi
mov    %rsi,0x68(%rsp)
mov    %rbp,%rax
mov    %rbp,(%rsp)
and    $0xfffffffffffffff8,%rbp
mov    %r15,%rax
neg    %rax
mov    %rax,0xb0(%rsp)
movsd  0x860(%rip),%xmm2
mov    %rdx,0x38(%rsp)
lea    0x1(%rdx),%rax
mov    %rax,0x60(%rsp)
mov    %rbp,0x88(%rsp)
lea    0x1(%rbp),%rax
mov    %rax,0x80(%rsp)
lea    0x1(%r13),%rdx
mov    $0x1,%r14d
mov    %r13,%rsi
movss  0x18(%rsp),%xmm1
mov    0x50(%rsp),%rbx
mov    0x128(%rsp),%r8d
mov    0xd4(%rsp),%ebp
mov    %r11,0xb8(%rsp)
jmp    1834 <scan_motif4+0x6e4>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    0x10(%rsp),%rcx
mov    0x8(%rsp),%rdx
mov    0x20(%rsp),%rsi
add    $0x1,%r14
add    $0x1,%rsi
movabs $0x100000000,%rax
add    %rax,%r13
add    %rax,%rcx
add    $0x1,%rdx
cmp    %r11,%r14
je     1bbb <scan_motif4+0xa6b>
mov    %r14d,%eax
sub    %ebp,%eax
cmp    %r8d,%eax
jle    180f <scan_motif4+0x6bf>
mov    %r14d,%r9d
mov    %r14d,0x28(%rsp)
mov    %rsi,0x20(%rsp)
mov    %rdx,0x8(%rsp)
mov    %rcx,0x10(%rsp)
xorps  %xmm0,%xmm0
test   %r10d,%r10d
jle    18c0 <scan_motif4+0x770>
mov    $0x1,%eax
mov    %r13,%rcx
jmp    1892 <scan_motif4+0x742>
nopw   0x0(%rax,%rax,1)
cvtss2sd %xmm0,%xmm0
addsd  %xmm2,%xmm0
cvtsd2ss %xmm0,%xmm0
add    $0x1,%rax
movabs $0x100000000,%rdx
add    %rdx,%rcx
cmp    %rax,%r15
je     18c0 <scan_motif4+0x770>
mov    %rcx,%rdx
sar    $0x20,%rdx
movzbl (%r12,%rdx,1),%edx
lea    -0x1(%rdx),%esi
cmp    $0x3,%sil
ja     1870 <scan_motif4+0x720>
mov    (%rbx,%rdx,8),%rdx
addss  (%rdx,%rax,4),%xmm0
jmp    187c <scan_motif4+0x72c>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
ucomiss %xmm1,%xmm0
jb     1800 <scan_motif4+0x6b0>
movslq 0x40(%rsp),%rcx
lea    0x1(%rcx),%r9
mov    0x58(%rsp),%rax
mov    0x28(%rsp),%ebp
mov    %ebp,0x4(%rax,%rcx,4)
mov    0xe0(%rsp),%rax
movb   $0x0,0x1(%rax,%rcx,1)
cmpl   $0x0,0x138(%rsp)
mov    %r9,0x40(%rsp)
jle    1800 <scan_motif4+0x6b0>
mov    %rcx,0xc8(%rsp)
movss  %xmm0,0x34(%rsp)
test   %r10d,%r10d
movabs $0x200000000,%rbp
movabs $0x4000000000,%r10
jle    1b1e <scan_motif4+0x9ce>
movabs $0x100000000,%rax
lea    (%rax,%r14,1),%r8
add    $0xffffffffffffffff,%r8
mov    $0x1,%ecx
cmpq   $0x8,(%rsp)
jb     1aaa <scan_motif4+0x95a>
mov    0x20(%rsp),%rax
lea    0x1(%rax),%edx
mov    0xa8(%rsp),%rax
lea    (%rdx,%rax,1),%esi
cmp    %edx,%esi
jl     1aaa <scan_motif4+0x95a>
mov    %rax,%rsi
shr    $0x20,%rsi
jne    1aaa <scan_motif4+0x95a>
movslq %edx,%rdx
mov    0x98(%rsp),%rax
lea    (%rax,%rdx,1),%rsi
cmp    %rsi,0xa0(%rsp)
jae    199e <scan_motif4+0x84e>
add    %r12,%rdx
cmp    0x90(%rsp),%rdx
jb     1aaa <scan_motif4+0x95a>
cmpq   $0x20,(%rsp)
jae    19ac <scan_motif4+0x85c>
xor    %edx,%edx
jmp    1a5c <scan_motif4+0x90c>
cmpq   $0x20,0x78(%rsp)
jae    19b8 <scan_motif4+0x868>
xor    %ecx,%ecx
jmp    1a18 <scan_motif4+0x8c8>
mov    0x68(%rsp),%rdx
mov    %r13,%rax
mov    0x10(%rsp),%rbx
xor    %ecx,%ecx
nopw   0x0(%rax,%rax,1)
mov    %rax,%rsi
sar    $0x20,%rsi
movups (%r12,%rsi,1),%xmm0
movups 0x10(%r12,%rsi,1),%xmm1
movups %xmm0,0x1(%rdi,%rcx,1)
movups %xmm1,0x11(%rdi,%rcx,1)
mov    %rbx,%rsi
sar    $0x20,%rsi
movups (%r12,%rsi,1),%xmm0
movups 0x10(%r12,%rsi,1),%xmm1
movups %xmm0,0x21(%rdi,%rcx,1)
movups %xmm1,0x31(%rdi,%rcx,1)
add    $0x40,%rcx
add    %r10,%rbx
add    %r10,%rax
add    $0xfffffffffffffffe,%rdx
jne    19d0 <scan_motif4+0x880>
testb  $0x1,0x70(%rsp)
je     1a3d <scan_motif4+0x8ed>
or     $0x1,%rcx
lea    (%rcx,%r8,1),%eax
cltq
movups (%r12,%rax,1),%xmm0
movups 0x10(%r12,%rax,1),%xmm1
movups %xmm0,(%rdi,%rcx,1)
movups %xmm1,0x10(%rdi,%rcx,1)
mov    0x38(%rsp),%rax
cmp    %rax,(%rsp)
je     1b1e <scan_motif4+0x9ce>
mov    0x38(%rsp),%rdx
mov    0x60(%rsp),%rcx
testb  $0x18,(%rsp)
je     1aaa <scan_motif4+0x95a>
mov    0x8(%rsp),%rax
lea    (%rdx,%rax,1),%ecx
shl    $0x20,%rcx
mov    0x88(%rsp),%rsi
movabs $0x800000000,%rbx
nopw   0x0(%rax,%rax,1)
mov    %rcx,%rax
sar    $0x20,%rax
mov    (%r12,%rax,1),%rax
mov    %rax,0x1(%rdi,%rdx,1)
add    $0x8,%rdx
add    %rbx,%rcx
cmp    %rdx,%rsi
jne    1a80 <scan_motif4+0x930>
mov    0x80(%rsp),%rcx
cmp    %rsi,(%rsp)
je     1b1e <scan_motif4+0x9ce>
mov    %rcx,%rdx
test   $0x1,%r15b
jne    1ac4 <scan_motif4+0x974>
add    %ecx,%r8d
movslq %r8d,%rax
mov    (%r12,%rax,1),%al
mov    %al,(%rdi,%rcx,1)
lea    0x1(%rcx),%rdx
not    %rcx
cmp    0xb0(%rsp),%rcx
je     1b1e <scan_motif4+0x9ce>
mov    0x20(%rsp),%rax
add    %edx,%eax
shl    $0x20,%rax
mov    0x8(%rsp),%rcx
add    %edx,%ecx
shl    $0x20,%rcx
nopw   0x0(%rax,%rax,1)
mov    %rax,%rsi
sar    $0x20,%rsi
movzbl (%r12,%rsi,1),%ebx
mov    %bl,(%rdi,%rdx,1)
mov    %rcx,%rsi
sar    $0x20,%rsi
movzbl (%r12,%rsi,1),%ebx
mov    %bl,0x1(%rdi,%rdx,1)
add    $0x2,%rdx
add    %rbp,%rax
add    %rbp,%rcx
cmp    %rdx,%r15
jne    1af0 <scan_motif4+0x9a0>
mov    0xc0(%rsp),%rbx
movb   $0x0,(%rbx)
mov    0xd8(%rsp),%rbp
mov    %ebp,%esi
mov    %rbx,%rdx
mov    $0x1,%ecx
call   1050 <num2seq@plt>
mov    0x58(%rsp),%rax
mov    0xc8(%rsp),%rcx
mov    0x4(%rax,%rcx,4),%ecx
mov    0x130(%rsp),%rdi
lea    0x4a8(%rip),%rsi
mov    0x138(%rsp),%edx
movss  0x34(%rsp),%xmm0
mov    %rbx,%r8
xor    %r9d,%r9d
call   1040 <fprintf@plt>
mov    %rbp,%r10
mov    0x48(%rsp),%rdi
movss  0x18(%rsp),%xmm1
mov    0x50(%rsp),%rbx
mov    0x128(%rsp),%r8d
mov    0xb8(%rsp),%r11
mov    0x10(%rsp),%rcx
movsd  0x458(%rip),%xmm2
mov    0x8(%rsp),%rdx
mov    0x20(%rsp),%rsi
mov    0x28(%rsp),%ebp
jmp    180f <scan_motif4+0x6bf>
mov    %r12,%rdi
mov    $0x1,%esi
mov    0x1c(%rsp),%edx
mov    %r10,%rbp
call   1060 <free_cvector@plt>
mov    %rbp,%rdx
mov    0x40(%rsp),%r9
mov    0x48(%rsp),%rdi
cmpl   $0x0,0x138(%rsp)
jle    1c0d <scan_motif4+0xabd>
mov    $0x1,%esi
mov    %r9,%rbx
mov    %rdx,%rbp
call   1060 <free_cvector@plt>
add    $0xffffffff,%ebp
mov    0xc0(%rsp),%rdi
xor    %esi,%esi
mov    %ebp,%edx
call   1060 <free_cvector@plt>
mov    %rbx,%r9
mov    %r9d,%eax
add    $0xe8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [1 x i8] zeroinitializer
@.str.1 = [18 x i8] c"%d\09%d\09%.4f\09%s\09%d\0A\00"
define i32 @scan_motif4(float** %0, i8* %1, i32 %2, i32 %3, float %4, i32* %5, i8* %6, i32 %7, i32 %8, i32* %9, i32 %10) {
%12 = alloca float**
%13 = alloca i8*
%14 = alloca i32
%15 = alloca i32
%16 = alloca float
%17 = alloca i32*
%18 = alloca i8*
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32*
%22 = alloca i32
%23 = alloca i32
%24 = alloca i32
%25 = alloca i32
%26 = alloca i32
%27 = alloca i8
%28 = alloca float
%29 = alloca i32
%30 = alloca float
%31 = alloca i8*
%32 = alloca i32
%33 = alloca i8*
%34 = alloca i8*
%35 = alloca i32
store float** %0, float*** %12
store i8* %1, i8** %13
store i32 %2, i32* %14
store i32 %3, i32* %15
store float %4, float* %16
store i32* %5, i32** %17
store i8* %6, i8** %18
store i32 %7, i32* %19
store i32 %8, i32* %20
store i32* %9, i32** %21
store i32 %10, i32* %22
%36 = load i32, i32* %15
%37 = load i32, i32* %14
%38 = sub nsw i32 %36, %37
store i32 %38, i32* %26
store i32 0, i32* %29
%39 = load i32, i32* %22
%40 = icmp sgt i32 %39, 0
br i1 %40, label %41, label %47
41: ; preds = %11
%42 = load i32, i32* %14
%43 = call i8* @cvector(i32 1, i32 %42)
store i8* %43, i8** %34
%44 = load i32, i32* %14
%45 = sub nsw i32 %44, 1
%46 = call i8* @cvector(i32 0, i32 %45)
store i8* %46, i8** %33
br label %47
47: ; preds = %41, %11
%48 = load i32, i32* %14
%49 = sub nsw i32 0, %48
store i32 %49, i32* %35
store i32 1, i32* %32
store i32 1, i32* %23
br label %50
50: ; preds = %171, %47
%51 = load i32, i32* %23
%52 = load i32, i32* %26
%53 = icmp sle i32 %51, %52
br i1 %53, label %54, label %174
54: ; preds = %50
%55 = load i32, i32* %23
%56 = load i32, i32* %35
%57 = sub nsw i32 %55, %56
%58 = load i32, i32* %20
%59 = icmp sgt i32 %57, %58
br i1 %59, label %60, label %170
60: ; preds = %54
store float 0.000000e+00, float* %30
store i32 1, i32* %24
br label %61
61: ; preds = %103, %60
%62 = load i32, i32* %24
%63 = load i32, i32* %14
%64 = icmp sle i32 %62, %63
br i1 %64, label %65, label %106
65: ; preds = %61
%66 = load i8*, i8** %13
%67 = load i32, i32* %23
%68 = load i32, i32* %24
%69 = add nsw i32 %67, %68
%70 = sub nsw i32 %69, 1
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, i8* %66, i64 %71
%73 = load i8, i8* %72
store i8 %73, i8* %27
%74 = load i8, i8* %27
%75 = sext i8 %74 to i32
%76 = icmp sgt i32 %75, 0
%77 = zext i1 %76 to i32
%78 = load i8, i8* %27
%79 = sext i8 %78 to i32
%80 = icmp slt i32 %79, 5
%81 = zext i1 %80 to i32
%82 = and i32 %77, %81
%83 = icmp ne i32 %82, 0
br i1 %83, label %84, label %97
84: ; preds = %65
%85 = load float**, float*** %12
%86 = load i8, i8* %27
%87 = sext i8 %86 to i64
%88 = getelementptr inbounds float*, float** %85, i64 %87
%89 = load float*, float** %88
%90 = load i32, i32* %24
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds float, float* %89, i64 %91
%93 = load float, float* %92
store float %93, float* %28
%94 = load float, float* %28
%95 = load float, float* %30
%96 = fadd float %95, %94
store float %96, float* %30
br label %102
97: ; preds = %65
%98 = load float, float* %30
%99 = fpext float %98 to double
%100 = fadd double %99, -7.600000e+00
%101 = fptrunc double %100 to float
store float %101, float* %30
br label %102
102: ; preds = %97, %84
br label %103
103: ; preds = %102
%104 = load i32, i32* %24
%105 = add nsw i32 %104, 1
store i32 %105, i32* %24
br label %61
106: ; preds = %61
%107 = load float, float* %30
%108 = load float, float* %16
%109 = fcmp oge float %107, %108
br i1 %109, label %110, label %169
110: ; preds = %106
%111 = load i32, i32* %23
store i32 %111, i32* %35
%112 = load i32, i32* %29
%113 = add nsw i32 %112, 1
store i32 %113, i32* %29
%114 = load i32, i32* %15
%115 = load i32, i32* %23
%116 = sub nsw i32 %114, %115
%117 = load i32*, i32** %17
%118 = load i32, i32* %29
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i32, i32* %117, i64 %119
store i32 %116, i32* %120
%121 = load i32, i32* %32
%122 = trunc i32 %121 to i8
%123 = load i8*, i8** %18
%124 = load i32, i32* %29
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i8, i8* %123, i64 %125
store i8 %122, i8* %126
%127 = load i32, i32* %22
%128 = icmp sgt i32 %127, 0
br i1 %128, label %129, label %168
129: ; preds = %110
store i32 1, i32* %24
br label %130
130: ; preds = %147, %129
%131 = load i32, i32* %24
%132 = load i32, i32* %14
%133 = icmp sle i32 %131, %132
br i1 %133, label %134, label %150
134: ; preds = %130
%135 = load i8*, i8** %13
%136 = load i32, i32* %23
%137 = load i32, i32* %24
%138 = add nsw i32 %136, %137
%139 = sub nsw i32 %138, 1
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds i8, i8* %135, i64 %140
%142 = load i8, i8* %141
%143 = load i8*, i8** %34
%144 = load i32, i32* %24
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds i8, i8* %143, i64 %145
store i8 %142, i8* %146
br label %147
147: ; preds = %134
%148 = load i32, i32* %24
%149 = add nsw i32 %148, 1
store i32 %149, i32* %24
br label %130
150: ; preds = %130
%151 = load i8*, i8** %33
%152 = call i32 @sprintf(i8* %151, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%153 = load i8*, i8** %34
%154 = load i32, i32* %14
%155 = load i8*, i8** %33
%156 = call i32 @num2seq(i8* %153, i32 %154, i8* %155, i32 1)
%157 = load i32*, i32** %21
%158 = load i32, i32* %22
%159 = load i32*, i32** %17
%160 = load i32, i32* %29
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds i32, i32* %159, i64 %161
%163 = load i32, i32* %162
%164 = load float, float* %30
%165 = load i8*, i8** %33
%166 = load i32, i32* %32
%167 = call i32 @fprintf(i32* %157, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0), i32 %158, i32 %163, float %164, i8* %165, i32 %166)
br label %168
168: ; preds = %150, %110
br label %169
169: ; preds = %168, %106
br label %170
170: ; preds = %169, %54
br label %171
171: ; preds = %170
%172 = load i32, i32* %23
%173 = add nsw i32 %172, 1
store i32 %173, i32* %23
br label %50
174: ; preds = %50
store i32 0, i32* %32
%175 = load i32, i32* %14
%176 = sub nsw i32 0, %175
store i32 %176, i32* %35
%177 = load i32, i32* %19
%178 = icmp eq i32 %177, 1
br i1 %178, label %179, label %310
179: ; preds = %174
%180 = load i32, i32* %15
%181 = call i8* @cvector(i32 1, i32 %180)
store i8* %181, i8** %31
%182 = load i8*, i8** %13
%183 = load i8*, i8** %31
%184 = load i32, i32* %15
%185 = call i32 @revcomp(i8* %182, i8* %183, i32 %184)
store i32 1, i32* %23
br label %186
186: ; preds = %303, %179
%187 = load i32, i32* %23
%188 = load i32, i32* %26
%189 = icmp sle i32 %187, %188
br i1 %189, label %190, label %306
190: ; preds = %186
%191 = load i32, i32* %23
%192 = load i32, i32* %35
%193 = sub nsw i32 %191, %192
%194 = load i32, i32* %20
%195 = icmp sgt i32 %193, %194
br i1 %195, label %196, label %302
196: ; preds = %190
store float 0.000000e+00, float* %30
store i32 1, i32* %24
br label %197
197: ; preds = %239, %196
%198 = load i32, i32* %24
%199 = load i32, i32* %14
%200 = icmp sle i32 %198, %199
br i1 %200, label %201, label %242
201: ; preds = %197
%202 = load i8*, i8** %31
%203 = load i32, i32* %23
%204 = load i32, i32* %24
%205 = add nsw i32 %203, %204
%206 = sub nsw i32 %205, 1
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds i8, i8* %202, i64 %207
%209 = load i8, i8* %208
store i8 %209, i8* %27
%210 = load i8, i8* %27
%211 = sext i8 %210 to i32
%212 = icmp sgt i32 %211, 0
%213 = zext i1 %212 to i32
%214 = load i8, i8* %27
%215 = sext i8 %214 to i32
%216 = icmp slt i32 %215, 5
%217 = zext i1 %216 to i32
%218 = and i32 %213, %217
%219 = icmp ne i32 %218, 0
br i1 %219, label %220, label %233
220: ; preds = %201
%221 = load float**, float*** %12
%222 = load i8, i8* %27
%223 = sext i8 %222 to i64
%224 = getelementptr inbounds float*, float** %221, i64 %223
%225 = load float*, float** %224
%226 = load i32, i32* %24
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds float, float* %225, i64 %227
%229 = load float, float* %228
store float %229, float* %28
%230 = load float, float* %28
%231 = load float, float* %30
%232 = fadd float %231, %230
store float %232, float* %30
br label %238
233: ; preds = %201
%234 = load float, float* %30
%235 = fpext float %234 to double
%236 = fadd double %235, -7.600000e+00
%237 = fptrunc double %236 to float
store float %237, float* %30
br label %238
238: ; preds = %233, %220
br label %239
239: ; preds = %238
%240 = load i32, i32* %24
%241 = add nsw i32 %240, 1
store i32 %241, i32* %24
br label %197
242: ; preds = %197
%243 = load float, float* %30
%244 = load float, float* %16
%245 = fcmp oge float %243, %244
br i1 %245, label %246, label %301
246: ; preds = %242
%247 = load i32, i32* %23
store i32 %247, i32* %35
%248 = load i32, i32* %29
%249 = add nsw i32 %248, 1
store i32 %249, i32* %29
%250 = load i32, i32* %23
%251 = load i32*, i32** %17
%252 = load i32, i32* %29
%253 = sext i32 %252 to i64
%254 = getelementptr inbounds i32, i32* %251, i64 %253
store i32 %250, i32* %254
%255 = load i8*, i8** %18
%256 = load i32, i32* %29
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds i8, i8* %255, i64 %257
store i8 0, i8* %258
%259 = load i32, i32* %22
%260 = icmp sgt i32 %259, 0
br i1 %260, label %261, label %300
261: ; preds = %246
store i32 1, i32* %24
br label %262
262: ; preds = %279, %261
%263 = load i32, i32* %24
%264 = load i32, i32* %14
%265 = icmp sle i32 %263, %264
br i1 %265, label %266, label %282
266: ; preds = %262
%267 = load i8*, i8** %31
%268 = load i32, i32* %23
%269 = load i32, i32* %24
%270 = add nsw i32 %268, %269
%271 = sub nsw i32 %270, 1
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds i8, i8* %267, i64 %272
%274 = load i8, i8* %273
%275 = load i8*, i8** %34
%276 = load i32, i32* %24
%277 = sext i32 %276 to i64
%278 = getelementptr inbounds i8, i8* %275, i64 %277
store i8 %274, i8* %278
br label %279
279: ; preds = %266
%280 = load i32, i32* %24
%281 = add nsw i32 %280, 1
store i32 %281, i32* %24
br label %262
282: ; preds = %262
%283 = load i8*, i8** %33
%284 = call i32 @sprintf(i8* %283, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%285 = load i8*, i8** %34
%286 = load i32, i32* %14
%287 = load i8*, i8** %33
%288 = call i32 @num2seq(i8* %285, i32 %286, i8* %287, i32 1)
%289 = load i32*, i32** %21
%290 = load i32, i32* %22
%291 = load i32*, i32** %17
%292 = load i32, i32* %29
%293 = sext i32 %292 to i64
%294 = getelementptr inbounds i32, i32* %291, i64 %293
%295 = load i32, i32* %294
%296 = load float, float* %30
%297 = load i8*, i8** %33
%298 = load i32, i32* %32
%299 = call i32 @fprintf(i32* %289, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0), i32 %290, i32 %295, float %296, i8* %297, i32 %298)
br label %300
300: ; preds = %282, %246
br label %301
301: ; preds = %300, %242
br label %302
302: ; preds = %301, %190
br label %303
303: ; preds = %302
%304 = load i32, i32* %23
%305 = add nsw i32 %304, 1
store i32 %305, i32* %23
br label %186
306: ; preds = %186
%307 = load i8*, i8** %31
%308 = load i32, i32* %15
%309 = call i32 @free_cvector(i8* %307, i32 1, i32 %308)
br label %310
310: ; preds = %306, %174
%311 = load i32, i32* %22
%312 = icmp sgt i32 %311, 0
br i1 %312, label %313, label %321
313: ; preds = %310
%314 = load i8*, i8** %34
%315 = load i32, i32* %14
%316 = call i32 @free_cvector(i8* %314, i32 1, i32 %315)
%317 = load i8*, i8** %33
%318 = load i32, i32* %14
%319 = sub nsw i32 %318, 1
%320 = call i32 @free_cvector(i8* %317, i32 0, i32 %319)
br label %321
321: ; preds = %313, %310
%322 = load i32, i32* %29
ret i32 %322
}

LLVM IR (-O2):
@.str.1 = [18 x i8] c"%d\09%d\09%.4f\09%s\09%d\0A\00"
define i32 @scan_motif4(float** nocapture %0, i8* %1, i32 %2, i32 %3, float %4, i32* nocapture %5, i8* nocapture writeonly %6, i32 %7, i32 %8, i32* nocapture %9, i32 %10) {
%12 = icmp sgt i32 %10, 0
br i1 %12, label %13, label %17
13: ; preds = %11
%14 = tail call i8* @cvector(i32 1, i32 %2)
%15 = add nsw i32 %2, -1
%16 = tail call i8* @cvector(i32 0, i32 %15)
br label %17
17: ; preds = %13, %11
%18 = phi i8* [ %16, %13 ], [ undef, %11 ]
%19 = phi i8* [ %14, %13 ], [ undef, %11 ]
%20 = sub nsw i32 0, %2
%21 = icmp sgt i32 %3, %2
br i1 %21, label %22, label %233
22: ; preds = %17
%23 = icmp slt i32 %2, 1
%24 = add nsw i32 %2, 1
%25 = add i32 %3, 1
%26 = sub i32 %25, %2
%27 = zext i32 %26 to i64
%28 = zext i32 %24 to i64
%29 = zext i32 %24 to i64
%30 = add nsw i64 %28, -2
%31 = getelementptr i8, i8* %19, i64 1
%32 = getelementptr i8, i8* %19, i64 %28
%33 = add nsw i64 %28, -1
%34 = getelementptr i8, i8* %1, i64 %33
%35 = add nsw i64 %28, -1
%36 = add nsw i64 %28, -1
%37 = add nsw i64 %28, -33
%38 = lshr i64 %37, 5
%39 = add nuw nsw i64 %38, 1
%40 = icmp ult i64 %35, 8
%41 = trunc i64 %30 to i32
%42 = icmp ugt i64 %30, 4294967295
%43 = icmp ult i64 %35, 32
%44 = and i64 %35, -32
%45 = and i64 %39, 1
%46 = icmp ult i64 %37, 32
%47 = and i64 %39, 1152921504606846974
%48 = icmp eq i64 %45, 0
%49 = icmp eq i64 %35, %44
%50 = or i64 %44, 1
%51 = and i64 %35, 24
%52 = icmp eq i64 %51, 0
%53 = and i64 %36, -8
%54 = or i64 %53, 1
%55 = icmp eq i64 %36, %53
%56 = and i64 %28, 1
%57 = icmp eq i64 %56, 0
%58 = sub nsw i64 0, %28
br label %59
59: ; preds = %22, %227
%60 = phi i32 [ 0, %22 ], [ %232, %227 ]
%61 = phi i64 [ 1, %22 ], [ %230, %227 ]
%62 = phi i32 [ %20, %22 ], [ %229, %227 ]
%63 = phi i32 [ 0, %22 ], [ %228, %227 ]
%64 = add i32 %60, 1
%65 = sext i32 %64 to i64
%66 = getelementptr i8, i8* %1, i64 %65
%67 = getelementptr i8, i8* %34, i64 %65
%68 = add i32 %60, 1
%69 = trunc i64 %61 to i32
%70 = sub nsw i32 %69, %62
%71 = icmp sgt i32 %70, %8
br i1 %71, label %72, label %227
72: ; preds = %59
br i1 %23, label %100, label %73
73: ; preds = %72
%74 = add nuw i64 %61, 4294967295
br label %75
75: ; preds = %73, %96
%76 = phi i64 [ 1, %73 ], [ %98, %96 ]
%77 = phi float [ 0.000000e+00, %73 ], [ %97, %96 ]
%78 = add i64 %74, %76
%79 = shl i64 %78, 32
%80 = ashr exact i64 %79, 32
%81 = getelementptr inbounds i8, i8* %1, i64 %80
%82 = load i8, i8* %81
%83 = add i8 %82, -1
%84 = icmp ult i8 %83, 4
br i1 %84, label %85, label %92
85: ; preds = %75
%86 = zext i8 %82 to i64
%87 = getelementptr inbounds float*, float** %0, i64 %86
%88 = load float*, float** %87
%89 = getelementptr inbounds float, float* %88, i64 %76
%90 = load float, float* %89
%91 = fadd float %77, %90
br label %96
92: ; preds = %75
%93 = fpext float %77 to double
%94 = fadd double %93, -7.600000e+00
%95 = fptrunc double %94 to float
br label %96
96: ; preds = %85, %92
%97 = phi float [ %91, %85 ], [ %95, %92 ]
%98 = add nuw nsw i64 %76, 1
%99 = icmp eq i64 %98, %28
br i1 %99, label %100, label %75
100: ; preds = %96, %72
%101 = phi float [ 0.000000e+00, %72 ], [ %97, %96 ]
%102 = fcmp ult float %101, %4
br i1 %102, label %227, label %103
103: ; preds = %100
%104 = add nsw i32 %63, 1
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i32, i32* %5, i64 %105
%107 = trunc i64 %61 to i32
%108 = sub i32 %3, %107
store i32 %108, i32* %106
%109 = getelementptr inbounds i8, i8* %6, i64 %105
store i8 1, i8* %109
br i1 %12, label %110, label %227
110: ; preds = %103
br i1 %23, label %223, label %111
111: ; preds = %110
%112 = add nuw i64 %61, 4294967295
br i1 %40, label %192, label %113
113: ; preds = %111
%114 = add i32 %68, %41
%115 = icmp slt i32 %114, %68
%116 = or i1 %115, %42
br i1 %116, label %192, label %117
117: ; preds = %113
%118 = icmp ult i8* %31, %67
%119 = icmp ult i8* %66, %32
%120 = and i1 %118, %119
br i1 %120, label %192, label %121
121: ; preds = %117
br i1 %43, label %176, label %122
122: ; preds = %121
br i1 %46, label %157, label %123
123: ; preds = %122, %123
%124 = phi i64 [ %154, %123 ], [ 0, %122 ]
%125 = phi i64 [ %155, %123 ], [ 0, %122 ]
%126 = or i64 %124, 1
%127 = add i64 %112, %126
%128 = shl i64 %127, 32
%129 = ashr exact i64 %128, 32
%130 = getelementptr inbounds i8, i8* %1, i64 %129
%131 = bitcast i8* %130 to <16 x i8>*
%132 = load <16 x i8>, <16 x i8>* %131
%133 = getelementptr inbounds i8, i8* %130, i64 16
%134 = bitcast i8* %133 to <16 x i8>*
%135 = load <16 x i8>, <16 x i8>* %134
%136 = getelementptr inbounds i8, i8* %19, i64 %126
%137 = bitcast i8* %136 to <16 x i8>*
store <16 x i8> %132, <16 x i8>* %137
%138 = getelementptr inbounds i8, i8* %136, i64 16
%139 = bitcast i8* %138 to <16 x i8>*
store <16 x i8> %135, <16 x i8>* %139
%140 = or i64 %124, 33
%141 = add i64 %112, %140
%142 = shl i64 %141, 32
%143 = ashr exact i64 %142, 32
%144 = getelementptr inbounds i8, i8* %1, i64 %143
%145 = bitcast i8* %144 to <16 x i8>*
%146 = load <16 x i8>, <16 x i8>* %145
%147 = getelementptr inbounds i8, i8* %144, i64 16
%148 = bitcast i8* %147 to <16 x i8>*
%149 = load <16 x i8>, <16 x i8>* %148
%150 = getelementptr inbounds i8, i8* %19, i64 %140
%151 = bitcast i8* %150 to <16 x i8>*
store <16 x i8> %146, <16 x i8>* %151
%152 = getelementptr inbounds i8, i8* %150, i64 16
%153 = bitcast i8* %152 to <16 x i8>*
store <16 x i8> %149, <16 x i8>* %153
%154 = add nuw i64 %124, 64
%155 = add i64 %125, 2
%156 = icmp eq i64 %155, %47
br i1 %156, label %157, label %123
157: ; preds = %123, %122
%158 = phi i64 [ 0, %122 ], [ %154, %123 ]
br i1 %48, label %174, label %159
159: ; preds = %157
%160 = or i64 %158, 1
%161 = add i64 %112, %160
%162 = shl i64 %161, 32
%163 = ashr exact i64 %162, 32
%164 = getelementptr inbounds i8, i8* %1, i64 %163
%165 = bitcast i8* %164 to <16 x i8>*
%166 = load <16 x i8>, <16 x i8>* %165
%167 = getelementptr inbounds i8, i8* %164, i64 16
%168 = bitcast i8* %167 to <16 x i8>*
%169 = load <16 x i8>, <16 x i8>* %168
%170 = getelementptr inbounds i8, i8* %19, i64 %160
%171 = bitcast i8* %170 to <16 x i8>*
store <16 x i8> %166, <16 x i8>* %171
%172 = getelementptr inbounds i8, i8* %170, i64 16
%173 = bitcast i8* %172 to <16 x i8>*
store <16 x i8> %169, <16 x i8>* %173
br label %174
174: ; preds = %157, %159
br i1 %49, label %223, label %175
175: ; preds = %174
br i1 %52, label %192, label %176
176: ; preds = %121, %175
%177 = phi i64 [ %44, %175 ], [ 0, %121 ]
br label %178
178: ; preds = %178, %176
%179 = phi i64 [ %177, %176 ], [ %189, %178 ]
%180 = or i64 %179, 1
%181 = add i64 %112, %180
%182 = shl i64 %181, 32
%183 = ashr exact i64 %182, 32
%184 = getelementptr inbounds i8, i8* %1, i64 %183
%185 = bitcast i8* %184 to <8 x i8>*
%186 = load <8 x i8>, <8 x i8>* %185
%187 = getelementptr inbounds i8, i8* %19, i64 %180
%188 = bitcast i8* %187 to <8 x i8>*
store <8 x i8> %186, <8 x i8>* %188
%189 = add nuw i64 %179, 8
%190 = icmp eq i64 %189, %53
br i1 %190, label %191, label %178
191: ; preds = %178
br i1 %55, label %223, label %192
192: ; preds = %117, %113, %111, %175, %191
%193 = phi i64 [ 1, %111 ], [ 1, %117 ], [ 1, %113 ], [ %50, %175 ], [ %54, %191 ]
%194 = xor i64 %193, -1
br i1 %57, label %195, label %203
195: ; preds = %192
%196 = add i64 %112, %193
%197 = shl i64 %196, 32
%198 = ashr exact i64 %197, 32
%199 = getelementptr inbounds i8, i8* %1, i64 %198
%200 = load i8, i8* %199
%201 = getelementptr inbounds i8, i8* %19, i64 %193
store i8 %200, i8* %201
%202 = add nuw nsw i64 %193, 1
br label %203
203: ; preds = %195, %192
%204 = phi i64 [ %193, %192 ], [ %202, %195 ]
%205 = icmp eq i64 %194, %58
br i1 %205, label %223, label %206
206: ; preds = %203, %206
%207 = phi i64 [ %221, %206 ], [ %204, %203 ]
%208 = add i64 %112, %207
%209 = shl i64 %208, 32
%210 = ashr exact i64 %209, 32
%211 = getelementptr inbounds i8, i8* %1, i64 %210
%212 = load i8, i8* %211
%213 = getelementptr inbounds i8, i8* %19, i64 %207
store i8 %212, i8* %213
%214 = add nuw nsw i64 %207, 1
%215 = add i64 %112, %214
%216 = shl i64 %215, 32
%217 = ashr exact i64 %216, 32
%218 = getelementptr inbounds i8, i8* %1, i64 %217
%219 = load i8, i8* %218
%220 = getelementptr inbounds i8, i8* %19, i64 %214
store i8 %219, i8* %220
%221 = add nuw nsw i64 %207, 2
%222 = icmp eq i64 %221, %29
br i1 %222, label %223, label %206
223: ; preds = %203, %206, %174, %191, %110
store i8 0, i8* %18
%224 = tail call i32 @num2seq(i8* %19, i32 %2, i8* %18, i32 1)
%225 = load i32, i32* %106
%226 = tail call i32 @fprintf(i32* %9, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0), i32 %10, i32 %225, float %101, i8* %18, i32 1)
br label %227
227: ; preds = %59, %103, %223, %100
%228 = phi i32 [ %104, %223 ], [ %104, %103 ], [ %63, %100 ], [ %63, %59 ]
%229 = phi i32 [ %69, %223 ], [ %69, %103 ], [ %62, %100 ], [ %62, %59 ]
%230 = add nuw nsw i64 %61, 1
%231 = icmp eq i64 %230, %27
%232 = add i32 %60, 1
br i1 %231, label %233, label %59
233: ; preds = %227, %17
%234 = phi i32 [ 0, %17 ], [ %228, %227 ]
%235 = icmp eq i32 %7, 1
br i1 %235, label %236, label %451
236: ; preds = %233
%237 = tail call i8* @cvector(i32 1, i32 %3)
%238 = tail call i32 @revcomp(i8* %1, i8* %237, i32 %3)
br i1 %21, label %239, label %448
239: ; preds = %236
%240 = icmp slt i32 %2, 1
%241 = add nsw i32 %2, 1
%242 = add i32 %3, 1
%243 = sub i32 %242, %2
%244 = zext i32 %243 to i64
%245 = zext i32 %241 to i64
%246 = zext i32 %241 to i64
%247 = add nsw i64 %245, -2
%248 = getelementptr i8, i8* %19, i64 1
%249 = getelementptr i8, i8* %19, i64 %245
%250 = add nsw i64 %245, -1
%251 = getelementptr i8, i8* %237, i64 %250
%252 = add nsw i64 %245, -1
%253 = add nsw i64 %245, -1
%254 = add nsw i64 %245, -33
%255 = lshr i64 %254, 5
%256 = add nuw nsw i64 %255, 1
%257 = icmp ult i64 %252, 8
%258 = trunc i64 %247 to i32
%259 = icmp ugt i64 %247, 4294967295
%260 = icmp ult i64 %252, 32
%261 = and i64 %252, -32
%262 = and i64 %256, 1
%263 = icmp ult i64 %254, 32
%264 = and i64 %256, 1152921504606846974
%265 = icmp eq i64 %262, 0
%266 = icmp eq i64 %252, %261
%267 = or i64 %261, 1
%268 = and i64 %252, 24
%269 = icmp eq i64 %268, 0
%270 = and i64 %253, -8
%271 = or i64 %270, 1
%272 = icmp eq i64 %253, %270
%273 = and i64 %245, 1
%274 = icmp eq i64 %273, 0
%275 = sub nsw i64 0, %245
br label %276
276: ; preds = %239, %442
%277 = phi i32 [ 0, %239 ], [ %447, %442 ]
%278 = phi i64 [ 1, %239 ], [ %445, %442 ]
%279 = phi i32 [ %20, %239 ], [ %444, %442 ]
%280 = phi i32 [ %234, %239 ], [ %443, %442 ]
%281 = add i32 %277, 1
%282 = sext i32 %281 to i64
%283 = getelementptr i8, i8* %237, i64 %282
%284 = getelementptr i8, i8* %251, i64 %282
%285 = add i32 %277, 1
%286 = trunc i64 %278 to i32
%287 = sub nsw i32 %286, %279
%288 = icmp sgt i32 %287, %8
br i1 %288, label %289, label %442
289: ; preds = %276
br i1 %240, label %317, label %290
290: ; preds = %289
%291 = add nuw i64 %278, 4294967295
br label %292
292: ; preds = %290, %313
%293 = phi i64 [ 1, %290 ], [ %315, %313 ]
%294 = phi float [ 0.000000e+00, %290 ], [ %314, %313 ]
%295 = add i64 %291, %293
%296 = shl i64 %295, 32
%297 = ashr exact i64 %296, 32
%298 = getelementptr inbounds i8, i8* %237, i64 %297
%299 = load i8, i8* %298
%300 = add i8 %299, -1
%301 = icmp ult i8 %300, 4
br i1 %301, label %302, label %309
302: ; preds = %292
%303 = zext i8 %299 to i64
%304 = getelementptr inbounds float*, float** %0, i64 %303
%305 = load float*, float** %304
%306 = getelementptr inbounds float, float* %305, i64 %293
%307 = load float, float* %306
%308 = fadd float %294, %307
br label %313
309: ; preds = %292
%310 = fpext float %294 to double
%311 = fadd double %310, -7.600000e+00
%312 = fptrunc double %311 to float
br label %313
313: ; preds = %302, %309
%314 = phi float [ %308, %302 ], [ %312, %309 ]
%315 = add nuw nsw i64 %293, 1
%316 = icmp eq i64 %315, %245
br i1 %316, label %317, label %292
317: ; preds = %313, %289
%318 = phi float [ 0.000000e+00, %289 ], [ %314, %313 ]
%319 = fcmp ult float %318, %4
br i1 %319, label %442, label %320
320: ; preds = %317
%321 = add nsw i32 %280, 1
%322 = sext i32 %321 to i64
%323 = getelementptr inbounds i32, i32* %5, i64 %322
store i32 %286, i32* %323
%324 = getelementptr inbounds i8, i8* %6, i64 %322
store i8 0, i8* %324
br i1 %12, label %325, label %442
325: ; preds = %320
br i1 %240, label %438, label %326
326: ; preds = %325
%327 = add nuw i64 %278, 4294967295
br i1 %257, label %407, label %328
328: ; preds = %326
%329 = add i32 %285, %258
%330 = icmp slt i32 %329, %285
%331 = or i1 %330, %259
br i1 %331, label %407, label %332
332: ; preds = %328
%333 = icmp ult i8* %248, %284
%334 = icmp ult i8* %283, %249
%335 = and i1 %333, %334
br i1 %335, label %407, label %336
336: ; preds = %332
br i1 %260, label %391, label %337
337: ; preds = %336
br i1 %263, label %372, label %338
338: ; preds = %337, %338
%339 = phi i64 [ %369, %338 ], [ 0, %337 ]
%340 = phi i64 [ %370, %338 ], [ 0, %337 ]
%341 = or i64 %339, 1
%342 = add i64 %327, %341
%343 = shl i64 %342, 32
%344 = ashr exact i64 %343, 32
%345 = getelementptr inbounds i8, i8* %237, i64 %344
%346 = bitcast i8* %345 to <16 x i8>*
%347 = load <16 x i8>, <16 x i8>* %346
%348 = getelementptr inbounds i8, i8* %345, i64 16
%349 = bitcast i8* %348 to <16 x i8>*
%350 = load <16 x i8>, <16 x i8>* %349
%351 = getelementptr inbounds i8, i8* %19, i64 %341
%352 = bitcast i8* %351 to <16 x i8>*
store <16 x i8> %347, <16 x i8>* %352
%353 = getelementptr inbounds i8, i8* %351, i64 16
%354 = bitcast i8* %353 to <16 x i8>*
store <16 x i8> %350, <16 x i8>* %354
%355 = or i64 %339, 33
%356 = add i64 %327, %355
%357 = shl i64 %356, 32
%358 = ashr exact i64 %357, 32
%359 = getelementptr inbounds i8, i8* %237, i64 %358
%360 = bitcast i8* %359 to <16 x i8>*
%361 = load <16 x i8>, <16 x i8>* %360
%362 = getelementptr inbounds i8, i8* %359, i64 16
%363 = bitcast i8* %362 to <16 x i8>*
%364 = load <16 x i8>, <16 x i8>* %363
%365 = getelementptr inbounds i8, i8* %19, i64 %355
%366 = bitcast i8* %365 to <16 x i8>*
store <16 x i8> %361, <16 x i8>* %366
%367 = getelementptr inbounds i8, i8* %365, i64 16
%368 = bitcast i8* %367 to <16 x i8>*
store <16 x i8> %364, <16 x i8>* %368
%369 = add nuw i64 %339, 64
%370 = add i64 %340, 2
%371 = icmp eq i64 %370, %264
br i1 %371, label %372, label %338
372: ; preds = %338, %337
%373 = phi i64 [ 0, %337 ], [ %369, %338 ]
br i1 %265, label %389, label %374
374: ; preds = %372
%375 = or i64 %373, 1
%376 = add i64 %327, %375
%377 = shl i64 %376, 32
%378 = ashr exact i64 %377, 32
%379 = getelementptr inbounds i8, i8* %237, i64 %378
%380 = bitcast i8* %379 to <16 x i8>*
%381 = load <16 x i8>, <16 x i8>* %380
%382 = getelementptr inbounds i8, i8* %379, i64 16
%383 = bitcast i8* %382 to <16 x i8>*
%384 = load <16 x i8>, <16 x i8>* %383
%385 = getelementptr inbounds i8, i8* %19, i64 %375
%386 = bitcast i8* %385 to <16 x i8>*
store <16 x i8> %381, <16 x i8>* %386
%387 = getelementptr inbounds i8, i8* %385, i64 16
%388 = bitcast i8* %387 to <16 x i8>*
store <16 x i8> %384, <16 x i8>* %388
br label %389
389: ; preds = %372, %374
br i1 %266, label %438, label %390
390: ; preds = %389
br i1 %269, label %407, label %391
391: ; preds = %336, %390
%392 = phi i64 [ %261, %390 ], [ 0, %336 ]
br label %393
393: ; preds = %393, %391
%394 = phi i64 [ %392, %391 ], [ %404, %393 ]
%395 = or i64 %394, 1
%396 = add i64 %327, %395
%397 = shl i64 %396, 32
%398 = ashr exact i64 %397, 32
%399 = getelementptr inbounds i8, i8* %237, i64 %398
%400 = bitcast i8* %399 to <8 x i8>*
%401 = load <8 x i8>, <8 x i8>* %400
%402 = getelementptr inbounds i8, i8* %19, i64 %395
%403 = bitcast i8* %402 to <8 x i8>*
store <8 x i8> %401, <8 x i8>* %403
%404 = add nuw i64 %394, 8
%405 = icmp eq i64 %404, %270
br i1 %405, label %406, label %393
406: ; preds = %393
br i1 %272, label %438, label %407
407: ; preds = %332, %328, %326, %390, %406
%408 = phi i64 [ 1, %326 ], [ 1, %332 ], [ 1, %328 ], [ %267, %390 ], [ %271, %406 ]
%409 = xor i64 %408, -1
br i1 %274, label %410, label %418
410: ; preds = %407
%411 = add i64 %327, %408
%412 = shl i64 %411, 32
%413 = ashr exact i64 %412, 32
%414 = getelementptr inbounds i8, i8* %237, i64 %413
%415 = load i8, i8* %414
%416 = getelementptr inbounds i8, i8* %19, i64 %408
store i8 %415, i8* %416
%417 = add nuw nsw i64 %408, 1
br label %418
418: ; preds = %410, %407
%419 = phi i64 [ %408, %407 ], [ %417, %410 ]
%420 = icmp eq i64 %409, %275
br i1 %420, label %438, label %421
421: ; preds = %418, %421
%422 = phi i64 [ %436, %421 ], [ %419, %418 ]
%423 = add i64 %327, %422
%424 = shl i64 %423, 32
%425 = ashr exact i64 %424, 32
%426 = getelementptr inbounds i8, i8* %237, i64 %425
%427 = load i8, i8* %426
%428 = getelementptr inbounds i8, i8* %19, i64 %422
store i8 %427, i8* %428
%429 = add nuw nsw i64 %422, 1
%430 = add i64 %327, %429
%431 = shl i64 %430, 32
%432 = ashr exact i64 %431, 32
%433 = getelementptr inbounds i8, i8* %237, i64 %432
%434 = load i8, i8* %433
%435 = getelementptr inbounds i8, i8* %19, i64 %429
store i8 %434, i8* %435
%436 = add nuw nsw i64 %422, 2
%437 = icmp eq i64 %436, %246
br i1 %437, label %438, label %421
438: ; preds = %418, %421, %389, %406, %325
store i8 0, i8* %18
%439 = tail call i32 @num2seq(i8* %19, i32 %2, i8* %18, i32 1)
%440 = load i32, i32* %323
%441 = tail call i32 @fprintf(i32* %9, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0), i32 %10, i32 %440, float %318, i8* %18, i32 0)
br label %442
442: ; preds = %276, %320, %438, %317
%443 = phi i32 [ %321, %438 ], [ %321, %320 ], [ %280, %317 ], [ %280, %276 ]
%444 = phi i32 [ %286, %438 ], [ %286, %320 ], [ %279, %317 ], [ %279, %276 ]
%445 = add nuw nsw i64 %278, 1
%446 = icmp eq i64 %445, %244
%447 = add i32 %277, 1
br i1 %446, label %448, label %276
448: ; preds = %442, %236
%449 = phi i32 [ %234, %236 ], [ %443, %442 ]
%450 = tail call i32 @free_cvector(i8* %237, i32 1, i32 %3)
br label %451
451: ; preds = %448, %233
%452 = phi i32 [ %449, %448 ], [ %234, %233 ]
br i1 %12, label %453, label %457
453: ; preds = %451
%454 = tail call i32 @free_cvector(i8* %19, i32 1, i32 %2)
%455 = add nsw i32 %2, -1
%456 = tail call i32 @free_cvector(i8* %18, i32 0, i32 %455)
br label %457
457: ; preds = %453, %451
ret i32 %452
}