#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
float expf(float const);
float const sqrf(float const);
void _masks_blur_13x13_coeff(float *c, const float sigma) {
  float kernel[13][13];
  const float temp = -2.0f * sqrf(sigma);
  const float range = sqrf(3.0f * 2.0f);
  float sum = 0.0f;
  for (int k = -6; k <= 6; k++) {
    for (int j = -6; j <= 6; j++) {
      if ((sqrf(k) + sqrf(j)) <= range) {
        kernel[k + 6][j + 6] = expf((sqrf(k) + sqrf(j)) / temp);
        sum += kernel[k + 6][j + 6];
      } else
        kernel[k + 6][j + 6] = 0.0f;
    }
  }
  for (int i = 0; i < 13; i++) {
#pragma GCC ivdep
    for (int j = 0; j < 13; j++)
      kernel[i][j] /= sum;
  }
  c[0] = kernel[0][6];
  c[1] = kernel[1][3];
  c[2] = kernel[1][4];
  c[3] = kernel[1][5];
  c[4] = kernel[1][6];
  c[5] = kernel[2][2];
  c[6] = kernel[2][4];
  c[7] = kernel[2][5];
  c[8] = kernel[2][6];
  c[9] = kernel[3][3];
  c[10] = kernel[3][4];
  c[11] = kernel[3][5];
  c[12] = kernel[3][6];
  c[13] = kernel[4][4];
  c[14] = kernel[4][5];
  c[15] = kernel[4][6];
  c[16] = kernel[5][5];
  c[17] = kernel[5][6];
  c[18] = kernel[6][6];
}


x86 assembly (clang, -O0):
<_masks_blur_13x13_coeff>:
push   %rbp
mov    %rsp,%rbp
sub    $0x2e0,%rsp
mov    %rdi,-0x8(%rbp)
movss  %xmm0,-0xc(%rbp)
movss  -0xc(%rbp),%xmm0
call   1040 <sqrf@plt>
movaps %xmm0,%xmm1
movss  0xebb(%rip),%xmm0
mulss  %xmm1,%xmm0
movss  %xmm0,-0x2b4(%rbp)
ff
movss  0xea3(%rip),%xmm0
call   1040 <sqrf@plt>
movss  %xmm0,-0x2b8(%rbp)
ff
xorps  %xmm0,%xmm0
movss  %xmm0,-0x2bc(%rbp)
ff
movl   $0xfffffffa,-0x2c0(%rbp)
ff ff ff
cmpl   $0x6,-0x2c0(%rbp)
jg     12eb <_masks_blur_13x13_coeff+0x1cb>
movl   $0xfffffffa,-0x2c4(%rbp)
ff ff ff
cmpl   $0x6,-0x2c4(%rbp)
jg     12d2 <_masks_blur_13x13_coeff+0x1b2>
cvtsi2ssl -0x2c0(%rbp),%xmm0
ff
call   1040 <sqrf@plt>
movss  %xmm0,-0x2d0(%rbp)
ff
cvtsi2ssl -0x2c4(%rbp),%xmm0
ff
call   1040 <sqrf@plt>
movss  -0x2d0(%rbp),%xmm1
ff
addss  %xmm0,%xmm1
movss  -0x2b8(%rbp),%xmm0
ff
ucomiss %xmm1,%xmm0
jb     128b <_masks_blur_13x13_coeff+0x16b>
cvtsi2ssl -0x2c0(%rbp),%xmm0
ff
call   1040 <sqrf@plt>
movss  %xmm0,-0x2d4(%rbp)
ff
cvtsi2ssl -0x2c4(%rbp),%xmm0
ff
call   1040 <sqrf@plt>
movaps %xmm0,%xmm1
movss  -0x2d4(%rbp),%xmm0
ff
addss  %xmm1,%xmm0
divss  -0x2b4(%rbp),%xmm0
ff
call   1030 <expf@plt>
mov    -0x2c0(%rbp),%eax
add    $0x6,%eax
movslq %eax,%rcx
lea    -0x2b0(%rbp),%rax
imul   $0x34,%rcx,%rcx
add    %rcx,%rax
mov    -0x2c4(%rbp),%ecx
add    $0x6,%ecx
movslq %ecx,%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x2c0(%rbp),%eax
add    $0x6,%eax
movslq %eax,%rcx
lea    -0x2b0(%rbp),%rax
imul   $0x34,%rcx,%rcx
add    %rcx,%rax
mov    -0x2c4(%rbp),%ecx
add    $0x6,%ecx
movslq %ecx,%rcx
movss  (%rax,%rcx,4),%xmm0
addss  -0x2bc(%rbp),%xmm0
ff
movss  %xmm0,-0x2bc(%rbp)
ff
jmp    12b9 <_masks_blur_13x13_coeff+0x199>
mov    -0x2c0(%rbp),%eax
add    $0x6,%eax
movslq %eax,%rcx
lea    -0x2b0(%rbp),%rax
imul   $0x34,%rcx,%rcx
add    %rcx,%rax
mov    -0x2c4(%rbp),%ecx
add    $0x6,%ecx
movslq %ecx,%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
jmp    12be <_masks_blur_13x13_coeff+0x19e>
mov    -0x2c4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c4(%rbp)
jmp    1196 <_masks_blur_13x13_coeff+0x76>
jmp    12d7 <_masks_blur_13x13_coeff+0x1b7>
mov    -0x2c0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c0(%rbp)
jmp    117f <_masks_blur_13x13_coeff+0x5f>
movl   $0x0,-0x2c8(%rbp)
cmpl   $0xd,-0x2c8(%rbp)
jge    1378 <_masks_blur_13x13_coeff+0x258>
movl   $0x0,-0x2cc(%rbp)
cmpl   $0xd,-0x2cc(%rbp)
jge    135f <_masks_blur_13x13_coeff+0x23f>
movss  -0x2bc(%rbp),%xmm1
ff
movslq -0x2c8(%rbp),%rcx
lea    -0x2b0(%rbp),%rax
imul   $0x34,%rcx,%rcx
add    %rcx,%rax
movslq -0x2cc(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
divss  %xmm1,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x2cc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2cc(%rbp)
jmp    130c <_masks_blur_13x13_coeff+0x1ec>
jmp    1364 <_masks_blur_13x13_coeff+0x244>
mov    -0x2c8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c8(%rbp)
jmp    12f5 <_masks_blur_13x13_coeff+0x1d5>
movss  -0x298(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,(%rax)
movss  -0x270(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,0x4(%rax)
movss  -0x26c(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,0x8(%rax)
movss  -0x268(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,0xc(%rax)
movss  -0x264(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,0x10(%rax)
movss  -0x240(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,0x14(%rax)
movss  -0x238(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,0x18(%rax)
movss  -0x234(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,0x1c(%rax)
movss  -0x230(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,0x20(%rax)
movss  -0x208(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,0x24(%rax)
movss  -0x204(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,0x28(%rax)
movss  -0x200(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,0x2c(%rax)
movss  -0x1fc(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,0x30(%rax)
movss  -0x1d0(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,0x34(%rax)
movss  -0x1cc(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,0x38(%rax)
movss  -0x1c8(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,0x3c(%rax)
movss  -0x198(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,0x40(%rax)
movss  -0x194(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,0x44(%rax)
movss  -0x160(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movss  %xmm0,0x48(%rax)
add    $0x2e0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<_masks_blur_13x13_coeff>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x2d8,%rsp
mov    %rdi,%r14
call   1040 <sqrf@plt>
mulss  0xec2(%rip),%xmm0
movss  %xmm0,0x14(%rsp)
movss  0xeb8(%rip),%xmm0
call   1040 <sqrf@plt>
movss  %xmm0,0x18(%rsp)
xorps  %xmm4,%xmm4
mov    $0xfffffffffffffffa,%r15
lea    0x30(%rsp),%r12
jmp    1182 <_masks_blur_13x13_coeff+0x62>
nopl   0x0(%rax,%rax,1)
add    $0x1,%r15
add    $0x34,%r12
cmp    $0x7,%r15
je     1234 <_masks_blur_13x13_coeff+0x114>
xorps  %xmm0,%xmm0
cvtsi2ss %r15d,%xmm0
xor    %ebx,%ebx
movss  %xmm0,0xc(%rsp)
jmp    11bd <_masks_blur_13x13_coeff+0x9d>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movl   $0x0,(%r12,%rbx,4)
movaps 0x20(%rsp),%xmm4
movss  0xc(%rsp),%xmm0
add    $0x1,%rbx
cmp    $0xd,%rbx
je     1170 <_masks_blur_13x13_coeff+0x50>
movaps %xmm4,0x20(%rsp)
call   1040 <sqrf@plt>
movss  %xmm0,0x10(%rsp)
lea    -0x6(%rbx),%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movss  %xmm0,0x1c(%rsp)
call   1040 <sqrf@plt>
addss  0x10(%rsp),%xmm0
movss  0x18(%rsp),%xmm1
ucomiss %xmm0,%xmm1
jb     11a0 <_masks_blur_13x13_coeff+0x80>
movss  0xc(%rsp),%xmm0
call   1040 <sqrf@plt>
movss  %xmm0,0x10(%rsp)
movss  0x1c(%rsp),%xmm0
call   1040 <sqrf@plt>
addss  0x10(%rsp),%xmm0
divss  0x14(%rsp),%xmm0
call   1030 <expf@plt>
movss  %xmm0,(%r12,%rbx,4)
movaps 0x20(%rsp),%xmm4
addss  %xmm0,%xmm4
jmp    11ad <_masks_blur_13x13_coeff+0x8d>
movaps %xmm4,%xmm0
shufps $0x0,%xmm4,%xmm0
mov    $0x30,%eax
movups (%rsp,%rax,1),%xmm1
movups 0x10(%rsp,%rax,1),%xmm2
movups 0x20(%rsp,%rax,1),%xmm3
divps  %xmm0,%xmm1
movups %xmm1,(%rsp,%rax,1)
divps  %xmm0,%xmm2
movups %xmm2,0x10(%rsp,%rax,1)
divps  %xmm0,%xmm3
movups %xmm3,0x20(%rsp,%rax,1)
movss  0x30(%rsp,%rax,1),%xmm1
divss  %xmm4,%xmm1
movss  %xmm1,0x30(%rsp,%rax,1)
add    $0x34,%rax
cmp    $0x2d4,%rax
jne    1240 <_masks_blur_13x13_coeff+0x120>
movsd  0x74(%rsp),%xmm0
movss  0x70(%rsp),%xmm1
movhps 0x48(%rsp),%xmm1
shufps $0x42,%xmm0,%xmm1
movups %xmm1,(%r14)
movsd  0xa8(%rsp),%xmm0
movss  0xa0(%rsp),%xmm1
movhps 0x7c(%rsp),%xmm1
shufps $0x42,%xmm0,%xmm1
movups %xmm1,0x10(%r14)
movsd  0xdc(%rsp),%xmm0
movss  0xd8(%rsp),%xmm1
unpcklpd 0xb0(%rsp),%xmm1
shufps $0x42,%xmm0,%xmm1
movups %xmm1,0x20(%r14)
movsd  0x114(%rsp),%xmm0
movss  0x110(%rsp),%xmm1
movhps 0xe4(%rsp),%xmm1
shufps $0x42,%xmm0,%xmm1
movups %xmm1,0x30(%r14)
movss  0x148(%rsp),%xmm0
movss  %xmm0,0x40(%r14)
movss  0x14c(%rsp),%xmm0
movss  %xmm0,0x44(%r14)
movss  0x180(%rsp),%xmm0
movss  %xmm0,0x48(%r14)
add    $0x2d8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

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

LLVM IR (-O2):
define void @_masks_blur_13x13_coeff(float* nocapture writeonly %0, float %1) {
%3 = alloca [13 x [13 x float]]
%4 = bitcast [13 x [13 x float]]* %3 to i8*
%5 = tail call float @sqrf(float %1)
%6 = fmul float %5, -2.000000e+00
%7 = tail call float @sqrf(float 6.000000e+00)
br label %8
8: ; preds = %2, %14
%9 = phi i64 [ -6, %2 ], [ %15, %14 ]
%10 = phi float [ 0.000000e+00, %2 ], [ %42, %14 ]
%11 = trunc i64 %9 to i32
%12 = sitofp i32 %11 to float
%13 = add nsw i64 %9, 6
br label %20
14: ; preds = %41
%15 = add nsw i64 %9, 1
%16 = icmp eq i64 %15, 7
br i1 %16, label %17, label %8
17: ; preds = %14
%18 = insertelement <4 x float> poison, float %42, i64 0
%19 = shufflevector <4 x float> %18, <4 x float> poison, <4 x i32> zeroinitializer
br label %45
20: ; preds = %8, %41
%21 = phi i64 [ -6, %8 ], [ %43, %41 ]
%22 = phi float [ %10, %8 ], [ %42, %41 ]
%23 = tail call float @sqrf(float %12)
%24 = trunc i64 %21 to i32
%25 = sitofp i32 %24 to float
%26 = tail call float @sqrf(float %25)
%27 = fadd float %23, %26
%28 = fcmp ugt float %27, %7
br i1 %28, label %38, label %29
29: ; preds = %20
%30 = tail call float @sqrf(float %12)
%31 = tail call float @sqrf(float %25)
%32 = fadd float %30, %31
%33 = fdiv float %32, %6
%34 = tail call float @expf(float %33)
%35 = add nsw i64 %21, 6
%36 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 %13, i64 %35
store float %34, float* %36
%37 = fadd float %22, %34
br label %41
38: ; preds = %20
%39 = add nsw i64 %21, 6
%40 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 %13, i64 %39
store float 0.000000e+00, float* %40
br label %41
41: ; preds = %29, %38
%42 = phi float [ %37, %29 ], [ %22, %38 ]
%43 = add nsw i64 %21, 1
%44 = icmp eq i64 %43, 7
br i1 %44, label %14, label %20
45: ; preds = %17, %45
%46 = phi i64 [ %65, %45 ], [ 0, %17 ]
%47 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 %46, i64 0
%48 = bitcast float* %47 to <4 x float>*
%49 = load <4 x float>, <4 x float>* %48
%50 = fdiv <4 x float> %49, %19
%51 = bitcast float* %47 to <4 x float>*
store <4 x float> %50, <4 x float>* %51
%52 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 %46, i64 4
%53 = bitcast float* %52 to <4 x float>*
%54 = load <4 x float>, <4 x float>* %53
%55 = fdiv <4 x float> %54, %19
%56 = bitcast float* %52 to <4 x float>*
store <4 x float> %55, <4 x float>* %56
%57 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 %46, i64 8
%58 = bitcast float* %57 to <4 x float>*
%59 = load <4 x float>, <4 x float>* %58
%60 = fdiv <4 x float> %59, %19
%61 = bitcast float* %57 to <4 x float>*
store <4 x float> %60, <4 x float>* %61
%62 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 %46, i64 12
%63 = load float, float* %62
%64 = fdiv float %63, %42
store float %64, float* %62
%65 = add nuw nsw i64 %46, 1
%66 = icmp eq i64 %65, 13
br i1 %66, label %67, label %45
67: ; preds = %45
%68 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 0, i64 6
%69 = bitcast float* %68 to <4 x float>*
%70 = load <4 x float>, <4 x float>* %69
%71 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 1, i64 3
%72 = load float, float* %71
%73 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 1, i64 4
%74 = bitcast float* %73 to <2 x float>*
%75 = load <2 x float>, <2 x float>* %74
%76 = insertelement <4 x float> %70, float %72, i64 1
%77 = shufflevector <2 x float> %75, <2 x float> poison, <4 x i32> <i32 0, i32 1, i32 undef, i32 undef>
%78 = shufflevector <4 x float> %76, <4 x float> %77, <4 x i32> <i32 0, i32 1, i32 4, i32 5>
%79 = bitcast float* %0 to <4 x float>*
store <4 x float> %78, <4 x float>* %79
%80 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 1, i64 6
%81 = bitcast float* %80 to <4 x float>*
%82 = load <4 x float>, <4 x float>* %81
%83 = getelementptr inbounds float, float* %0, i64 4
%84 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 2, i64 2
%85 = load float, float* %84
%86 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 2, i64 4
%87 = bitcast float* %86 to <2 x float>*
%88 = load <2 x float>, <2 x float>* %87
%89 = insertelement <4 x float> %82, float %85, i64 1
%90 = shufflevector <2 x float> %88, <2 x float> poison, <4 x i32> <i32 0, i32 1, i32 undef, i32 undef>
%91 = shufflevector <4 x float> %89, <4 x float> %90, <4 x i32> <i32 0, i32 1, i32 4, i32 5>
%92 = bitcast float* %83 to <4 x float>*
store <4 x float> %91, <4 x float>* %92
%93 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 2, i64 6
%94 = bitcast float* %93 to <4 x float>*
%95 = load <4 x float>, <4 x float>* %94
%96 = getelementptr inbounds float, float* %0, i64 8
%97 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 3, i64 3
%98 = load float, float* %97
%99 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 3, i64 4
%100 = bitcast float* %99 to <2 x float>*
%101 = load <2 x float>, <2 x float>* %100
%102 = insertelement <4 x float> %95, float %98, i64 1
%103 = shufflevector <2 x float> %101, <2 x float> poison, <4 x i32> <i32 0, i32 1, i32 undef, i32 undef>
%104 = shufflevector <4 x float> %102, <4 x float> %103, <4 x i32> <i32 0, i32 1, i32 4, i32 5>
%105 = bitcast float* %96 to <4 x float>*
store <4 x float> %104, <4 x float>* %105
%106 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 3, i64 6
%107 = bitcast float* %106 to <4 x float>*
%108 = load <4 x float>, <4 x float>* %107
%109 = getelementptr inbounds float, float* %0, i64 12
%110 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 4, i64 4
%111 = load float, float* %110
%112 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 4, i64 5
%113 = bitcast float* %112 to <2 x float>*
%114 = load <2 x float>, <2 x float>* %113
%115 = insertelement <4 x float> %108, float %111, i64 1
%116 = shufflevector <2 x float> %114, <2 x float> poison, <4 x i32> <i32 0, i32 1, i32 undef, i32 undef>
%117 = shufflevector <4 x float> %115, <4 x float> %116, <4 x i32> <i32 0, i32 1, i32 4, i32 5>
%118 = bitcast float* %109 to <4 x float>*
store <4 x float> %117, <4 x float>* %118
%119 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 5, i64 5
%120 = load float, float* %119
%121 = getelementptr inbounds float, float* %0, i64 16
store float %120, float* %121
%122 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 5, i64 6
%123 = load float, float* %122
%124 = getelementptr inbounds float, float* %0, i64 17
store float %123, float* %124
%125 = getelementptr inbounds [13 x [13 x float]], [13 x [13 x float]]* %3, i64 0, i64 6, i64 6
%126 = load float, float* %125
%127 = getelementptr inbounds float, float* %0, i64 18
store float %126, float* %127
ret void
}