#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*/ buf;
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int BUFSIZ;
int /*<<< orphan*/ clear_buf(char *);
int /*<<< orphan*/ clear_buf_t(char *, int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
scalar_t__ fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, char *);
int /*<<< orphan*/ strcat(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
int concat_with_symbols(char input_file[], char output_file[]) {
  char buf[100];
  char combined[BUFSIZ];
  char words[BUFSIZ][100];
  FILE *fp_in;
  FILE *fp_out;
  int i = 0;
  int j = 0;
  int k = 0;
  int last = 0;
  int index = 0;
  clear_buf_t(buf, 100);
  for (i = 0; i < BUFSIZ; i++)
    words[i][0] = 0;
  fp_in = fopen(input_file, "r");
  fp_out = fopen(output_file, "w+");
  while (fgets(buf, sizeof(buf), fp_in)) {
    strcpy(words[index], buf);
    index++;
    clear_buf_t(buf, 100);
  }
  for (i = 0; words[i][0] != 0 && i < BUFSIZ; i++) {
    for (j = 0; words[j][0] != 0 && j < BUFSIZ; j++) {
      for (k = 32; k < 48; k++) {
        strcpy(combined, words[i]);
        last = strlen(combined);
        combined[last - 1] = k;
        strcat(combined, words[j]);
        fprintf(fp_out, "%s", combined);
      }
      for (k = 58; k < 65; k++) {
        strcpy(combined, words[i]);
        last = strlen(combined);
        combined[last - 1] = k;
        strcat(combined, words[j]);
        fprintf(fp_out, "%s", combined);
      }
      for (k = 91; k < 97; k++) {
        strcpy(combined, words[i]);
        last = strlen(combined);
        combined[last - 1] = k;
        strcat(combined, words[j]);
        fprintf(fp_out, "%s", combined);
      }
      for (k = 123; k < 127; k++) {
        strcpy(combined, words[i]);
        last = strlen(combined);
        combined[last - 1] = k;
        strcat(combined, words[j]);
        fprintf(fp_out, "%s", combined);
      }
      clear_buf(combined);
    }
    clear_buf(combined);
  }
  fclose(fp_in);
  fclose(fp_out);
  return 0;
}


x86 assembly (clang, -O0):
<concat_with_symbols>:
push   %rbp
mov    %rsp,%rbp
sub    $0xe0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2e36(%rip),%rax
mov    (%rax),%ecx
mov    %rsp,%rdx
mov    %rdx,-0x88(%rbp)
mov    %rcx,%rsi
add    $0xf,%rsi
and    $0xfffffffffffffff0,%rsi
mov    %rsp,%rdx
sub    %rsi,%rdx
mov    %rdx,-0xd0(%rbp)
mov    %rdx,%rsp
mov    %rcx,-0x90(%rbp)
mov    (%rax),%eax
imul   $0x64,%rax,%rdx
add    $0xf,%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0xc8(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x98(%rbp)
movl   $0x0,-0xac(%rbp)
movl   $0x0,-0xb0(%rbp)
movl   $0x0,-0xb4(%rbp)
movl   $0x0,-0xb8(%rbp)
movl   $0x0,-0xbc(%rbp)
lea    -0x80(%rbp),%rdi
mov    $0x64,%esi
call   1030 <clear_buf_t@plt>
movl   $0x0,-0xac(%rbp)
mov    -0xac(%rbp),%eax
mov    0x2d8c(%rip),%rcx
cmp    (%rcx),%eax
jge    1288 <concat_with_symbols+0xf8>
mov    -0xc8(%rbp),%rax
movslq -0xac(%rbp),%rcx
imul   $0x64,%rcx,%rcx
add    %rcx,%rax
movb   $0x0,(%rax)
mov    -0xac(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xac(%rbp)
jmp    1247 <concat_with_symbols+0xb7>
mov    -0x8(%rbp),%rdi
lea    0xd6d(%rip),%rsi
call   1090 <fopen@plt>
mov    %rax,-0xa0(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xd58(%rip),%rsi
call   1090 <fopen@plt>
mov    %rax,-0xa8(%rbp)
lea    -0x80(%rbp),%rdi
mov    -0xa0(%rbp),%rdx
mov    $0x64,%esi
call   1070 <fgets@plt>
cmp    $0x0,%rax
je     1315 <concat_with_symbols+0x185>
mov    -0xc8(%rbp),%rdi
movslq -0xbc(%rbp),%rax
imul   $0x64,%rax,%rax
add    %rax,%rdi
lea    -0x80(%rbp),%rsi
call   1040 <strcpy@plt>
mov    -0xbc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xbc(%rbp)
lea    -0x80(%rbp),%rdi
mov    $0x64,%esi
call   1030 <clear_buf_t@plt>
jmp    12b6 <concat_with_symbols+0x126>
movl   $0x0,-0xac(%rbp)
mov    -0xc8(%rbp),%rax
movslq -0xac(%rbp),%rcx
imul   $0x64,%rcx,%rcx
add    %rcx,%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0xd1(%rbp)
je     1360 <concat_with_symbols+0x1d0>
mov    -0xac(%rbp),%eax
mov    0x2c8b(%rip),%rcx
cmp    (%rcx),%eax
setl   %al
mov    %al,-0xd1(%rbp)
mov    -0xd1(%rbp),%al
test   $0x1,%al
jne    1373 <concat_with_symbols+0x1e3>
jmp    16cd <concat_with_symbols+0x53d>
movl   $0x0,-0xb0(%rbp)
mov    -0xc8(%rbp),%rax
movslq -0xb0(%rbp),%rcx
imul   $0x64,%rcx,%rcx
add    %rcx,%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0xd2(%rbp)
je     13be <concat_with_symbols+0x22e>
mov    -0xb0(%rbp),%eax
mov    0x2c2d(%rip),%rcx
cmp    (%rcx),%eax
setl   %al
mov    %al,-0xd2(%rbp)
mov    -0xd2(%rbp),%al
test   $0x1,%al
jne    13d1 <concat_with_symbols+0x241>
jmp    16ad <concat_with_symbols+0x51d>
movl   $0x20,-0xb4(%rbp)
cmpl   $0x30,-0xb4(%rbp)
jge    1480 <concat_with_symbols+0x2f0>
mov    -0xd0(%rbp),%rdi
mov    -0xc8(%rbp),%rsi
movslq -0xac(%rbp),%rax
imul   $0x64,%rax,%rax
add    %rax,%rsi
call   1040 <strcpy@plt>
mov    -0xd0(%rbp),%rdi
call   1060 <strlen@plt>
mov    -0xc8(%rbp),%rsi
mov    -0xd0(%rbp),%rdi
mov    %eax,-0xb8(%rbp)
mov    -0xb4(%rbp),%eax
mov    %al,%cl
mov    -0xb8(%rbp),%eax
sub    $0x1,%eax
cltq
mov    %cl,(%rdi,%rax,1)
movslq -0xb0(%rbp),%rax
imul   $0x64,%rax,%rax
add    %rax,%rsi
call   10a0 <strcat@plt>
mov    -0xd0(%rbp),%rdx
mov    -0xa8(%rbp),%rdi
lea    0xb9e(%rip),%rsi
call   1080 <fprintf@plt>
mov    -0xb4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xb4(%rbp)
jmp    13db <concat_with_symbols+0x24b>
movl   $0x3a,-0xb4(%rbp)
cmpl   $0x41,-0xb4(%rbp)
jge    152f <concat_with_symbols+0x39f>
mov    -0xd0(%rbp),%rdi
mov    -0xc8(%rbp),%rsi
movslq -0xac(%rbp),%rax
imul   $0x64,%rax,%rax
add    %rax,%rsi
call   1040 <strcpy@plt>
mov    -0xd0(%rbp),%rdi
call   1060 <strlen@plt>
mov    -0xc8(%rbp),%rsi
mov    -0xd0(%rbp),%rdi
mov    %eax,-0xb8(%rbp)
mov    -0xb4(%rbp),%eax
mov    %al,%cl
mov    -0xb8(%rbp),%eax
sub    $0x1,%eax
cltq
mov    %cl,(%rdi,%rax,1)
movslq -0xb0(%rbp),%rax
imul   $0x64,%rax,%rax
add    %rax,%rsi
call   10a0 <strcat@plt>
mov    -0xd0(%rbp),%rdx
mov    -0xa8(%rbp),%rdi
lea    0xaef(%rip),%rsi
call   1080 <fprintf@plt>
mov    -0xb4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xb4(%rbp)
jmp    148a <concat_with_symbols+0x2fa>
movl   $0x5b,-0xb4(%rbp)
cmpl   $0x61,-0xb4(%rbp)
jge    15de <concat_with_symbols+0x44e>
mov    -0xd0(%rbp),%rdi
mov    -0xc8(%rbp),%rsi
movslq -0xac(%rbp),%rax
imul   $0x64,%rax,%rax
add    %rax,%rsi
call   1040 <strcpy@plt>
mov    -0xd0(%rbp),%rdi
call   1060 <strlen@plt>
mov    -0xc8(%rbp),%rsi
mov    -0xd0(%rbp),%rdi
mov    %eax,-0xb8(%rbp)
mov    -0xb4(%rbp),%eax
mov    %al,%cl
mov    -0xb8(%rbp),%eax
sub    $0x1,%eax
cltq
mov    %cl,(%rdi,%rax,1)
movslq -0xb0(%rbp),%rax
imul   $0x64,%rax,%rax
add    %rax,%rsi
call   10a0 <strcat@plt>
mov    -0xd0(%rbp),%rdx
mov    -0xa8(%rbp),%rdi
lea    0xa40(%rip),%rsi
call   1080 <fprintf@plt>
mov    -0xb4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xb4(%rbp)
jmp    1539 <concat_with_symbols+0x3a9>
movl   $0x7b,-0xb4(%rbp)
cmpl   $0x7f,-0xb4(%rbp)
jge    168d <concat_with_symbols+0x4fd>
mov    -0xd0(%rbp),%rdi
mov    -0xc8(%rbp),%rsi
movslq -0xac(%rbp),%rax
imul   $0x64,%rax,%rax
add    %rax,%rsi
call   1040 <strcpy@plt>
mov    -0xd0(%rbp),%rdi
call   1060 <strlen@plt>
mov    -0xc8(%rbp),%rsi
mov    -0xd0(%rbp),%rdi
mov    %eax,-0xb8(%rbp)
mov    -0xb4(%rbp),%eax
mov    %al,%cl
mov    -0xb8(%rbp),%eax
sub    $0x1,%eax
cltq
mov    %cl,(%rdi,%rax,1)
movslq -0xb0(%rbp),%rax
imul   $0x64,%rax,%rax
add    %rax,%rsi
call   10a0 <strcat@plt>
mov    -0xd0(%rbp),%rdx
mov    -0xa8(%rbp),%rdi
lea    0x991(%rip),%rsi
call   1080 <fprintf@plt>
mov    -0xb4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xb4(%rbp)
jmp    15e8 <concat_with_symbols+0x458>
mov    -0xd0(%rbp),%rdi
call   10b0 <clear_buf@plt>
mov    -0xb0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xb0(%rbp)
jmp    137d <concat_with_symbols+0x1ed>
mov    -0xd0(%rbp),%rdi
call   10b0 <clear_buf@plt>
mov    -0xac(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xac(%rbp)
jmp    131f <concat_with_symbols+0x18f>
mov    -0xa0(%rbp),%rdi
call   1050 <fclose@plt>
mov    -0xa8(%rbp),%rdi
call   1050 <fclose@plt>
mov    -0x88(%rbp),%rax
mov    %rax,%rsp
xor    %eax,%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<concat_with_symbols>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x98,%rsp
mov    %rsi,%r15
mov    %rdi,%r12
mov    %rsp,-0x48(%rbp)
mov    0x2e2b(%rip),%r14
mov    (%r14),%eax
mov    %rsp,%rbx
add    $0xf,%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%rbx
mov    %rbx,%rsp
mov    (%r14),%eax
mov    %rsp,%rcx
imul   $0x64,%rax,%rax
add    $0xf,%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%rcx
mov    %rcx,-0x30(%rbp)
mov    %rcx,%rsp
lea    -0xc0(%rbp),%rdi
mov    $0x64,%esi
call   1030 <clear_buf_t@plt>
mov    (%r14),%ecx
test   %ecx,%ecx
jle    126d <concat_with_symbols+0xdd>
lea    -0x1(%rcx),%rdx
mov    %ecx,%eax
and    $0x3,%eax
cmp    $0x3,%rdx
jae    1210 <concat_with_symbols+0x80>
xor    %edx,%edx
jmp    1245 <concat_with_symbols+0xb5>
and    $0xfffffffc,%ecx
xor    %edx,%edx
mov    -0x30(%rbp),%rsi
nopl   0x0(%rax)
movb   $0x0,(%rsi)
movb   $0x0,0x64(%rsi)
movb   $0x0,0xc8(%rsi)
movb   $0x0,0x12c(%rsi)
add    $0x4,%rdx
add    $0x190,%rsi
cmp    %rdx,%rcx
jne    1220 <concat_with_symbols+0x90>
test   %rax,%rax
je     126d <concat_with_symbols+0xdd>
imul   $0x64,%rdx,%rcx
add    -0x30(%rbp),%rcx
imul   $0x64,%rax,%rax
xor    %edx,%edx
nopl   0x0(%rax,%rax,1)
movb   $0x0,(%rcx,%rdx,1)
add    $0x64,%rdx
cmp    %rdx,%rax
jne    1260 <concat_with_symbols+0xd0>
lea    0xd8c(%rip),%rsi
mov    %r12,%rdi
call   1090 <fopen@plt>
mov    %rax,%r14
lea    0xd7c(%rip),%rsi
mov    %r15,%rdi
call   1090 <fopen@plt>
mov    %rax,%r15
lea    -0xc0(%rbp),%rdi
mov    $0x64,%esi
mov    %r14,-0x38(%rbp)
mov    %r14,%rdx
call   1080 <fgets@plt>
test   %rax,%rax
mov    -0x30(%rbp),%r14
je     12f2 <concat_with_symbols+0x162>
lea    -0xc0(%rbp),%r12
mov    %r14,%r13
nopl   0x0(%rax)
mov    %r13,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %r12,%rdi
mov    $0x64,%esi
call   1030 <clear_buf_t@plt>
mov    %r12,%rdi
mov    $0x64,%esi
mov    -0x38(%rbp),%rdx
call   1080 <fgets@plt>
add    $0x64,%r13
test   %rax,%rax
jne    12c0 <concat_with_symbols+0x130>
cmpb   $0x0,(%r14)
je     171e <concat_with_symbols+0x58e>
mov    0x2cdd(%rip),%rax
mov    (%rax),%eax
test   %eax,%eax
jle    171e <concat_with_symbols+0x58e>
mov    $0x1,%cl
xor    %edx,%edx
mov    %rdx,-0x40(%rbp)
mov    %r14,%r12
test   %cl,%cl
je     16dd <concat_with_symbols+0x54d>
test   %eax,%eax
jle    16dd <concat_with_symbols+0x54d>
xor    %ecx,%ecx
mov    %r14,%r13
nopl   (%rax)
mov    %rcx,-0x50(%rbp)
mov    $0xfffffff0,%r14d
nopw   0x0(%rax,%rax,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
lea    0x30(%r14),%ecx
mov    %cl,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
mov    %r13,%rsi
call   10a0 <strcat@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <fputs@plt>
inc    %r14d
jne    1340 <concat_with_symbols+0x1b0>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x3a,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
mov    %r13,%rsi
call   10a0 <strcat@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <fputs@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x3b,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
mov    %r13,%rsi
call   10a0 <strcat@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <fputs@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x3c,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
mov    %r13,%rsi
call   10a0 <strcat@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <fputs@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x3d,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
mov    %r13,%rsi
call   10a0 <strcat@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <fputs@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x3e,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
mov    %r13,%rsi
call   10a0 <strcat@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <fputs@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x3f,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
mov    %r13,%rsi
call   10a0 <strcat@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <fputs@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x40,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
mov    %r13,%rsi
call   10a0 <strcat@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <fputs@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x5b,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
mov    %r13,%rsi
call   10a0 <strcat@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <fputs@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x5c,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
mov    %r13,%rsi
call   10a0 <strcat@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <fputs@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x5d,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
mov    %r13,%rsi
call   10a0 <strcat@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <fputs@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x5e,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
mov    %r13,%rsi
call   10a0 <strcat@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <fputs@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x5f,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
mov    %r13,%rsi
call   10a0 <strcat@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <fputs@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x60,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
mov    %r13,%rsi
call   10a0 <strcat@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <fputs@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x7b,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
mov    %r13,%rsi
call   10a0 <strcat@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <fputs@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x7c,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
mov    %r13,%rsi
call   10a0 <strcat@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <fputs@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x7d,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
mov    %r13,%rsi
call   10a0 <strcat@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <fputs@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
call   1060 <strlen@plt>
cltq
movb   $0x7e,-0x1(%rax,%rbx,1)
mov    %rbx,%rdi
mov    %r13,%rsi
call   10a0 <strcat@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <fputs@plt>
mov    %rbx,%rdi
call   10b0 <clear_buf@plt>
mov    -0x50(%rbp),%rcx
add    $0x1,%rcx
imul   $0x64,%rcx,%r13
mov    -0x30(%rbp),%r14
cmpb   $0x0,(%r14,%r13,1)
je     16dd <concat_with_symbols+0x54d>
add    %r14,%r13
mov    0x290f(%rip),%rax
movslq (%rax),%rax
cmp    %rax,%rcx
jl     1330 <concat_with_symbols+0x1a0>
mov    %rbx,%rdi
call   10b0 <clear_buf@plt>
mov    -0x40(%rbp),%rdx
add    $0x1,%rdx
imul   $0x64,%rdx,%r12
cmpb   $0x0,(%r14,%r12,1)
je     171e <concat_with_symbols+0x58e>
mov    0x28e1(%rip),%rax
mov    (%rax),%eax
movslq %eax,%rcx
cmp    %rcx,%rdx
jge    171e <concat_with_symbols+0x58e>
mov    %rdx,-0x40(%rbp)
add    %r14,%r12
movzbl (%r14),%ecx
test   %cl,%cl
jne    1320 <concat_with_symbols+0x190>
jmp    16dd <concat_with_symbols+0x54d>
mov    -0x38(%rbp),%rdi
call   1050 <fclose@plt>
mov    %r15,%rdi
call   1050 <fclose@plt>
mov    -0x48(%rbp),%rsp
xor    %eax,%eax
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@BUFSIZ = global i32 0
@.str = [2 x i8] c"r\00"
@.str.1 = [3 x i8] c"w+\00"
@.str.2 = [3 x i8] c"%s\00"
define i32 @concat_with_symbols(i8* %0, i8* %1) {
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca [100 x i8]
%6 = alloca i8*
%7 = alloca i64
%8 = alloca i64
%9 = alloca i32*
%10 = alloca i32*
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
store i8* %0, i8** %3
store i8* %1, i8** %4
%16 = load i32, i32* @BUFSIZ
%17 = zext i32 %16 to i64
%18 = call i8* @llvm.stacksave()
store i8* %18, i8** %6
%19 = alloca i8, i64 %17
store i64 %17, i64* %7
%20 = load i32, i32* @BUFSIZ
%21 = zext i32 %20 to i64
%22 = alloca [100 x i8], i64 %21
store i64 %21, i64* %8
store i32 0, i32* %11
store i32 0, i32* %12
store i32 0, i32* %13
store i32 0, i32* %14
store i32 0, i32* %15
%23 = getelementptr inbounds [100 x i8], [100 x i8]* %5, i64 0, i64 0
%24 = call i32 @clear_buf_t(i8* %23, i32 100)
store i32 0, i32* %11
br label %25
25: ; preds = %34, %2
%26 = load i32, i32* %11
%27 = load i32, i32* @BUFSIZ
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %37
29: ; preds = %25
%30 = load i32, i32* %11
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [100 x i8], [100 x i8]* %22, i64 %31
%33 = getelementptr inbounds [100 x i8], [100 x i8]* %32, i64 0, i64 0
store i8 0, i8* %33
br label %34
34: ; preds = %29
%35 = load i32, i32* %11
%36 = add nsw i32 %35, 1
store i32 %36, i32* %11
br label %25
37: ; preds = %25
%38 = load i8*, i8** %3
%39 = call i32* @fopen(i8* %38, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32* %39, i32** %9
%40 = load i8*, i8** %4
%41 = call i32* @fopen(i8* %40, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
store i32* %41, i32** %10
br label %42
42: ; preds = %47, %37
%43 = getelementptr inbounds [100 x i8], [100 x i8]* %5, i64 0, i64 0
%44 = load i32*, i32** %9
%45 = call i64 @fgets(i8* %43, i32 100, i32* %44)
%46 = icmp ne i64 %45, 0
br i1 %46, label %47, label %58
47: ; preds = %42
%48 = load i32, i32* %15
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [100 x i8], [100 x i8]* %22, i64 %49
%51 = getelementptr inbounds [100 x i8], [100 x i8]* %50, i64 0, i64 0
%52 = getelementptr inbounds [100 x i8], [100 x i8]* %5, i64 0, i64 0
%53 = call i32 @strcpy(i8* %51, i8* %52)
%54 = load i32, i32* %15
%55 = add nsw i32 %54, 1
store i32 %55, i32* %15
%56 = getelementptr inbounds [100 x i8], [100 x i8]* %5, i64 0, i64 0
%57 = call i32 @clear_buf_t(i8* %56, i32 100)
br label %42
58: ; preds = %42
store i32 0, i32* %11
br label %59
59: ; preds = %203, %58
%60 = load i32, i32* %11
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [100 x i8], [100 x i8]* %22, i64 %61
%63 = getelementptr inbounds [100 x i8], [100 x i8]* %62, i64 0, i64 0
%64 = load i8, i8* %63
%65 = sext i8 %64 to i32
%66 = icmp ne i32 %65, 0
br i1 %66, label %67, label %71
67: ; preds = %59
%68 = load i32, i32* %11
%69 = load i32, i32* @BUFSIZ
%70 = icmp slt i32 %68, %69
br label %71
71: ; preds = %67, %59
%72 = phi i1 [ false, %59 ], [ %70, %67 ]
br i1 %72, label %73, label %206
73: ; preds = %71
store i32 0, i32* %12
br label %74
74: ; preds = %198, %73
%75 = load i32, i32* %12
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [100 x i8], [100 x i8]* %22, i64 %76
%78 = getelementptr inbounds [100 x i8], [100 x i8]* %77, i64 0, i64 0
%79 = load i8, i8* %78
%80 = sext i8 %79 to i32
%81 = icmp ne i32 %80, 0
br i1 %81, label %82, label %86
82: ; preds = %74
%83 = load i32, i32* %12
%84 = load i32, i32* @BUFSIZ
%85 = icmp slt i32 %83, %84
br label %86
86: ; preds = %82, %74
%87 = phi i1 [ false, %74 ], [ %85, %82 ]
br i1 %87, label %88, label %201
88: ; preds = %86
store i32 32, i32* %13
br label %89
89: ; preds = %112, %88
%90 = load i32, i32* %13
%91 = icmp slt i32 %90, 48
br i1 %91, label %92, label %115
92: ; preds = %89
%93 = load i32, i32* %11
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [100 x i8], [100 x i8]* %22, i64 %94
%96 = getelementptr inbounds [100 x i8], [100 x i8]* %95, i64 0, i64 0
%97 = call i32 @strcpy(i8* %19, i8* %96)
%98 = call i32 @strlen(i8* %19)
store i32 %98, i32* %14
%99 = load i32, i32* %13
%100 = trunc i32 %99 to i8
%101 = load i32, i32* %14
%102 = sub nsw i32 %101, 1
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, i8* %19, i64 %103
store i8 %100, i8* %104
%105 = load i32, i32* %12
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [100 x i8], [100 x i8]* %22, i64 %106
%108 = getelementptr inbounds [100 x i8], [100 x i8]* %107, i64 0, i64 0
%109 = call i32 @strcat(i8* %19, i8* %108)
%110 = load i32*, i32** %10
%111 = call i32 @fprintf(i32* %110, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %19)
br label %112
112: ; preds = %92
%113 = load i32, i32* %13
%114 = add nsw i32 %113, 1
store i32 %114, i32* %13
br label %89
115: ; preds = %89
store i32 58, i32* %13
br label %116
116: ; preds = %139, %115
%117 = load i32, i32* %13
%118 = icmp slt i32 %117, 65
br i1 %118, label %119, label %142
119: ; preds = %116
%120 = load i32, i32* %11
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [100 x i8], [100 x i8]* %22, i64 %121
%123 = getelementptr inbounds [100 x i8], [100 x i8]* %122, i64 0, i64 0
%124 = call i32 @strcpy(i8* %19, i8* %123)
%125 = call i32 @strlen(i8* %19)
store i32 %125, i32* %14
%126 = load i32, i32* %13
%127 = trunc i32 %126 to i8
%128 = load i32, i32* %14
%129 = sub nsw i32 %128, 1
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i8, i8* %19, i64 %130
store i8 %127, i8* %131
%132 = load i32, i32* %12
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds [100 x i8], [100 x i8]* %22, i64 %133
%135 = getelementptr inbounds [100 x i8], [100 x i8]* %134, i64 0, i64 0
%136 = call i32 @strcat(i8* %19, i8* %135)
%137 = load i32*, i32** %10
%138 = call i32 @fprintf(i32* %137, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %19)
br label %139
139: ; preds = %119
%140 = load i32, i32* %13
%141 = add nsw i32 %140, 1
store i32 %141, i32* %13
br label %116
142: ; preds = %116
store i32 91, i32* %13
br label %143
143: ; preds = %166, %142
%144 = load i32, i32* %13
%145 = icmp slt i32 %144, 97
br i1 %145, label %146, label %169
146: ; preds = %143
%147 = load i32, i32* %11
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds [100 x i8], [100 x i8]* %22, i64 %148
%150 = getelementptr inbounds [100 x i8], [100 x i8]* %149, i64 0, i64 0
%151 = call i32 @strcpy(i8* %19, i8* %150)
%152 = call i32 @strlen(i8* %19)
store i32 %152, i32* %14
%153 = load i32, i32* %13
%154 = trunc i32 %153 to i8
%155 = load i32, i32* %14
%156 = sub nsw i32 %155, 1
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds i8, i8* %19, i64 %157
store i8 %154, i8* %158
%159 = load i32, i32* %12
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds [100 x i8], [100 x i8]* %22, i64 %160
%162 = getelementptr inbounds [100 x i8], [100 x i8]* %161, i64 0, i64 0
%163 = call i32 @strcat(i8* %19, i8* %162)
%164 = load i32*, i32** %10
%165 = call i32 @fprintf(i32* %164, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %19)
br label %166
166: ; preds = %146
%167 = load i32, i32* %13
%168 = add nsw i32 %167, 1
store i32 %168, i32* %13
br label %143
169: ; preds = %143
store i32 123, i32* %13
br label %170
170: ; preds = %193, %169
%171 = load i32, i32* %13
%172 = icmp slt i32 %171, 127
br i1 %172, label %173, label %196
173: ; preds = %170
%174 = load i32, i32* %11
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds [100 x i8], [100 x i8]* %22, i64 %175
%177 = getelementptr inbounds [100 x i8], [100 x i8]* %176, i64 0, i64 0
%178 = call i32 @strcpy(i8* %19, i8* %177)
%179 = call i32 @strlen(i8* %19)
store i32 %179, i32* %14
%180 = load i32, i32* %13
%181 = trunc i32 %180 to i8
%182 = load i32, i32* %14
%183 = sub nsw i32 %182, 1
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds i8, i8* %19, i64 %184
store i8 %181, i8* %185
%186 = load i32, i32* %12
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds [100 x i8], [100 x i8]* %22, i64 %187
%189 = getelementptr inbounds [100 x i8], [100 x i8]* %188, i64 0, i64 0
%190 = call i32 @strcat(i8* %19, i8* %189)
%191 = load i32*, i32** %10
%192 = call i32 @fprintf(i32* %191, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %19)
br label %193
193: ; preds = %173
%194 = load i32, i32* %13
%195 = add nsw i32 %194, 1
store i32 %195, i32* %13
br label %170
196: ; preds = %170
%197 = call i32 @clear_buf(i8* %19)
br label %198
198: ; preds = %196
%199 = load i32, i32* %12
%200 = add nsw i32 %199, 1
store i32 %200, i32* %12
br label %74
201: ; preds = %86
%202 = call i32 @clear_buf(i8* %19)
br label %203
203: ; preds = %201
%204 = load i32, i32* %11
%205 = add nsw i32 %204, 1
store i32 %205, i32* %11
br label %59
206: ; preds = %71
%207 = load i32*, i32** %9
%208 = call i32 @fclose(i32* %207)
%209 = load i32*, i32** %10
%210 = call i32 @fclose(i32* %209)
%211 = load i8*, i8** %6
ret i32 0
}

LLVM IR (-O2):
@BUFSIZ = global i32 0
@.str = [2 x i8] c"r\00"
@.str.1 = [3 x i8] c"w+\00"
define i32 @concat_with_symbols(i8* nocapture %0, i8* nocapture %1) {
%3 = alloca [100 x i8]
%4 = getelementptr inbounds [100 x i8], [100 x i8]* %3, i64 0, i64 0
%5 = load i32, i32* @BUFSIZ
%6 = zext i32 %5 to i64
%7 = tail call i8* @llvm.stacksave()
%8 = alloca i8, i64 %6
%9 = load i32, i32* @BUFSIZ
%10 = zext i32 %9 to i64
%11 = alloca [100 x i8], i64 %10
%12 = call i32 @clear_buf_t(i8* %4, i32 100)
%13 = load i32, i32* @BUFSIZ
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %45
15: ; preds = %2
%16 = zext i32 %13 to i64
%17 = add nsw i64 %16, -1
%18 = and i64 %16, 3
%19 = icmp ult i64 %17, 3
br i1 %19, label %35, label %20
20: ; preds = %15
%21 = and i64 %16, 4294967292
br label %22
22: ; preds = %22, %20
%23 = phi i64 [ 0, %20 ], [ %32, %22 ]
%24 = phi i64 [ 0, %20 ], [ %33, %22 ]
%25 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 %23, i64 0
store i8 0, i8* %25
%26 = or i64 %23, 1
%27 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 %26, i64 0
store i8 0, i8* %27
%28 = or i64 %23, 2
%29 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 %28, i64 0
store i8 0, i8* %29
%30 = or i64 %23, 3
%31 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 %30, i64 0
store i8 0, i8* %31
%32 = add nuw nsw i64 %23, 4
%33 = add i64 %24, 4
%34 = icmp eq i64 %33, %21
br i1 %34, label %35, label %22
35: ; preds = %22, %15
%36 = phi i64 [ 0, %15 ], [ %32, %22 ]
%37 = icmp eq i64 %18, 0
br i1 %37, label %45, label %38
38: ; preds = %35, %38
%39 = phi i64 [ %42, %38 ], [ %36, %35 ]
%40 = phi i64 [ %43, %38 ], [ 0, %35 ]
%41 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 %39, i64 0
store i8 0, i8* %41
%42 = add nuw nsw i64 %39, 1
%43 = add i64 %40, 1
%44 = icmp eq i64 %43, %18
br i1 %44, label %45, label %38
45: ; preds = %35, %38, %2
%46 = call i32* @fopen(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%47 = call i32* @fopen(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%48 = call i64 @fgets(i8* %4, i32 100, i32* %46)
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %57
50: ; preds = %57, %45
%51 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%52 = load i8, i8* %51
%53 = icmp ne i8 %52, 0
%54 = load i32, i32* @BUFSIZ
%55 = icmp sgt i32 %54, 0
%56 = select i1 %53, i1 %55, i1 false
br i1 %56, label %65, label %229
57: ; preds = %45, %57
%58 = phi i64 [ %61, %57 ], [ 0, %45 ]
%59 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 %58, i64 0
%60 = call i32 @strcpy(i8* %59, i8* %4)
%61 = add nuw i64 %58, 1
%62 = call i32 @clear_buf_t(i8* %4, i32 100)
%63 = call i64 @fgets(i8* %4, i32 100, i32* %46)
%64 = icmp eq i64 %63, 0
br i1 %64, label %50, label %57
65: ; preds = %50, %227
%66 = phi i32 [ %223, %227 ], [ %54, %50 ]
%67 = phi i8 [ %228, %227 ], [ 1, %50 ]
%68 = phi i64 [ %219, %227 ], [ 0, %50 ]
%69 = phi i8* [ %220, %227 ], [ %51, %50 ]
%70 = icmp ne i8 %67, 0
%71 = icmp sgt i32 %66, 0
%72 = select i1 %70, i1 %71, i1 false
br i1 %72, label %73, label %217
73: ; preds = %65, %88
%74 = phi i64 [ %209, %88 ], [ 0, %65 ]
%75 = phi i8* [ %210, %88 ], [ %51, %65 ]
br label %76
76: ; preds = %73, %76
%77 = phi i32 [ 32, %73 ], [ %86, %76 ]
%78 = call i32 @strcpy(i8* %8, i8* %69)
%79 = call i32 @strlen(i8* %8)
%80 = trunc i32 %77 to i8
%81 = add nsw i32 %79, -1
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, i8* %8, i64 %82
store i8 %80, i8* %83
%84 = call i32 @strcat(i8* %8, i8* %75)
%85 = call i32 @fputs(i8* %8, i32* %47)
%86 = add nuw nsw i32 %77, 1
%87 = icmp eq i32 %86, 48
br i1 %87, label %88, label %76
88: ; preds = %76
%89 = call i32 @strcpy(i8* %8, i8* %69)
%90 = call i32 @strlen(i8* %8)
%91 = add nsw i32 %90, -1
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, i8* %8, i64 %92
store i8 58, i8* %93
%94 = call i32 @strcat(i8* %8, i8* %75)
%95 = call i32 @fputs(i8* %8, i32* %47)
%96 = call i32 @strcpy(i8* %8, i8* %69)
%97 = call i32 @strlen(i8* %8)
%98 = add nsw i32 %97, -1
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i8, i8* %8, i64 %99
store i8 59, i8* %100
%101 = call i32 @strcat(i8* %8, i8* %75)
%102 = call i32 @fputs(i8* %8, i32* %47)
%103 = call i32 @strcpy(i8* %8, i8* %69)
%104 = call i32 @strlen(i8* %8)
%105 = add nsw i32 %104, -1
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i8, i8* %8, i64 %106
store i8 60, i8* %107
%108 = call i32 @strcat(i8* %8, i8* %75)
%109 = call i32 @fputs(i8* %8, i32* %47)
%110 = call i32 @strcpy(i8* %8, i8* %69)
%111 = call i32 @strlen(i8* %8)
%112 = add nsw i32 %111, -1
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i8, i8* %8, i64 %113
store i8 61, i8* %114
%115 = call i32 @strcat(i8* %8, i8* %75)
%116 = call i32 @fputs(i8* %8, i32* %47)
%117 = call i32 @strcpy(i8* %8, i8* %69)
%118 = call i32 @strlen(i8* %8)
%119 = add nsw i32 %118, -1
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i8, i8* %8, i64 %120
store i8 62, i8* %121
%122 = call i32 @strcat(i8* %8, i8* %75)
%123 = call i32 @fputs(i8* %8, i32* %47)
%124 = call i32 @strcpy(i8* %8, i8* %69)
%125 = call i32 @strlen(i8* %8)
%126 = add nsw i32 %125, -1
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds i8, i8* %8, i64 %127
store i8 63, i8* %128
%129 = call i32 @strcat(i8* %8, i8* %75)
%130 = call i32 @fputs(i8* %8, i32* %47)
%131 = call i32 @strcpy(i8* %8, i8* %69)
%132 = call i32 @strlen(i8* %8)
%133 = add nsw i32 %132, -1
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds i8, i8* %8, i64 %134
store i8 64, i8* %135
%136 = call i32 @strcat(i8* %8, i8* %75)
%137 = call i32 @fputs(i8* %8, i32* %47)
%138 = call i32 @strcpy(i8* %8, i8* %69)
%139 = call i32 @strlen(i8* %8)
%140 = add nsw i32 %139, -1
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i8, i8* %8, i64 %141
store i8 91, i8* %142
%143 = call i32 @strcat(i8* %8, i8* %75)
%144 = call i32 @fputs(i8* %8, i32* %47)
%145 = call i32 @strcpy(i8* %8, i8* %69)
%146 = call i32 @strlen(i8* %8)
%147 = add nsw i32 %146, -1
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds i8, i8* %8, i64 %148
store i8 92, i8* %149
%150 = call i32 @strcat(i8* %8, i8* %75)
%151 = call i32 @fputs(i8* %8, i32* %47)
%152 = call i32 @strcpy(i8* %8, i8* %69)
%153 = call i32 @strlen(i8* %8)
%154 = add nsw i32 %153, -1
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds i8, i8* %8, i64 %155
store i8 93, i8* %156
%157 = call i32 @strcat(i8* %8, i8* %75)
%158 = call i32 @fputs(i8* %8, i32* %47)
%159 = call i32 @strcpy(i8* %8, i8* %69)
%160 = call i32 @strlen(i8* %8)
%161 = add nsw i32 %160, -1
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds i8, i8* %8, i64 %162
store i8 94, i8* %163
%164 = call i32 @strcat(i8* %8, i8* %75)
%165 = call i32 @fputs(i8* %8, i32* %47)
%166 = call i32 @strcpy(i8* %8, i8* %69)
%167 = call i32 @strlen(i8* %8)
%168 = add nsw i32 %167, -1
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds i8, i8* %8, i64 %169
store i8 95, i8* %170
%171 = call i32 @strcat(i8* %8, i8* %75)
%172 = call i32 @fputs(i8* %8, i32* %47)
%173 = call i32 @strcpy(i8* %8, i8* %69)
%174 = call i32 @strlen(i8* %8)
%175 = add nsw i32 %174, -1
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds i8, i8* %8, i64 %176
store i8 96, i8* %177
%178 = call i32 @strcat(i8* %8, i8* %75)
%179 = call i32 @fputs(i8* %8, i32* %47)
%180 = call i32 @strcpy(i8* %8, i8* %69)
%181 = call i32 @strlen(i8* %8)
%182 = add nsw i32 %181, -1
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds i8, i8* %8, i64 %183
store i8 123, i8* %184
%185 = call i32 @strcat(i8* %8, i8* %75)
%186 = call i32 @fputs(i8* %8, i32* %47)
%187 = call i32 @strcpy(i8* %8, i8* %69)
%188 = call i32 @strlen(i8* %8)
%189 = add nsw i32 %188, -1
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds i8, i8* %8, i64 %190
store i8 124, i8* %191
%192 = call i32 @strcat(i8* %8, i8* %75)
%193 = call i32 @fputs(i8* %8, i32* %47)
%194 = call i32 @strcpy(i8* %8, i8* %69)
%195 = call i32 @strlen(i8* %8)
%196 = add nsw i32 %195, -1
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds i8, i8* %8, i64 %197
store i8 125, i8* %198
%199 = call i32 @strcat(i8* %8, i8* %75)
%200 = call i32 @fputs(i8* %8, i32* %47)
%201 = call i32 @strcpy(i8* %8, i8* %69)
%202 = call i32 @strlen(i8* %8)
%203 = add nsw i32 %202, -1
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds i8, i8* %8, i64 %204
store i8 126, i8* %205
%206 = call i32 @strcat(i8* %8, i8* %75)
%207 = call i32 @fputs(i8* %8, i32* %47)
%208 = call i32 @clear_buf(i8* %8)
%209 = add nuw nsw i64 %74, 1
%210 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 %209, i64 0
%211 = load i8, i8* %210
%212 = icmp ne i8 %211, 0
%213 = load i32, i32* @BUFSIZ
%214 = sext i32 %213 to i64
%215 = icmp slt i64 %209, %214
%216 = select i1 %212, i1 %215, i1 false
br i1 %216, label %73, label %217
217: ; preds = %88, %65
%218 = call i32 @clear_buf(i8* %8)
%219 = add nuw nsw i64 %68, 1
%220 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 %219, i64 0
%221 = load i8, i8* %220
%222 = icmp ne i8 %221, 0
%223 = load i32, i32* @BUFSIZ
%224 = sext i32 %223 to i64
%225 = icmp slt i64 %219, %224
%226 = select i1 %222, i1 %225, i1 false
br i1 %226, label %227, label %229
227: ; preds = %217
%228 = load i8, i8* %51
br label %65
229: ; preds = %217, %50
%230 = call i32 @fclose(i32* %46)
%231 = call i32 @fclose(i32* %47)
ret i32 0
}