#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 */
int /*<<< orphan*/ printf(char *);
scalar_t__ sub_spg_standardize_cell(double **, double **, int *, int, double,
                                    int, int);
int test_spg_standardize_cell_corundum(void) {
  double lattice[3][3] = {{4.8076344022756095, -2.4038172011378047, 0},
                          {0, 4.1635335244786962, 0},
                          {0, 0, 13.1172699198127543}};
  double position[][3] = {
      {0.0000000000000000, 0.0000000000000000, 0.3521850942289043},
      {0.6666666666666643, 0.3333333333333357, 0.6855184275622400},
      {0.3333333333333357, 0.6666666666666643, 0.0188517608955686},
      {0.0000000000000000, 0.0000000000000000, 0.6478149057711028},
      {0.6666666666666643, 0.3333333333333357, 0.9811482391044314},
      {0.3333333333333357, 0.6666666666666643, 0.3144815724377600},
      {0.0000000000000000, 0.0000000000000000, 0.1478149057710957},
      {0.6666666666666643, 0.3333333333333357, 0.4811482391044314},
      {0.3333333333333357, 0.6666666666666643, 0.8144815724377600},
      {0.0000000000000000, 0.0000000000000000, 0.8521850942288972},
      {0.6666666666666643, 0.3333333333333357, 0.1855184275622400},
      {0.3333333333333357, 0.6666666666666643, 0.5188517608955686},
      {0.3061673906454899, 0.0000000000000000, 0.2500000000000000},
      {0.9728340573121541, 0.3333333333333357, 0.5833333333333357},
      {0.6395007239788255, 0.6666666666666643, 0.9166666666666643},
      {0.6938326093545102, 0.0000000000000000, 0.7500000000000000},
      {0.3604992760211744, 0.3333333333333357, 0.0833333333333357},
      {0.0271659426878458, 0.6666666666666643, 0.4166666666666643},
      {0.0000000000000000, 0.3061673906454899, 0.2500000000000000},
      {0.6666666666666643, 0.6395007239788255, 0.5833333333333357},
      {0.3333333333333357, 0.9728340573121541, 0.9166666666666643},
      {0.0000000000000000, 0.6938326093545102, 0.7500000000000000},
      {0.6666666666666643, 0.0271659426878458, 0.0833333333333357},
      {0.3333333333333357, 0.3604992760211744, 0.4166666666666643},
      {0.6938326093545102, 0.6938326093545102, 0.2500000000000000},
      {0.3604992760211744, 0.0271659426878458, 0.5833333333333357},
      {0.0271659426878458, 0.3604992760211744, 0.9166666666666643},
      {0.3061673906454899, 0.3061673906454899, 0.7500000000000000},
      {0.9728340573121541, 0.6395007239788255, 0.0833333333333357},
      {0.6395007239788255, 0.9728340573121541, 0.4166666666666643},
  };
  int types[30];
  int i, j, k;
  int num_atom = 30;
  double symprec = 1e-5;
  for (i = 0; i < 12; i++) {
    types[i] = 1;
  }
  for (i = 12; i < 30; i++) {
    types[i] = 2;
  }
  printf("*** spg_standardize_cell (Corundum) ***:\n");
  printf("------------------------------------------------------\n");
  for (j = 0; j < 2; j++) {
    for (k = 0; k < 2; k++) {
      if (sub_spg_standardize_cell(lattice, position, types, num_atom, symprec,
                                   j, k)) {
        return 1;
      }
      printf("------------------------------------------------------\n");
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<test_spg_standardize_cell_corundum>:
push   %rbp
mov    %rsp,%rbp
sub    $0x3c0,%rsp
lea    -0x50(%rbp),%rdi
xor    %esi,%esi
mov    $0x48,%edx
call   1040 <memset@plt>
movsd  0xebd(%rip),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0xea8(%rip),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0xe93(%rip),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xe7e(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
lea    -0x320(%rbp),%rdi
lea    0xe93(%rip),%rsi
mov    $0x2d0,%edx
call   1060 <memcpy@plt>
movl   $0x1e,-0x3b0(%rbp)
movsd  0xe47(%rip),%xmm0
movsd  %xmm0,-0x3b8(%rbp)
ff
movl   $0x0,-0x3a4(%rbp)
cmpl   $0xc,-0x3a4(%rbp)
jge    11fe <test_spg_standardize_cell_corundum+0xbe>
movslq -0x3a4(%rbp),%rax
movl   $0x1,-0x3a0(%rbp,%rax,4)
mov    -0x3a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3a4(%rbp)
jmp    11cb <test_spg_standardize_cell_corundum+0x8b>
movl   $0xc,-0x3a4(%rbp)
cmpl   $0x1e,-0x3a4(%rbp)
jge    123b <test_spg_standardize_cell_corundum+0xfb>
movslq -0x3a4(%rbp),%rax
movl   $0x2,-0x3a0(%rbp,%rax,4)
mov    -0x3a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3a4(%rbp)
jmp    1208 <test_spg_standardize_cell_corundum+0xc8>
lea    0x10be(%rip),%rdi
call   1030 <printf@plt>
lea    0x10dc(%rip),%rdi
call   1030 <printf@plt>
movl   $0x0,-0x3a8(%rbp)
cmpl   $0x2,-0x3a8(%rbp)
jge    1303 <test_spg_standardize_cell_corundum+0x1c3>
movl   $0x0,-0x3ac(%rbp)
cmpl   $0x2,-0x3ac(%rbp)
jge    12ea <test_spg_standardize_cell_corundum+0x1aa>
lea    -0x50(%rbp),%rdi
lea    -0x320(%rbp),%rsi
lea    -0x3a0(%rbp),%rdx
mov    -0x3b0(%rbp),%ecx
movsd  -0x3b8(%rbp),%xmm0
ff
mov    -0x3a8(%rbp),%r8d
mov    -0x3ac(%rbp),%r9d
call   1050 <sub_spg_standardize_cell@plt>
cmp    $0x0,%rax
je     12ca <test_spg_standardize_cell_corundum+0x18a>
movl   $0x1,-0x4(%rbp)
jmp    130a <test_spg_standardize_cell_corundum+0x1ca>
lea    0x1059(%rip),%rdi
call   1030 <printf@plt>
mov    -0x3ac(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3ac(%rbp)
jmp    1274 <test_spg_standardize_cell_corundum+0x134>
jmp    12ef <test_spg_standardize_cell_corundum+0x1af>
mov    -0x3a8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3a8(%rbp)
jmp    125d <test_spg_standardize_cell_corundum+0x11d>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x3c0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_spg_standardize_cell_corundum>:
push   %rbx
sub    $0x3a0,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x10(%rsp)
movaps 0xeaf(%rip),%xmm0
movaps %xmm0,(%rsp)
movabs $0x4010a775550dbe12,%rax
a7 10 40
mov    %rax,0x20(%rsp)
movabs $0x402a3c0acd8cccf7,%rax
3c 2a 40
mov    %rax,0x40(%rsp)
lea    0xec6(%rip),%rsi
lea    0xd0(%rsp),%rbx
mov    $0x2d0,%edx
mov    %rbx,%rdi
call   1050 <memcpy@plt>
movaps 0xe7a(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x70(%rsp)
movaps 0xe74(%rip),%xmm0
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0xb0(%rsp)
movabs $0x200000002,%rax
mov    %rax,0xc0(%rsp)
lea    0x112b(%rip),%rdi
call   1030 <puts@plt>
lea    0x1148(%rip),%rdi
call   1030 <puts@plt>
mov    %rsp,%rdi
lea    0x50(%rsp),%rdx
movsd  0xe2a(%rip),%xmm0
mov    %rbx,%rsi
mov    $0x1e,%ecx
xor    %r8d,%r8d
xor    %r9d,%r9d
call   1040 <sub_spg_standardize_cell@plt>
mov    $0x1,%ebx
test   %rax,%rax
jne    12ff <test_spg_standardize_cell_corundum+0x1cf>
lea    0x110b(%rip),%rdi
call   1030 <puts@plt>
mov    %rsp,%rdi
lea    0xd0(%rsp),%rsi
lea    0x50(%rsp),%rdx
movsd  0xde5(%rip),%xmm0
mov    $0x1,%ebx
mov    $0x1e,%ecx
xor    %r8d,%r8d
mov    $0x1,%r9d
call   1040 <sub_spg_standardize_cell@plt>
test   %rax,%rax
jne    12ff <test_spg_standardize_cell_corundum+0x1cf>
lea    0x10c6(%rip),%rdi
call   1030 <puts@plt>
mov    %rsp,%rdi
lea    0xd0(%rsp),%rsi
lea    0x50(%rsp),%rdx
movsd  0xda0(%rip),%xmm0
mov    $0x1,%ebx
mov    $0x1e,%ecx
mov    $0x1,%r8d
xor    %r9d,%r9d
call   1040 <sub_spg_standardize_cell@plt>
test   %rax,%rax
jne    12ff <test_spg_standardize_cell_corundum+0x1cf>
lea    0x1085(%rip),%rdi
call   1030 <puts@plt>
mov    %rsp,%rdi
lea    0xd0(%rsp),%rsi
lea    0x50(%rsp),%rdx
movsd  0xd5f(%rip),%xmm0
mov    $0x1,%ebx
mov    $0x1e,%ecx
mov    $0x1,%r8d
mov    $0x1,%r9d
call   1040 <sub_spg_standardize_cell@plt>
test   %rax,%rax
jne    12ff <test_spg_standardize_cell_corundum+0x1cf>
lea    0x1041(%rip),%rdi
call   1030 <puts@plt>
xor    %ebx,%ebx
mov    %ebx,%eax
add    $0x3a0,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@__const.test_spg_standardize_cell_corundum.position = [30 x [3 x double]] [[3 x double] [double 0.000000e+00, double 0.000000e+00, double 0x3FD68A3359768442], [3 x double] [double 0x3FE5555555555540, double 0x3FD5555555555580, double 0x3FE5EFC45765ECE1], [3 x double] [double 0x3FD5555555555580, double 0x3FE5555555555540, double 0x3F934DE04212EC1C], [3 x double] [double 0.000000e+00, double 0.000000e+00, double 0x3FE4BAE65344BE1F], [3 x double] [double 0x3FE5555555555540, double 0x3FD5555555555580, double 0x3FEF6590FDEF689F], [3 x double] [double 0x3FD5555555555580, double 0x3FE5555555555540, double 0x3FD420775134263E], [3 x double] [double 0.000000e+00, double 0.000000e+00, double 0x3FC2EB994D12F77D], [3 x double] [double 0x3FE5555555555540, double 0x3FD5555555555580, double 0x3FDECB21FBDED13E], [3 x double] [double 0x3FD5555555555580, double 0x3FE5555555555540, double 0x3FEA103BA89A131F], [3 x double] [double 0.000000e+00, double 0.000000e+00, double 0x3FEB4519ACBB41E1], [3 x double] [double 0x3FE5555555555540, double 0x3FD5555555555580, double 0x3FC7BF115D97B383], [3 x double] [double 0x3FD5555555555580, double 0x3FE5555555555540, double 0x3FE09A6F02109761], [3 x double] [double 0x3FD3983F1C7B2366, double 0.000000e+00, double 2.500000e-01], [3 x double] [double 0x3FEF2174E392E6F2, double 0x3FD5555555555580, double 0x3FE2AAAAAAAAAAC0], [3 x double] [double 0x3FE476CA38E83C72, double 0x3FE5555555555540, double 0x3FED555555555540], [3 x double] [double 0x3FE633E071C26E4E, double 0.000000e+00, double 7.500000e-01], [3 x double] [double 0x3FD7126B8E2F871A, double 0x3FD5555555555580, double 0x3FB5555555555600], [3 x double] [double 0x3F9BD1638DA321A6, double 0x3FE5555555555540, double 0x3FDAAAAAAAAAAA80], [3 x double] [double 0.000000e+00, double 0x3FD3983F1C7B2366, double 2.500000e-01], [3 x double] [double 0x3FE5555555555540, double 0x3FE476CA38E83C72, double 0x3FE2AAAAAAAAAAC0], [3 x double] [double 0x3FD5555555555580, double 0x3FEF2174E392E6F2, double 0x3FED555555555540], [3 x double] [double 0.000000e+00, double 0x3FE633E071C26E4E, double 7.500000e-01], [3 x double] [double 0x3FE5555555555540, double 0x3F9BD1638DA321A6, double 0x3FB5555555555600], [3 x double] [double 0x3FD5555555555580, double 0x3FD7126B8E2F871A, double 0x3FDAAAAAAAAAAA80], [3 x double] [double 0x3FE633E071C26E4E, double 0x3FE633E071C26E4E, double 2.500000e-01], [3 x double] [double 0x3FD7126B8E2F871A, double 0x3F9BD1638DA321A6, double 0x3FE2AAAAAAAAAAC0], [3 x double] [double 0x3F9BD1638DA321A6, double 0x3FD7126B8E2F871A, double 0x3FED555555555540], [3 x double] [double 0x3FD3983F1C7B2366, double 0x3FD3983F1C7B2366, double 7.500000e-01], [3 x double] [double 0x3FEF2174E392E6F2, double 0x3FE476CA38E83C72, double 0x3FB5555555555600], [3 x double] [double 0x3FE476CA38E83C72, double 0x3FEF2174E392E6F2, double 0x3FDAAAAAAAAAAA80]]
@.str = [42 x i8] c"*** spg_standardize_cell (Corundum) ***:\0A\00"
@.str.1 = [56 x i8] c"------------------------------------------------------\0A\00"
define i32 @test_spg_standardize_cell_corundum() {
%1 = alloca i32
%2 = alloca [3 x [3 x double]]
%3 = alloca [30 x [3 x double]]
%4 = alloca [30 x i32]
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca double
%10 = bitcast [3 x [3 x double]]* %2 to i8*
%11 = bitcast i8* %10 to [3 x [3 x double]]*
%12 = getelementptr inbounds [3 x [3 x double]], [3 x [3 x double]]* %11, i32 0, i32 0
%13 = getelementptr inbounds [3 x double], [3 x double]* %12, i32 0, i32 0
store double 0x40133B04834397CF, double* %13
%14 = getelementptr inbounds [3 x double], [3 x double]* %12, i32 0, i32 1
store double 0xC0033B04834397CF, double* %14
%15 = getelementptr inbounds [3 x [3 x double]], [3 x [3 x double]]* %11, i32 0, i32 1
%16 = getelementptr inbounds [3 x double], [3 x double]* %15, i32 0, i32 1
store double 0x4010A775550DBE12, double* %16
%17 = getelementptr inbounds [3 x [3 x double]], [3 x [3 x double]]* %11, i32 0, i32 2
%18 = getelementptr inbounds [3 x double], [3 x double]* %17, i32 0, i32 2
store double 0x402A3C0ACD8CCCF7, double* %18
%19 = bitcast [30 x [3 x double]]* %3 to i8*
store i32 30, i32* %8
store double 1.000000e-05, double* %9
store i32 0, i32* %5
br label %20
20: ; preds = %27, %0
%21 = load i32, i32* %5
%22 = icmp slt i32 %21, 12
br i1 %22, label %23, label %30
23: ; preds = %20
%24 = load i32, i32* %5
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 %25
store i32 1, i32* %26
br label %27
27: ; preds = %23
%28 = load i32, i32* %5
%29 = add nsw i32 %28, 1
store i32 %29, i32* %5
br label %20
30: ; preds = %20
store i32 12, i32* %5
br label %31
31: ; preds = %38, %30
%32 = load i32, i32* %5
%33 = icmp slt i32 %32, 30
br i1 %33, label %34, label %41
34: ; preds = %31
%35 = load i32, i32* %5
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 %36
store i32 2, i32* %37
br label %38
38: ; preds = %34
%39 = load i32, i32* %5
%40 = add nsw i32 %39, 1
store i32 %40, i32* %5
br label %31
41: ; preds = %31
%42 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str, i64 0, i64 0))
%43 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %6
br label %44
44: ; preds = %70, %41
%45 = load i32, i32* %6
%46 = icmp slt i32 %45, 2
br i1 %46, label %47, label %73
47: ; preds = %44
store i32 0, i32* %7
br label %48
48: ; preds = %66, %47
%49 = load i32, i32* %7
%50 = icmp slt i32 %49, 2
br i1 %50, label %51, label %69
51: ; preds = %48
%52 = getelementptr inbounds [3 x [3 x double]], [3 x [3 x double]]* %2, i64 0, i64 0
%53 = bitcast [3 x double]* %52 to double**
%54 = getelementptr inbounds [30 x [3 x double]], [30 x [3 x double]]* %3, i64 0, i64 0
%55 = bitcast [3 x double]* %54 to double**
%56 = getelementptr inbounds [30 x i32], [30 x i32]* %4, i64 0, i64 0
%57 = load i32, i32* %8
%58 = load double, double* %9
%59 = load i32, i32* %6
%60 = load i32, i32* %7
%61 = call i64 @sub_spg_standardize_cell(double** %53, double** %55, i32* %56, i32 %57, double %58, i32 %59, i32 %60)
%62 = icmp ne i64 %61, 0
br i1 %62, label %63, label %64
63: ; preds = %51
store i32 1, i32* %1
br label %74
64: ; preds = %51
%65 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.1, i64 0, i64 0))
br label %66
66: ; preds = %64
%67 = load i32, i32* %7
%68 = add nsw i32 %67, 1
store i32 %68, i32* %7
br label %48
69: ; preds = %48
br label %70
70: ; preds = %69
%71 = load i32, i32* %6
%72 = add nsw i32 %71, 1
store i32 %72, i32* %6
br label %44
73: ; preds = %44
store i32 0, i32* %1
br label %74
74: ; preds = %73, %63
%75 = load i32, i32* %1
ret i32 %75
}

LLVM IR (-O2):
@__const.test_spg_standardize_cell_corundum.position = [30 x [3 x double]] [[3 x double] [double 0.000000e+00, double 0.000000e+00, double 0x3FD68A3359768442], [3 x double] [double 0x3FE5555555555540, double 0x3FD5555555555580, double 0x3FE5EFC45765ECE1], [3 x double] [double 0x3FD5555555555580, double 0x3FE5555555555540, double 0x3F934DE04212EC1C], [3 x double] [double 0.000000e+00, double 0.000000e+00, double 0x3FE4BAE65344BE1F], [3 x double] [double 0x3FE5555555555540, double 0x3FD5555555555580, double 0x3FEF6590FDEF689F], [3 x double] [double 0x3FD5555555555580, double 0x3FE5555555555540, double 0x3FD420775134263E], [3 x double] [double 0.000000e+00, double 0.000000e+00, double 0x3FC2EB994D12F77D], [3 x double] [double 0x3FE5555555555540, double 0x3FD5555555555580, double 0x3FDECB21FBDED13E], [3 x double] [double 0x3FD5555555555580, double 0x3FE5555555555540, double 0x3FEA103BA89A131F], [3 x double] [double 0.000000e+00, double 0.000000e+00, double 0x3FEB4519ACBB41E1], [3 x double] [double 0x3FE5555555555540, double 0x3FD5555555555580, double 0x3FC7BF115D97B383], [3 x double] [double 0x3FD5555555555580, double 0x3FE5555555555540, double 0x3FE09A6F02109761], [3 x double] [double 0x3FD3983F1C7B2366, double 0.000000e+00, double 2.500000e-01], [3 x double] [double 0x3FEF2174E392E6F2, double 0x3FD5555555555580, double 0x3FE2AAAAAAAAAAC0], [3 x double] [double 0x3FE476CA38E83C72, double 0x3FE5555555555540, double 0x3FED555555555540], [3 x double] [double 0x3FE633E071C26E4E, double 0.000000e+00, double 7.500000e-01], [3 x double] [double 0x3FD7126B8E2F871A, double 0x3FD5555555555580, double 0x3FB5555555555600], [3 x double] [double 0x3F9BD1638DA321A6, double 0x3FE5555555555540, double 0x3FDAAAAAAAAAAA80], [3 x double] [double 0.000000e+00, double 0x3FD3983F1C7B2366, double 2.500000e-01], [3 x double] [double 0x3FE5555555555540, double 0x3FE476CA38E83C72, double 0x3FE2AAAAAAAAAAC0], [3 x double] [double 0x3FD5555555555580, double 0x3FEF2174E392E6F2, double 0x3FED555555555540], [3 x double] [double 0.000000e+00, double 0x3FE633E071C26E4E, double 7.500000e-01], [3 x double] [double 0x3FE5555555555540, double 0x3F9BD1638DA321A6, double 0x3FB5555555555600], [3 x double] [double 0x3FD5555555555580, double 0x3FD7126B8E2F871A, double 0x3FDAAAAAAAAAAA80], [3 x double] [double 0x3FE633E071C26E4E, double 0x3FE633E071C26E4E, double 2.500000e-01], [3 x double] [double 0x3FD7126B8E2F871A, double 0x3F9BD1638DA321A6, double 0x3FE2AAAAAAAAAAC0], [3 x double] [double 0x3F9BD1638DA321A6, double 0x3FD7126B8E2F871A, double 0x3FED555555555540], [3 x double] [double 0x3FD3983F1C7B2366, double 0x3FD3983F1C7B2366, double 7.500000e-01], [3 x double] [double 0x3FEF2174E392E6F2, double 0x3FE476CA38E83C72, double 0x3FB5555555555600], [3 x double] [double 0x3FE476CA38E83C72, double 0x3FEF2174E392E6F2, double 0x3FDAAAAAAAAAAA80]]
@str = [41 x i8] c"*** spg_standardize_cell (Corundum) ***:\00"
@str.3 = [55 x i8] c"------------------------------------------------------\00"
define i32 @test_spg_standardize_cell_corundum() {
%1 = alloca [3 x [3 x double]]
%2 = alloca [30 x [3 x double]]
%3 = alloca [30 x i32]
%4 = bitcast [3 x [3 x double]]* %1 to i8*
%5 = getelementptr inbounds [3 x [3 x double]], [3 x [3 x double]]* %1, i64 0, i64 0, i64 2
%6 = bitcast double* %5 to i8*
%7 = bitcast [3 x [3 x double]]* %1 to <2 x double>*
store <2 x double> <double 0x40133B04834397CF, double 0xC0033B04834397CF>, <2 x double>* %7
%8 = getelementptr inbounds [3 x [3 x double]], [3 x [3 x double]]* %1, i64 0, i64 1, i64 1
store double 0x4010A775550DBE12, double* %8
%9 = getelementptr inbounds [3 x [3 x double]], [3 x [3 x double]]* %1, i64 0, i64 2, i64 2
store double 0x402A3C0ACD8CCCF7, double* %9
%10 = bitcast [30 x [3 x double]]* %2 to i8*
%11 = bitcast [30 x i32]* %3 to i8*
%12 = getelementptr inbounds [30 x i32], [30 x i32]* %3, i64 0, i64 0
%13 = bitcast [30 x i32]* %3 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %13
%14 = getelementptr inbounds [30 x i32], [30 x i32]* %3, i64 0, i64 4
%15 = bitcast i32* %14 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %15
%16 = getelementptr inbounds [30 x i32], [30 x i32]* %3, i64 0, i64 8
%17 = bitcast i32* %16 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %17
%18 = getelementptr inbounds [30 x i32], [30 x i32]* %3, i64 0, i64 12
%19 = bitcast i32* %18 to <4 x i32>*
store <4 x i32> <i32 2, i32 2, i32 2, i32 2>, <4 x i32>* %19
%20 = getelementptr inbounds [30 x i32], [30 x i32]* %3, i64 0, i64 16
%21 = bitcast i32* %20 to <4 x i32>*
store <4 x i32> <i32 2, i32 2, i32 2, i32 2>, <4 x i32>* %21
%22 = getelementptr inbounds [30 x i32], [30 x i32]* %3, i64 0, i64 20
%23 = bitcast i32* %22 to <4 x i32>*
store <4 x i32> <i32 2, i32 2, i32 2, i32 2>, <4 x i32>* %23
%24 = getelementptr inbounds [30 x i32], [30 x i32]* %3, i64 0, i64 24
%25 = bitcast i32* %24 to <4 x i32>*
store <4 x i32> <i32 2, i32 2, i32 2, i32 2>, <4 x i32>* %25
%26 = getelementptr inbounds [30 x i32], [30 x i32]* %3, i64 0, i64 28
store i32 2, i32* %26
%27 = getelementptr inbounds [30 x i32], [30 x i32]* %3, i64 0, i64 29
store i32 2, i32* %27
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str, i64 0, i64 0))
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.3, i64 0, i64 0))
%30 = bitcast [3 x [3 x double]]* %1 to double**
%31 = bitcast [30 x [3 x double]]* %2 to double**
%32 = call i64 @sub_spg_standardize_cell(double** %30, double** %31, i32* %12, i32 30, double 1.000000e-05, i32 0, i32 0)
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %48
34: ; preds = %0
%35 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.3, i64 0, i64 0))
%36 = call i64 @sub_spg_standardize_cell(double** %30, double** %31, i32* %12, i32 30, double 1.000000e-05, i32 0, i32 1)
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %48
38: ; preds = %34
%39 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.3, i64 0, i64 0))
%40 = call i64 @sub_spg_standardize_cell(double** %30, double** %31, i32* %12, i32 30, double 1.000000e-05, i32 1, i32 0)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %48
42: ; preds = %38
%43 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.3, i64 0, i64 0))
%44 = call i64 @sub_spg_standardize_cell(double** %30, double** %31, i32* %12, i32 30, double 1.000000e-05, i32 1, i32 1)
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %42
%47 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.3, i64 0, i64 0))
br label %48
48: ; preds = %0, %34, %38, %42, %46
%49 = phi i32 [ 0, %46 ], [ 1, %42 ], [ 1, %38 ], [ 1, %34 ], [ 1, %0 ]
ret i32 %49
}