#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 /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char const *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
void tabtex(const char *filename, const char *message, int it_t_max,
            int it_sp_max, double *data, double *tauit, double p_ro, double mu,
            int standalone) {
  int it_t, it_sp, it;
  FILE *fi1 = fopen(filename, "w");
  if (standalone) {
    fprintf(fi1, "\\documentclass[a4paper,12pt]{scrartcl}\n");
    fprintf(fi1, "\\usepackage[warn]{mathtext}\n");
    fprintf(fi1, "\\usepackage[T2A]{fontenc}\n");
    fprintf(fi1, "\\usepackage[utf8]{inputenc}\n");
    fprintf(fi1, "\\usepackage[english,russian]{babel}\n");
    fprintf(fi1, "\\usepackage{amsmath}\n");
    fprintf(fi1, "\\begin{document}\n");
  }
  fprintf(fi1, "$\n \\text{%s}: \\quad p_{\\rho}=%.3lf, \\mu = %.3lf \\\\ $\n",
          message, p_ro, mu);
  fprintf(fi1,
          "\\begin{tabular}{|p{0.6in}|p{1.2in}|p{1.2in}|p{1.2in}|} \\hline\n");
  fprintf(
      fi1,
      "$\\tau\\setminus h$ & $0.05000$ & $0.02500$& $0.01250$ \\\\ \\hline");
  it = 0;
  for (it_t = 0; it_t <= it_t_max; it_t++) {
    fprintf(fi1, "\n");
    fprintf(fi1, "$%.5lf$ & ", tauit[it_t]);
    for (it_sp = 0; it_sp <= it_sp_max; it_sp++) {
      fprintf(fi1, "$%.3le$ ", data[it]);
      it++;
      if (it_sp < it_sp_max) {
        fprintf(fi1, "&");
      }
    }
    fprintf(fi1, " \\\\ \\hline");
  }
  fprintf(fi1, "\n\\end{tabular}\\\\[20pt]\n");
  if (standalone) {
    fprintf(fi1, "\\end{document}\n");
  }
  fclose(fi1);
}


x86 assembly (clang, -O0):
<tabtex>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    0x10(%rbp),%eax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
mov    %r9,-0x28(%rbp)
movsd  %xmm0,-0x30(%rbp)
movsd  %xmm1,-0x38(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xe9a(%rip),%rsi
call   1050 <fopen@plt>
mov    %rax,-0x50(%rbp)
cmpl   $0x0,0x10(%rbp)
je     11f7 <tabtex+0xc7>
mov    -0x50(%rbp),%rdi
lea    0xe7e(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x50(%rbp),%rdi
lea    0xe94(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x50(%rbp),%rdi
lea    0xe9f(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x50(%rbp),%rdi
lea    0xea8(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x50(%rbp),%rdi
lea    0xeb3(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x50(%rbp),%rdi
lea    0xec6(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x50(%rbp),%rdi
lea    0xeca(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x50(%rbp),%rdi
mov    -0x10(%rbp),%rdx
movsd  -0x30(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm1
lea    0xebc(%rip),%rsi
mov    $0x2,%al
call   1040 <fprintf@plt>
mov    -0x50(%rbp),%rdi
lea    0xee0(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x50(%rbp),%rdi
lea    0xf0d(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x44(%rbp)
movl   $0x0,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jg     1312 <tabtex+0x1e2>
mov    -0x50(%rbp),%rdi
lea    0xea0(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x50(%rbp),%rdi
mov    -0x28(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xf01(%rip),%rsi
mov    $0x1,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x40(%rbp)
mov    -0x40(%rbp),%eax
cmp    -0x18(%rbp),%eax
jg     12f2 <tabtex+0x1c2>
mov    -0x50(%rbp),%rdi
mov    -0x20(%rbp),%rax
movslq -0x44(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xeda(%rip),%rsi
mov    $0x1,%al
call   1040 <fprintf@plt>
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
mov    -0x40(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    12df <tabtex+0x1af>
mov    -0x50(%rbp),%rdi
lea    0xebc(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
jmp    12e4 <tabtex+0x1b4>
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    128d <tabtex+0x15d>
mov    -0x50(%rbp),%rdi
lea    0xe78(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1249 <tabtex+0x119>
mov    -0x50(%rbp),%rdi
lea    0xe79(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
cmpl   $0x0,0x10(%rbp)
je     1340 <tabtex+0x210>
mov    -0x50(%rbp),%rdi
lea    0xe75(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x50(%rbp),%rdi
call   1030 <fclose@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<tabtex>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
movsd  %xmm1,0x18(%rsp)
movsd  %xmm0,0x10(%rsp)
mov    %r9,0x30(%rsp)
mov    %r8,0x28(%rsp)
mov    %ecx,%r12d
mov    %rdx,0x8(%rsp)
mov    %rsi,%r14
mov    0x70(%rsp),%ebp
lea    0xe76(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,%rbx
mov    %ebp,0x24(%rsp)
test   %ebp,%ebp
je     124d <tabtex+0xfd>
lea    0xe5d(%rip),%rdi
mov    $0x27,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1070 <fwrite@plt>
lea    0xe6c(%rip),%rdi
mov    $0x1c,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1070 <fwrite@plt>
lea    0xe70(%rip),%rdi
mov    $0x1a,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1070 <fwrite@plt>
lea    0xe72(%rip),%rdi
mov    $0x1c,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1070 <fwrite@plt>
lea    0xe76(%rip),%rdi
mov    $0x24,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1070 <fwrite@plt>
lea    0xe82(%rip),%rdi
mov    $0x15,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1070 <fwrite@plt>
lea    0xe7f(%rip),%rdi
mov    $0x11,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1070 <fwrite@plt>
lea    0xe78(%rip),%rsi
mov    %rbx,%rdi
mov    %r14,%rdx
movsd  0x10(%rsp),%xmm0
movsd  0x18(%rsp),%xmm1
mov    $0x2,%al
call   1050 <fprintf@plt>
lea    0xe8e(%rip),%rdi
mov    $0x3e,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1070 <fwrite@plt>
lea    0xeb4(%rip),%rdi
mov    $0x3e,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1070 <fwrite@plt>
cmpl   $0x0,0x8(%rsp)
js     1384 <tabtex+0x234>
mov    0x8(%rsp),%rax
add    $0x1,%eax
mov    %rax,0x8(%rsp)
lea    0x1(%r12),%ebp
xor    %r15d,%r15d
lea    0xec5(%rip),%r14
xor    %r13d,%r13d
jmp    1307 <tabtex+0x1b7>
nopl   0x0(%rax,%rax,1)
mov    0x10(%rsp),%eax
add    %r13d,%eax
mov    %eax,%r13d
mov    0x18(%rsp),%r15
mov    $0xa,%esi
mov    $0x1,%edx
lea    0xe85(%rip),%rdi
mov    %rbx,%rcx
call   1070 <fwrite@plt>
add    $0x1,%r15
cmp    0x8(%rsp),%r15
je     1384 <tabtex+0x234>
mov    $0xa,%edi
mov    %rbx,%rsi
call   1040 <fputc@plt>
mov    0x30(%rsp),%rax
movsd  (%rax,%r15,8),%xmm0
mov    %rbx,%rdi
lea    0xe57(%rip),%rsi
mov    $0x1,%al
call   1050 <fprintf@plt>
test   %r12d,%r12d
js     12df <tabtex+0x18f>
mov    %r15,0x18(%rsp)
mov    %r13d,0x10(%rsp)
movslq %r13d,%rax
mov    0x28(%rsp),%rcx
lea    (%rcx,%rax,8),%r15
xor    %r13d,%r13d
jmp    135d <tabtex+0x20d>
add    $0x1,%r13
cmp    %r13d,%ebp
je     12d0 <tabtex+0x180>
movsd  (%r15,%r13,8),%xmm0
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x1,%al
call   1050 <fprintf@plt>
cmp    %r12d,%r13d
jge    1350 <tabtex+0x200>
mov    $0x26,%edi
mov    %rbx,%rsi
call   1040 <fputc@plt>
jmp    1350 <tabtex+0x200>
lea    0xe09(%rip),%rdi
mov    $0x17,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1070 <fwrite@plt>
cmpl   $0x0,0x24(%rsp)
je     13bd <tabtex+0x26d>
lea    0xe01(%rip),%rdi
mov    $0xf,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1070 <fwrite@plt>
mov    %rbx,%rdi
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <fclose@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"w\00"
@.str.1 = [40 x i8] c"\\documentclass[a4paper,12pt]{scrartcl}\0A\00"
@.str.2 = [29 x i8] c"\\usepackage[warn]{mathtext}\0A\00"
@.str.3 = [27 x i8] c"\\usepackage[T2A]{fontenc}\0A\00"
@.str.4 = [29 x i8] c"\\usepackage[utf8]{inputenc}\0A\00"
@.str.5 = [37 x i8] c"\\usepackage[english,russian]{babel}\0A\00"
@.str.6 = [22 x i8] c"\\usepackage{amsmath}\0A\00"
@.str.7 = [18 x i8] c"\\begin{document}\0A\00"
@.str.8 = [54 x i8] c"$\0A \\text{%s}: \\quad p_{\\rho}=%.3lf, \\mu = %.3lf \\\\ $\0A\00"
@.str.9 = [63 x i8] c"\\begin{tabular}{|p{0.6in}|p{1.2in}|p{1.2in}|p{1.2in}|} \\hline\0A\00"
@.str.10 = [63 x i8] c"$\\tau\\setminus h$ & $0.05000$ & $0.02500$& $0.01250$ \\\\ \\hline\00"
@.str.11 = [2 x i8] c"\0A\00"
@.str.12 = [11 x i8] c"$%.5lf$ & \00"
@.str.13 = [9 x i8] c"$%.3le$ \00"
@.str.14 = [2 x i8] c"&\00"
@.str.15 = [11 x i8] c" \\\\ \\hline\00"
@.str.16 = [24 x i8] c"\0A\\end{tabular}\\\\[20pt]\0A\00"
@.str.17 = [16 x i8] c"\\end{document}\0A\00"
define void @tabtex(i8* %0, i8* %1, i32 %2, i32 %3, double* %4, double* %5, double %6, double %7, i32 %8) {
%10 = alloca i8*
%11 = alloca i8*
%12 = alloca i32
%13 = alloca i32
%14 = alloca double*
%15 = alloca double*
%16 = alloca double
%17 = alloca double
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca i32*
store i8* %0, i8** %10
store i8* %1, i8** %11
store i32 %2, i32* %12
store i32 %3, i32* %13
store double* %4, double** %14
store double* %5, double** %15
store double %6, double* %16
store double %7, double* %17
store i32 %8, i32* %18
%23 = load i8*, i8** %10
%24 = call i32* @fopen(i8* %23, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32* %24, i32** %22
%25 = load i32, i32* %18
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %42
27: ; preds = %9
%28 = load i32*, i32** %22
%29 = call i32 (i32*, i8*, ...) @fprintf(i32* %28, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0))
%30 = load i32*, i32** %22
%31 = call i32 (i32*, i8*, ...) @fprintf(i32* %30, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.2, i64 0, i64 0))
%32 = load i32*, i32** %22
%33 = call i32 (i32*, i8*, ...) @fprintf(i32* %32, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0))
%34 = load i32*, i32** %22
%35 = call i32 (i32*, i8*, ...) @fprintf(i32* %34, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.4, i64 0, i64 0))
%36 = load i32*, i32** %22
%37 = call i32 (i32*, i8*, ...) @fprintf(i32* %36, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0))
%38 = load i32*, i32** %22
%39 = call i32 (i32*, i8*, ...) @fprintf(i32* %38, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0))
%40 = load i32*, i32** %22
%41 = call i32 (i32*, i8*, ...) @fprintf(i32* %40, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0))
br label %42
42: ; preds = %27, %9
%43 = load i32*, i32** %22
%44 = load i8*, i8** %11
%45 = load double, double* %16
%46 = load double, double* %17
%47 = call i32 (i32*, i8*, ...) @fprintf(i32* %43, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.8, i64 0, i64 0), i8* %44, double %45, double %46)
%48 = load i32*, i32** %22
%49 = call i32 (i32*, i8*, ...) @fprintf(i32* %48, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.9, i64 0, i64 0))
%50 = load i32*, i32** %22
%51 = call i32 (i32*, i8*, ...) @fprintf(i32* %50, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.10, i64 0, i64 0))
store i32 0, i32* %21
store i32 0, i32* %19
br label %52
52: ; preds = %93, %42
%53 = load i32, i32* %19
%54 = load i32, i32* %12
%55 = icmp sle i32 %53, %54
br i1 %55, label %56, label %96
56: ; preds = %52
%57 = load i32*, i32** %22
%58 = call i32 (i32*, i8*, ...) @fprintf(i32* %57, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
%59 = load i32*, i32** %22
%60 = load double*, double** %15
%61 = load i32, i32* %19
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, double* %60, i64 %62
%64 = load double, double* %63
%65 = call i32 (i32*, i8*, ...) @fprintf(i32* %59, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0), double %64)
store i32 0, i32* %20
br label %66
66: ; preds = %87, %56
%67 = load i32, i32* %20
%68 = load i32, i32* %13
%69 = icmp sle i32 %67, %68
br i1 %69, label %70, label %90
70: ; preds = %66
%71 = load i32*, i32** %22
%72 = load double*, double** %14
%73 = load i32, i32* %21
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, double* %72, i64 %74
%76 = load double, double* %75
%77 = call i32 (i32*, i8*, ...) @fprintf(i32* %71, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0), double %76)
%78 = load i32, i32* %21
%79 = add nsw i32 %78, 1
store i32 %79, i32* %21
%80 = load i32, i32* %20
%81 = load i32, i32* %13
%82 = icmp slt i32 %80, %81
br i1 %82, label %83, label %86
83: ; preds = %70
%84 = load i32*, i32** %22
%85 = call i32 (i32*, i8*, ...) @fprintf(i32* %84, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
br label %86
86: ; preds = %83, %70
br label %87
87: ; preds = %86
%88 = load i32, i32* %20
%89 = add nsw i32 %88, 1
store i32 %89, i32* %20
br label %66
90: ; preds = %66
%91 = load i32*, i32** %22
%92 = call i32 (i32*, i8*, ...) @fprintf(i32* %91, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0))
br label %93
93: ; preds = %90
%94 = load i32, i32* %19
%95 = add nsw i32 %94, 1
store i32 %95, i32* %19
br label %52
96: ; preds = %52
%97 = load i32*, i32** %22
%98 = call i32 (i32*, i8*, ...) @fprintf(i32* %97, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.16, i64 0, i64 0))
%99 = load i32, i32* %18
%100 = icmp ne i32 %99, 0
br i1 %100, label %101, label %104
101: ; preds = %96
%102 = load i32*, i32** %22
%103 = call i32 (i32*, i8*, ...) @fprintf(i32* %102, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0))
br label %104
104: ; preds = %101, %96
%105 = load i32*, i32** %22
%106 = call i32 @fclose(i32* %105)
ret void
}

LLVM IR (-O2):
@.str = [2 x i8] c"w\00"
@.str.1 = [40 x i8] c"\\documentclass[a4paper,12pt]{scrartcl}\0A\00"
@.str.2 = [29 x i8] c"\\usepackage[warn]{mathtext}\0A\00"
@.str.3 = [27 x i8] c"\\usepackage[T2A]{fontenc}\0A\00"
@.str.4 = [29 x i8] c"\\usepackage[utf8]{inputenc}\0A\00"
@.str.5 = [37 x i8] c"\\usepackage[english,russian]{babel}\0A\00"
@.str.6 = [22 x i8] c"\\usepackage{amsmath}\0A\00"
@.str.7 = [18 x i8] c"\\begin{document}\0A\00"
@.str.8 = [54 x i8] c"$\0A \\text{%s}: \\quad p_{\\rho}=%.3lf, \\mu = %.3lf \\\\ $\0A\00"
@.str.9 = [63 x i8] c"\\begin{tabular}{|p{0.6in}|p{1.2in}|p{1.2in}|p{1.2in}|} \\hline\0A\00"
@.str.10 = [63 x i8] c"$\\tau\\setminus h$ & $0.05000$ & $0.02500$& $0.01250$ \\\\ \\hline\00"
@.str.12 = [11 x i8] c"$%.5lf$ & \00"
@.str.13 = [9 x i8] c"$%.3le$ \00"
@.str.15 = [11 x i8] c" \\\\ \\hline\00"
@.str.16 = [24 x i8] c"\0A\\end{tabular}\\\\[20pt]\0A\00"
@.str.17 = [16 x i8] c"\\end{document}\0A\00"
define void @tabtex(i8* nocapture %0, i8* %1, i32 %2, i32 %3, double* nocapture %4, double* nocapture %5, double %6, double %7, i32 %8) {
%10 = tail call i32* @fopen(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%11 = icmp eq i32 %8, 0
br i1 %11, label %20, label %12
12: ; preds = %9
%13 = tail call i64 @fwrite(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0), i64 39, i64 1, i32* %10)
%14 = tail call i64 @fwrite(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.2, i64 0, i64 0), i64 28, i64 1, i32* %10)
%15 = tail call i64 @fwrite(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i64 26, i64 1, i32* %10)
%16 = tail call i64 @fwrite(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.4, i64 0, i64 0), i64 28, i64 1, i32* %10)
%17 = tail call i64 @fwrite(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i64 36, i64 1, i32* %10)
%18 = tail call i64 @fwrite(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0), i64 21, i64 1, i32* %10)
%19 = tail call i64 @fwrite(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0), i64 17, i64 1, i32* %10)
br label %20
20: ; preds = %12, %9
%21 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %10, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.8, i64 0, i64 0), i8* %1, double %6, double %7)
%22 = tail call i64 @fwrite(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.9, i64 0, i64 0), i64 62, i64 1, i32* %10)
%23 = tail call i64 @fwrite(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.10, i64 0, i64 0), i64 62, i64 1, i32* %10)
%24 = icmp slt i32 %2, 0
br i1 %24, label %58, label %25
25: ; preds = %20
%26 = icmp slt i32 %3, 0
%27 = add nuw i32 %2, 1
%28 = zext i32 %27 to i64
br label %29
29: ; preds = %25, %53
%30 = phi i64 [ 0, %25 ], [ %56, %53 ]
%31 = phi i32 [ 0, %25 ], [ %54, %53 ]
%32 = tail call i32 @fputc(i32 10, i32* %10)
%33 = getelementptr inbounds double, double* %5, i64 %30
%34 = load double, double* %33
%35 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %10, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0), double %34)
br i1 %26, label %53, label %36
36: ; preds = %29
%37 = sext i32 %31 to i64
br label %38
38: ; preds = %36, %48
%39 = phi i64 [ %37, %36 ], [ %44, %48 ]
%40 = phi i32 [ 0, %36 ], [ %49, %48 ]
%41 = getelementptr inbounds double, double* %4, i64 %39
%42 = load double, double* %41
%43 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %10, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0), double %42)
%44 = add nsw i64 %39, 1
%45 = icmp slt i32 %40, %3
br i1 %45, label %46, label %48
46: ; preds = %38
%47 = tail call i32 @fputc(i32 38, i32* %10)
br label %48
48: ; preds = %38, %46
%49 = add nuw i32 %40, 1
%50 = icmp eq i32 %40, %3
br i1 %50, label %51, label %38
51: ; preds = %48
%52 = trunc i64 %44 to i32
br label %53
53: ; preds = %51, %29
%54 = phi i32 [ %31, %29 ], [ %52, %51 ]
%55 = tail call i64 @fwrite(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0), i64 10, i64 1, i32* %10)
%56 = add nuw nsw i64 %30, 1
%57 = icmp eq i64 %56, %28
br i1 %57, label %58, label %29
58: ; preds = %53, %20
%59 = tail call i64 @fwrite(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.16, i64 0, i64 0), i64 23, i64 1, i32* %10)
br i1 %11, label %62, label %60
60: ; preds = %58
%61 = tail call i64 @fwrite(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0), i64 15, i64 1, i32* %10)
br label %62
62: ; preds = %60, %58
%63 = tail call i32 @fclose(i32* %10)
ret void
}