#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 */
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ sprintf(char *, char *, char *, char *, char *, char *,
                           char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int /*<<< orphan*/ system(char *);
void prekeycontent(char *refname) {
  char prekeyorder[100] = {0};
  char prekeyorderAT[100] = {0}, prekeyorderCG[100] = {0},
       prekeyorderGT[100] = {0}, prekeyorderAC[100] = {0};
  char prekeyorderTAG[100] = {0}, prekeyorderGCA[100] = {0},
       prekeyorderTAT[100] = {0}, prekeyorderACT[100] = {0};
  char ref_name[50] = {'\0'};
  strcpy(ref_name, refname);
  sprintf(prekeyorderAT, "%s%s%s%s%s%s", "grep -o ", "'", "AT", "' ", ref_name,
          " | wc -l ");
  sprintf(prekeyorderCG, "%s%s%s%s%s%s", "grep -o ", "'", "CG", "' ", ref_name,
          " | wc -l ");
  sprintf(prekeyorderGT, "%s%s%s%s%s%s", "grep -o ", "'", "GT", "' ", ref_name,
          " | wc -l ");
  sprintf(prekeyorderAC, "%s%s%s%s%s%s", "grep -o ", "'", "AC", "' ", ref_name,
          " | wc -l ");
  sprintf(prekeyorderTAG, "%s%s%s%s%s%s", "grep -o ", "'", "TAG", "' ",
          ref_name, " | wc -l ");
  sprintf(prekeyorderGCA, "%s%s%s%s%s%s", "grep -o ", "'", "GCA", "' ",
          ref_name, " | wc -l ");
  sprintf(prekeyorderTAT, "%s%s%s%s%s%s", "grep -o ", "'", "TAT", "' ",
          ref_name, " | wc -l ");
  sprintf(prekeyorderACT, "%s%s%s%s%s%s", "grep -o ", "'", "ACT", "' ",
          ref_name, " | wc -l ");
  printf("The counts of prekey AT is:\n");
  system(prekeyorderAT);
  printf("The counts of prekey CG is:\n");
  system(prekeyorderCG);
  printf("The counts of prekey GT is:\n");
  system(prekeyorderGT);
  printf("The counts of prekey AC is:\n");
  system(prekeyorderAC);
  printf("The counts of prekey TAG is:\n");
  system(prekeyorderTAG);
  printf("The counts of prekey GCA is:\n");
  system(prekeyorderGCA);
  printf("The counts of prekey TAT is:\n");
  system(prekeyorderTAT);
  printf("The counts of prekey ACT is:\n");
  system(prekeyorderACT);
}


x86 assembly (clang, -O0):
<prekeycontent>:
push   %rbp
mov    %rsp,%rbp
sub    $0x440,%rsp
mov    %rdi,-0x8(%rbp)
lea    -0x70(%rbp),%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1060 <memset@plt>
lea    -0xe0(%rbp),%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1060 <memset@plt>
lea    -0x150(%rbp),%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1060 <memset@plt>
lea    -0x1c0(%rbp),%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1060 <memset@plt>
lea    -0x230(%rbp),%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1060 <memset@plt>
lea    -0x2a0(%rbp),%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1060 <memset@plt>
lea    -0x310(%rbp),%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1060 <memset@plt>
lea    -0x380(%rbp),%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1060 <memset@plt>
lea    -0x3f0(%rbp),%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1060 <memset@plt>
lea    -0x430(%rbp),%rdi
xor    %esi,%esi
mov    $0x32,%edx
call   1060 <memset@plt>
lea    -0x430(%rbp),%rdi
mov    -0x8(%rbp),%rsi
call   1030 <strcpy@plt>
lea    -0xe0(%rbp),%rdi
lea    -0x430(%rbp),%r10
lea    0xdc1(%rip),%rsi
lea    0xdc7(%rip),%rdx
lea    0xdc9(%rip),%rcx
lea    0xde3(%rip),%r8
lea    0xdbd(%rip),%r9
lea    0xdb9(%rip),%rax
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
call   1070 <sprintf@plt>
lea    -0x150(%rbp),%rdi
lea    -0x430(%rbp),%r10
lea    0xd7b(%rip),%rsi
lea    0xd81(%rip),%rdx
lea    0xd83(%rip),%rcx
lea    0xd8b(%rip),%r8
lea    0xd77(%rip),%r9
lea    0xd73(%rip),%rax
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
call   1070 <sprintf@plt>
lea    -0x1c0(%rbp),%rdi
lea    -0x430(%rbp),%r10
lea    0xd35(%rip),%rsi
lea    0xd3b(%rip),%rdx
lea    0xd3d(%rip),%rcx
lea    0xd48(%rip),%r8
lea    0xd31(%rip),%r9
lea    0xd2d(%rip),%rax
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
call   1070 <sprintf@plt>
lea    -0x230(%rbp),%rdi
lea    -0x430(%rbp),%r10
lea    0xcef(%rip),%rsi
lea    0xcf5(%rip),%rdx
lea    0xcf7(%rip),%rcx
lea    0xd05(%rip),%r8
lea    0xceb(%rip),%r9
lea    0xce7(%rip),%rax
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
call   1070 <sprintf@plt>
lea    -0x2a0(%rbp),%rdi
lea    -0x430(%rbp),%r10
lea    0xca9(%rip),%rsi
lea    0xcaf(%rip),%rdx
lea    0xcb1(%rip),%rcx
lea    0xcc2(%rip),%r8
lea    0xca5(%rip),%r9
lea    0xca1(%rip),%rax
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
call   1070 <sprintf@plt>
lea    -0x310(%rbp),%rdi
lea    -0x430(%rbp),%r10
lea    0xc63(%rip),%rsi
lea    0xc69(%rip),%rdx
lea    0xc6b(%rip),%rcx
lea    0xc80(%rip),%r8
lea    0xc5f(%rip),%r9
lea    0xc5b(%rip),%rax
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
call   1070 <sprintf@plt>
lea    -0x380(%rbp),%rdi
lea    -0x430(%rbp),%r10
lea    0xc1d(%rip),%rsi
lea    0xc23(%rip),%rdx
lea    0xc25(%rip),%rcx
lea    0xc3e(%rip),%r8
lea    0xc19(%rip),%r9
lea    0xc15(%rip),%rax
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
call   1070 <sprintf@plt>
lea    -0x3f0(%rbp),%rdi
lea    -0x430(%rbp),%r10
lea    0xbd7(%rip),%rsi
lea    0xbdd(%rip),%rdx
lea    0xbdf(%rip),%rcx
lea    0xbfc(%rip),%r8
lea    0xbd3(%rip),%r9
lea    0xbcf(%rip),%rax
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
call   1070 <sprintf@plt>
lea    0xbdd(%rip),%rdi
call   1050 <printf@plt>
lea    -0xe0(%rbp),%rdi
call   1040 <system@plt>
lea    0xbe2(%rip),%rdi
call   1050 <printf@plt>
lea    -0x150(%rbp),%rdi
call   1040 <system@plt>
lea    0xbe7(%rip),%rdi
call   1050 <printf@plt>
lea    -0x1c0(%rbp),%rdi
call   1040 <system@plt>
lea    0xbec(%rip),%rdi
call   1050 <printf@plt>
lea    -0x230(%rbp),%rdi
call   1040 <system@plt>
lea    0xbf1(%rip),%rdi
call   1050 <printf@plt>
lea    -0x2a0(%rbp),%rdi
call   1040 <system@plt>
lea    0xbf7(%rip),%rdi
call   1050 <printf@plt>
lea    -0x310(%rbp),%rdi
call   1040 <system@plt>
lea    0xbfd(%rip),%rdi
call   1050 <printf@plt>
lea    -0x380(%rbp),%rdi
call   1040 <system@plt>
lea    0xc03(%rip),%rdi
call   1050 <printf@plt>
lea    -0x3f0(%rbp),%rdi
call   1040 <system@plt>
add    $0x440,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<prekeycontent>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x3b8,%rsp
mov    %rdi,%rsi
xorps  %xmm0,%xmm0
movaps %xmm0,0x3a0(%rsp)
movaps %xmm0,0x390(%rsp)
movaps %xmm0,0x380(%rsp)
movaps %xmm0,0x370(%rsp)
movaps %xmm0,0x360(%rsp)
movaps %xmm0,0x350(%rsp)
movl   $0x0,0x3b0(%rsp)
movaps %xmm0,0x330(%rsp)
movaps %xmm0,0x320(%rsp)
movaps %xmm0,0x310(%rsp)
movaps %xmm0,0x300(%rsp)
movaps %xmm0,0x2f0(%rsp)
movaps %xmm0,0x2e0(%rsp)
movl   $0x0,0x340(%rsp)
movaps %xmm0,0x2c0(%rsp)
movaps %xmm0,0x2b0(%rsp)
movaps %xmm0,0x2a0(%rsp)
movaps %xmm0,0x290(%rsp)
movaps %xmm0,0x280(%rsp)
movaps %xmm0,0x270(%rsp)
movl   $0x0,0x2d0(%rsp)
movaps %xmm0,0x250(%rsp)
movaps %xmm0,0x240(%rsp)
movaps %xmm0,0x230(%rsp)
movaps %xmm0,0x220(%rsp)
movaps %xmm0,0x210(%rsp)
movaps %xmm0,0x200(%rsp)
movl   $0x0,0x260(%rsp)
movaps %xmm0,0x1e0(%rsp)
movaps %xmm0,0x1d0(%rsp)
movaps %xmm0,0x1c0(%rsp)
movaps %xmm0,0x1b0(%rsp)
movaps %xmm0,0x1a0(%rsp)
movaps %xmm0,0x190(%rsp)
movl   $0x0,0x1f0(%rsp)
movaps %xmm0,0x170(%rsp)
movaps %xmm0,0x160(%rsp)
movaps %xmm0,0x150(%rsp)
movaps %xmm0,0x140(%rsp)
movaps %xmm0,0x130(%rsp)
movaps %xmm0,0x120(%rsp)
movl   $0x0,0x180(%rsp)
movaps %xmm0,0x100(%rsp)
movaps %xmm0,0xf0(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps %xmm0,0xb0(%rsp)
movl   $0x0,0x110(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movl   $0x0,0xa0(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,(%rsp)
movw   $0x0,0x30(%rsp)
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
lea    0xcd1(%rip),%r15
lea    0xcaf(%rip),%r12
lea    0xcb5(%rip),%r13
lea    0xcb7(%rip),%rbp
lea    0xcd1(%rip),%r8
lea    0xcab(%rip),%r14
lea    0x350(%rsp),%rdi
mov    %r12,%rsi
mov    %r13,%rdx
mov    %rbp,%rcx
mov    %r14,%r9
push   %r15
push   %rbx
call   1060 <sprintf@plt>
add    $0x10,%rsp
lea    0xc91(%rip),%r8
lea    0x2e0(%rsp),%rdi
mov    %r12,%rsi
mov    %r13,%rdx
mov    %rbp,%rcx
mov    %r14,%r9
push   %r15
push   %rbx
call   1060 <sprintf@plt>
add    $0x10,%rsp
lea    0xc6d(%rip),%r8
lea    0x270(%rsp),%rdi
mov    %r12,%rsi
mov    %r13,%rdx
mov    %rbp,%rcx
mov    %r14,%r9
push   %r15
push   %rbx
call   1060 <sprintf@plt>
add    $0x10,%rsp
lea    0xc49(%rip),%r8
lea    0x200(%rsp),%rdi
mov    %r12,%rsi
mov    %r13,%rdx
mov    %rbp,%rcx
mov    %r14,%r9
push   %r15
push   %rbx
call   1060 <sprintf@plt>
add    $0x10,%rsp
lea    0xc25(%rip),%r8
lea    0x190(%rsp),%rdi
mov    %r12,%rsi
mov    %r13,%rdx
mov    %rbp,%rcx
mov    %r14,%r9
push   %r15
push   %rbx
call   1060 <sprintf@plt>
add    $0x10,%rsp
lea    0xc02(%rip),%r8
lea    0x120(%rsp),%rdi
mov    %r12,%rsi
mov    %r13,%rdx
mov    %rbp,%rcx
mov    %r14,%r9
push   %r15
push   %rbx
call   1060 <sprintf@plt>
add    $0x10,%rsp
lea    0xbdf(%rip),%r8
lea    0xb0(%rsp),%rdi
mov    %r12,%rsi
mov    %r13,%rdx
mov    %rbp,%rcx
mov    %r14,%r9
push   %r15
push   %rbx
call   1060 <sprintf@plt>
add    $0x10,%rsp
lea    0xbbc(%rip),%r8
lea    0x40(%rsp),%rdi
mov    %r12,%rsi
mov    %r13,%rdx
mov    %rbp,%rcx
mov    %r14,%r9
push   %r15
push   %rbx
call   1060 <sprintf@plt>
add    $0x10,%rsp
lea    0xb9c(%rip),%rdi
call   1040 <puts@plt>
lea    0x350(%rsp),%rdi
call   1050 <system@plt>
lea    0xb9f(%rip),%rdi
call   1040 <puts@plt>
lea    0x2e0(%rsp),%rdi
call   1050 <system@plt>
lea    0xba2(%rip),%rdi
call   1040 <puts@plt>
lea    0x270(%rsp),%rdi
call   1050 <system@plt>
lea    0xba5(%rip),%rdi
call   1040 <puts@plt>
lea    0x200(%rsp),%rdi
call   1050 <system@plt>
lea    0xba8(%rip),%rdi
call   1040 <puts@plt>
lea    0x190(%rsp),%rdi
call   1050 <system@plt>
lea    0xbac(%rip),%rdi
call   1040 <puts@plt>
lea    0x120(%rsp),%rdi
call   1050 <system@plt>
lea    0xbb0(%rip),%rdi
call   1040 <puts@plt>
lea    0xb0(%rsp),%rdi
call   1050 <system@plt>
lea    0xbb4(%rip),%rdi
call   1040 <puts@plt>
lea    0x40(%rsp),%rdi
call   1050 <system@plt>
add    $0x3b8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [13 x i8] c"%s%s%s%s%s%s\00"
@.str.1 = [9 x i8] c"grep -o \00"
@.str.2 = [2 x i8] c"'\00"
@.str.3 = [3 x i8] c"AT\00"
@.str.4 = [3 x i8] c"' \00"
@.str.5 = [10 x i8] c" | wc -l \00"
@.str.6 = [3 x i8] c"CG\00"
@.str.7 = [3 x i8] c"GT\00"
@.str.8 = [3 x i8] c"AC\00"
@.str.9 = [4 x i8] c"TAG\00"
@.str.10 = [4 x i8] c"GCA\00"
@.str.11 = [4 x i8] c"TAT\00"
@.str.12 = [4 x i8] c"ACT\00"
@.str.13 = [29 x i8] c"The counts of prekey AT is:\0A\00"
@.str.14 = [29 x i8] c"The counts of prekey CG is:\0A\00"
@.str.15 = [29 x i8] c"The counts of prekey GT is:\0A\00"
@.str.16 = [29 x i8] c"The counts of prekey AC is:\0A\00"
@.str.17 = [30 x i8] c"The counts of prekey TAG is:\0A\00"
@.str.18 = [30 x i8] c"The counts of prekey GCA is:\0A\00"
@.str.19 = [30 x i8] c"The counts of prekey TAT is:\0A\00"
@.str.20 = [30 x i8] c"The counts of prekey ACT is:\0A\00"
define void @prekeycontent(i8* %0) {
%2 = alloca i8*
%3 = alloca [100 x i8]
%4 = alloca [100 x i8]
%5 = alloca [100 x i8]
%6 = alloca [100 x i8]
%7 = alloca [100 x i8]
%8 = alloca [100 x i8]
%9 = alloca [100 x i8]
%10 = alloca [100 x i8]
%11 = alloca [100 x i8]
%12 = alloca [50 x i8]
store i8* %0, i8** %2
%13 = bitcast [100 x i8]* %3 to i8*
%14 = bitcast [100 x i8]* %4 to i8*
%15 = bitcast [100 x i8]* %5 to i8*
%16 = bitcast [100 x i8]* %6 to i8*
%17 = bitcast [100 x i8]* %7 to i8*
%18 = bitcast [100 x i8]* %8 to i8*
%19 = bitcast [100 x i8]* %9 to i8*
%20 = bitcast [100 x i8]* %10 to i8*
%21 = bitcast [100 x i8]* %11 to i8*
%22 = bitcast [50 x i8]* %12 to i8*
%23 = getelementptr inbounds [50 x i8], [50 x i8]* %12, i64 0, i64 0
%24 = load i8*, i8** %2
%25 = call i32 @strcpy(i8* %23, i8* %24)
%26 = getelementptr inbounds [100 x i8], [100 x i8]* %4, i64 0, i64 0
%27 = getelementptr inbounds [50 x i8], [50 x i8]* %12, i64 0, i64 0
%28 = call i32 @sprintf(i8* %26, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %27, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%29 = getelementptr inbounds [100 x i8], [100 x i8]* %5, i64 0, i64 0
%30 = getelementptr inbounds [50 x i8], [50 x i8]* %12, i64 0, i64 0
%31 = call i32 @sprintf(i8* %29, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %30, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%32 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%33 = getelementptr inbounds [50 x i8], [50 x i8]* %12, i64 0, i64 0
%34 = call i32 @sprintf(i8* %32, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %33, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%35 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%36 = getelementptr inbounds [50 x i8], [50 x i8]* %12, i64 0, i64 0
%37 = call i32 @sprintf(i8* %35, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %36, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%38 = getelementptr inbounds [100 x i8], [100 x i8]* %8, i64 0, i64 0
%39 = getelementptr inbounds [50 x i8], [50 x i8]* %12, i64 0, i64 0
%40 = call i32 @sprintf(i8* %38, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %39, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%41 = getelementptr inbounds [100 x i8], [100 x i8]* %9, i64 0, i64 0
%42 = getelementptr inbounds [50 x i8], [50 x i8]* %12, i64 0, i64 0
%43 = call i32 @sprintf(i8* %41, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %42, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%44 = getelementptr inbounds [100 x i8], [100 x i8]* %10, i64 0, i64 0
%45 = getelementptr inbounds [50 x i8], [50 x i8]* %12, i64 0, i64 0
%46 = call i32 @sprintf(i8* %44, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %45, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%47 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%48 = getelementptr inbounds [50 x i8], [50 x i8]* %12, i64 0, i64 0
%49 = call i32 @sprintf(i8* %47, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %48, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%50 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.13, i64 0, i64 0))
%51 = getelementptr inbounds [100 x i8], [100 x i8]* %4, i64 0, i64 0
%52 = call i32 @system(i8* %51)
%53 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.14, i64 0, i64 0))
%54 = getelementptr inbounds [100 x i8], [100 x i8]* %5, i64 0, i64 0
%55 = call i32 @system(i8* %54)
%56 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.15, i64 0, i64 0))
%57 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%58 = call i32 @system(i8* %57)
%59 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.16, i64 0, i64 0))
%60 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%61 = call i32 @system(i8* %60)
%62 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.17, i64 0, i64 0))
%63 = getelementptr inbounds [100 x i8], [100 x i8]* %8, i64 0, i64 0
%64 = call i32 @system(i8* %63)
%65 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0))
%66 = getelementptr inbounds [100 x i8], [100 x i8]* %9, i64 0, i64 0
%67 = call i32 @system(i8* %66)
%68 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.19, i64 0, i64 0))
%69 = getelementptr inbounds [100 x i8], [100 x i8]* %10, i64 0, i64 0
%70 = call i32 @system(i8* %69)
%71 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.20, i64 0, i64 0))
%72 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%73 = call i32 @system(i8* %72)
ret void
}

LLVM IR (-O2):
@.str = [13 x i8] c"%s%s%s%s%s%s\00"
@.str.1 = [9 x i8] c"grep -o \00"
@.str.2 = [2 x i8] c"'\00"
@.str.3 = [3 x i8] c"AT\00"
@.str.4 = [3 x i8] c"' \00"
@.str.5 = [10 x i8] c" | wc -l \00"
@.str.6 = [3 x i8] c"CG\00"
@.str.7 = [3 x i8] c"GT\00"
@.str.8 = [3 x i8] c"AC\00"
@.str.9 = [4 x i8] c"TAG\00"
@.str.10 = [4 x i8] c"GCA\00"
@.str.11 = [4 x i8] c"TAT\00"
@.str.12 = [4 x i8] c"ACT\00"
@str = [28 x i8] c"The counts of prekey AT is:\00"
@str.21 = [28 x i8] c"The counts of prekey CG is:\00"
@str.22 = [28 x i8] c"The counts of prekey GT is:\00"
@str.23 = [28 x i8] c"The counts of prekey AC is:\00"
@str.24 = [29 x i8] c"The counts of prekey TAG is:\00"
@str.25 = [29 x i8] c"The counts of prekey GCA is:\00"
@str.26 = [29 x i8] c"The counts of prekey TAT is:\00"
@str.27 = [29 x i8] c"The counts of prekey ACT is:\00"
define void @prekeycontent(i8* %0) {
%2 = alloca [100 x i8]
%3 = alloca [100 x i8]
%4 = alloca [100 x i8]
%5 = alloca [100 x i8]
%6 = alloca [100 x i8]
%7 = alloca [100 x i8]
%8 = alloca [100 x i8]
%9 = alloca [100 x i8]
%10 = alloca [50 x i8]
%11 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 0
%12 = getelementptr inbounds [100 x i8], [100 x i8]* %3, i64 0, i64 0
%13 = getelementptr inbounds [100 x i8], [100 x i8]* %4, i64 0, i64 0
%14 = getelementptr inbounds [100 x i8], [100 x i8]* %5, i64 0, i64 0
%15 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%16 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%17 = getelementptr inbounds [100 x i8], [100 x i8]* %8, i64 0, i64 0
%18 = getelementptr inbounds [100 x i8], [100 x i8]* %9, i64 0, i64 0
%19 = getelementptr inbounds [50 x i8], [50 x i8]* %10, i64 0, i64 0
%20 = call i32 @strcpy(i8* %19, i8* %0)
%21 = call i32 @sprintf(i8* %11, i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%22 = call i32 @sprintf(i8* %12, i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%23 = call i32 @sprintf(i8* %13, i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%24 = call i32 @sprintf(i8* %14, i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%25 = call i32 @sprintf(i8* %15, i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%26 = call i32 @sprintf(i8* %16, i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%27 = call i32 @sprintf(i8* %17, i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%28 = call i32 @sprintf(i8* %18, i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%29 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str, i64 0, i64 0))
%30 = call i32 @system(i8* %11)
%31 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.21, i64 0, i64 0))
%32 = call i32 @system(i8* %12)
%33 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.22, i64 0, i64 0))
%34 = call i32 @system(i8* %13)
%35 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.23, i64 0, i64 0))
%36 = call i32 @system(i8* %14)
%37 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.24, i64 0, i64 0))
%38 = call i32 @system(i8* %15)
%39 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.25, i64 0, i64 0))
%40 = call i32 @system(i8* %16)
%41 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.26, i64 0, i64 0))
%42 = call i32 @system(i8* %17)
%43 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.27, i64 0, i64 0))
%44 = call i32 @system(i8* %18)
ret void
}