#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 char uint8_t;
typedef int uint32_t;
typedef int /*<<< orphan*/ q;

/* Variables and functions */
int hashlittle(char *, int, int);
int /*<<< orphan*/ hashlittle2(char *, int, int *, int *);
int hashword(int const *, int, int);
int /*<<< orphan*/ hashword2(int *, int, int *, int *);
int /*<<< orphan*/ printf(char *, ...);
void driver3() {
  uint8_t buf[70 + 20], *b;
  uint32_t len;
  uint8_t q[] = "This is the time for all good men to come to the aid of their "
                "country...";
  uint32_t h;
  uint8_t qq[] = "xThis is the time for all good men to come to the aid of "
                 "their country...";
  uint32_t i;
  uint8_t qqq[] = "xxThis is the time for all good men to come to the aid of "
                  "their country...";
  uint32_t j;
  uint8_t qqqq[] = "xxxThis is the time for all good men to come to the aid of "
                   "their country...";
  uint32_t ref, x, y;
  uint8_t *p;
  printf("Endianness.  These lines should all be the same (for values filled "
         "in):\n");
  printf(
      "%.8x                            %.8x                            %.8x\n",
      hashword((const uint32_t *)q, (sizeof(q) - 1) / 4, 13),
      hashword((const uint32_t *)q, (sizeof(q) - 5) / 4, 13),
      hashword((const uint32_t *)q, (sizeof(q) - 9) / 4, 13));
  p = q;
  printf("%.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x\n",
         hashlittle(p, sizeof(q) - 1, 13), hashlittle(p, sizeof(q) - 2, 13),
         hashlittle(p, sizeof(q) - 3, 13), hashlittle(p, sizeof(q) - 4, 13),
         hashlittle(p, sizeof(q) - 5, 13), hashlittle(p, sizeof(q) - 6, 13),
         hashlittle(p, sizeof(q) - 7, 13), hashlittle(p, sizeof(q) - 8, 13),
         hashlittle(p, sizeof(q) - 9, 13), hashlittle(p, sizeof(q) - 10, 13),
         hashlittle(p, sizeof(q) - 11, 13), hashlittle(p, sizeof(q) - 12, 13));
  p = &qq[1];
  printf("%.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x\n",
         hashlittle(p, sizeof(q) - 1, 13), hashlittle(p, sizeof(q) - 2, 13),
         hashlittle(p, sizeof(q) - 3, 13), hashlittle(p, sizeof(q) - 4, 13),
         hashlittle(p, sizeof(q) - 5, 13), hashlittle(p, sizeof(q) - 6, 13),
         hashlittle(p, sizeof(q) - 7, 13), hashlittle(p, sizeof(q) - 8, 13),
         hashlittle(p, sizeof(q) - 9, 13), hashlittle(p, sizeof(q) - 10, 13),
         hashlittle(p, sizeof(q) - 11, 13), hashlittle(p, sizeof(q) - 12, 13));
  p = &qqq[2];
  printf("%.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x\n",
         hashlittle(p, sizeof(q) - 1, 13), hashlittle(p, sizeof(q) - 2, 13),
         hashlittle(p, sizeof(q) - 3, 13), hashlittle(p, sizeof(q) - 4, 13),
         hashlittle(p, sizeof(q) - 5, 13), hashlittle(p, sizeof(q) - 6, 13),
         hashlittle(p, sizeof(q) - 7, 13), hashlittle(p, sizeof(q) - 8, 13),
         hashlittle(p, sizeof(q) - 9, 13), hashlittle(p, sizeof(q) - 10, 13),
         hashlittle(p, sizeof(q) - 11, 13), hashlittle(p, sizeof(q) - 12, 13));
  p = &qqqq[3];
  printf("%.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x\n",
         hashlittle(p, sizeof(q) - 1, 13), hashlittle(p, sizeof(q) - 2, 13),
         hashlittle(p, sizeof(q) - 3, 13), hashlittle(p, sizeof(q) - 4, 13),
         hashlittle(p, sizeof(q) - 5, 13), hashlittle(p, sizeof(q) - 6, 13),
         hashlittle(p, sizeof(q) - 7, 13), hashlittle(p, sizeof(q) - 8, 13),
         hashlittle(p, sizeof(q) - 9, 13), hashlittle(p, sizeof(q) - 10, 13),
         hashlittle(p, sizeof(q) - 11, 13), hashlittle(p, sizeof(q) - 12, 13));
  printf("\n");
  i = 47;
  j = 0;
  hashlittle2(q, sizeof(q), &i, &j);
  if (hashlittle(q, sizeof(q), 47) != i)
    printf("hashlittle2 and hashlittle mismatch\n");
  len = 0xdeadbeef;
  i = 47, j = 0;
  hashword2(&len, 1, &i, &j);
  if (hashword(&len, 1, 47) != i)
    printf("hashword2 and hashword mismatch %x %x\n", i, hashword(&len, 1, 47));
  for (h = 0, b = buf + 1; h < 8; ++h, ++b) {
    for (i = 0; i < 70; ++i) {
      len = i;
      for (j = 0; j < i; ++j)
        *(b + j) = 0;
      ref = hashlittle(b, len, (uint32_t)1);
      *(b + i) = (uint8_t)~0;
      *(b - 1) = (uint8_t)~0;
      x = hashlittle(b, len, (uint32_t)1);
      y = hashlittle(b, len, (uint32_t)1);
      if ((ref != x) || (ref != y)) {
        printf("alignment error: %.8x %.8x %.8x %d %d\n", ref, x, y, h, i);
      }
    }
  }
}


x86 assembly (clang, -O0):
<driver3>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x280,%rsp
lea    -0xe0(%rbp),%rdi
lea    0xe80(%rip),%rsi
mov    $0x49,%edx
call   1070 <memcpy@plt>
lea    -0x130(%rbp),%rdi
lea    0xeb8(%rip),%rsi
mov    $0x4a,%edx
call   1070 <memcpy@plt>
lea    -0x180(%rbp),%rdi
lea    0xef0(%rip),%rsi
mov    $0x4b,%edx
call   1070 <memcpy@plt>
lea    -0x1d0(%rbp),%rdi
lea    0xf28(%rip),%rsi
mov    $0x4c,%edx
call   1070 <memcpy@plt>
lea    0xf63(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0xe0(%rbp),%rdi
mov    $0x12,%esi
mov    $0xd,%edx
call   1060 <hashword@plt>
mov    %eax,-0x260(%rbp)
lea    -0xe0(%rbp),%rdi
mov    $0x11,%esi
mov    $0xd,%edx
call   1060 <hashword@plt>
mov    %eax,-0x25c(%rbp)
lea    -0xe0(%rbp),%rdi
mov    $0x10,%esi
mov    $0xd,%edx
call   1060 <hashword@plt>
mov    -0x260(%rbp),%esi
mov    -0x25c(%rbp),%edx
mov    %eax,%ecx
lea    0xf42(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0xe0(%rbp),%rax
mov    %rax,-0x1e8(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x48,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x258(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x47,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x254(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x46,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x250(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x45,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x24c(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x44,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x248(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x43,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,%r12d
mov    -0x1e8(%rbp),%rdi
mov    $0x42,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,%r15d
mov    -0x1e8(%rbp),%rdi
mov    $0x41,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,%r14d
mov    -0x1e8(%rbp),%rdi
mov    $0x40,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,%ebx
mov    -0x1e8(%rbp),%rdi
mov    $0x3f,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x244(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x3e,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x240(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x3d,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    -0x258(%rbp),%esi
mov    -0x254(%rbp),%edx
mov    -0x250(%rbp),%ecx
mov    -0x24c(%rbp),%r8d
mov    -0x248(%rbp),%r9d
mov    -0x244(%rbp),%r11d
mov    -0x240(%rbp),%r10d
lea    0xe01(%rip),%rdi
mov    %r12d,(%rsp)
mov    %r15d,0x8(%rsp)
mov    %r14d,0x10(%rsp)
mov    %ebx,0x18(%rsp)
mov    %r11d,0x20(%rsp)
mov    %r10d,0x28(%rsp)
mov    %eax,0x30(%rsp)
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x130(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x1e8(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x48,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x23c(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x47,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x238(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x46,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x234(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x45,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x230(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x44,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x22c(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x43,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,%r12d
mov    -0x1e8(%rbp),%rdi
mov    $0x42,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,%r15d
mov    -0x1e8(%rbp),%rdi
mov    $0x41,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,%r14d
mov    -0x1e8(%rbp),%rdi
mov    $0x40,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,%ebx
mov    -0x1e8(%rbp),%rdi
mov    $0x3f,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x228(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x3e,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x224(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x3d,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    -0x23c(%rbp),%esi
mov    -0x238(%rbp),%edx
mov    -0x234(%rbp),%ecx
mov    -0x230(%rbp),%r8d
mov    -0x22c(%rbp),%r9d
mov    -0x228(%rbp),%r11d
mov    -0x224(%rbp),%r10d
lea    0xc56(%rip),%rdi
mov    %r12d,(%rsp)
mov    %r15d,0x8(%rsp)
mov    %r14d,0x10(%rsp)
mov    %ebx,0x18(%rsp)
mov    %r11d,0x20(%rsp)
mov    %r10d,0x28(%rsp)
mov    %eax,0x30(%rsp)
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x180(%rbp),%rax
add    $0x2,%rax
mov    %rax,-0x1e8(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x48,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x220(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x47,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x21c(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x46,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x218(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x45,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x214(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x44,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x210(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x43,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,%r12d
mov    -0x1e8(%rbp),%rdi
mov    $0x42,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,%r15d
mov    -0x1e8(%rbp),%rdi
mov    $0x41,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,%r14d
mov    -0x1e8(%rbp),%rdi
mov    $0x40,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,%ebx
mov    -0x1e8(%rbp),%rdi
mov    $0x3f,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x20c(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x3e,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x208(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x3d,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    -0x220(%rbp),%esi
mov    -0x21c(%rbp),%edx
mov    -0x218(%rbp),%ecx
mov    -0x214(%rbp),%r8d
mov    -0x210(%rbp),%r9d
mov    -0x20c(%rbp),%r11d
mov    -0x208(%rbp),%r10d
lea    0xaab(%rip),%rdi
mov    %r12d,(%rsp)
mov    %r15d,0x8(%rsp)
mov    %r14d,0x10(%rsp)
mov    %ebx,0x18(%rsp)
mov    %r11d,0x20(%rsp)
mov    %r10d,0x28(%rsp)
mov    %eax,0x30(%rsp)
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x1d0(%rbp),%rax
add    $0x3,%rax
mov    %rax,-0x1e8(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x48,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x204(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x47,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x200(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x46,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x1fc(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x45,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x1f8(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x44,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x1f4(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x43,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,%r12d
mov    -0x1e8(%rbp),%rdi
mov    $0x42,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,%r15d
mov    -0x1e8(%rbp),%rdi
mov    $0x41,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,%r14d
mov    -0x1e8(%rbp),%rdi
mov    $0x40,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,%ebx
mov    -0x1e8(%rbp),%rdi
mov    $0x3f,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x1f0(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x3e,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x1ec(%rbp)
mov    -0x1e8(%rbp),%rdi
mov    $0x3d,%esi
mov    $0xd,%edx
call   1040 <hashlittle@plt>
mov    -0x204(%rbp),%esi
mov    -0x200(%rbp),%edx
mov    -0x1fc(%rbp),%ecx
mov    -0x1f8(%rbp),%r8d
mov    -0x1f4(%rbp),%r9d
mov    -0x1f0(%rbp),%r11d
mov    -0x1ec(%rbp),%r10d
lea    0x900(%rip),%rdi
mov    %r12d,(%rsp)
mov    %r15d,0x8(%rsp)
mov    %r14d,0x10(%rsp)
mov    %ebx,0x18(%rsp)
mov    %r11d,0x20(%rsp)
mov    %r10d,0x28(%rsp)
mov    %eax,0x30(%rsp)
mov    $0x0,%al
call   1050 <printf@plt>
lea    0x88a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x2f,-0x134(%rbp)
movl   $0x0,-0x184(%rbp)
lea    -0xe0(%rbp),%rdi
mov    $0x49,%esi
lea    -0x134(%rbp),%rdx
lea    -0x184(%rbp),%rcx
call   1080 <hashlittle2@plt>
lea    -0xe0(%rbp),%rdi
mov    $0x49,%esi
mov    $0x2f,%edx
call   1040 <hashlittle@plt>
cmp    -0x134(%rbp),%eax
je     1963 <driver3+0x803>
lea    0x8ac(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0xdeadbeef,-0x8c(%rbp)
be ad de
movl   $0x2f,-0x134(%rbp)
movl   $0x0,-0x184(%rbp)
lea    -0x8c(%rbp),%rdi
mov    $0x1,%esi
lea    -0x134(%rbp),%rdx
lea    -0x184(%rbp),%rcx
call   1030 <hashword2@plt>
lea    -0x8c(%rbp),%rdi
mov    $0x1,%esi
mov    $0x2f,%edx
call   1060 <hashword@plt>
cmp    -0x134(%rbp),%eax
je     19fa <driver3+0x89a>
mov    -0x134(%rbp),%eax
mov    %eax,-0x264(%rbp)
lea    -0x8c(%rbp),%rdi
mov    $0x1,%esi
mov    $0x2f,%edx
call   1060 <hashword@plt>
mov    -0x264(%rbp),%esi
mov    %eax,%edx
lea    0x83a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0xe4(%rbp)
lea    -0x80(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x88(%rbp)
cmpl   $0x8,-0xe4(%rbp)
jge    1b8f <driver3+0xa2f>
movl   $0x0,-0x134(%rbp)
cmpl   $0x46,-0x134(%rbp)
jge    1b64 <driver3+0xa04>
mov    -0x134(%rbp),%eax
mov    %eax,-0x8c(%rbp)
movl   $0x0,-0x184(%rbp)
mov    -0x184(%rbp),%eax
cmp    -0x134(%rbp),%eax
jge    1a85 <driver3+0x925>
mov    -0x88(%rbp),%rax
movslq -0x184(%rbp),%rcx
movb   $0x0,(%rax,%rcx,1)
mov    -0x184(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x184(%rbp)
jmp    1a4d <driver3+0x8ed>
mov    -0x88(%rbp),%rdi
mov    -0x8c(%rbp),%esi
mov    $0x1,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x1d4(%rbp)
mov    -0x88(%rbp),%rax
movslq -0x134(%rbp),%rcx
movb   $0xff,(%rax,%rcx,1)
mov    -0x88(%rbp),%rax
movb   $0xff,-0x1(%rax)
mov    -0x88(%rbp),%rdi
mov    -0x8c(%rbp),%esi
mov    $0x1,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x1d8(%rbp)
mov    -0x88(%rbp),%rdi
mov    -0x8c(%rbp),%esi
mov    $0x1,%edx
call   1040 <hashlittle@plt>
mov    %eax,-0x1dc(%rbp)
mov    -0x1d4(%rbp),%eax
cmp    -0x1d8(%rbp),%eax
jne    1b1d <driver3+0x9bd>
mov    -0x1d4(%rbp),%eax
cmp    -0x1dc(%rbp),%eax
je     1b4b <driver3+0x9eb>
mov    -0x1d4(%rbp),%esi
mov    -0x1d8(%rbp),%edx
mov    -0x1dc(%rbp),%ecx
mov    -0xe4(%rbp),%r8d
mov    -0x134(%rbp),%r9d
lea    0x710(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1b50 <driver3+0x9f0>
mov    -0x134(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x134(%rbp)
jmp    1a2a <driver3+0x8ca>
jmp    1b69 <driver3+0xa09>
mov    -0xe4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xe4(%rbp)
mov    -0x88(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x88(%rbp)
jmp    1a13 <driver3+0x8b3>
add    $0x280,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<driver3>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1e8,%rsp
movups 0xea1(%rip),%xmm0
movups %xmm0,0x79(%rsp)
movaps 0xe8c(%rip),%xmm0
movaps %xmm0,0x70(%rsp)
movaps 0xe70(%rip),%xmm0
movaps %xmm0,0x60(%rsp)
movaps 0xe54(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movaps 0xe38(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movups 0xeb6(%rip),%xmm0
movups %xmm0,0xca(%rsp)
movaps 0xe9d(%rip),%xmm0
movaps %xmm0,0xc0(%rsp)
movaps 0xe7e(%rip),%xmm0
movaps %xmm0,0xb0(%rsp)
movaps 0xe5f(%rip),%xmm0
movaps %xmm0,0xa0(%rsp)
movaps 0xe40(%rip),%xmm0
movaps %xmm0,0x90(%rsp)
movups 0xebc(%rip),%xmm0
movups %xmm0,0x11b(%rsp)
movaps 0xea2(%rip),%xmm0
movaps %xmm0,0x110(%rsp)
movaps 0xe83(%rip),%xmm0
movaps %xmm0,0x100(%rsp)
movaps 0xe64(%rip),%xmm0
movaps %xmm0,0xf0(%rsp)
movaps 0xe45(%rip),%xmm0
movaps %xmm0,0xe0(%rsp)
movups 0xec2(%rip),%xmm0
movups %xmm0,0x16c(%rsp)
movaps 0xea7(%rip),%xmm0
movaps %xmm0,0x160(%rsp)
movaps 0xe88(%rip),%xmm0
movaps %xmm0,0x150(%rsp)
movaps 0xe69(%rip),%xmm0
movaps %xmm0,0x140(%rsp)
movaps 0xe4a(%rip),%xmm0
movaps %xmm0,0x130(%rsp)
lea    0xf58(%rip),%rdi
call   1050 <puts@plt>
lea    0x40(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0xd,%edx
call   1080 <hashword@plt>
mov    %eax,%r14d
mov    %rbx,%rdi
mov    $0x11,%esi
mov    $0xd,%edx
call   1080 <hashword@plt>
mov    %eax,%ebp
mov    %rbx,%rdi
mov    $0x10,%esi
mov    $0xd,%edx
call   1080 <hashword@plt>
lea    0xe3b(%rip),%rdi
mov    %r14d,%esi
mov    %ebp,%edx
mov    %eax,%ecx
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
mov    $0x48,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,0x18(%rsp)
mov    %rbx,%rdi
mov    $0x47,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,0x10(%rsp)
mov    %rbx,%rdi
mov    $0x46,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,0x38(%rsp)
mov    %rbx,%rdi
mov    $0x45,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,0xc(%rsp)
mov    %rbx,%rdi
mov    $0x44,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%r12d
mov    %rbx,%rdi
mov    $0x43,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %rax,0x30(%rsp)
mov    %rbx,%rdi
mov    $0x42,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %rax,0x28(%rsp)
mov    %rbx,%rdi
mov    %rbx,%rbp
mov    $0x41,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%r13d
mov    %rbx,%rdi
mov    $0x40,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%r15d
mov    %rbx,%rdi
mov    $0x3f,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%ebx
mov    %rbp,%rdi
mov    $0x3e,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%r14d
mov    %rbp,%rdi
mov    $0x3d,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%ebp
sub    $0x8,%rsp
lea    0xd63(%rip),%rdi
mov    0x20(%rsp),%esi
mov    0x18(%rsp),%edx
mov    0x40(%rsp),%ecx
mov    0x14(%rsp),%r8d
mov    %r12d,%r9d
xor    %eax,%eax
push   %rbp
push   %r14
push   %rbx
push   %r15
push   %r13
push   0x58(%rsp)
push   0x68(%rsp)
call   1070 <printf@plt>
add    $0x40,%rsp
lea    0x91(%rsp),%rbp
mov    %rbp,%rdi
mov    $0x48,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,0x18(%rsp)
mov    %rbp,%rdi
mov    $0x47,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,0x10(%rsp)
mov    %rbp,%rdi
mov    $0x46,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,0x30(%rsp)
mov    %rbp,%rdi
mov    $0x45,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,0xc(%rsp)
mov    %rbp,%rdi
mov    $0x44,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%r14d
mov    %rbp,%rdi
mov    $0x43,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %rax,0x38(%rsp)
mov    %rbp,%rdi
mov    $0x42,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %rax,0x28(%rsp)
mov    %rbp,%rdi
mov    $0x41,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%r13d
mov    %rbp,%rdi
mov    $0x40,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%r15d
mov    %rbp,%rdi
mov    $0x3f,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%ebx
mov    %rbp,%rdi
mov    $0x3e,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%r12d
mov    %rbp,%rdi
mov    $0x3d,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%ebp
sub    $0x8,%rsp
lea    0xc1f(%rip),%rdi
mov    0x20(%rsp),%esi
mov    0x18(%rsp),%edx
mov    0x38(%rsp),%ecx
mov    0x14(%rsp),%r8d
mov    %r14d,%r9d
xor    %eax,%eax
push   %rbp
push   %r12
push   %rbx
push   %r15
push   %r13
push   0x58(%rsp)
push   0x70(%rsp)
call   1070 <printf@plt>
add    $0x40,%rsp
lea    0xe2(%rsp),%rbp
mov    %rbp,%rdi
mov    $0x48,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,0x18(%rsp)
mov    %rbp,%rdi
mov    $0x47,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,0x10(%rsp)
mov    %rbp,%rdi
mov    $0x46,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,0x30(%rsp)
mov    %rbp,%rdi
mov    $0x45,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,0xc(%rsp)
mov    %rbp,%rdi
mov    $0x44,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%r14d
mov    %rbp,%rdi
mov    $0x43,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %rax,0x38(%rsp)
mov    %rbp,%rdi
mov    $0x42,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %rax,0x28(%rsp)
mov    %rbp,%rdi
mov    $0x41,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%r13d
mov    %rbp,%rdi
mov    $0x40,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%r15d
mov    %rbp,%rdi
mov    $0x3f,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%ebx
mov    %rbp,%rdi
mov    $0x3e,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%r12d
mov    %rbp,%rdi
mov    $0x3d,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%ebp
sub    $0x8,%rsp
lea    0xadb(%rip),%rdi
mov    0x20(%rsp),%esi
mov    0x18(%rsp),%edx
mov    0x38(%rsp),%ecx
mov    0x14(%rsp),%r8d
mov    %r14d,%r9d
xor    %eax,%eax
push   %rbp
push   %r12
push   %rbx
push   %r15
push   %r13
push   0x58(%rsp)
push   0x70(%rsp)
call   1070 <printf@plt>
add    $0x40,%rsp
lea    0x133(%rsp),%rbp
mov    %rbp,%rdi
mov    $0x48,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,0x18(%rsp)
mov    %rbp,%rdi
mov    $0x47,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,0x10(%rsp)
mov    %rbp,%rdi
mov    $0x46,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,0x30(%rsp)
mov    %rbp,%rdi
mov    $0x45,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,0xc(%rsp)
mov    %rbp,%rdi
mov    $0x44,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%r14d
mov    %rbp,%rdi
mov    $0x43,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %rax,0x38(%rsp)
mov    %rbp,%rdi
mov    $0x42,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %rax,0x28(%rsp)
mov    %rbp,%rdi
mov    $0x41,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%r13d
mov    %rbp,%rdi
mov    $0x40,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%r15d
mov    %rbp,%rdi
mov    $0x3f,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%ebx
mov    %rbp,%rdi
mov    $0x3e,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%r12d
mov    %rbp,%rdi
mov    $0x3d,%esi
mov    $0xd,%edx
call   1060 <hashlittle@plt>
mov    %eax,%ebp
sub    $0x8,%rsp
lea    0x997(%rip),%rdi
mov    0x20(%rsp),%esi
mov    0x18(%rsp),%edx
mov    0x38(%rsp),%ecx
mov    0x14(%rsp),%r8d
mov    %r14d,%r9d
xor    %eax,%eax
push   %rbp
push   %r12
push   %rbx
push   %r15
push   %r13
push   0x58(%rsp)
push   0x70(%rsp)
call   1070 <printf@plt>
add    $0x40,%rsp
mov    $0xa,%edi
call   1040 <putchar@plt>
movl   $0x2f,0x8(%rsp)
movl   $0x0,0x24(%rsp)
lea    0x8(%rsp),%rdx
lea    0x24(%rsp),%rcx
lea    0x40(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x49,%esi
call   10a0 <hashlittle2@plt>
mov    %rbx,%rdi
mov    $0x49,%esi
mov    $0x2f,%edx
call   1060 <hashlittle@plt>
cmp    0x8(%rsp),%eax
je     1874 <driver3+0x6f4>
lea    0x9e6(%rip),%rdi
call   1050 <puts@plt>
movl   $0xdeadbeef,0x14(%rsp)
de
movl   $0x2f,0x8(%rsp)
movl   $0x0,0x24(%rsp)
lea    0x14(%rsp),%rbx
lea    0x8(%rsp),%rdx
lea    0x24(%rsp),%rcx
mov    %rbx,%rdi
mov    $0x1,%esi
call   1030 <hashword2@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x2f,%edx
call   1080 <hashword@plt>
mov    0x8(%rsp),%ebx
cmp    %ebx,%eax
je     18e8 <driver3+0x768>
lea    0x14(%rsp),%rdi
mov    $0x1,%esi
mov    $0x2f,%edx
call   1080 <hashword@plt>
lea    0x8e2(%rip),%rdi
mov    %ebx,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1070 <printf@plt>
lea    0x181(%rsp),%r13
lea    0x8ef(%rip),%r14
xor    %eax,%eax
jmp    1913 <driver3+0x793>
nopl   0x0(%rax,%rax,1)
add    $0x1,%r13
mov    0x18(%rsp),%rax
cmp    $0x8,%rax
je     19dc <driver3+0x85c>
mov    %eax,%r15d
lea    (%rsp,%rax,1),%r12
add    $0x181,%r12
add    $0x1,%rax
mov    %rax,0x18(%rsp)
movl   $0x0,0x8(%rsp)
xor    %ebp,%ebp
jmp    1968 <driver3+0x7e8>
cs nopw 0x0(%rax,%rax,1)
mov    0x8(%rsp),%r9d
mov    %r14,%rdi
mov    %ebp,%esi
mov    %ebx,%edx
mov    %eax,%ecx
mov    %r15d,%r8d
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x8(%rsp),%eax
lea    0x1(%rax),%ebp
mov    %ebp,0x8(%rsp)
cmp    $0x45,%eax
jge    1900 <driver3+0x780>
mov    %ebp,0x14(%rsp)
test   %ebp,%ebp
jle    1980 <driver3+0x800>
mov    %ebp,%edx
mov    %r12,%rdi
xor    %esi,%esi
call   1090 <memset@plt>
mov    %ebp,%eax
jmp    1982 <driver3+0x802>
xor    %eax,%eax
mov    %eax,0x24(%rsp)
mov    %r13,%rdi
mov    %ebp,%esi
mov    $0x1,%edx
call   1060 <hashlittle@plt>
mov    %eax,%ebp
movslq 0x8(%rsp),%rax
movb   $0xff,0x0(%r13,%rax,1)
movb   $0xff,-0x1(%r13)
mov    0x14(%rsp),%esi
mov    %r13,%rdi
mov    $0x1,%edx
call   1060 <hashlittle@plt>
mov    %eax,%ebx
mov    0x14(%rsp),%esi
mov    %r13,%rdi
mov    $0x1,%edx
call   1060 <hashlittle@plt>
cmp    %ebx,%ebp
jne    1940 <driver3+0x7c0>
cmp    %eax,%ebp
je     1958 <driver3+0x7d8>
jmp    1940 <driver3+0x7c0>
add    $0x1e8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.driver3.q = [73 x i8] c"This is the time for all good men to come to the aid of their country...\00"
@__const.driver3.qq = [74 x i8] c"xThis is the time for all good men to come to the aid of their country...\00"
@__const.driver3.qqq = [75 x i8] c"xxThis is the time for all good men to come to the aid of their country...\00"
@__const.driver3.qqqq = [76 x i8] c"xxxThis is the time for all good men to come to the aid of their country...\00"
@.str = [73 x i8] c"Endianness. These lines should all be the same (for values filled in):\0A\00"
@.str.1 = [70 x i8] c"%.8x %.8x %.8x\0A\00"
@.str.2 = [61 x i8] c"%.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x\0A\00"
@.str.3 = [2 x i8] c"\0A\00"
@.str.4 = [37 x i8] c"hashlittle2 and hashlittle mismatch\0A\00"
@.str.5 = [39 x i8] c"hashword2 and hashword mismatch %x %x\0A\00"
@.str.6 = [39 x i8] c"alignment error: %.8x %.8x %.8x %d %d\0A\00"
define void @driver3() {
%1 = alloca [90 x i8]
%2 = alloca i8*
%3 = alloca i32
%4 = alloca [73 x i8]
%5 = alloca i32
%6 = alloca [74 x i8]
%7 = alloca i32
%8 = alloca [75 x i8]
%9 = alloca i32
%10 = alloca [76 x i8]
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i8*
%15 = bitcast [73 x i8]* %4 to i8*
%16 = bitcast [74 x i8]* %6 to i8*
%17 = bitcast [75 x i8]* %8 to i8*
%18 = bitcast [76 x i8]* %10 to i8*
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str, i64 0, i64 0))
%20 = getelementptr inbounds [73 x i8], [73 x i8]* %4, i64 0, i64 0
%21 = bitcast i8* %20 to i32*
%22 = call i32 @hashword(i32* %21, i32 18, i32 13)
%23 = getelementptr inbounds [73 x i8], [73 x i8]* %4, i64 0, i64 0
%24 = bitcast i8* %23 to i32*
%25 = call i32 @hashword(i32* %24, i32 17, i32 13)
%26 = getelementptr inbounds [73 x i8], [73 x i8]* %4, i64 0, i64 0
%27 = bitcast i8* %26 to i32*
%28 = call i32 @hashword(i32* %27, i32 16, i32 13)
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.1, i64 0, i64 0), i32 %22, i32 %25, i32 %28)
%30 = getelementptr inbounds [73 x i8], [73 x i8]* %4, i64 0, i64 0
store i8* %30, i8** %14
%31 = load i8*, i8** %14
%32 = call i32 @hashlittle(i8* %31, i32 72, i32 13)
%33 = load i8*, i8** %14
%34 = call i32 @hashlittle(i8* %33, i32 71, i32 13)
%35 = load i8*, i8** %14
%36 = call i32 @hashlittle(i8* %35, i32 70, i32 13)
%37 = load i8*, i8** %14
%38 = call i32 @hashlittle(i8* %37, i32 69, i32 13)
%39 = load i8*, i8** %14
%40 = call i32 @hashlittle(i8* %39, i32 68, i32 13)
%41 = load i8*, i8** %14
%42 = call i32 @hashlittle(i8* %41, i32 67, i32 13)
%43 = load i8*, i8** %14
%44 = call i32 @hashlittle(i8* %43, i32 66, i32 13)
%45 = load i8*, i8** %14
%46 = call i32 @hashlittle(i8* %45, i32 65, i32 13)
%47 = load i8*, i8** %14
%48 = call i32 @hashlittle(i8* %47, i32 64, i32 13)
%49 = load i8*, i8** %14
%50 = call i32 @hashlittle(i8* %49, i32 63, i32 13)
%51 = load i8*, i8** %14
%52 = call i32 @hashlittle(i8* %51, i32 62, i32 13)
%53 = load i8*, i8** %14
%54 = call i32 @hashlittle(i8* %53, i32 61, i32 13)
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.2, i64 0, i64 0), i32 %32, i32 %34, i32 %36, i32 %38, i32 %40, i32 %42, i32 %44, i32 %46, i32 %48, i32 %50, i32 %52, i32 %54)
%56 = getelementptr inbounds [74 x i8], [74 x i8]* %6, i64 0, i64 1
store i8* %56, i8** %14
%57 = load i8*, i8** %14
%58 = call i32 @hashlittle(i8* %57, i32 72, i32 13)
%59 = load i8*, i8** %14
%60 = call i32 @hashlittle(i8* %59, i32 71, i32 13)
%61 = load i8*, i8** %14
%62 = call i32 @hashlittle(i8* %61, i32 70, i32 13)
%63 = load i8*, i8** %14
%64 = call i32 @hashlittle(i8* %63, i32 69, i32 13)
%65 = load i8*, i8** %14
%66 = call i32 @hashlittle(i8* %65, i32 68, i32 13)
%67 = load i8*, i8** %14
%68 = call i32 @hashlittle(i8* %67, i32 67, i32 13)
%69 = load i8*, i8** %14
%70 = call i32 @hashlittle(i8* %69, i32 66, i32 13)
%71 = load i8*, i8** %14
%72 = call i32 @hashlittle(i8* %71, i32 65, i32 13)
%73 = load i8*, i8** %14
%74 = call i32 @hashlittle(i8* %73, i32 64, i32 13)
%75 = load i8*, i8** %14
%76 = call i32 @hashlittle(i8* %75, i32 63, i32 13)
%77 = load i8*, i8** %14
%78 = call i32 @hashlittle(i8* %77, i32 62, i32 13)
%79 = load i8*, i8** %14
%80 = call i32 @hashlittle(i8* %79, i32 61, i32 13)
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.2, i64 0, i64 0), i32 %58, i32 %60, i32 %62, i32 %64, i32 %66, i32 %68, i32 %70, i32 %72, i32 %74, i32 %76, i32 %78, i32 %80)
%82 = getelementptr inbounds [75 x i8], [75 x i8]* %8, i64 0, i64 2
store i8* %82, i8** %14
%83 = load i8*, i8** %14
%84 = call i32 @hashlittle(i8* %83, i32 72, i32 13)
%85 = load i8*, i8** %14
%86 = call i32 @hashlittle(i8* %85, i32 71, i32 13)
%87 = load i8*, i8** %14
%88 = call i32 @hashlittle(i8* %87, i32 70, i32 13)
%89 = load i8*, i8** %14
%90 = call i32 @hashlittle(i8* %89, i32 69, i32 13)
%91 = load i8*, i8** %14
%92 = call i32 @hashlittle(i8* %91, i32 68, i32 13)
%93 = load i8*, i8** %14
%94 = call i32 @hashlittle(i8* %93, i32 67, i32 13)
%95 = load i8*, i8** %14
%96 = call i32 @hashlittle(i8* %95, i32 66, i32 13)
%97 = load i8*, i8** %14
%98 = call i32 @hashlittle(i8* %97, i32 65, i32 13)
%99 = load i8*, i8** %14
%100 = call i32 @hashlittle(i8* %99, i32 64, i32 13)
%101 = load i8*, i8** %14
%102 = call i32 @hashlittle(i8* %101, i32 63, i32 13)
%103 = load i8*, i8** %14
%104 = call i32 @hashlittle(i8* %103, i32 62, i32 13)
%105 = load i8*, i8** %14
%106 = call i32 @hashlittle(i8* %105, i32 61, i32 13)
%107 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.2, i64 0, i64 0), i32 %84, i32 %86, i32 %88, i32 %90, i32 %92, i32 %94, i32 %96, i32 %98, i32 %100, i32 %102, i32 %104, i32 %106)
%108 = getelementptr inbounds [76 x i8], [76 x i8]* %10, i64 0, i64 3
store i8* %108, i8** %14
%109 = load i8*, i8** %14
%110 = call i32 @hashlittle(i8* %109, i32 72, i32 13)
%111 = load i8*, i8** %14
%112 = call i32 @hashlittle(i8* %111, i32 71, i32 13)
%113 = load i8*, i8** %14
%114 = call i32 @hashlittle(i8* %113, i32 70, i32 13)
%115 = load i8*, i8** %14
%116 = call i32 @hashlittle(i8* %115, i32 69, i32 13)
%117 = load i8*, i8** %14
%118 = call i32 @hashlittle(i8* %117, i32 68, i32 13)
%119 = load i8*, i8** %14
%120 = call i32 @hashlittle(i8* %119, i32 67, i32 13)
%121 = load i8*, i8** %14
%122 = call i32 @hashlittle(i8* %121, i32 66, i32 13)
%123 = load i8*, i8** %14
%124 = call i32 @hashlittle(i8* %123, i32 65, i32 13)
%125 = load i8*, i8** %14
%126 = call i32 @hashlittle(i8* %125, i32 64, i32 13)
%127 = load i8*, i8** %14
%128 = call i32 @hashlittle(i8* %127, i32 63, i32 13)
%129 = load i8*, i8** %14
%130 = call i32 @hashlittle(i8* %129, i32 62, i32 13)
%131 = load i8*, i8** %14
%132 = call i32 @hashlittle(i8* %131, i32 61, i32 13)
%133 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.2, i64 0, i64 0), i32 %110, i32 %112, i32 %114, i32 %116, i32 %118, i32 %120, i32 %122, i32 %124, i32 %126, i32 %128, i32 %130, i32 %132)
%134 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i32 47, i32* %7
store i32 0, i32* %9
%135 = getelementptr inbounds [73 x i8], [73 x i8]* %4, i64 0, i64 0
%136 = call i32 @hashlittle2(i8* %135, i32 73, i32* %7, i32* %9)
%137 = getelementptr inbounds [73 x i8], [73 x i8]* %4, i64 0, i64 0
%138 = call i32 @hashlittle(i8* %137, i32 73, i32 47)
%139 = load i32, i32* %7
%140 = icmp ne i32 %138, %139
br i1 %140, label %141, label %143
141: ; preds = %0
%142 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0))
br label %143
143: ; preds = %141, %0
store i32 -559038737, i32* %3
store i32 47, i32* %7
store i32 0, i32* %9
%144 = call i32 @hashword2(i32* %3, i32 1, i32* %7, i32* %9)
%145 = call i32 @hashword(i32* %3, i32 1, i32 47)
%146 = load i32, i32* %7
%147 = icmp ne i32 %145, %146
br i1 %147, label %148, label %152
148: ; preds = %143
%149 = load i32, i32* %7
%150 = call i32 @hashword(i32* %3, i32 1, i32 47)
%151 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.5, i64 0, i64 0), i32 %149, i32 %150)
br label %152
152: ; preds = %148, %143
store i32 0, i32* %5
%153 = getelementptr inbounds [90 x i8], [90 x i8]* %1, i64 0, i64 0
%154 = getelementptr inbounds i8, i8* %153, i64 1
store i8* %154, i8** %2
br label %155
155: ; preds = %211, %152
%156 = load i32, i32* %5
%157 = icmp slt i32 %156, 8
br i1 %157, label %158, label %216
158: ; preds = %155
store i32 0, i32* %7
br label %159
159: ; preds = %207, %158
%160 = load i32, i32* %7
%161 = icmp slt i32 %160, 70
br i1 %161, label %162, label %210
162: ; preds = %159
%163 = load i32, i32* %7
store i32 %163, i32* %3
store i32 0, i32* %9
br label %164
164: ; preds = %173, %162
%165 = load i32, i32* %9
%166 = load i32, i32* %7
%167 = icmp slt i32 %165, %166
br i1 %167, label %168, label %176
168: ; preds = %164
%169 = load i8*, i8** %2
%170 = load i32, i32* %9
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds i8, i8* %169, i64 %171
store i8 0, i8* %172
br label %173
173: ; preds = %168
%174 = load i32, i32* %9
%175 = add nsw i32 %174, 1
store i32 %175, i32* %9
br label %164
176: ; preds = %164
%177 = load i8*, i8** %2
%178 = load i32, i32* %3
%179 = call i32 @hashlittle(i8* %177, i32 %178, i32 1)
store i32 %179, i32* %11
%180 = load i8*, i8** %2
%181 = load i32, i32* %7
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds i8, i8* %180, i64 %182
store i8 -1, i8* %183
%184 = load i8*, i8** %2
%185 = getelementptr inbounds i8, i8* %184, i64 -1
store i8 -1, i8* %185
%186 = load i8*, i8** %2
%187 = load i32, i32* %3
%188 = call i32 @hashlittle(i8* %186, i32 %187, i32 1)
store i32 %188, i32* %12
%189 = load i8*, i8** %2
%190 = load i32, i32* %3
%191 = call i32 @hashlittle(i8* %189, i32 %190, i32 1)
store i32 %191, i32* %13
%192 = load i32, i32* %11
%193 = load i32, i32* %12
%194 = icmp ne i32 %192, %193
br i1 %194, label %199, label %195
195: ; preds = %176
%196 = load i32, i32* %11
%197 = load i32, i32* %13
%198 = icmp ne i32 %196, %197
br i1 %198, label %199, label %206
199: ; preds = %195, %176
%200 = load i32, i32* %11
%201 = load i32, i32* %12
%202 = load i32, i32* %13
%203 = load i32, i32* %5
%204 = load i32, i32* %7
%205 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0), i32 %200, i32 %201, i32 %202, i32 %203, i32 %204)
br label %206
206: ; preds = %199, %195
br label %207
207: ; preds = %206
%208 = load i32, i32* %7
%209 = add nsw i32 %208, 1
store i32 %209, i32* %7
br label %159
210: ; preds = %159
br label %211
211: ; preds = %210
%212 = load i32, i32* %5
%213 = add nsw i32 %212, 1
store i32 %213, i32* %5
%214 = load i8*, i8** %2
%215 = getelementptr inbounds i8, i8* %214, i32 1
store i8* %215, i8** %2
br label %155
216: ; preds = %155
ret void
}

LLVM IR (-O2):
@__const.driver3.q = [73 x i8] c"This is the time for all good men to come to the aid of their country...\00"
@__const.driver3.qq = [74 x i8] c"xThis is the time for all good men to come to the aid of their country...\00"
@__const.driver3.qqq = [75 x i8] c"xxThis is the time for all good men to come to the aid of their country...\00"
@__const.driver3.qqqq = [76 x i8] c"xxxThis is the time for all good men to come to the aid of their country...\00"
@.str.1 = [70 x i8] c"%.8x %.8x %.8x\0A\00"
@.str.2 = [61 x i8] c"%.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x\0A\00"
@.str.5 = [39 x i8] c"hashword2 and hashword mismatch %x %x\0A\00"
@.str.6 = [39 x i8] c"alignment error: %.8x %.8x %.8x %d %d\0A\00"
@str = [72 x i8] c"Endianness. These lines should all be the same (for values filled in):\00"
@str.7 = [36 x i8] c"hashlittle2 and hashlittle mismatch\00"
define void @driver3() {
%1 = alloca [90 x i8]
%2 = alloca i32
%3 = alloca [73 x i8]
%4 = alloca [74 x i8]
%5 = alloca i32
%6 = alloca [75 x i8]
%7 = alloca i32
%8 = alloca [76 x i8]
%9 = getelementptr inbounds [90 x i8], [90 x i8]* %1, i64 0, i64 0
%10 = bitcast i32* %2 to i8*
%11 = getelementptr inbounds [73 x i8], [73 x i8]* %3, i64 0, i64 0
%12 = getelementptr inbounds [74 x i8], [74 x i8]* %4, i64 0, i64 0
%13 = bitcast i32* %5 to i8*
%14 = getelementptr inbounds [75 x i8], [75 x i8]* %6, i64 0, i64 0
%15 = bitcast i32* %7 to i8*
%16 = getelementptr inbounds [76 x i8], [76 x i8]* %8, i64 0, i64 0
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str, i64 0, i64 0))
%18 = bitcast [73 x i8]* %3 to i32*
%19 = call i32 @hashword(i32* %18, i32 18, i32 13)
%20 = call i32 @hashword(i32* %18, i32 17, i32 13)
%21 = call i32 @hashword(i32* %18, i32 16, i32 13)
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @.str.1, i64 0, i64 0), i32 %19, i32 %20, i32 %21)
%23 = call i32 @hashlittle(i8* %11, i32 72, i32 13)
%24 = call i32 @hashlittle(i8* %11, i32 71, i32 13)
%25 = call i32 @hashlittle(i8* %11, i32 70, i32 13)
%26 = call i32 @hashlittle(i8* %11, i32 69, i32 13)
%27 = call i32 @hashlittle(i8* %11, i32 68, i32 13)
%28 = call i32 @hashlittle(i8* %11, i32 67, i32 13)
%29 = call i32 @hashlittle(i8* %11, i32 66, i32 13)
%30 = call i32 @hashlittle(i8* %11, i32 65, i32 13)
%31 = call i32 @hashlittle(i8* %11, i32 64, i32 13)
%32 = call i32 @hashlittle(i8* %11, i32 63, i32 13)
%33 = call i32 @hashlittle(i8* %11, i32 62, i32 13)
%34 = call i32 @hashlittle(i8* %11, i32 61, i32 13)
%35 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @.str.2, i64 0, i64 0), i32 %23, i32 %24, i32 %25, i32 %26, i32 %27, i32 %28, i32 %29, i32 %30, i32 %31, i32 %32, i32 %33, i32 %34)
%36 = getelementptr inbounds [74 x i8], [74 x i8]* %4, i64 0, i64 1
%37 = call i32 @hashlittle(i8* %36, i32 72, i32 13)
%38 = call i32 @hashlittle(i8* %36, i32 71, i32 13)
%39 = call i32 @hashlittle(i8* %36, i32 70, i32 13)
%40 = call i32 @hashlittle(i8* %36, i32 69, i32 13)
%41 = call i32 @hashlittle(i8* %36, i32 68, i32 13)
%42 = call i32 @hashlittle(i8* %36, i32 67, i32 13)
%43 = call i32 @hashlittle(i8* %36, i32 66, i32 13)
%44 = call i32 @hashlittle(i8* %36, i32 65, i32 13)
%45 = call i32 @hashlittle(i8* %36, i32 64, i32 13)
%46 = call i32 @hashlittle(i8* %36, i32 63, i32 13)
%47 = call i32 @hashlittle(i8* %36, i32 62, i32 13)
%48 = call i32 @hashlittle(i8* %36, i32 61, i32 13)
%49 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @.str.2, i64 0, i64 0), i32 %37, i32 %38, i32 %39, i32 %40, i32 %41, i32 %42, i32 %43, i32 %44, i32 %45, i32 %46, i32 %47, i32 %48)
%50 = getelementptr inbounds [75 x i8], [75 x i8]* %6, i64 0, i64 2
%51 = call i32 @hashlittle(i8* %50, i32 72, i32 13)
%52 = call i32 @hashlittle(i8* %50, i32 71, i32 13)
%53 = call i32 @hashlittle(i8* %50, i32 70, i32 13)
%54 = call i32 @hashlittle(i8* %50, i32 69, i32 13)
%55 = call i32 @hashlittle(i8* %50, i32 68, i32 13)
%56 = call i32 @hashlittle(i8* %50, i32 67, i32 13)
%57 = call i32 @hashlittle(i8* %50, i32 66, i32 13)
%58 = call i32 @hashlittle(i8* %50, i32 65, i32 13)
%59 = call i32 @hashlittle(i8* %50, i32 64, i32 13)
%60 = call i32 @hashlittle(i8* %50, i32 63, i32 13)
%61 = call i32 @hashlittle(i8* %50, i32 62, i32 13)
%62 = call i32 @hashlittle(i8* %50, i32 61, i32 13)
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @.str.2, i64 0, i64 0), i32 %51, i32 %52, i32 %53, i32 %54, i32 %55, i32 %56, i32 %57, i32 %58, i32 %59, i32 %60, i32 %61, i32 %62)
%64 = getelementptr inbounds [76 x i8], [76 x i8]* %8, i64 0, i64 3
%65 = call i32 @hashlittle(i8* %64, i32 72, i32 13)
%66 = call i32 @hashlittle(i8* %64, i32 71, i32 13)
%67 = call i32 @hashlittle(i8* %64, i32 70, i32 13)
%68 = call i32 @hashlittle(i8* %64, i32 69, i32 13)
%69 = call i32 @hashlittle(i8* %64, i32 68, i32 13)
%70 = call i32 @hashlittle(i8* %64, i32 67, i32 13)
%71 = call i32 @hashlittle(i8* %64, i32 66, i32 13)
%72 = call i32 @hashlittle(i8* %64, i32 65, i32 13)
%73 = call i32 @hashlittle(i8* %64, i32 64, i32 13)
%74 = call i32 @hashlittle(i8* %64, i32 63, i32 13)
%75 = call i32 @hashlittle(i8* %64, i32 62, i32 13)
%76 = call i32 @hashlittle(i8* %64, i32 61, i32 13)
%77 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @.str.2, i64 0, i64 0), i32 %65, i32 %66, i32 %67, i32 %68, i32 %69, i32 %70, i32 %71, i32 %72, i32 %73, i32 %74, i32 %75, i32 %76)
%78 = call i32 @putchar(i32 10)
store i32 47, i32* %5
store i32 0, i32* %7
%79 = call i32 @hashlittle2(i8* %11, i32 73, i32* %5, i32* %7)
%80 = call i32 @hashlittle(i8* %11, i32 73, i32 47)
%81 = load i32, i32* %5
%82 = icmp eq i32 %80, %81
br i1 %82, label %85, label %83
83: ; preds = %0
%84 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.7, i64 0, i64 0))
br label %85
85: ; preds = %83, %0
store i32 -559038737, i32* %2
store i32 47, i32* %5
store i32 0, i32* %7
%86 = call i32 @hashword2(i32* %2, i32 1, i32* %5, i32* %7)
%87 = call i32 @hashword(i32* %2, i32 1, i32 47)
%88 = load i32, i32* %5
%89 = icmp eq i32 %87, %88
br i1 %89, label %93, label %90
90: ; preds = %85
%91 = call i32 @hashword(i32* %2, i32 1, i32 47)
%92 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.5, i64 0, i64 0), i32 %88, i32 %91)
br label %93
93: ; preds = %90, %85
%94 = getelementptr inbounds [90 x i8], [90 x i8]* %1, i64 0, i64 1
br label %95
95: ; preds = %93, %127
%96 = phi i64 [ 0, %93 ], [ %99, %127 ]
%97 = phi i8* [ %94, %93 ], [ %128, %127 ]
%98 = trunc i64 %96 to i32
%99 = add nuw nsw i64 %96, 1
%100 = getelementptr [90 x i8], [90 x i8]* %1, i64 0, i64 %99
store i32 0, i32* %5
%101 = getelementptr inbounds i8, i8* %97, i64 -1
br label %102
102: ; preds = %95, %123
%103 = phi i32 [ 0, %95 ], [ %125, %123 ]
store i32 %103, i32* %2
%104 = icmp sgt i32 %103, 0
br i1 %104, label %105, label %107
105: ; preds = %102
%106 = zext i32 %103 to i64
br label %107
107: ; preds = %105, %102
%108 = phi i32 [ 0, %102 ], [ %103, %105 ]
store i32 %108, i32* %7
%109 = call i32 @hashlittle(i8* %97, i32 %103, i32 1)
%110 = load i32, i32* %5
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i8, i8* %97, i64 %111
store i8 -1, i8* %112
store i8 -1, i8* %101
%113 = load i32, i32* %2
%114 = call i32 @hashlittle(i8* %97, i32 %113, i32 1)
%115 = load i32, i32* %2
%116 = call i32 @hashlittle(i8* %97, i32 %115, i32 1)
%117 = icmp eq i32 %109, %114
%118 = icmp eq i32 %109, %116
%119 = select i1 %117, i1 %118, i1 false
br i1 %119, label %123, label %120
120: ; preds = %107
%121 = load i32, i32* %5
%122 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0), i32 %109, i32 %114, i32 %116, i32 %98, i32 %121)
br label %123
123: ; preds = %107, %120
%124 = load i32, i32* %5
%125 = add nsw i32 %124, 1
store i32 %125, i32* %5
%126 = icmp slt i32 %124, 69
br i1 %126, label %102, label %127
127: ; preds = %123
%128 = getelementptr inbounds i8, i8* %97, i64 1
%129 = icmp eq i64 %99, 8
br i1 %129, label %130, label %95
130: ; preds = %127
ret void
}