#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*/ u_long;
typedef unsigned char u_char;

/* Variables and functions */
int /*<<< orphan*/ PUTLONG(int, unsigned char *);
int /*<<< orphan*/ PUTSHORT(int, unsigned char *);
int dn_comp(char const *, unsigned char *, int, unsigned char **,
            unsigned char **);
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
int create_msg(u_char *buf) {
  u_char *p;
  char *temp, *temp1;
  u_char *comp_dn, *comp_dn2;
  char exp_dn[200], exp_dn2[200];
  u_char **dnptrs, **lastdnptr, **dnptrs2;
  int i, len = 0, comp_size;
  u_long now;
  dnptrs = (unsigned char **)malloc(2 * sizeof(unsigned char *));
  dnptrs2 = (unsigned char **)malloc(2 * sizeof(unsigned char *));
  comp_dn = (unsigned char *)malloc(200 * sizeof(unsigned char));
  comp_dn2 = (unsigned char *)malloc(200 * sizeof(unsigned char));
  temp1 = (char *)malloc(400 * sizeof(char));
  temp = temp1;
  p = buf;
  strcpy(temp, "HEADER JUNK:");
  len += strlen(temp);
  while (*temp != '\0')
    *p++ = *temp++;
  strcpy(exp_dn, "lcs.mit.edu");
  *dnptrs++ = (u_char *)exp_dn;
  *dnptrs-- = NULL;
  lastdnptr = NULL;
  if (0)
    printf("Calling dn_comp..\n");
  comp_size = dn_comp((const char *)exp_dn, comp_dn, 200, dnptrs, lastdnptr);
  if (0)
    printf("uncomp_size = %d\n", strlen(exp_dn));
  if (0)
    printf("comp_size = %d\n", comp_size);
  if (0)
    printf("exp_dn = %s, comp_dn = %s\n", exp_dn, (char *)comp_dn);
  for (i = 0; i < comp_size; i++)
    *p++ = *comp_dn++;
  len += comp_size;
  PUTSHORT(30, p);
  p += 2;
  PUTSHORT(255, p);
  p += 2;
  PUTLONG(255, p);
  p += 4;
  PUTSHORT(16, p);
  p += 2;
  len += 10;
  strcpy(exp_dn2, "sls.lcs.mit.edu");
  *dnptrs2++ = (u_char *)exp_dn2;
  *dnptrs2-- = NULL;
  lastdnptr = NULL;
  if (0)
    printf("Calling dn_comp..\n");
  comp_size = dn_comp((const char *)exp_dn2, comp_dn2, 200, dnptrs2, lastdnptr);
  if (0)
    printf("uncomp_size = %d\n", strlen(exp_dn2));
  if (0)
    printf("comp_size = %d\n", comp_size);
  if (0)
    printf("exp_dn2 = %s, comp_dn2 = %s\n", exp_dn2, (char *)comp_dn2);
  len += comp_size;
  for (i = 0; i < comp_size; i++)
    *p++ = *comp_dn2++;
  PUTLONG(1 << 24, p);
  p += 4;
  PUTLONG(0, p);
  p += 4;
  PUTLONG(0, p);
  p += 4;
  PUTLONG(0, p);
  p += 4;
  len += 16;
  return (len);
}


x86 assembly (clang, -O0):
<create_msg>:
push   %rbp
mov    %rsp,%rbp
sub    $0x200,%rsp
mov    %rdi,-0x8(%rbp)
movl   $0x0,-0x1f0(%rbp)
mov    $0x10,%edi
call   1070 <malloc@plt>
mov    %rax,-0x1d8(%rbp)
mov    $0x10,%edi
call   1070 <malloc@plt>
mov    %rax,-0x1e8(%rbp)
mov    $0xc8,%edi
call   1070 <malloc@plt>
mov    %rax,-0x28(%rbp)
mov    $0xc8,%edi
call   1070 <malloc@plt>
mov    %rax,-0x30(%rbp)
mov    $0x190,%edi
call   1070 <malloc@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rdi
lea    0xe20(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x18(%rbp),%rdi
call   1040 <strlen@plt>
add    -0x1f0(%rbp),%eax
mov    %eax,-0x1f0(%rbp)
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     1231 <create_msg+0xd1>
mov    -0x18(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x18(%rbp)
mov    (%rax),%cl
mov    -0x10(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x10(%rbp)
mov    %cl,(%rax)
jmp    11fa <create_msg+0x9a>
lea    -0x100(%rbp),%rdi
lea    0xdd2(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x100(%rbp),%rcx
mov    -0x1d8(%rbp),%rax
mov    %rax,%rdx
add    $0x8,%rdx
mov    %rdx,-0x1d8(%rbp)
mov    %rcx,(%rax)
mov    -0x1d8(%rbp),%rax
mov    %rax,%rcx
add    $0xfffffffffffffff8,%rcx
mov    %rcx,-0x1d8(%rbp)
movq   $0x0,(%rax)
movq   $0x0,-0x1e0(%rbp)
lea    -0x100(%rbp),%rdi
mov    -0x28(%rbp),%rsi
mov    -0x1d8(%rbp),%rcx
mov    -0x1e0(%rbp),%r8
mov    $0xc8,%edx
call   1060 <dn_comp@plt>
mov    %eax,-0x1f4(%rbp)
movl   $0x0,-0x1ec(%rbp)
mov    -0x1ec(%rbp),%eax
cmp    -0x1f4(%rbp),%eax
jge    1305 <create_msg+0x1a5>
mov    -0x28(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x28(%rbp)
mov    (%rax),%cl
mov    -0x10(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x10(%rbp)
mov    %cl,(%rax)
mov    -0x1ec(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1ec(%rbp)
jmp    12bd <create_msg+0x15d>
mov    -0x1f4(%rbp),%eax
add    -0x1f0(%rbp),%eax
mov    %eax,-0x1f0(%rbp)
mov    -0x10(%rbp),%rsi
mov    $0x1e,%edi
call   1080 <PUTSHORT@plt>
mov    -0x10(%rbp),%rax
add    $0x2,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rsi
mov    $0xff,%edi
call   1080 <PUTSHORT@plt>
mov    -0x10(%rbp),%rax
add    $0x2,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rsi
mov    $0xff,%edi
call   1050 <PUTLONG@plt>
mov    -0x10(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rsi
mov    $0x10,%edi
call   1080 <PUTSHORT@plt>
mov    -0x10(%rbp),%rax
add    $0x2,%rax
mov    %rax,-0x10(%rbp)
mov    -0x1f0(%rbp),%eax
add    $0xa,%eax
mov    %eax,-0x1f0(%rbp)
lea    -0x1d0(%rbp),%rdi
lea    0xc71(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x1d0(%rbp),%rcx
mov    -0x1e8(%rbp),%rax
mov    %rax,%rdx
add    $0x8,%rdx
mov    %rdx,-0x1e8(%rbp)
mov    %rcx,(%rax)
mov    -0x1e8(%rbp),%rax
mov    %rax,%rcx
add    $0xfffffffffffffff8,%rcx
mov    %rcx,-0x1e8(%rbp)
movq   $0x0,(%rax)
movq   $0x0,-0x1e0(%rbp)
lea    -0x1d0(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x1e8(%rbp),%rcx
mov    -0x1e0(%rbp),%r8
mov    $0xc8,%edx
call   1060 <dn_comp@plt>
mov    %eax,-0x1f4(%rbp)
mov    -0x1f4(%rbp),%eax
add    -0x1f0(%rbp),%eax
mov    %eax,-0x1f0(%rbp)
movl   $0x0,-0x1ec(%rbp)
mov    -0x1ec(%rbp),%eax
cmp    -0x1f4(%rbp),%eax
jge    1474 <create_msg+0x314>
mov    -0x30(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x30(%rbp)
mov    (%rax),%cl
mov    -0x10(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x10(%rbp)
mov    %cl,(%rax)
mov    -0x1ec(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1ec(%rbp)
jmp    142c <create_msg+0x2cc>
mov    -0x10(%rbp),%rsi
mov    $0x1000000,%edi
call   1050 <PUTLONG@plt>
mov    -0x10(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rsi
xor    %edi,%edi
call   1050 <PUTLONG@plt>
mov    -0x10(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rsi
xor    %edi,%edi
call   1050 <PUTLONG@plt>
mov    -0x10(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rsi
xor    %edi,%edi
call   1050 <PUTLONG@plt>
mov    -0x10(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x10(%rbp)
mov    -0x1f0(%rbp),%eax
add    $0x10,%eax
mov    %eax,-0x1f0(%rbp)
mov    -0x1f0(%rbp),%eax
add    $0x200,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<create_msg>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1b8,%rsp
mov    %rdi,%rbx
mov    $0x10,%edi
call   1070 <malloc@plt>
mov    %rax,%r15
mov    $0x10,%edi
call   1070 <malloc@plt>
mov    %rax,%r13
mov    $0xc8,%edi
call   1070 <malloc@plt>
mov    %rax,%rbp
mov    $0xc8,%edi
call   1070 <malloc@plt>
mov    %rax,%r12
mov    $0x190,%edi
call   1070 <malloc@plt>
mov    %rax,%r14
lea    0xe44(%rip),%rsi
mov    %rax,%rdi
call   1030 <strcpy@plt>
mov    %r14,%rdi
call   1040 <strlen@plt>
mov    %rax,0x8(%rsp)
mov    (%r14),%al
test   %al,%al
mov    %r13,0x10(%rsp)
je     1202 <create_msg+0xa2>
add    $0x1,%r14
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %al,(%rbx)
add    $0x1,%rbx
movzbl (%r14),%eax
add    $0x1,%r14
test   %al,%al
jne    11f0 <create_msg+0x90>
lea    0xe08(%rip),%rsi
lea    0xf0(%rsp),%r14
mov    %r14,%rdi
call   1030 <strcpy@plt>
mov    %r14,(%r15)
movq   $0x0,0x8(%r15)
xor    %r13d,%r13d
mov    %r14,%rdi
mov    %rbp,%rsi
mov    $0xc8,%edx
mov    %r15,%rcx
xor    %r8d,%r8d
call   1060 <dn_comp@plt>
test   %eax,%eax
jle    13e2 <create_msg+0x282>
lea    -0x1(%rax),%r8d
cmp    $0x1f,%r8d
jb     134a <create_msg+0x1ea>
lea    (%r8,%rbp,1),%rcx
add    $0x1,%rcx
cmp    %rcx,%rbx
jae    1271 <create_msg+0x111>
lea    (%rbx,%r8,1),%rcx
add    $0x1,%rcx
cmp    %rbp,%rcx
ja     134a <create_msg+0x1ea>
add    $0x1,%r8
mov    %r8,%r13
and    $0xffffffffffffffe0,%r13
lea    -0x20(%r13),%rsi
mov    %rsi,%rdx
shr    $0x5,%rdx
add    $0x1,%rdx
mov    %edx,%ecx
and    $0x3,%ecx
cmp    $0x60,%rsi
jae    129a <create_msg+0x13a>
xor    %esi,%esi
jmp    12f9 <create_msg+0x199>
and    $0xfffffffffffffffc,%rdx
xor    %esi,%esi
movups 0x0(%rbp,%rsi,1),%xmm0
movups 0x10(%rbp,%rsi,1),%xmm1
movups %xmm0,(%rbx,%rsi,1)
movups %xmm1,0x10(%rbx,%rsi,1)
movups 0x20(%rbp,%rsi,1),%xmm0
movups 0x30(%rbp,%rsi,1),%xmm1
movups %xmm0,0x20(%rbx,%rsi,1)
movups %xmm1,0x30(%rbx,%rsi,1)
movups 0x40(%rbp,%rsi,1),%xmm0
movups 0x50(%rbp,%rsi,1),%xmm1
movups %xmm0,0x40(%rbx,%rsi,1)
movups %xmm1,0x50(%rbx,%rsi,1)
movups 0x60(%rbp,%rsi,1),%xmm0
movups 0x70(%rbp,%rsi,1),%xmm1
movups %xmm0,0x60(%rbx,%rsi,1)
movups %xmm1,0x70(%rbx,%rsi,1)
sub    $0xffffffffffffff80,%rsi
add    $0xfffffffffffffffc,%rdx
jne    12a0 <create_msg+0x140>
test   %rcx,%rcx
je     133b <create_msg+0x1db>
lea    (%rsi,%rbp,1),%rdx
add    $0x10,%rdx
add    %rbx,%rsi
add    $0x10,%rsi
shl    $0x5,%rcx
xor    %edi,%edi
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movups -0x10(%rdx,%rdi,1),%xmm0
movups (%rdx,%rdi,1),%xmm1
movups %xmm0,-0x10(%rsi,%rdi,1)
movups %xmm1,(%rsi,%rdi,1)
add    $0x20,%rdi
cmp    %rdi,%rcx
jne    1320 <create_msg+0x1c0>
add    %r13,%rbx
cmp    %r13,%r8
je     13e2 <create_msg+0x282>
add    %r13,%rbp
mov    %eax,%edi
sub    %r13d,%edi
mov    %r13d,%esi
not    %esi
add    %eax,%esi
and    $0x7,%edi
je     1379 <create_msg+0x219>
neg    %edi
xor    %edx,%edx
nop
movzbl 0x0(%rbp),%ecx
add    $0x1,%rbp
mov    %cl,(%rbx)
add    $0x1,%rbx
add    $0xffffffffffffffff,%rdx
cmp    %edx,%edi
jne    1360 <create_msg+0x200>
sub    %edx,%r13d
cmp    $0x7,%esi
jb     13e2 <create_msg+0x282>
mov    %eax,%esi
sub    %r13d,%esi
xor    %ecx,%ecx
cs nopw 0x0(%rax,%rax,1)
nop
movzbl 0x0(%rbp,%rcx,1),%edx
mov    %dl,(%rbx,%rcx,1)
movzbl 0x1(%rbp,%rcx,1),%edx
mov    %dl,0x1(%rbx,%rcx,1)
movzbl 0x2(%rbp,%rcx,1),%edx
mov    %dl,0x2(%rbx,%rcx,1)
movzbl 0x3(%rbp,%rcx,1),%edx
mov    %dl,0x3(%rbx,%rcx,1)
movzbl 0x4(%rbp,%rcx,1),%edx
mov    %dl,0x4(%rbx,%rcx,1)
movzbl 0x5(%rbp,%rcx,1),%edx
mov    %dl,0x5(%rbx,%rcx,1)
movzbl 0x6(%rbp,%rcx,1),%edx
mov    %dl,0x6(%rbx,%rcx,1)
movzbl 0x7(%rbp,%rcx,1),%edx
mov    %dl,0x7(%rbx,%rcx,1)
add    $0x8,%rcx
cmp    %ecx,%esi
jne    1390 <create_msg+0x230>
add    %rcx,%rbx
mov    %rax,0x18(%rsp)
mov    $0x1e,%edi
mov    %rbx,%rsi
call   1080 <PUTSHORT@plt>
lea    0x2(%rbx),%rsi
mov    $0xff,%edi
call   1080 <PUTSHORT@plt>
lea    0x4(%rbx),%rsi
mov    $0xff,%edi
call   1050 <PUTLONG@plt>
lea    0x8(%rbx),%rsi
mov    $0x10,%edi
call   1080 <PUTSHORT@plt>
lea    0xa(%rbx),%rbp
lea    0xbe4(%rip),%rsi
lea    0x20(%rsp),%r14
mov    %r14,%rdi
call   1030 <strcpy@plt>
mov    0x10(%rsp),%rcx
mov    %r14,(%rcx)
movq   $0x0,0x8(%rcx)
xor    %r15d,%r15d
mov    %r14,%rdi
mov    %r12,%rsi
mov    $0xc8,%edx
xor    %r8d,%r8d
call   1060 <dn_comp@plt>
mov    %eax,%r13d
test   %eax,%eax
jle    153c <create_msg+0x3dc>
lea    -0x1(%r13),%eax
cmp    $0x1f,%eax
jb     1492 <create_msg+0x332>
lea    (%rax,%r12,1),%rcx
add    $0x1,%rcx
cmp    %rcx,%rbp
jae    1590 <create_msg+0x430>
lea    (%rax,%rbx,1),%rcx
add    $0xb,%rcx
cmp    %r12,%rcx
jbe    1590 <create_msg+0x430>
mov    0x8(%rsp),%r14
mov    %r13d,%ecx
sub    %r15d,%ecx
mov    %r15d,%eax
not    %eax
add    %r13d,%eax
and    $0x7,%ecx
je     14cb <create_msg+0x36b>
neg    %ecx
xor    %edx,%edx
xchg   %ax,%ax
movzbl (%r12),%ebx
add    $0x1,%r12
mov    %bl,0x0(%rbp)
add    $0x1,%rbp
add    $0xffffffffffffffff,%rdx
cmp    %edx,%ecx
jne    14b0 <create_msg+0x350>
sub    %edx,%r15d
cmp    $0x7,%eax
jb     1541 <create_msg+0x3e1>
mov    %r13d,%eax
sub    %r15d,%eax
xor    %ecx,%ecx
nopl   0x0(%rax,%rax,1)
movzbl (%r12,%rcx,1),%edx
mov    %dl,0x0(%rbp,%rcx,1)
movzbl 0x1(%r12,%rcx,1),%edx
mov    %dl,0x1(%rbp,%rcx,1)
movzbl 0x2(%r12,%rcx,1),%edx
mov    %dl,0x2(%rbp,%rcx,1)
movzbl 0x3(%r12,%rcx,1),%edx
mov    %dl,0x3(%rbp,%rcx,1)
movzbl 0x4(%r12,%rcx,1),%edx
mov    %dl,0x4(%rbp,%rcx,1)
movzbl 0x5(%r12,%rcx,1),%edx
mov    %dl,0x5(%rbp,%rcx,1)
movzbl 0x6(%r12,%rcx,1),%edx
mov    %dl,0x6(%rbp,%rcx,1)
movzbl 0x7(%r12,%rcx,1),%edx
mov    %dl,0x7(%rbp,%rcx,1)
add    $0x8,%rcx
cmp    %ecx,%eax
jne    14e0 <create_msg+0x380>
add    %rcx,%rbp
jmp    1541 <create_msg+0x3e1>
mov    0x8(%rsp),%r14
mov    $0x1000000,%edi
mov    %rbp,%rsi
call   1050 <PUTLONG@plt>
lea    0x4(%rbp),%rsi
xor    %edi,%edi
call   1050 <PUTLONG@plt>
lea    0x8(%rbp),%rsi
xor    %edi,%edi
call   1050 <PUTLONG@plt>
add    $0xc,%rbp
xor    %edi,%edi
mov    %rbp,%rsi
call   1050 <PUTLONG@plt>
add    0x18(%rsp),%r14d
lea    (%r14,%r13,1),%eax
add    $0x1a,%eax
add    $0x1b8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
add    $0x1,%rax
mov    %rax,%r15
and    $0xffffffffffffffe0,%r15
lea    -0x20(%r15),%rsi
mov    %rsi,%rdx
shr    $0x5,%rdx
add    $0x1,%rdx
mov    %edx,%ecx
and    $0x3,%ecx
cmp    $0x60,%rsi
mov    0x8(%rsp),%r14
jae    15be <create_msg+0x45e>
xor    %esi,%esi
jmp    1631 <create_msg+0x4d1>
and    $0xfffffffffffffffc,%rdx
xor    %esi,%esi
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movups (%r12,%rsi,1),%xmm0
movups 0x10(%r12,%rsi,1),%xmm1
movups %xmm0,0xa(%rbx,%rsi,1)
movups %xmm1,0x1a(%rbx,%rsi,1)
movups 0x20(%r12,%rsi,1),%xmm0
movups 0x30(%r12,%rsi,1),%xmm1
movups %xmm0,0x2a(%rbx,%rsi,1)
movups %xmm1,0x3a(%rbx,%rsi,1)
movups 0x40(%r12,%rsi,1),%xmm0
movups 0x50(%r12,%rsi,1),%xmm1
movups %xmm0,0x4a(%rbx,%rsi,1)
movups %xmm1,0x5a(%rbx,%rsi,1)
movups 0x60(%r12,%rsi,1),%xmm0
movups 0x70(%r12,%rsi,1),%xmm1
movups %xmm0,0x6a(%rbx,%rsi,1)
movups %xmm1,0x7a(%rbx,%rsi,1)
sub    $0xffffffffffffff80,%rsi
add    $0xfffffffffffffffc,%rdx
jne    15d0 <create_msg+0x470>
test   %rcx,%rcx
je     166b <create_msg+0x50b>
lea    (%rsi,%r12,1),%rdx
add    $0x10,%rdx
add    %rbx,%rsi
add    $0x1a,%rsi
shl    $0x5,%rcx
xor    %edi,%edi
nopl   0x0(%rax,%rax,1)
movups -0x10(%rdx,%rdi,1),%xmm0
movups (%rdx,%rdi,1),%xmm1
movups %xmm0,-0x10(%rsi,%rdi,1)
movups %xmm1,(%rsi,%rdi,1)
add    $0x20,%rdi
cmp    %rdi,%rcx
jne    1650 <create_msg+0x4f0>
add    %r15,%rbp
cmp    %r15,%rax
je     1541 <create_msg+0x3e1>
add    %r15,%r12
jmp    1497 <create_msg+0x337>

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

LLVM IR (-O2):
@.str = [13 x i8] c"HEADER JUNK:\00"
@.str.1 = [12 x i8] c"lcs.mit.edu\00"
@.str.2 = [16 x i8] c"sls.lcs.mit.edu\00"
define i32 @create_msg(i8* %0) {
%2 = alloca [200 x i8]
%3 = alloca [200 x i8]
%4 = getelementptr inbounds [200 x i8], [200 x i8]* %2, i64 0, i64 0
%5 = getelementptr inbounds [200 x i8], [200 x i8]* %3, i64 0, i64 0
%6 = tail call i64 @malloc(i32 16)
%7 = inttoptr i64 %6 to i8**
%8 = tail call i64 @malloc(i32 16)
%9 = inttoptr i64 %8 to i8**
%10 = tail call i64 @malloc(i32 200)
%11 = inttoptr i64 %10 to i8*
%12 = tail call i64 @malloc(i32 200)
%13 = inttoptr i64 %12 to i8*
%14 = tail call i64 @malloc(i32 400)
%15 = inttoptr i64 %14 to i8*
%16 = tail call i32 @strcpy(i8* %15, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%17 = tail call i32 @strlen(i8* %15)
%18 = load i8, i8* %15
%19 = icmp eq i8 %18, 0
br i1 %19, label %28, label %20
20: ; preds = %1, %20
%21 = phi i8 [ %26, %20 ], [ %18, %1 ]
%22 = phi i8* [ %25, %20 ], [ %0, %1 ]
%23 = phi i8* [ %24, %20 ], [ %15, %1 ]
%24 = getelementptr inbounds i8, i8* %23, i64 1
%25 = getelementptr inbounds i8, i8* %22, i64 1
store i8 %21, i8* %22
%26 = load i8, i8* %24
%27 = icmp eq i8 %26, 0
br i1 %27, label %28, label %20
28: ; preds = %20, %1
%29 = phi i8* [ %0, %1 ], [ %25, %20 ]
%30 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
%31 = getelementptr inbounds i8*, i8** %7, i64 1
store i8* %4, i8** %7
store i8* null, i8** %31
%32 = call i32 @dn_comp(i8* %4, i8* %11, i32 200, i8** %7, i8** null)
%33 = icmp sgt i32 %32, 0
br i1 %33, label %34, label %186
34: ; preds = %28
%35 = add i32 %32, -1
%36 = zext i32 %35 to i64
%37 = add nuw nsw i64 %36, 1
%38 = icmp ult i32 %35, 31
br i1 %38, label %130, label %39
39: ; preds = %34
%40 = add i32 %32, -1
%41 = zext i32 %40 to i64
%42 = add nuw nsw i64 %41, 1
%43 = getelementptr i8, i8* %29, i64 %42
%44 = getelementptr i8, i8* %11, i64 %42
%45 = icmp ult i8* %29, %44
%46 = icmp ugt i8* %43, %11
%47 = and i1 %45, %46
br i1 %47, label %130, label %48
48: ; preds = %39
%49 = and i64 %37, 8589934560
%50 = getelementptr i8, i8* %29, i64 %49
%51 = trunc i64 %49 to i32
%52 = getelementptr i8, i8* %11, i64 %49
%53 = add nsw i64 %49, -32
%54 = lshr exact i64 %53, 5
%55 = add nuw nsw i64 %54, 1
%56 = and i64 %55, 3
%57 = icmp ult i64 %53, 96
br i1 %57, label %109, label %58
58: ; preds = %48
%59 = and i64 %55, 1152921504606846972
br label %60
60: ; preds = %60, %58
%61 = phi i64 [ 0, %58 ], [ %106, %60 ]
%62 = phi i64 [ 0, %58 ], [ %107, %60 ]
%63 = getelementptr i8, i8* %29, i64 %61
%64 = getelementptr i8, i8* %11, i64 %61
%65 = bitcast i8* %64 to <16 x i8>*
%66 = load <16 x i8>, <16 x i8>* %65
%67 = getelementptr i8, i8* %64, i64 16
%68 = bitcast i8* %67 to <16 x i8>*
%69 = load <16 x i8>, <16 x i8>* %68
%70 = bitcast i8* %63 to <16 x i8>*
store <16 x i8> %66, <16 x i8>* %70
%71 = getelementptr i8, i8* %63, i64 16
%72 = bitcast i8* %71 to <16 x i8>*
store <16 x i8> %69, <16 x i8>* %72
%73 = or i64 %61, 32
%74 = getelementptr i8, i8* %29, i64 %73
%75 = getelementptr i8, i8* %11, i64 %73
%76 = bitcast i8* %75 to <16 x i8>*
%77 = load <16 x i8>, <16 x i8>* %76
%78 = getelementptr i8, i8* %75, i64 16
%79 = bitcast i8* %78 to <16 x i8>*
%80 = load <16 x i8>, <16 x i8>* %79
%81 = bitcast i8* %74 to <16 x i8>*
store <16 x i8> %77, <16 x i8>* %81
%82 = getelementptr i8, i8* %74, i64 16
%83 = bitcast i8* %82 to <16 x i8>*
store <16 x i8> %80, <16 x i8>* %83
%84 = or i64 %61, 64
%85 = getelementptr i8, i8* %29, i64 %84
%86 = getelementptr i8, i8* %11, i64 %84
%87 = bitcast i8* %86 to <16 x i8>*
%88 = load <16 x i8>, <16 x i8>* %87
%89 = getelementptr i8, i8* %86, i64 16
%90 = bitcast i8* %89 to <16 x i8>*
%91 = load <16 x i8>, <16 x i8>* %90
%92 = bitcast i8* %85 to <16 x i8>*
store <16 x i8> %88, <16 x i8>* %92
%93 = getelementptr i8, i8* %85, i64 16
%94 = bitcast i8* %93 to <16 x i8>*
store <16 x i8> %91, <16 x i8>* %94
%95 = or i64 %61, 96
%96 = getelementptr i8, i8* %29, i64 %95
%97 = getelementptr i8, i8* %11, i64 %95
%98 = bitcast i8* %97 to <16 x i8>*
%99 = load <16 x i8>, <16 x i8>* %98
%100 = getelementptr i8, i8* %97, i64 16
%101 = bitcast i8* %100 to <16 x i8>*
%102 = load <16 x i8>, <16 x i8>* %101
%103 = bitcast i8* %96 to <16 x i8>*
store <16 x i8> %99, <16 x i8>* %103
%104 = getelementptr i8, i8* %96, i64 16
%105 = bitcast i8* %104 to <16 x i8>*
store <16 x i8> %102, <16 x i8>* %105
%106 = add nuw i64 %61, 128
%107 = add i64 %62, 4
%108 = icmp eq i64 %107, %59
br i1 %108, label %109, label %60
109: ; preds = %60, %48
%110 = phi i64 [ 0, %48 ], [ %106, %60 ]
%111 = icmp eq i64 %56, 0
br i1 %111, label %128, label %112
112: ; preds = %109, %112
%113 = phi i64 [ %125, %112 ], [ %110, %109 ]
%114 = phi i64 [ %126, %112 ], [ 0, %109 ]
%115 = getelementptr i8, i8* %29, i64 %113
%116 = getelementptr i8, i8* %11, i64 %113
%117 = bitcast i8* %116 to <16 x i8>*
%118 = load <16 x i8>, <16 x i8>* %117
%119 = getelementptr i8, i8* %116, i64 16
%120 = bitcast i8* %119 to <16 x i8>*
%121 = load <16 x i8>, <16 x i8>* %120
%122 = bitcast i8* %115 to <16 x i8>*
store <16 x i8> %118, <16 x i8>* %122
%123 = getelementptr i8, i8* %115, i64 16
%124 = bitcast i8* %123 to <16 x i8>*
store <16 x i8> %121, <16 x i8>* %124
%125 = add nuw i64 %113, 32
%126 = add i64 %114, 1
%127 = icmp eq i64 %126, %56
br i1 %127, label %128, label %112
128: ; preds = %112, %109
%129 = icmp eq i64 %37, %49
br i1 %129, label %186, label %130
130: ; preds = %39, %34, %128
%131 = phi i8* [ %29, %39 ], [ %29, %34 ], [ %50, %128 ]
%132 = phi i32 [ 0, %39 ], [ 0, %34 ], [ %51, %128 ]
%133 = phi i8* [ %11, %39 ], [ %11, %34 ], [ %52, %128 ]
%134 = sub i32 %32, %132
%135 = xor i32 %132, -1
%136 = add i32 %32, %135
%137 = and i32 %134, 7
%138 = icmp eq i32 %137, 0
br i1 %138, label %150, label %139
139: ; preds = %130, %139
%140 = phi i8* [ %146, %139 ], [ %131, %130 ]
%141 = phi i32 [ %147, %139 ], [ %132, %130 ]
%142 = phi i8* [ %144, %139 ], [ %133, %130 ]
%143 = phi i32 [ %148, %139 ], [ 0, %130 ]
%144 = getelementptr inbounds i8, i8* %142, i64 1
%145 = load i8, i8* %142
%146 = getelementptr inbounds i8, i8* %140, i64 1
store i8 %145, i8* %140
%147 = add nuw nsw i32 %141, 1
%148 = add i32 %143, 1
%149 = icmp eq i32 %148, %137
br i1 %149, label %150, label %139
150: ; preds = %139, %130
%151 = phi i8* [ undef, %130 ], [ %146, %139 ]
%152 = phi i8* [ %131, %130 ], [ %146, %139 ]
%153 = phi i32 [ %132, %130 ], [ %147, %139 ]
%154 = phi i8* [ %133, %130 ], [ %144, %139 ]
%155 = icmp ult i32 %136, 7
br i1 %155, label %186, label %156
156: ; preds = %150, %156
%157 = phi i8* [ %183, %156 ], [ %152, %150 ]
%158 = phi i32 [ %184, %156 ], [ %153, %150 ]
%159 = phi i8* [ %181, %156 ], [ %154, %150 ]
%160 = getelementptr inbounds i8, i8* %159, i64 1
%161 = load i8, i8* %159
%162 = getelementptr inbounds i8, i8* %157, i64 1
store i8 %161, i8* %157
%163 = getelementptr inbounds i8, i8* %159, i64 2
%164 = load i8, i8* %160
%165 = getelementptr inbounds i8, i8* %157, i64 2
store i8 %164, i8* %162
%166 = getelementptr inbounds i8, i8* %159, i64 3
%167 = load i8, i8* %163
%168 = getelementptr inbounds i8, i8* %157, i64 3
store i8 %167, i8* %165
%169 = getelementptr inbounds i8, i8* %159, i64 4
%170 = load i8, i8* %166
%171 = getelementptr inbounds i8, i8* %157, i64 4
store i8 %170, i8* %168
%172 = getelementptr inbounds i8, i8* %159, i64 5
%173 = load i8, i8* %169
%174 = getelementptr inbounds i8, i8* %157, i64 5
store i8 %173, i8* %171
%175 = getelementptr inbounds i8, i8* %159, i64 6
%176 = load i8, i8* %172
%177 = getelementptr inbounds i8, i8* %157, i64 6
store i8 %176, i8* %174
%178 = getelementptr inbounds i8, i8* %159, i64 7
%179 = load i8, i8* %175
%180 = getelementptr inbounds i8, i8* %157, i64 7
store i8 %179, i8* %177
%181 = getelementptr inbounds i8, i8* %159, i64 8
%182 = load i8, i8* %178
%183 = getelementptr inbounds i8, i8* %157, i64 8
store i8 %182, i8* %180
%184 = add nuw nsw i32 %158, 8
%185 = icmp eq i32 %184, %32
br i1 %185, label %186, label %156
186: ; preds = %150, %156, %128, %28
%187 = phi i8* [ %29, %28 ], [ %50, %128 ], [ %151, %150 ], [ %183, %156 ]
%188 = call i32 @PUTSHORT(i32 30, i8* %187)
%189 = getelementptr inbounds i8, i8* %187, i64 2
%190 = call i32 @PUTSHORT(i32 255, i8* %189)
%191 = getelementptr inbounds i8, i8* %187, i64 4
%192 = call i32 @PUTLONG(i32 255, i8* %191)
%193 = getelementptr inbounds i8, i8* %187, i64 8
%194 = call i32 @PUTSHORT(i32 16, i8* %193)
%195 = getelementptr i8, i8* %187, i64 10
%196 = call i32 @strcpy(i8* %5, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0))
%197 = getelementptr inbounds i8*, i8** %9, i64 1
store i8* %5, i8** %9
store i8* null, i8** %197
%198 = call i32 @dn_comp(i8* %5, i8* %13, i32 200, i8** %9, i8** null)
%199 = icmp sgt i32 %198, 0
br i1 %199, label %200, label %353
200: ; preds = %186
%201 = add i32 %198, -1
%202 = zext i32 %201 to i64
%203 = add nuw nsw i64 %202, 1
%204 = icmp ult i32 %201, 31
br i1 %204, label %297, label %205
205: ; preds = %200
%206 = add i32 %198, -1
%207 = zext i32 %206 to i64
%208 = add nuw nsw i64 %207, 11
%209 = getelementptr i8, i8* %187, i64 %208
%210 = add nuw nsw i64 %207, 1
%211 = getelementptr i8, i8* %13, i64 %210
%212 = icmp ult i8* %195, %211
%213 = icmp ugt i8* %209, %13
%214 = and i1 %212, %213
br i1 %214, label %297, label %215
215: ; preds = %205
%216 = and i64 %203, 8589934560
%217 = getelementptr i8, i8* %195, i64 %216
%218 = trunc i64 %216 to i32
%219 = getelementptr i8, i8* %13, i64 %216
%220 = add nsw i64 %216, -32
%221 = lshr exact i64 %220, 5
%222 = add nuw nsw i64 %221, 1
%223 = and i64 %222, 3
%224 = icmp ult i64 %220, 96
br i1 %224, label %276, label %225
225: ; preds = %215
%226 = and i64 %222, 1152921504606846972
br label %227
227: ; preds = %227, %225
%228 = phi i64 [ 0, %225 ], [ %273, %227 ]
%229 = phi i64 [ 0, %225 ], [ %274, %227 ]
%230 = getelementptr i8, i8* %195, i64 %228
%231 = getelementptr i8, i8* %13, i64 %228
%232 = bitcast i8* %231 to <16 x i8>*
%233 = load <16 x i8>, <16 x i8>* %232
%234 = getelementptr i8, i8* %231, i64 16
%235 = bitcast i8* %234 to <16 x i8>*
%236 = load <16 x i8>, <16 x i8>* %235
%237 = bitcast i8* %230 to <16 x i8>*
store <16 x i8> %233, <16 x i8>* %237
%238 = getelementptr i8, i8* %230, i64 16
%239 = bitcast i8* %238 to <16 x i8>*
store <16 x i8> %236, <16 x i8>* %239
%240 = or i64 %228, 32
%241 = getelementptr i8, i8* %195, i64 %240
%242 = getelementptr i8, i8* %13, i64 %240
%243 = bitcast i8* %242 to <16 x i8>*
%244 = load <16 x i8>, <16 x i8>* %243
%245 = getelementptr i8, i8* %242, i64 16
%246 = bitcast i8* %245 to <16 x i8>*
%247 = load <16 x i8>, <16 x i8>* %246
%248 = bitcast i8* %241 to <16 x i8>*
store <16 x i8> %244, <16 x i8>* %248
%249 = getelementptr i8, i8* %241, i64 16
%250 = bitcast i8* %249 to <16 x i8>*
store <16 x i8> %247, <16 x i8>* %250
%251 = or i64 %228, 64
%252 = getelementptr i8, i8* %195, i64 %251
%253 = getelementptr i8, i8* %13, i64 %251
%254 = bitcast i8* %253 to <16 x i8>*
%255 = load <16 x i8>, <16 x i8>* %254
%256 = getelementptr i8, i8* %253, i64 16
%257 = bitcast i8* %256 to <16 x i8>*
%258 = load <16 x i8>, <16 x i8>* %257
%259 = bitcast i8* %252 to <16 x i8>*
store <16 x i8> %255, <16 x i8>* %259
%260 = getelementptr i8, i8* %252, i64 16
%261 = bitcast i8* %260 to <16 x i8>*
store <16 x i8> %258, <16 x i8>* %261
%262 = or i64 %228, 96
%263 = getelementptr i8, i8* %195, i64 %262
%264 = getelementptr i8, i8* %13, i64 %262
%265 = bitcast i8* %264 to <16 x i8>*
%266 = load <16 x i8>, <16 x i8>* %265
%267 = getelementptr i8, i8* %264, i64 16
%268 = bitcast i8* %267 to <16 x i8>*
%269 = load <16 x i8>, <16 x i8>* %268
%270 = bitcast i8* %263 to <16 x i8>*
store <16 x i8> %266, <16 x i8>* %270
%271 = getelementptr i8, i8* %263, i64 16
%272 = bitcast i8* %271 to <16 x i8>*
store <16 x i8> %269, <16 x i8>* %272
%273 = add nuw i64 %228, 128
%274 = add i64 %229, 4
%275 = icmp eq i64 %274, %226
br i1 %275, label %276, label %227
276: ; preds = %227, %215
%277 = phi i64 [ 0, %215 ], [ %273, %227 ]
%278 = icmp eq i64 %223, 0
br i1 %278, label %295, label %279
279: ; preds = %276, %279
%280 = phi i64 [ %292, %279 ], [ %277, %276 ]
%281 = phi i64 [ %293, %279 ], [ 0, %276 ]
%282 = getelementptr i8, i8* %195, i64 %280
%283 = getelementptr i8, i8* %13, i64 %280
%284 = bitcast i8* %283 to <16 x i8>*
%285 = load <16 x i8>, <16 x i8>* %284
%286 = getelementptr i8, i8* %283, i64 16
%287 = bitcast i8* %286 to <16 x i8>*
%288 = load <16 x i8>, <16 x i8>* %287
%289 = bitcast i8* %282 to <16 x i8>*
store <16 x i8> %285, <16 x i8>* %289
%290 = getelementptr i8, i8* %282, i64 16
%291 = bitcast i8* %290 to <16 x i8>*
store <16 x i8> %288, <16 x i8>* %291
%292 = add nuw i64 %280, 32
%293 = add i64 %281, 1
%294 = icmp eq i64 %293, %223
br i1 %294, label %295, label %279
295: ; preds = %279, %276
%296 = icmp eq i64 %203, %216
br i1 %296, label %353, label %297
297: ; preds = %205, %200, %295
%298 = phi i8* [ %195, %205 ], [ %195, %200 ], [ %217, %295 ]
%299 = phi i32 [ 0, %205 ], [ 0, %200 ], [ %218, %295 ]
%300 = phi i8* [ %13, %205 ], [ %13, %200 ], [ %219, %295 ]
%301 = sub i32 %198, %299
%302 = xor i32 %299, -1
%303 = add i32 %198, %302
%304 = and i32 %301, 7
%305 = icmp eq i32 %304, 0
br i1 %305, label %317, label %306
306: ; preds = %297, %306
%307 = phi i8* [ %313, %306 ], [ %298, %297 ]
%308 = phi i32 [ %314, %306 ], [ %299, %297 ]
%309 = phi i8* [ %311, %306 ], [ %300, %297 ]
%310 = phi i32 [ %315, %306 ], [ 0, %297 ]
%311 = getelementptr inbounds i8, i8* %309, i64 1
%312 = load i8, i8* %309
%313 = getelementptr inbounds i8, i8* %307, i64 1
store i8 %312, i8* %307
%314 = add nuw nsw i32 %308, 1
%315 = add i32 %310, 1
%316 = icmp eq i32 %315, %304
br i1 %316, label %317, label %306
317: ; preds = %306, %297
%318 = phi i8* [ undef, %297 ], [ %313, %306 ]
%319 = phi i8* [ %298, %297 ], [ %313, %306 ]
%320 = phi i32 [ %299, %297 ], [ %314, %306 ]
%321 = phi i8* [ %300, %297 ], [ %311, %306 ]
%322 = icmp ult i32 %303, 7
br i1 %322, label %353, label %323
323: ; preds = %317, %323
%324 = phi i8* [ %350, %323 ], [ %319, %317 ]
%325 = phi i32 [ %351, %323 ], [ %320, %317 ]
%326 = phi i8* [ %348, %323 ], [ %321, %317 ]
%327 = getelementptr inbounds i8, i8* %326, i64 1
%328 = load i8, i8* %326
%329 = getelementptr inbounds i8, i8* %324, i64 1
store i8 %328, i8* %324
%330 = getelementptr inbounds i8, i8* %326, i64 2
%331 = load i8, i8* %327
%332 = getelementptr inbounds i8, i8* %324, i64 2
store i8 %331, i8* %329
%333 = getelementptr inbounds i8, i8* %326, i64 3
%334 = load i8, i8* %330
%335 = getelementptr inbounds i8, i8* %324, i64 3
store i8 %334, i8* %332
%336 = getelementptr inbounds i8, i8* %326, i64 4
%337 = load i8, i8* %333
%338 = getelementptr inbounds i8, i8* %324, i64 4
store i8 %337, i8* %335
%339 = getelementptr inbounds i8, i8* %326, i64 5
%340 = load i8, i8* %336
%341 = getelementptr inbounds i8, i8* %324, i64 5
store i8 %340, i8* %338
%342 = getelementptr inbounds i8, i8* %326, i64 6
%343 = load i8, i8* %339
%344 = getelementptr inbounds i8, i8* %324, i64 6
store i8 %343, i8* %341
%345 = getelementptr inbounds i8, i8* %326, i64 7
%346 = load i8, i8* %342
%347 = getelementptr inbounds i8, i8* %324, i64 7
store i8 %346, i8* %344
%348 = getelementptr inbounds i8, i8* %326, i64 8
%349 = load i8, i8* %345
%350 = getelementptr inbounds i8, i8* %324, i64 8
store i8 %349, i8* %347
%351 = add nuw nsw i32 %325, 8
%352 = icmp eq i32 %351, %198
br i1 %352, label %353, label %323
353: ; preds = %317, %323, %295, %186
%354 = phi i8* [ %195, %186 ], [ %217, %295 ], [ %318, %317 ], [ %350, %323 ]
%355 = call i32 @PUTLONG(i32 16777216, i8* %354)
%356 = getelementptr inbounds i8, i8* %354, i64 4
%357 = call i32 @PUTLONG(i32 0, i8* %356)
%358 = getelementptr inbounds i8, i8* %354, i64 8
%359 = call i32 @PUTLONG(i32 0, i8* %358)
%360 = getelementptr inbounds i8, i8* %354, i64 12
%361 = call i32 @PUTLONG(i32 0, i8* %360)
%362 = add i32 %17, 26
%363 = add i32 %362, %32
%364 = add i32 %363, %198
ret i32 %364
}