#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 *, char *, char *, char *);
int /*<<< orphan*/ squeeze2(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int main(void) {
  char *leftstr[] = {"",
                     "a",
                     "antidisestablishmentarianism",
                     "beautifications",
                     "characteristically",
                     "deterministically",
                     "electroencephalography",
                     "familiarisation",
                     "gastrointestinal",
                     "heterogeneousness",
                     "incomprehensibility",
                     "justifications",
                     "knowledgeable",
                     "lexicographically",
                     "microarchitectures",
                     "nondeterministically",
                     "organizationally",
                     "phenomenologically",
                     "quantifications",
                     "representationally",
                     "straightforwardness",
                     "telecommunications",
                     "uncontrollability",
                     "vulnerabilities",
                     "wholeheartedly",
                     "xylophonically",
                     "youthfulness",
                     "zoologically"};
  char *rightstr[] = {"",      "a",       "the",  "quick",   "brown", "dog",
                      "jumps", "over",    "lazy", "fox",     "get",   "rid",
                      "of",    "windows", "and",  "install", "linux"};
  char buffer[32];
  size_t numlefts = sizeof leftstr / sizeof leftstr[0];
  size_t numrights = sizeof rightstr / sizeof rightstr[0];
  size_t left = 0;
  size_t right = 0;
  for (left = 0; left < numlefts; left++) {
    for (right = 0; right < numrights; right++) {
      strcpy(buffer, leftstr[left]);
      squeeze2(buffer, rightstr[right]);
      printf("[%s] - [%s] = [%s]\n", leftstr[left], rightstr[right], buffer);
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1c0,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0xf0(%rbp),%rdi
lea    0x2b50(%rip),%rsi
mov    $0xe0,%edx
call   1050 <memcpy@plt>
lea    -0x180(%rbp),%rdi
lea    0x2c18(%rip),%rsi
mov    $0x88,%edx
call   1050 <memcpy@plt>
movq   $0x1c,-0x1a8(%rbp)
movq   $0x11,-0x1b0(%rbp)
movq   $0x0,-0x1b8(%rbp)
movq   $0x0,-0x1c0(%rbp)
movq   $0x0,-0x1b8(%rbp)
mov    -0x1b8(%rbp),%rax
cmp    -0x1a8(%rbp),%rax
jae    1286 <main+0x146>
movq   $0x0,-0x1c0(%rbp)
mov    -0x1c0(%rbp),%rax
cmp    -0x1b0(%rbp),%rax
jae    126a <main+0x12a>
lea    -0x1a0(%rbp),%rdi
mov    -0x1b8(%rbp),%rax
mov    -0xf0(%rbp,%rax,8),%rsi
ff
call   1030 <strcpy@plt>
lea    -0x1a0(%rbp),%rdi
mov    -0x1c0(%rbp),%rax
mov    -0x180(%rbp,%rax,8),%rsi
ff
call   1060 <squeeze2@plt>
mov    -0x1b8(%rbp),%rax
mov    -0xf0(%rbp,%rax,8),%rsi
ff
mov    -0x1c0(%rbp),%rax
mov    -0x180(%rbp,%rax,8),%rdx
ff
lea    -0x1a0(%rbp),%rcx
lea    0xfbe(%rip),%rdi
call   1040 <printf@plt>
mov    -0x1c0(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x1c0(%rbp)
jmp    11d8 <main+0x98>
jmp    126f <main+0x12f>
mov    -0x1b8(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x1b8(%rbp)
jmp    11b9 <main+0x79>
xor    %eax,%eax
add    $0x1c0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
xor    %eax,%eax
lea    0x10(%rsp),%r15
lea    0x2c44(%rip),%rbp
lea    0x10b9(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %rax,0x8(%rsp)
lea    0x2b44(%rip),%rcx
mov    (%rcx,%rax,8),%r12
xor    %r13d,%r13d
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %r15,%rdi
mov    %r12,%rsi
call   1030 <strcpy@plt>
mov    0x0(%r13,%rbp,1),%rbx
mov    %r15,%rdi
mov    %rbx,%rsi
call   1050 <squeeze2@plt>
mov    %r14,%rdi
mov    %r12,%rsi
mov    %rbx,%rdx
mov    %r15,%rcx
call   1040 <printf@plt>
add    $0x8,%r13
cmp    $0x88,%r13
jne    1180 <main+0x50>
mov    0x8(%rsp),%rax
add    $0x1,%rax
cmp    $0x1c,%rax
jne    1160 <main+0x30>
xor    %eax,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [1 x i8] zeroinitializer
@.str.1 = [2 x i8] c"a\00"
@.str.2 = [29 x i8] c"antidisestablishmentarianism\00"
@.str.3 = [16 x i8] c"beautifications\00"
@.str.4 = [19 x i8] c"characteristically\00"
@.str.5 = [18 x i8] c"deterministically\00"
@.str.6 = [23 x i8] c"electroencephalography\00"
@.str.7 = [16 x i8] c"familiarisation\00"
@.str.8 = [17 x i8] c"gastrointestinal\00"
@.str.9 = [18 x i8] c"heterogeneousness\00"
@.str.10 = [20 x i8] c"incomprehensibility\00"
@.str.11 = [15 x i8] c"justifications\00"
@.str.12 = [14 x i8] c"knowledgeable\00"
@.str.13 = [18 x i8] c"lexicographically\00"
@.str.14 = [19 x i8] c"microarchitectures\00"
@.str.15 = [21 x i8] c"nondeterministically\00"
@.str.16 = [17 x i8] c"organizationally\00"
@.str.17 = [19 x i8] c"phenomenologically\00"
@.str.18 = [16 x i8] c"quantifications\00"
@.str.19 = [19 x i8] c"representationally\00"
@.str.20 = [20 x i8] c"straightforwardness\00"
@.str.21 = [19 x i8] c"telecommunications\00"
@.str.22 = [18 x i8] c"uncontrollability\00"
@.str.23 = [16 x i8] c"vulnerabilities\00"
@.str.24 = [15 x i8] c"wholeheartedly\00"
@.str.25 = [15 x i8] c"xylophonically\00"
@.str.26 = [13 x i8] c"youthfulness\00"
@.str.27 = [13 x i8] c"zoologically\00"
@__const.main.leftstr = [28 x i8*] [i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.23, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.24, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.25, i32 0, i32 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.26, i32 0, i32 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.27, i32 0, i32 0)]
@.str.28 = [4 x i8] c"the\00"
@.str.29 = [6 x i8] c"quick\00"
@.str.30 = [6 x i8] c"brown\00"
@.str.31 = [4 x i8] c"dog\00"
@.str.32 = [6 x i8] c"jumps\00"
@.str.33 = [5 x i8] c"over\00"
@.str.34 = [5 x i8] c"lazy\00"
@.str.35 = [4 x i8] c"fox\00"
@.str.36 = [4 x i8] c"get\00"
@.str.37 = [4 x i8] c"rid\00"
@.str.38 = [3 x i8] c"of\00"
@.str.39 = [8 x i8] c"windows\00"
@.str.40 = [4 x i8] c"and\00"
@.str.41 = [8 x i8] c"install\00"
@.str.42 = [6 x i8] c"linux\00"
@__const.main.rightstr = [17 x i8*] [i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.29, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.30, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.31, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.32, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.33, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.34, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.35, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.36, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.37, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.38, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.39, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.40, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.41, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.42, i32 0, i32 0)]
@.str.43 = [20 x i8] c"[%s] - [%s] = [%s]\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [28 x i8*]
%3 = alloca [17 x i8*]
%4 = alloca [32 x i8]
%5 = alloca i64
%6 = alloca i64
%7 = alloca i64
%8 = alloca i64
store i32 0, i32* %1
%9 = bitcast [28 x i8*]* %2 to i8*
%10 = bitcast [17 x i8*]* %3 to i8*
store i64 28, i64* %5
store i64 17, i64* %6
store i64 0, i64* %7
store i64 0, i64* %8
store i64 0, i64* %7
br label %11
11: ; preds = %43, %0
%12 = load i64, i64* %7
%13 = load i64, i64* %5
%14 = icmp ult i64 %12, %13
br i1 %14, label %15, label %46
15: ; preds = %11
store i64 0, i64* %8
br label %16
16: ; preds = %39, %15
%17 = load i64, i64* %8
%18 = load i64, i64* %6
%19 = icmp ult i64 %17, %18
br i1 %19, label %20, label %42
20: ; preds = %16
%21 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%22 = load i64, i64* %7
%23 = getelementptr inbounds [28 x i8*], [28 x i8*]* %2, i64 0, i64 %22
%24 = load i8*, i8** %23
%25 = call i32 @strcpy(i8* %21, i8* %24)
%26 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%27 = load i64, i64* %8
%28 = getelementptr inbounds [17 x i8*], [17 x i8*]* %3, i64 0, i64 %27
%29 = load i8*, i8** %28
%30 = call i32 @squeeze2(i8* %26, i8* %29)
%31 = load i64, i64* %7
%32 = getelementptr inbounds [28 x i8*], [28 x i8*]* %2, i64 0, i64 %31
%33 = load i8*, i8** %32
%34 = load i64, i64* %8
%35 = getelementptr inbounds [17 x i8*], [17 x i8*]* %3, i64 0, i64 %34
%36 = load i8*, i8** %35
%37 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%38 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.43, i64 0, i64 0), i8* %33, i8* %36, i8* %37)
br label %39
39: ; preds = %20
%40 = load i64, i64* %8
%41 = add i64 %40, 1
store i64 %41, i64* %8
br label %16
42: ; preds = %16
br label %43
43: ; preds = %42
%44 = load i64, i64* %7
%45 = add i64 %44, 1
store i64 %45, i64* %7
br label %11
46: ; preds = %11
ret i32 0
}

LLVM IR (-O2):
@.str = [1 x i8] zeroinitializer
@.str.1 = [2 x i8] c"a\00"
@.str.2 = [29 x i8] c"antidisestablishmentarianism\00"
@.str.3 = [16 x i8] c"beautifications\00"
@.str.4 = [19 x i8] c"characteristically\00"
@.str.5 = [18 x i8] c"deterministically\00"
@.str.6 = [23 x i8] c"electroencephalography\00"
@.str.7 = [16 x i8] c"familiarisation\00"
@.str.8 = [17 x i8] c"gastrointestinal\00"
@.str.9 = [18 x i8] c"heterogeneousness\00"
@.str.10 = [20 x i8] c"incomprehensibility\00"
@.str.11 = [15 x i8] c"justifications\00"
@.str.12 = [14 x i8] c"knowledgeable\00"
@.str.13 = [18 x i8] c"lexicographically\00"
@.str.14 = [19 x i8] c"microarchitectures\00"
@.str.15 = [21 x i8] c"nondeterministically\00"
@.str.16 = [17 x i8] c"organizationally\00"
@.str.17 = [19 x i8] c"phenomenologically\00"
@.str.18 = [16 x i8] c"quantifications\00"
@.str.19 = [19 x i8] c"representationally\00"
@.str.20 = [20 x i8] c"straightforwardness\00"
@.str.21 = [19 x i8] c"telecommunications\00"
@.str.22 = [18 x i8] c"uncontrollability\00"
@.str.23 = [16 x i8] c"vulnerabilities\00"
@.str.24 = [15 x i8] c"wholeheartedly\00"
@.str.25 = [15 x i8] c"xylophonically\00"
@.str.26 = [13 x i8] c"youthfulness\00"
@.str.27 = [13 x i8] c"zoologically\00"
@__const.main.leftstr = [28 x i8*] [i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.23, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.24, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.25, i32 0, i32 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.26, i32 0, i32 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.27, i32 0, i32 0)]
@.str.28 = [4 x i8] c"the\00"
@.str.29 = [6 x i8] c"quick\00"
@.str.30 = [6 x i8] c"brown\00"
@.str.31 = [4 x i8] c"dog\00"
@.str.32 = [6 x i8] c"jumps\00"
@.str.33 = [5 x i8] c"over\00"
@.str.34 = [5 x i8] c"lazy\00"
@.str.35 = [4 x i8] c"fox\00"
@.str.36 = [4 x i8] c"get\00"
@.str.37 = [4 x i8] c"rid\00"
@.str.38 = [3 x i8] c"of\00"
@.str.39 = [8 x i8] c"windows\00"
@.str.40 = [4 x i8] c"and\00"
@.str.41 = [8 x i8] c"install\00"
@.str.42 = [6 x i8] c"linux\00"
@__const.main.rightstr = [17 x i8*] [i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.29, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.30, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.31, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.32, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.33, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.34, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.35, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.36, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.37, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.38, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.39, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.40, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.41, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.42, i32 0, i32 0)]
@.str.43 = [20 x i8] c"[%s] - [%s] = [%s]\0A\00"
define i32 @main() {
%1 = alloca [32 x i8]
%2 = getelementptr inbounds [32 x i8], [32 x i8]* %1, i64 0, i64 0
br label %3
3: ; preds = %0, %16
%4 = phi i64 [ 0, %0 ], [ %17, %16 ]
%5 = getelementptr inbounds [28 x i8*], [28 x i8*]* @__const.main.leftstr, i64 0, i64 %4
%6 = load i8*, i8** %5
br label %7
7: ; preds = %3, %7
%8 = phi i64 [ 0, %3 ], [ %14, %7 ]
%9 = call i32 @strcpy(i8* %2, i8* %6)
%10 = getelementptr inbounds [17 x i8*], [17 x i8*]* @__const.main.rightstr, i64 0, i64 %8
%11 = load i8*, i8** %10
%12 = call i32 @squeeze2(i8* %2, i8* %11)
%13 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.43, i64 0, i64 0), i8* %6, i8* %11, i8* %2)
%14 = add nuw nsw i64 %8, 1
%15 = icmp eq i64 %14, 17
br i1 %15, label %16, label %7
16: ; preds = %7
%17 = add nuw nsw i64 %4, 1
%18 = icmp eq i64 %17, 28
br i1 %18, label %19, label %3
19: ; preds = %16
ret i32 0
}