#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 */

/* Variables and functions */
long find_1st_atom(char *, char **, long, long, char *);
int /*<<< orphan*/ strcpy(char *, char *);
void get_chi(long i, long ii, long n, long **bs_1, long **seidx,
             char **AtomName, char *bseq, long *RY, long **chi) {
  long j, n1, ib, ie, ioffset, c1, o4;
  char c2c4[5], n1n9[5];
  for (j = 1; j <= n; j++) {
    n1 = bs_1[ii][j];
    ib = seidx[n1][1];
    ie = seidx[n1][2];
    o4 = find_1st_atom(" O4'", AtomName, ib, ie, "");
    c1 = find_1st_atom(" C1'", AtomName, ib, ie, "");
    ioffset = (j - 1) * 4;
    chi[i][ioffset + 1] = o4;
    chi[i][ioffset + 2] = c1;
    if (RY[n1] == 1) {
      strcpy(n1n9, " N9 ");
      strcpy(c2c4, " C4 ");
    } else if (RY[n1] == 0) {
      strcpy(n1n9, " N1 ");
      strcpy(c2c4, " C2 ");
      if (bseq[n1] == 'P' || bseq[n1] == 'p') {
        strcpy(n1n9, " C5 ");
        strcpy(c2c4, " C4 ");
      }
    }
    chi[i][ioffset + 3] = find_1st_atom(n1n9, AtomName, ib, ie, "");
    chi[i][ioffset + 4] = find_1st_atom(c2c4, AtomName, ib, ie, "");
  }
}


x86 assembly (clang, -O0):
<get_chi>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
movq   $0x1,-0x38(%rbp)
mov    -0x38(%rbp),%rax
cmp    -0x18(%rbp),%rax
jg     1365 <get_chi+0x245>
mov    -0x20(%rbp),%rax
mov    -0x10(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    %rax,-0x40(%rbp)
mov    -0x28(%rbp),%rax
mov    -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x48(%rbp)
mov    -0x28(%rbp),%rax
mov    -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    0x10(%rax),%rax
mov    %rax,-0x50(%rbp)
mov    -0x30(%rbp),%rsi
mov    -0x48(%rbp),%rdx
mov    -0x50(%rbp),%rcx
lea    0xe48(%rip),%rdi
lea    0xe59(%rip),%r8
call   1040 <find_1st_atom@plt>
mov    %rax,-0x68(%rbp)
mov    -0x30(%rbp),%rsi
mov    -0x48(%rbp),%rdx
mov    -0x50(%rbp),%rcx
lea    0xe2a(%rip),%rdi
lea    0xe36(%rip),%r8
call   1040 <find_1st_atom@plt>
mov    %rax,-0x60(%rbp)
mov    -0x38(%rbp),%rax
sub    $0x1,%rax
shl    $0x2,%rax
mov    %rax,-0x58(%rbp)
mov    -0x68(%rbp),%rdx
mov    0x20(%rbp),%rax
mov    -0x8(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x58(%rbp),%rcx
mov    %rdx,0x8(%rax,%rcx,8)
mov    -0x60(%rbp),%rdx
mov    0x20(%rbp),%rax
mov    -0x8(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x58(%rbp),%rcx
mov    %rdx,0x10(%rax,%rcx,8)
mov    0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
cmpq   $0x1,(%rax,%rcx,8)
jne    1265 <get_chi+0x145>
lea    -0x72(%rbp),%rdi
lea    0xdbf(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x6d(%rbp),%rdi
lea    0xdb4(%rip),%rsi
call   1030 <strcpy@plt>
jmp    12ec <get_chi+0x1cc>
mov    0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
cmpq   $0x0,(%rax,%rcx,8)
jne    12e7 <get_chi+0x1c7>
lea    -0x72(%rbp),%rdi
lea    0xd91(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x6d(%rbp),%rdi
lea    0xd86(%rip),%rsi
call   1030 <strcpy@plt>
mov    0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x50,%eax
je     12c2 <get_chi+0x1a2>
mov    0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x70,%eax
jne    12e2 <get_chi+0x1c2>
lea    -0x72(%rbp),%rdi
lea    0xd51(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x6d(%rbp),%rdi
lea    0xd32(%rip),%rsi
call   1030 <strcpy@plt>
jmp    12e7 <get_chi+0x1c7>
jmp    12ec <get_chi+0x1cc>
lea    -0x72(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x48(%rbp),%rdx
mov    -0x50(%rbp),%rcx
lea    0xd15(%rip),%r8
call   1040 <find_1st_atom@plt>
mov    %rax,%rdx
mov    0x20(%rbp),%rax
mov    -0x8(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x58(%rbp),%rcx
mov    %rdx,0x18(%rax,%rcx,8)
lea    -0x6d(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x48(%rbp),%rdx
mov    -0x50(%rbp),%rcx
lea    0xce1(%rip),%r8
call   1040 <find_1st_atom@plt>
mov    %rax,%rdx
mov    0x20(%rbp),%rax
mov    -0x8(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x58(%rbp),%rcx
mov    %rdx,0x20(%rax,%rcx,8)
mov    -0x38(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x38(%rbp)
jmp    1157 <get_chi+0x37>
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_chi>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
mov    %r8,0x38(%rsp)
mov    %rcx,0x30(%rsp)
mov    %rsi,0x28(%rsp)
test   %rdx,%rdx
jle    130a <get_chi+0x1ea>
mov    %r9,%r14
mov    %rdi,%r13
xor    %ebx,%ebx
lea    0xec3(%rip),%r15
mov    %rdi,0x20(%rsp)
mov    %r9,0x18(%rsp)
jmp    120f <get_chi+0xef>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xe(%rsp),%rdi
call   1030 <strcpy@plt>
lea    0x13(%rsp),%rdi
lea    0xe89(%rip),%rsi
call   1030 <strcpy@plt>
lea    0xe(%rsp),%rdi
mov    0x18(%rsp),%r14
mov    %r14,%rsi
mov    0x58(%rsp),%r12
mov    %r12,%rdx
mov    0x50(%rsp),%r13
mov    %r13,%rcx
lea    0xe69(%rip),%r15
mov    %r15,%r8
call   1040 <find_1st_atom@plt>
mov    0x20(%rsp),%rbp
mov    0xb0(%rsp),%rbx
mov    (%rbx,%rbp,8),%rcx
mov    0x48(%rsp),%rbx
mov    %rax,0x18(%rcx,%rbx,4)
lea    0x13(%rsp),%rdi
mov    %r14,%rsi
mov    %r12,%rdx
mov    %r13,%rcx
mov    %rbp,%r13
mov    %r15,%r8
call   1040 <find_1st_atom@plt>
mov    0xb0(%rsp),%rcx
mov    (%rcx,%rbp,8),%rcx
mov    %rax,0x20(%rcx,%rbx,4)
add    $0x8,%rbx
mov    0x60(%rsp),%rdx
add    $0xffffffffffffffff,%rdx
je     130a <get_chi+0x1ea>
mov    %rdx,0x60(%rsp)
mov    0x30(%rsp),%rax
mov    0x28(%rsp),%rcx
mov    (%rax,%rcx,8),%rax
mov    0x8(%rax,%rbx,1),%rcx
mov    %rcx,0x40(%rsp)
mov    0x38(%rsp),%rax
mov    (%rax,%rcx,8),%rax
mov    %r15,%r12
mov    0x8(%rax),%rbp
mov    0x10(%rax),%r15
lea    0xdb9(%rip),%rdi
mov    %r14,%rsi
mov    %rbp,%rdx
mov    %r15,%rcx
mov    %r12,%r8
call   1040 <find_1st_atom@plt>
mov    %r14,%rsi
mov    %r13,%r14
mov    %rax,%r13
lea    0xd9d(%rip),%rdi
mov    %rbp,0x58(%rsp)
mov    %rbp,%rdx
mov    %r15,0x50(%rsp)
mov    %r15,%rcx
mov    %r12,%r8
call   1040 <find_1st_atom@plt>
mov    0xb0(%rsp),%rcx
mov    (%rcx,%r14,8),%rcx
mov    %r13,0x8(%rcx,%rbx,4)
mov    %rbx,0x48(%rsp)
mov    %rax,0x10(%rcx,%rbx,4)
mov    0x40(%rsp),%rbx
mov    0xa8(%rsp),%rax
mov    (%rax,%rbx,8),%rax
lea    0xd57(%rip),%rsi
cmp    $0x1,%rax
je     1170 <get_chi+0x50>
test   %rax,%rax
jne    118b <get_chi+0x6b>
lea    0xe(%rsp),%rdi
lea    0xd42(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x13(%rsp),%rdi
lea    0xd36(%rip),%rsi
call   1030 <strcpy@plt>
mov    0xa0(%rsp),%rax
movzbl (%rax,%rbx,1),%eax
or     $0x20,%al
lea    0xd21(%rip),%rsi
cmp    $0x70,%al
je     1170 <get_chi+0x50>
jmp    118b <get_chi+0x6b>
add    $0x68,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [5 x i8] c" O4'\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [5 x i8] c" C1'\00"
@.str.3 = [5 x i8] c" N9 \00"
@.str.4 = [5 x i8] c" C4 \00"
@.str.5 = [5 x i8] c" N1 \00"
@.str.6 = [5 x i8] c" C2 \00"
@.str.7 = [5 x i8] c" C5 \00"
define void @get_chi(i64 %0, i64 %1, i64 %2, i64** %3, i64** %4, i8** %5, i8* %6, i64* %7, i64** %8) {
%10 = alloca i64
%11 = alloca i64
%12 = alloca i64
%13 = alloca i64**
%14 = alloca i64**
%15 = alloca i8**
%16 = alloca i8*
%17 = alloca i64*
%18 = alloca i64**
%19 = alloca i64
%20 = alloca i64
%21 = alloca i64
%22 = alloca i64
%23 = alloca i64
%24 = alloca i64
%25 = alloca i64
%26 = alloca [5 x i8]
%27 = alloca [5 x i8]
store i64 %0, i64* %10
store i64 %1, i64* %11
store i64 %2, i64* %12
store i64** %3, i64*** %13
store i64** %4, i64*** %14
store i8** %5, i8*** %15
store i8* %6, i8** %16
store i64* %7, i64** %17
store i64** %8, i64*** %18
store i64 1, i64* %19
br label %28
28: ; preds = %145, %9
%29 = load i64, i64* %19
%30 = load i64, i64* %12
%31 = icmp sle i64 %29, %30
br i1 %31, label %32, label %148
32: ; preds = %28
%33 = load i64**, i64*** %13
%34 = load i64, i64* %11
%35 = getelementptr inbounds i64*, i64** %33, i64 %34
%36 = load i64*, i64** %35
%37 = load i64, i64* %19
%38 = getelementptr inbounds i64, i64* %36, i64 %37
%39 = load i64, i64* %38
store i64 %39, i64* %20
%40 = load i64**, i64*** %14
%41 = load i64, i64* %20
%42 = getelementptr inbounds i64*, i64** %40, i64 %41
%43 = load i64*, i64** %42
%44 = getelementptr inbounds i64, i64* %43, i64 1
%45 = load i64, i64* %44
store i64 %45, i64* %21
%46 = load i64**, i64*** %14
%47 = load i64, i64* %20
%48 = getelementptr inbounds i64*, i64** %46, i64 %47
%49 = load i64*, i64** %48
%50 = getelementptr inbounds i64, i64* %49, i64 2
%51 = load i64, i64* %50
store i64 %51, i64* %22
%52 = load i8**, i8*** %15
%53 = load i64, i64* %21
%54 = load i64, i64* %22
%55 = call i64 @find_1st_atom(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8** %52, i64 %53, i64 %54, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
store i64 %55, i64* %25
%56 = load i8**, i8*** %15
%57 = load i64, i64* %21
%58 = load i64, i64* %22
%59 = call i64 @find_1st_atom(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8** %56, i64 %57, i64 %58, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
store i64 %59, i64* %24
%60 = load i64, i64* %19
%61 = sub nsw i64 %60, 1
%62 = mul nsw i64 %61, 4
store i64 %62, i64* %23
%63 = load i64, i64* %25
%64 = load i64**, i64*** %18
%65 = load i64, i64* %10
%66 = getelementptr inbounds i64*, i64** %64, i64 %65
%67 = load i64*, i64** %66
%68 = load i64, i64* %23
%69 = add nsw i64 %68, 1
%70 = getelementptr inbounds i64, i64* %67, i64 %69
store i64 %63, i64* %70
%71 = load i64, i64* %24
%72 = load i64**, i64*** %18
%73 = load i64, i64* %10
%74 = getelementptr inbounds i64*, i64** %72, i64 %73
%75 = load i64*, i64** %74
%76 = load i64, i64* %23
%77 = add nsw i64 %76, 2
%78 = getelementptr inbounds i64, i64* %75, i64 %77
store i64 %71, i64* %78
%79 = load i64*, i64** %17
%80 = load i64, i64* %20
%81 = getelementptr inbounds i64, i64* %79, i64 %80
%82 = load i64, i64* %81
%83 = icmp eq i64 %82, 1
br i1 %83, label %84, label %89
84: ; preds = %32
%85 = getelementptr inbounds [5 x i8], [5 x i8]* %27, i64 0, i64 0
%86 = call i32 @strcpy(i8* %85, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%87 = getelementptr inbounds [5 x i8], [5 x i8]* %26, i64 0, i64 0
%88 = call i32 @strcpy(i8* %87, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
br label %120
89: ; preds = %32
%90 = load i64*, i64** %17
%91 = load i64, i64* %20
%92 = getelementptr inbounds i64, i64* %90, i64 %91
%93 = load i64, i64* %92
%94 = icmp eq i64 %93, 0
br i1 %94, label %95, label %119
95: ; preds = %89
%96 = getelementptr inbounds [5 x i8], [5 x i8]* %27, i64 0, i64 0
%97 = call i32 @strcpy(i8* %96, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%98 = getelementptr inbounds [5 x i8], [5 x i8]* %26, i64 0, i64 0
%99 = call i32 @strcpy(i8* %98, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%100 = load i8*, i8** %16
%101 = load i64, i64* %20
%102 = getelementptr inbounds i8, i8* %100, i64 %101
%103 = load i8, i8* %102
%104 = sext i8 %103 to i32
%105 = icmp eq i32 %104, 80
br i1 %105, label %113, label %106
106: ; preds = %95
%107 = load i8*, i8** %16
%108 = load i64, i64* %20
%109 = getelementptr inbounds i8, i8* %107, i64 %108
%110 = load i8, i8* %109
%111 = sext i8 %110 to i32
%112 = icmp eq i32 %111, 112
br i1 %112, label %113, label %118
113: ; preds = %106, %95
%114 = getelementptr inbounds [5 x i8], [5 x i8]* %27, i64 0, i64 0
%115 = call i32 @strcpy(i8* %114, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%116 = getelementptr inbounds [5 x i8], [5 x i8]* %26, i64 0, i64 0
%117 = call i32 @strcpy(i8* %116, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
br label %118
118: ; preds = %113, %106
br label %119
119: ; preds = %118, %89
br label %120
120: ; preds = %119, %84
%121 = getelementptr inbounds [5 x i8], [5 x i8]* %27, i64 0, i64 0
%122 = load i8**, i8*** %15
%123 = load i64, i64* %21
%124 = load i64, i64* %22
%125 = call i64 @find_1st_atom(i8* %121, i8** %122, i64 %123, i64 %124, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%126 = load i64**, i64*** %18
%127 = load i64, i64* %10
%128 = getelementptr inbounds i64*, i64** %126, i64 %127
%129 = load i64*, i64** %128
%130 = load i64, i64* %23
%131 = add nsw i64 %130, 3
%132 = getelementptr inbounds i64, i64* %129, i64 %131
store i64 %125, i64* %132
%133 = getelementptr inbounds [5 x i8], [5 x i8]* %26, i64 0, i64 0
%134 = load i8**, i8*** %15
%135 = load i64, i64* %21
%136 = load i64, i64* %22
%137 = call i64 @find_1st_atom(i8* %133, i8** %134, i64 %135, i64 %136, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%138 = load i64**, i64*** %18
%139 = load i64, i64* %10
%140 = getelementptr inbounds i64*, i64** %138, i64 %139
%141 = load i64*, i64** %140
%142 = load i64, i64* %23
%143 = add nsw i64 %142, 4
%144 = getelementptr inbounds i64, i64* %141, i64 %143
store i64 %137, i64* %144
br label %145
145: ; preds = %120
%146 = load i64, i64* %19
%147 = add nsw i64 %146, 1
store i64 %147, i64* %19
br label %28
148: ; preds = %28
ret void
}

LLVM IR (-O2):
@.str = [5 x i8] c" O4'\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [5 x i8] c" C1'\00"
@.str.3 = [5 x i8] c" N9 \00"
@.str.4 = [5 x i8] c" C4 \00"
@.str.5 = [5 x i8] c" N1 \00"
@.str.6 = [5 x i8] c" C2 \00"
@.str.7 = [5 x i8] c" C5 \00"
define void @get_chi(i64 %0, i64 %1, i64 %2, i64** nocapture %3, i64** nocapture %4, i8** %5, i8* nocapture %6, i64* nocapture %7, i64** nocapture %8) {
%10 = alloca [5 x i8]
%11 = alloca [5 x i8]
%12 = getelementptr inbounds [5 x i8], [5 x i8]* %10, i64 0, i64 0
%13 = getelementptr inbounds [5 x i8], [5 x i8]* %11, i64 0, i64 0
%14 = icmp slt i64 %2, 1
br i1 %14, label %58, label %15
15: ; preds = %9
%16 = getelementptr inbounds i64*, i64** %3, i64 %1
%17 = getelementptr inbounds i64*, i64** %8, i64 %0
br label %18
18: ; preds = %15, %48
%19 = phi i64 [ 1, %15 ], [ %56, %48 ]
%20 = load i64*, i64** %16
%21 = getelementptr inbounds i64, i64* %20, i64 %19
%22 = load i64, i64* %21
%23 = getelementptr inbounds i64*, i64** %4, i64 %22
%24 = load i64*, i64** %23
%25 = getelementptr inbounds i64, i64* %24, i64 1
%26 = load i64, i64* %25
%27 = getelementptr inbounds i64, i64* %24, i64 2
%28 = load i64, i64* %27
%29 = call i64 @find_1st_atom(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8** %5, i64 %26, i64 %28, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%30 = call i64 @find_1st_atom(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8** %5, i64 %26, i64 %28, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%31 = shl i64 %19, 2
%32 = load i64*, i64** %17
%33 = add i64 %31, -3
%34 = getelementptr inbounds i64, i64* %32, i64 %33
store i64 %29, i64* %34
%35 = add i64 %31, -2
%36 = getelementptr inbounds i64, i64* %32, i64 %35
store i64 %30, i64* %36
%37 = getelementptr inbounds i64, i64* %7, i64 %22
%38 = load i64, i64* %37
switch i64 %38, label %48 [
i64 1, label %44
i64 0, label %39
]
39: ; preds = %18
%40 = call i32 @strcpy(i8* %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%41 = call i32 @strcpy(i8* %12, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%42 = getelementptr inbounds i8, i8* %6, i64 %22
%43 = load i8, i8* %42
switch i8 %43, label %48 [
i8 80, label %44
i8 112, label %44
]
44: ; preds = %39, %39, %18
%45 = phi i8* [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), %18 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), %39 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), %39 ]
%46 = call i32 @strcpy(i8* %13, i8* %45)
%47 = call i32 @strcpy(i8* %12, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
br label %48
48: ; preds = %44, %39, %18
%49 = call i64 @find_1st_atom(i8* %13, i8** %5, i64 %26, i64 %28, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%50 = load i64*, i64** %17
%51 = add i64 %31, -1
%52 = getelementptr inbounds i64, i64* %50, i64 %51
store i64 %49, i64* %52
%53 = call i64 @find_1st_atom(i8* %12, i8** %5, i64 %26, i64 %28, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%54 = load i64*, i64** %17
%55 = getelementptr inbounds i64, i64* %54, i64 %31
store i64 %53, i64* %55
%56 = add nuw i64 %19, 1
%57 = icmp eq i64 %19, %2
br i1 %57, label %58, label %18
58: ; preds = %48, %9
ret void
}