void to_bifurc_transtable(double master_table[6][6], double trans[6][6]) {
  int fy;
  for (fy = 0; fy < 6; fy++) {
    trans[fy][0] = master_table[fy][0] + master_table[fy][3] +
                   master_table[fy][2] + master_table[fy][1];
    trans[fy][1] = 0.0;
    trans[fy][2] = 0.0;
    trans[fy][3] = 0.0;
    trans[fy][4] = master_table[fy][4];
    trans[fy][5] = master_table[fy][5];
  }
}


x86 assembly (clang, -O0):
<to_bifurc_transtable>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
cmpl   $0x6,-0x14(%rbp)
jge    1222 <to_bifurc_transtable+0x122>
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
imul   $0x30,%rcx,%rcx
add    %rcx,%rax
movsd  (%rax),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
imul   $0x30,%rcx,%rcx
add    %rcx,%rax
addsd  0x18(%rax),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
imul   $0x30,%rcx,%rcx
add    %rcx,%rax
addsd  0x10(%rax),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
imul   $0x30,%rcx,%rcx
add    %rcx,%rax
addsd  0x8(%rax),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
imul   $0x30,%rcx,%rcx
add    %rcx,%rax
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
imul   $0x30,%rcx,%rcx
add    %rcx,%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x8(%rax)
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
imul   $0x30,%rcx,%rcx
add    %rcx,%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x10(%rax)
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
imul   $0x30,%rcx,%rcx
add    %rcx,%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x18(%rax)
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
imul   $0x30,%rcx,%rcx
add    %rcx,%rax
movsd  0x20(%rax),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
imul   $0x30,%rcx,%rcx
add    %rcx,%rax
movsd  %xmm0,0x20(%rax)
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
imul   $0x30,%rcx,%rcx
add    %rcx,%rax
movsd  0x28(%rax),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
imul   $0x30,%rcx,%rcx
add    %rcx,%rax
movsd  %xmm0,0x28(%rax)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1113 <to_bifurc_transtable+0x13>
pop    %rbp
ret

x86 assembly (clang, -O2):
<to_bifurc_transtable>:
movsd  (%rdi),%xmm0
addsd  0x18(%rdi),%xmm0
addsd  0x10(%rdi),%xmm0
addsd  0x8(%rdi),%xmm0
movsd  %xmm0,(%rsi)
xorpd  %xmm0,%xmm0
movupd %xmm0,0x8(%rsi)
movq   $0x0,0x18(%rsi)
movsd  0x20(%rdi),%xmm1
movsd  %xmm1,0x20(%rsi)
movsd  0x28(%rdi),%xmm1
movsd  %xmm1,0x28(%rsi)
movsd  0x30(%rdi),%xmm1
addsd  0x48(%rdi),%xmm1
addsd  0x40(%rdi),%xmm1
addsd  0x38(%rdi),%xmm1
movsd  %xmm1,0x30(%rsi)
movupd %xmm0,0x38(%rsi)
movq   $0x0,0x48(%rsi)
movsd  0x50(%rdi),%xmm1
movsd  %xmm1,0x50(%rsi)
movsd  0x58(%rdi),%xmm1
movsd  %xmm1,0x58(%rsi)
movsd  0x60(%rdi),%xmm1
addsd  0x78(%rdi),%xmm1
addsd  0x70(%rdi),%xmm1
addsd  0x68(%rdi),%xmm1
movsd  %xmm1,0x60(%rsi)
movupd %xmm0,0x68(%rsi)
movq   $0x0,0x78(%rsi)
movsd  0x80(%rdi),%xmm1
movsd  %xmm1,0x80(%rsi)
movsd  0x88(%rdi),%xmm1
movsd  %xmm1,0x88(%rsi)
movsd  0x90(%rdi),%xmm1
addsd  0xa8(%rdi),%xmm1
addsd  0xa0(%rdi),%xmm1
addsd  0x98(%rdi),%xmm1
movsd  %xmm1,0x90(%rsi)
movupd %xmm0,0x98(%rsi)
movq   $0x0,0xa8(%rsi)
movsd  0xb0(%rdi),%xmm1
movsd  %xmm1,0xb0(%rsi)
movsd  0xb8(%rdi),%xmm1
movsd  %xmm1,0xb8(%rsi)
movsd  0xc0(%rdi),%xmm1
addsd  0xd8(%rdi),%xmm1
addsd  0xd0(%rdi),%xmm1
addsd  0xc8(%rdi),%xmm1
movsd  %xmm1,0xc0(%rsi)
movupd %xmm0,0xc8(%rsi)
movq   $0x0,0xd8(%rsi)
movsd  0xe0(%rdi),%xmm1
movsd  %xmm1,0xe0(%rsi)
movsd  0xe8(%rdi),%xmm1
movsd  %xmm1,0xe8(%rsi)
movsd  0xf0(%rdi),%xmm1
addsd  0x108(%rdi),%xmm1
addsd  0x100(%rdi),%xmm1
addsd  0xf8(%rdi),%xmm1
movsd  %xmm1,0xf0(%rsi)
movupd %xmm0,0xf8(%rsi)
movq   $0x0,0x108(%rsi)
movsd  0x110(%rdi),%xmm0
movsd  %xmm0,0x110(%rsi)
movsd  0x118(%rdi),%xmm0
movsd  %xmm0,0x118(%rsi)
ret

LLVM IR (-O0):
define void @to_bifurc_transtable([6 x double]* %0, [6 x double]* %1) {
%3 = alloca [6 x double]*
%4 = alloca [6 x double]*
%5 = alloca i32
store [6 x double]* %0, [6 x double]** %3
store [6 x double]* %1, [6 x double]** %4
store i32 0, i32* %5
br label %6
6: ; preds = %79, %2
%7 = load i32, i32* %5
%8 = icmp slt i32 %7, 6
br i1 %8, label %9, label %82
9: ; preds = %6
%10 = load [6 x double]*, [6 x double]** %3
%11 = load i32, i32* %5
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [6 x double], [6 x double]* %10, i64 %12
%14 = getelementptr inbounds [6 x double], [6 x double]* %13, i64 0, i64 0
%15 = load double, double* %14
%16 = load [6 x double]*, [6 x double]** %3
%17 = load i32, i32* %5
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [6 x double], [6 x double]* %16, i64 %18
%20 = getelementptr inbounds [6 x double], [6 x double]* %19, i64 0, i64 3
%21 = load double, double* %20
%22 = fadd double %15, %21
%23 = load [6 x double]*, [6 x double]** %3
%24 = load i32, i32* %5
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [6 x double], [6 x double]* %23, i64 %25
%27 = getelementptr inbounds [6 x double], [6 x double]* %26, i64 0, i64 2
%28 = load double, double* %27
%29 = fadd double %22, %28
%30 = load [6 x double]*, [6 x double]** %3
%31 = load i32, i32* %5
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [6 x double], [6 x double]* %30, i64 %32
%34 = getelementptr inbounds [6 x double], [6 x double]* %33, i64 0, i64 1
%35 = load double, double* %34
%36 = fadd double %29, %35
%37 = load [6 x double]*, [6 x double]** %4
%38 = load i32, i32* %5
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [6 x double], [6 x double]* %37, i64 %39
%41 = getelementptr inbounds [6 x double], [6 x double]* %40, i64 0, i64 0
store double %36, double* %41
%42 = load [6 x double]*, [6 x double]** %4
%43 = load i32, i32* %5
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [6 x double], [6 x double]* %42, i64 %44
%46 = getelementptr inbounds [6 x double], [6 x double]* %45, i64 0, i64 1
store double 0.000000e+00, double* %46
%47 = load [6 x double]*, [6 x double]** %4
%48 = load i32, i32* %5
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [6 x double], [6 x double]* %47, i64 %49
%51 = getelementptr inbounds [6 x double], [6 x double]* %50, i64 0, i64 2
store double 0.000000e+00, double* %51
%52 = load [6 x double]*, [6 x double]** %4
%53 = load i32, i32* %5
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [6 x double], [6 x double]* %52, i64 %54
%56 = getelementptr inbounds [6 x double], [6 x double]* %55, i64 0, i64 3
store double 0.000000e+00, double* %56
%57 = load [6 x double]*, [6 x double]** %3
%58 = load i32, i32* %5
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [6 x double], [6 x double]* %57, i64 %59
%61 = getelementptr inbounds [6 x double], [6 x double]* %60, i64 0, i64 4
%62 = load double, double* %61
%63 = load [6 x double]*, [6 x double]** %4
%64 = load i32, i32* %5
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [6 x double], [6 x double]* %63, i64 %65
%67 = getelementptr inbounds [6 x double], [6 x double]* %66, i64 0, i64 4
store double %62, double* %67
%68 = load [6 x double]*, [6 x double]** %3
%69 = load i32, i32* %5
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [6 x double], [6 x double]* %68, i64 %70
%72 = getelementptr inbounds [6 x double], [6 x double]* %71, i64 0, i64 5
%73 = load double, double* %72
%74 = load [6 x double]*, [6 x double]** %4
%75 = load i32, i32* %5
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [6 x double], [6 x double]* %74, i64 %76
%78 = getelementptr inbounds [6 x double], [6 x double]* %77, i64 0, i64 5
store double %73, double* %78
br label %79
79: ; preds = %9
%80 = load i32, i32* %5
%81 = add nsw i32 %80, 1
store i32 %81, i32* %5
br label %6
82: ; preds = %6
ret void
}

LLVM IR (-O2):
define void @to_bifurc_transtable([6 x double]* nocapture %0, [6 x double]* nocapture writeonly %1) {
%3 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 0, i64 0
%4 = load double, double* %3
%5 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 0, i64 3
%6 = load double, double* %5
%7 = fadd double %4, %6
%8 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 0, i64 2
%9 = load double, double* %8
%10 = fadd double %7, %9
%11 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 0, i64 1
%12 = load double, double* %11
%13 = fadd double %10, %12
%14 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 0, i64 0
store double %13, double* %14
%15 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 0, i64 1
%16 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 0, i64 4
%17 = bitcast double* %15 to i8*
%18 = load double, double* %16
%19 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 0, i64 4
store double %18, double* %19
%20 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 0, i64 5
%21 = load double, double* %20
%22 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 0, i64 5
store double %21, double* %22
%23 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 1, i64 0
%24 = load double, double* %23
%25 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 1, i64 3
%26 = load double, double* %25
%27 = fadd double %24, %26
%28 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 1, i64 2
%29 = load double, double* %28
%30 = fadd double %27, %29
%31 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 1, i64 1
%32 = load double, double* %31
%33 = fadd double %30, %32
%34 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 1, i64 0
store double %33, double* %34
%35 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 1, i64 1
%36 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 1, i64 4
%37 = bitcast double* %35 to i8*
%38 = load double, double* %36
%39 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 1, i64 4
store double %38, double* %39
%40 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 1, i64 5
%41 = load double, double* %40
%42 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 1, i64 5
store double %41, double* %42
%43 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 2, i64 0
%44 = load double, double* %43
%45 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 2, i64 3
%46 = load double, double* %45
%47 = fadd double %44, %46
%48 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 2, i64 2
%49 = load double, double* %48
%50 = fadd double %47, %49
%51 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 2, i64 1
%52 = load double, double* %51
%53 = fadd double %50, %52
%54 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 2, i64 0
store double %53, double* %54
%55 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 2, i64 1
%56 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 2, i64 4
%57 = bitcast double* %55 to i8*
%58 = load double, double* %56
%59 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 2, i64 4
store double %58, double* %59
%60 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 2, i64 5
%61 = load double, double* %60
%62 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 2, i64 5
store double %61, double* %62
%63 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 3, i64 0
%64 = load double, double* %63
%65 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 3, i64 3
%66 = load double, double* %65
%67 = fadd double %64, %66
%68 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 3, i64 2
%69 = load double, double* %68
%70 = fadd double %67, %69
%71 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 3, i64 1
%72 = load double, double* %71
%73 = fadd double %70, %72
%74 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 3, i64 0
store double %73, double* %74
%75 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 3, i64 1
%76 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 3, i64 4
%77 = bitcast double* %75 to i8*
%78 = load double, double* %76
%79 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 3, i64 4
store double %78, double* %79
%80 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 3, i64 5
%81 = load double, double* %80
%82 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 3, i64 5
store double %81, double* %82
%83 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 4, i64 0
%84 = load double, double* %83
%85 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 4, i64 3
%86 = load double, double* %85
%87 = fadd double %84, %86
%88 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 4, i64 2
%89 = load double, double* %88
%90 = fadd double %87, %89
%91 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 4, i64 1
%92 = load double, double* %91
%93 = fadd double %90, %92
%94 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 4, i64 0
store double %93, double* %94
%95 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 4, i64 1
%96 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 4, i64 4
%97 = bitcast double* %95 to i8*
%98 = load double, double* %96
%99 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 4, i64 4
store double %98, double* %99
%100 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 4, i64 5
%101 = load double, double* %100
%102 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 4, i64 5
store double %101, double* %102
%103 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 5, i64 0
%104 = load double, double* %103
%105 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 5, i64 3
%106 = load double, double* %105
%107 = fadd double %104, %106
%108 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 5, i64 2
%109 = load double, double* %108
%110 = fadd double %107, %109
%111 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 5, i64 1
%112 = load double, double* %111
%113 = fadd double %110, %112
%114 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 5, i64 0
store double %113, double* %114
%115 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 5, i64 1
%116 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 5, i64 4
%117 = bitcast double* %115 to i8*
%118 = load double, double* %116
%119 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 5, i64 4
store double %118, double* %119
%120 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 5, i64 5
%121 = load double, double* %120
%122 = getelementptr inbounds [6 x double], [6 x double]* %1, i64 5, i64 5
store double %121, double* %122
ret void
}