#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 int32_t;
typedef int int16_t;

/* Variables and functions */
void RTjpeg_quant(int16_t *block, int32_t *qtbl) {
  int i;
  for (i = 0; i < 64; i++)
    block[i] = (int16_t)((block[i] * qtbl[i] + 32767) >> 16);
}


x86 assembly (clang, -O0):
<RTjpeg_quant>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
cmpl   $0x40,-0x14(%rbp)
jge    1156 <RTjpeg_quant+0x56>
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
imul   (%rax,%rcx,4),%edx
add    $0x7fff,%edx
sar    $0x10,%edx
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1113 <RTjpeg_quant+0x13>
pop    %rbp
ret

x86 assembly (clang, -O2):
<RTjpeg_quant>:
lea    0x100(%rsi),%rax
cmp    %rdi,%rax
jbe    1154 <RTjpeg_quant+0x54>
lea    0x100(%rdi),%rax
cmp    %rsi,%rax
jbe    1154 <RTjpeg_quant+0x54>
xor    %eax,%eax
nopw   0x0(%rax,%rax,1)
mov    (%rsi,%rax,4),%ecx
imul   (%rdi,%rax,4),%ecx
add    $0x7fff,%ecx
sar    $0x10,%ecx
mov    %ecx,(%rdi,%rax,4)
mov    0x4(%rsi,%rax,4),%ecx
imul   0x4(%rdi,%rax,4),%ecx
add    $0x7fff,%ecx
sar    $0x10,%ecx
mov    %ecx,0x4(%rdi,%rax,4)
add    $0x2,%rax
cmp    $0x40,%rax
jne    1120 <RTjpeg_quant+0x20>
ret
movdqu (%rsi),%xmm0
movdqu (%rdi),%xmm3
movdqu 0x10(%rdi),%xmm4
movdqu 0x20(%rdi),%xmm2
movdqu 0x30(%rdi),%xmm1
pshufd $0xf5,%xmm0,%xmm5
pmuludq %xmm3,%xmm0
pshufd $0xe8,%xmm0,%xmm6
pshufd $0xf5,%xmm3,%xmm0
pmuludq %xmm5,%xmm0
pshufd $0xe8,%xmm0,%xmm0
punpckldq %xmm0,%xmm6
movdqa 0xe6d(%rip),%xmm0
paddd  %xmm0,%xmm6
psrad  $0x10,%xmm6
movdqu %xmm6,(%rdi)
movdqu 0x10(%rsi),%xmm3
pshufd $0xf5,%xmm3,%xmm5
pmuludq %xmm4,%xmm3
pshufd $0xe8,%xmm3,%xmm3
pshufd $0xf5,%xmm4,%xmm4
pmuludq %xmm4,%xmm5
pshufd $0xe8,%xmm5,%xmm4
punpckldq %xmm4,%xmm3
paddd  %xmm0,%xmm3
psrad  $0x10,%xmm3
movdqu %xmm3,0x10(%rdi)
movdqu 0x20(%rsi),%xmm3
pshufd $0xf5,%xmm3,%xmm4
pmuludq %xmm2,%xmm3
pshufd $0xe8,%xmm3,%xmm3
pshufd $0xf5,%xmm2,%xmm2
pmuludq %xmm2,%xmm4
pshufd $0xe8,%xmm4,%xmm2
punpckldq %xmm2,%xmm3
paddd  %xmm0,%xmm3
psrad  $0x10,%xmm3
movdqu %xmm3,0x20(%rdi)
movdqu 0x30(%rsi),%xmm2
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm1,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xf5,%xmm1,%xmm1
pmuludq %xmm1,%xmm3
pshufd $0xe8,%xmm3,%xmm1
punpckldq %xmm1,%xmm2
paddd  %xmm0,%xmm2
psrad  $0x10,%xmm2
movdqu %xmm2,0x30(%rdi)
movdqu 0x40(%rdi),%xmm1
movdqu 0x40(%rsi),%xmm2
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm1,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xf5,%xmm1,%xmm1
pmuludq %xmm1,%xmm3
pshufd $0xe8,%xmm3,%xmm1
punpckldq %xmm1,%xmm2
paddd  %xmm0,%xmm2
psrad  $0x10,%xmm2
movdqu %xmm2,0x40(%rdi)
movdqu 0x50(%rdi),%xmm1
movdqu 0x50(%rsi),%xmm2
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm1,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xf5,%xmm1,%xmm1
pmuludq %xmm1,%xmm3
pshufd $0xe8,%xmm3,%xmm1
punpckldq %xmm1,%xmm2
paddd  %xmm0,%xmm2
psrad  $0x10,%xmm2
movdqu %xmm2,0x50(%rdi)
movdqu 0x60(%rdi),%xmm1
movdqu 0x60(%rsi),%xmm2
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm1,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xf5,%xmm1,%xmm1
pmuludq %xmm1,%xmm3
pshufd $0xe8,%xmm3,%xmm1
punpckldq %xmm1,%xmm2
paddd  %xmm0,%xmm2
psrad  $0x10,%xmm2
movdqu %xmm2,0x60(%rdi)
movdqu 0x70(%rdi),%xmm1
movdqu 0x70(%rsi),%xmm2
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm1,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xf5,%xmm1,%xmm1
pmuludq %xmm1,%xmm3
pshufd $0xe8,%xmm3,%xmm1
punpckldq %xmm1,%xmm2
paddd  %xmm0,%xmm2
psrad  $0x10,%xmm2
movdqu %xmm2,0x70(%rdi)
movdqu 0x80(%rdi),%xmm1
movdqu 0x80(%rsi),%xmm2
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm1,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xf5,%xmm1,%xmm1
pmuludq %xmm1,%xmm3
pshufd $0xe8,%xmm3,%xmm1
punpckldq %xmm1,%xmm2
paddd  %xmm0,%xmm2
psrad  $0x10,%xmm2
movdqu %xmm2,0x80(%rdi)
movdqu 0x90(%rdi),%xmm1
movdqu 0x90(%rsi),%xmm2
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm1,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xf5,%xmm1,%xmm1
pmuludq %xmm1,%xmm3
pshufd $0xe8,%xmm3,%xmm1
punpckldq %xmm1,%xmm2
paddd  %xmm0,%xmm2
psrad  $0x10,%xmm2
movdqu %xmm2,0x90(%rdi)
movdqu 0xa0(%rdi),%xmm1
movdqu 0xa0(%rsi),%xmm2
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm1,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xf5,%xmm1,%xmm1
pmuludq %xmm1,%xmm3
pshufd $0xe8,%xmm3,%xmm1
punpckldq %xmm1,%xmm2
paddd  %xmm0,%xmm2
psrad  $0x10,%xmm2
movdqu %xmm2,0xa0(%rdi)
movdqu 0xb0(%rdi),%xmm1
movdqu 0xb0(%rsi),%xmm2
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm1,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xf5,%xmm1,%xmm1
pmuludq %xmm1,%xmm3
pshufd $0xe8,%xmm3,%xmm1
punpckldq %xmm1,%xmm2
paddd  %xmm0,%xmm2
psrad  $0x10,%xmm2
movdqu %xmm2,0xb0(%rdi)
movdqu 0xc0(%rdi),%xmm1
movdqu 0xc0(%rsi),%xmm2
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm1,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xf5,%xmm1,%xmm1
pmuludq %xmm1,%xmm3
pshufd $0xe8,%xmm3,%xmm1
punpckldq %xmm1,%xmm2
paddd  %xmm0,%xmm2
psrad  $0x10,%xmm2
movdqu %xmm2,0xc0(%rdi)
movdqu 0xd0(%rdi),%xmm1
movdqu 0xd0(%rsi),%xmm2
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm1,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xf5,%xmm1,%xmm1
pmuludq %xmm1,%xmm3
pshufd $0xe8,%xmm3,%xmm1
punpckldq %xmm1,%xmm2
paddd  %xmm0,%xmm2
psrad  $0x10,%xmm2
movdqu %xmm2,0xd0(%rdi)
movdqu 0xe0(%rdi),%xmm1
movdqu 0xe0(%rsi),%xmm2
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm1,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xf5,%xmm1,%xmm1
pmuludq %xmm1,%xmm3
pshufd $0xe8,%xmm3,%xmm1
punpckldq %xmm1,%xmm2
paddd  %xmm0,%xmm2
psrad  $0x10,%xmm2
movdqu %xmm2,0xe0(%rdi)
movdqu 0xf0(%rdi),%xmm1
movdqu 0xf0(%rsi),%xmm2
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm1,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xf5,%xmm1,%xmm1
pmuludq %xmm1,%xmm3
pshufd $0xe8,%xmm3,%xmm1
punpckldq %xmm1,%xmm2
paddd  %xmm0,%xmm2
psrad  $0x10,%xmm2
movdqu %xmm2,0xf0(%rdi)
ret

LLVM IR (-O0):
define void @RTjpeg_quant(i32* %0, i32* %1) {
%3 = alloca i32*
%4 = alloca i32*
%5 = alloca i32
store i32* %0, i32** %3
store i32* %1, i32** %4
store i32 0, i32* %5
br label %6
6: ; preds = %27, %2
%7 = load i32, i32* %5
%8 = icmp slt i32 %7, 64
br i1 %8, label %9, label %30
9: ; preds = %6
%10 = load i32*, i32** %3
%11 = load i32, i32* %5
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, i32* %10, i64 %12
%14 = load i32, i32* %13
%15 = load i32*, i32** %4
%16 = load i32, i32* %5
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, i32* %15, i64 %17
%19 = load i32, i32* %18
%20 = mul nsw i32 %14, %19
%21 = add nsw i32 %20, 32767
%22 = ashr i32 %21, 16
%23 = load i32*, i32** %3
%24 = load i32, i32* %5
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, i32* %23, i64 %25
store i32 %22, i32* %26
br label %27
27: ; preds = %9
%28 = load i32, i32* %5
%29 = add nsw i32 %28, 1
store i32 %29, i32* %5
br label %6
30: ; preds = %6
ret void
}

LLVM IR (-O2):
define void @RTjpeg_quant(i32* nocapture %0, i32* nocapture %1) {
%3 = getelementptr i32, i32* %0, i64 64
%4 = getelementptr i32, i32* %1, i64 64
%5 = icmp ugt i32* %4, %0
%6 = icmp ugt i32* %3, %1
%7 = and i1 %5, %6
br i1 %7, label %167, label %8
8: ; preds = %2
%9 = bitcast i32* %0 to <4 x i32>*
%10 = load <4 x i32>, <4 x i32>* %9
%11 = bitcast i32* %1 to <4 x i32>*
%12 = load <4 x i32>, <4 x i32>* %11
%13 = mul nsw <4 x i32> %12, %10
%14 = add nsw <4 x i32> %13, <i32 32767, i32 32767, i32 32767, i32 32767>
%15 = ashr <4 x i32> %14, <i32 16, i32 16, i32 16, i32 16>
%16 = bitcast i32* %0 to <4 x i32>*
store <4 x i32> %15, <4 x i32>* %16
%17 = getelementptr inbounds i32, i32* %0, i64 4
%18 = bitcast i32* %17 to <4 x i32>*
%19 = load <4 x i32>, <4 x i32>* %18
%20 = getelementptr inbounds i32, i32* %1, i64 4
%21 = bitcast i32* %20 to <4 x i32>*
%22 = load <4 x i32>, <4 x i32>* %21
%23 = mul nsw <4 x i32> %22, %19
%24 = add nsw <4 x i32> %23, <i32 32767, i32 32767, i32 32767, i32 32767>
%25 = ashr <4 x i32> %24, <i32 16, i32 16, i32 16, i32 16>
%26 = bitcast i32* %17 to <4 x i32>*
store <4 x i32> %25, <4 x i32>* %26
%27 = getelementptr inbounds i32, i32* %0, i64 8
%28 = bitcast i32* %27 to <4 x i32>*
%29 = load <4 x i32>, <4 x i32>* %28
%30 = getelementptr inbounds i32, i32* %1, i64 8
%31 = bitcast i32* %30 to <4 x i32>*
%32 = load <4 x i32>, <4 x i32>* %31
%33 = mul nsw <4 x i32> %32, %29
%34 = add nsw <4 x i32> %33, <i32 32767, i32 32767, i32 32767, i32 32767>
%35 = ashr <4 x i32> %34, <i32 16, i32 16, i32 16, i32 16>
%36 = bitcast i32* %27 to <4 x i32>*
store <4 x i32> %35, <4 x i32>* %36
%37 = getelementptr inbounds i32, i32* %0, i64 12
%38 = bitcast i32* %37 to <4 x i32>*
%39 = load <4 x i32>, <4 x i32>* %38
%40 = getelementptr inbounds i32, i32* %1, i64 12
%41 = bitcast i32* %40 to <4 x i32>*
%42 = load <4 x i32>, <4 x i32>* %41
%43 = mul nsw <4 x i32> %42, %39
%44 = add nsw <4 x i32> %43, <i32 32767, i32 32767, i32 32767, i32 32767>
%45 = ashr <4 x i32> %44, <i32 16, i32 16, i32 16, i32 16>
%46 = bitcast i32* %37 to <4 x i32>*
store <4 x i32> %45, <4 x i32>* %46
%47 = getelementptr inbounds i32, i32* %0, i64 16
%48 = bitcast i32* %47 to <4 x i32>*
%49 = load <4 x i32>, <4 x i32>* %48
%50 = getelementptr inbounds i32, i32* %1, i64 16
%51 = bitcast i32* %50 to <4 x i32>*
%52 = load <4 x i32>, <4 x i32>* %51
%53 = mul nsw <4 x i32> %52, %49
%54 = add nsw <4 x i32> %53, <i32 32767, i32 32767, i32 32767, i32 32767>
%55 = ashr <4 x i32> %54, <i32 16, i32 16, i32 16, i32 16>
%56 = bitcast i32* %47 to <4 x i32>*
store <4 x i32> %55, <4 x i32>* %56
%57 = getelementptr inbounds i32, i32* %0, i64 20
%58 = bitcast i32* %57 to <4 x i32>*
%59 = load <4 x i32>, <4 x i32>* %58
%60 = getelementptr inbounds i32, i32* %1, i64 20
%61 = bitcast i32* %60 to <4 x i32>*
%62 = load <4 x i32>, <4 x i32>* %61
%63 = mul nsw <4 x i32> %62, %59
%64 = add nsw <4 x i32> %63, <i32 32767, i32 32767, i32 32767, i32 32767>
%65 = ashr <4 x i32> %64, <i32 16, i32 16, i32 16, i32 16>
%66 = bitcast i32* %57 to <4 x i32>*
store <4 x i32> %65, <4 x i32>* %66
%67 = getelementptr inbounds i32, i32* %0, i64 24
%68 = bitcast i32* %67 to <4 x i32>*
%69 = load <4 x i32>, <4 x i32>* %68
%70 = getelementptr inbounds i32, i32* %1, i64 24
%71 = bitcast i32* %70 to <4 x i32>*
%72 = load <4 x i32>, <4 x i32>* %71
%73 = mul nsw <4 x i32> %72, %69
%74 = add nsw <4 x i32> %73, <i32 32767, i32 32767, i32 32767, i32 32767>
%75 = ashr <4 x i32> %74, <i32 16, i32 16, i32 16, i32 16>
%76 = bitcast i32* %67 to <4 x i32>*
store <4 x i32> %75, <4 x i32>* %76
%77 = getelementptr inbounds i32, i32* %0, i64 28
%78 = bitcast i32* %77 to <4 x i32>*
%79 = load <4 x i32>, <4 x i32>* %78
%80 = getelementptr inbounds i32, i32* %1, i64 28
%81 = bitcast i32* %80 to <4 x i32>*
%82 = load <4 x i32>, <4 x i32>* %81
%83 = mul nsw <4 x i32> %82, %79
%84 = add nsw <4 x i32> %83, <i32 32767, i32 32767, i32 32767, i32 32767>
%85 = ashr <4 x i32> %84, <i32 16, i32 16, i32 16, i32 16>
%86 = bitcast i32* %77 to <4 x i32>*
store <4 x i32> %85, <4 x i32>* %86
%87 = getelementptr inbounds i32, i32* %0, i64 32
%88 = bitcast i32* %87 to <4 x i32>*
%89 = load <4 x i32>, <4 x i32>* %88
%90 = getelementptr inbounds i32, i32* %1, i64 32
%91 = bitcast i32* %90 to <4 x i32>*
%92 = load <4 x i32>, <4 x i32>* %91
%93 = mul nsw <4 x i32> %92, %89
%94 = add nsw <4 x i32> %93, <i32 32767, i32 32767, i32 32767, i32 32767>
%95 = ashr <4 x i32> %94, <i32 16, i32 16, i32 16, i32 16>
%96 = bitcast i32* %87 to <4 x i32>*
store <4 x i32> %95, <4 x i32>* %96
%97 = getelementptr inbounds i32, i32* %0, i64 36
%98 = bitcast i32* %97 to <4 x i32>*
%99 = load <4 x i32>, <4 x i32>* %98
%100 = getelementptr inbounds i32, i32* %1, i64 36
%101 = bitcast i32* %100 to <4 x i32>*
%102 = load <4 x i32>, <4 x i32>* %101
%103 = mul nsw <4 x i32> %102, %99
%104 = add nsw <4 x i32> %103, <i32 32767, i32 32767, i32 32767, i32 32767>
%105 = ashr <4 x i32> %104, <i32 16, i32 16, i32 16, i32 16>
%106 = bitcast i32* %97 to <4 x i32>*
store <4 x i32> %105, <4 x i32>* %106
%107 = getelementptr inbounds i32, i32* %0, i64 40
%108 = bitcast i32* %107 to <4 x i32>*
%109 = load <4 x i32>, <4 x i32>* %108
%110 = getelementptr inbounds i32, i32* %1, i64 40
%111 = bitcast i32* %110 to <4 x i32>*
%112 = load <4 x i32>, <4 x i32>* %111
%113 = mul nsw <4 x i32> %112, %109
%114 = add nsw <4 x i32> %113, <i32 32767, i32 32767, i32 32767, i32 32767>
%115 = ashr <4 x i32> %114, <i32 16, i32 16, i32 16, i32 16>
%116 = bitcast i32* %107 to <4 x i32>*
store <4 x i32> %115, <4 x i32>* %116
%117 = getelementptr inbounds i32, i32* %0, i64 44
%118 = bitcast i32* %117 to <4 x i32>*
%119 = load <4 x i32>, <4 x i32>* %118
%120 = getelementptr inbounds i32, i32* %1, i64 44
%121 = bitcast i32* %120 to <4 x i32>*
%122 = load <4 x i32>, <4 x i32>* %121
%123 = mul nsw <4 x i32> %122, %119
%124 = add nsw <4 x i32> %123, <i32 32767, i32 32767, i32 32767, i32 32767>
%125 = ashr <4 x i32> %124, <i32 16, i32 16, i32 16, i32 16>
%126 = bitcast i32* %117 to <4 x i32>*
store <4 x i32> %125, <4 x i32>* %126
%127 = getelementptr inbounds i32, i32* %0, i64 48
%128 = bitcast i32* %127 to <4 x i32>*
%129 = load <4 x i32>, <4 x i32>* %128
%130 = getelementptr inbounds i32, i32* %1, i64 48
%131 = bitcast i32* %130 to <4 x i32>*
%132 = load <4 x i32>, <4 x i32>* %131
%133 = mul nsw <4 x i32> %132, %129
%134 = add nsw <4 x i32> %133, <i32 32767, i32 32767, i32 32767, i32 32767>
%135 = ashr <4 x i32> %134, <i32 16, i32 16, i32 16, i32 16>
%136 = bitcast i32* %127 to <4 x i32>*
store <4 x i32> %135, <4 x i32>* %136
%137 = getelementptr inbounds i32, i32* %0, i64 52
%138 = bitcast i32* %137 to <4 x i32>*
%139 = load <4 x i32>, <4 x i32>* %138
%140 = getelementptr inbounds i32, i32* %1, i64 52
%141 = bitcast i32* %140 to <4 x i32>*
%142 = load <4 x i32>, <4 x i32>* %141
%143 = mul nsw <4 x i32> %142, %139
%144 = add nsw <4 x i32> %143, <i32 32767, i32 32767, i32 32767, i32 32767>
%145 = ashr <4 x i32> %144, <i32 16, i32 16, i32 16, i32 16>
%146 = bitcast i32* %137 to <4 x i32>*
store <4 x i32> %145, <4 x i32>* %146
%147 = getelementptr inbounds i32, i32* %0, i64 56
%148 = bitcast i32* %147 to <4 x i32>*
%149 = load <4 x i32>, <4 x i32>* %148
%150 = getelementptr inbounds i32, i32* %1, i64 56
%151 = bitcast i32* %150 to <4 x i32>*
%152 = load <4 x i32>, <4 x i32>* %151
%153 = mul nsw <4 x i32> %152, %149
%154 = add nsw <4 x i32> %153, <i32 32767, i32 32767, i32 32767, i32 32767>
%155 = ashr <4 x i32> %154, <i32 16, i32 16, i32 16, i32 16>
%156 = bitcast i32* %147 to <4 x i32>*
store <4 x i32> %155, <4 x i32>* %156
%157 = getelementptr inbounds i32, i32* %0, i64 60
%158 = bitcast i32* %157 to <4 x i32>*
%159 = load <4 x i32>, <4 x i32>* %158
%160 = getelementptr inbounds i32, i32* %1, i64 60
%161 = bitcast i32* %160 to <4 x i32>*
%162 = load <4 x i32>, <4 x i32>* %161
%163 = mul nsw <4 x i32> %162, %159
%164 = add nsw <4 x i32> %163, <i32 32767, i32 32767, i32 32767, i32 32767>
%165 = ashr <4 x i32> %164, <i32 16, i32 16, i32 16, i32 16>
%166 = bitcast i32* %157 to <4 x i32>*
store <4 x i32> %165, <4 x i32>* %166
br label %186
167: ; preds = %2, %167
%168 = phi i64 [ %184, %167 ], [ 0, %2 ]
%169 = getelementptr inbounds i32, i32* %0, i64 %168
%170 = load i32, i32* %169
%171 = getelementptr inbounds i32, i32* %1, i64 %168
%172 = load i32, i32* %171
%173 = mul nsw i32 %172, %170
%174 = add nsw i32 %173, 32767
%175 = ashr i32 %174, 16
store i32 %175, i32* %169
%176 = or i64 %168, 1
%177 = getelementptr inbounds i32, i32* %0, i64 %176
%178 = load i32, i32* %177
%179 = getelementptr inbounds i32, i32* %1, i64 %176
%180 = load i32, i32* %179
%181 = mul nsw i32 %180, %178
%182 = add nsw i32 %181, 32767
%183 = ashr i32 %182, 16
store i32 %183, i32* %177
%184 = add nuw nsw i64 %168, 2
%185 = icmp eq i64 %184, 64
br i1 %185, label %186, label %167
186: ; preds = %167, %8
ret void
}