; LLVM IR from jgaeddert/liquid-dsp :: examples (compand_cf_example)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [21 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca float, align 4
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca { float, float }, align 4
  %6 = alloca { float, float }, align 4
  %7 = alloca { float, float }, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca { float, float }, align 4
  %11 = alloca { float, float }, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store float 2.550000e+02, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 31, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %12 = call noalias ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
  store ptr %12, ptr %4, align 8, !tbaa !11
  %13 = load ptr, ptr %4, align 8, !tbaa !11
  %14 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str.2, ptr noundef @.str) #4
  %15 = load ptr, ptr %4, align 8, !tbaa !11
  %16 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %15, ptr noundef @.str.3) #4
  %17 = load ptr, ptr %4, align 8, !tbaa !11
  %18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %19

19:                                               ; preds = %145, %0
  %20 = load i32, ptr %8, align 4, !tbaa !9
  %21 = load i32, ptr %3, align 4, !tbaa !9
  %22 = add nsw i32 %21, 1
  %23 = icmp slt i32 %20, %22
  br i1 %23, label %24, label %148

24:                                               ; preds = %19
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %25

25:                                               ; preds = %141, %24
  %26 = load i32, ptr %9, align 4, !tbaa !9
  %27 = load i32, ptr %3, align 4, !tbaa !9
  %28 = add nsw i32 %27, 1
  %29 = icmp slt i32 %26, %28
  br i1 %29, label %30, label %144

30:                                               ; preds = %25
  %31 = load i32, ptr %8, align 4, !tbaa !9
  %32 = mul nsw i32 2, %31
  %33 = load i32, ptr %3, align 4, !tbaa !9
  %34 = sub nsw i32 %32, %33
  %35 = sitofp i32 %34 to float
  %36 = load i32, ptr %3, align 4, !tbaa !9
  %37 = sitofp i32 %36 to float
  %38 = fdiv float %35, %37
  %39 = load i32, ptr %9, align 4, !tbaa !9
  %40 = mul nsw i32 2, %39
  %41 = load i32, ptr %3, align 4, !tbaa !9
  %42 = sub nsw i32 %40, %41
  %43 = sitofp i32 %42 to float
  %44 = fmul float 0.000000e+00, %43
  %45 = fmul float 1.000000e+00, %43
  %46 = load i32, ptr %3, align 4, !tbaa !9
  %47 = sitofp i32 %46 to float
  %48 = fdiv float %44, %47
  %49 = fdiv float %45, %47
  %50 = fadd float %38, %48
  %51 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 0
  %52 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 1
  store float %50, ptr %51, align 4
  store float %49, ptr %52, align 4
  %53 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 0
  %54 = load float, ptr %53, align 4
  %55 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 1
  %56 = load float, ptr %55, align 4
  %57 = load float, ptr %2, align 4, !tbaa !5
  %58 = getelementptr inbounds { float, float }, ptr %10, i32 0, i32 0
  %59 = getelementptr inbounds { float, float }, ptr %10, i32 0, i32 1
  store float %54, ptr %58, align 4
  store float %56, ptr %59, align 4
  %60 = load <2 x float>, ptr %10, align 4
  %61 = call i32 @compress_cf_mulaw(<2 x float> noundef %60, float noundef %57, ptr noundef %6)
  %62 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %63 = load float, ptr %62, align 4
  %64 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %65 = load float, ptr %64, align 4
  %66 = load float, ptr %2, align 4, !tbaa !5
  %67 = getelementptr inbounds { float, float }, ptr %11, i32 0, i32 0
  %68 = getelementptr inbounds { float, float }, ptr %11, i32 0, i32 1
  store float %63, ptr %67, align 4
  store float %65, ptr %68, align 4
  %69 = load <2 x float>, ptr %11, align 4
  %70 = call i32 @expand_cf_mulaw(<2 x float> noundef %69, float noundef %66, ptr noundef %7)
  %71 = load i32, ptr %8, align 4, !tbaa !9
  %72 = load i32, ptr %9, align 4, !tbaa !9
  %73 = icmp eq i32 %71, %72
  br i1 %73, label %74, label %108

74:                                               ; preds = %30
  %75 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 0
  %76 = load float, ptr %75, align 4
  %77 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 1
  %78 = load float, ptr %77, align 4
  %79 = fpext float %76 to double
  %80 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 0
  %81 = load float, ptr %80, align 4
  %82 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 1
  %83 = load float, ptr %82, align 4
  %84 = fpext float %83 to double
  %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %79, double noundef %84)
  %86 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %87 = load float, ptr %86, align 4
  %88 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %89 = load float, ptr %88, align 4
  %90 = fpext float %87 to double
  %91 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %92 = load float, ptr %91, align 4
  %93 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %94 = load float, ptr %93, align 4
  %95 = fpext float %94 to double
  %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %90, double noundef %95)
  %97 = getelementptr inbounds { float, float }, ptr %7, i32 0, i32 0
  %98 = load float, ptr %97, align 4
  %99 = getelementptr inbounds { float, float }, ptr %7, i32 0, i32 1
  %100 = load float, ptr %99, align 4
  %101 = fpext float %98 to double
  %102 = getelementptr inbounds { float, float }, ptr %7, i32 0, i32 0
  %103 = load float, ptr %102, align 4
  %104 = getelementptr inbounds { float, float }, ptr %7, i32 0, i32 1
  %105 = load float, ptr %104, align 4
  %106 = fpext float %105 to double
  %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %101, double noundef %106)
  br label %108

108:                                              ; preds = %74, %30
  %109 = load ptr, ptr %4, align 8, !tbaa !11
  %110 = load i32, ptr %8, align 4, !tbaa !9
  %111 = add nsw i32 %110, 1
  %112 = load i32, ptr %9, align 4, !tbaa !9
  %113 = add nsw i32 %112, 1
  %114 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 0
  %115 = load float, ptr %114, align 4
  %116 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 1
  %117 = load float, ptr %116, align 4
  %118 = fpext float %115 to double
  %119 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 0
  %120 = load float, ptr %119, align 4
  %121 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 1
  %122 = load float, ptr %121, align 4
  %123 = fpext float %122 to double
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef @.str.7, i32 noundef %111, i32 noundef %113, double noundef %118, double noundef %123) #4
  %125 = load ptr, ptr %4, align 8, !tbaa !11
  %126 = load i32, ptr %8, align 4, !tbaa !9
  %127 = add nsw i32 %126, 1
  %128 = load i32, ptr %9, align 4, !tbaa !9
  %129 = add nsw i32 %128, 1
  %130 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %131 = load float, ptr %130, align 4
  %132 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %133 = load float, ptr %132, align 4
  %134 = fpext float %131 to double
  %135 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %136 = load float, ptr %135, align 4
  %137 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %138 = load float, ptr %137, align 4
  %139 = fpext float %138 to double
  %140 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef @.str.8, i32 noundef %127, i32 noundef %129, double noundef %134, double noundef %139) #4
  br label %141

141:                                              ; preds = %108
  %142 = load i32, ptr %9, align 4, !tbaa !9
  %143 = add nsw i32 %142, 1
  store i32 %143, ptr %9, align 4, !tbaa !9
  br label %25, !llvm.loop !13

144:                                              ; preds = %25
  br label %145

145:                                              ; preds = %144
  %146 = load i32, ptr %8, align 4, !tbaa !9
  %147 = add nsw i32 %146, 1
  store i32 %147, ptr %8, align 4, !tbaa !9
  br label %19, !llvm.loop !15

148:                                              ; preds = %19
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %149

149:                                              ; preds = %168, %148
  %150 = load i32, ptr %8, align 4, !tbaa !9
  %151 = load i32, ptr %3, align 4, !tbaa !9
  %152 = add nsw i32 %151, 1
  %153 = icmp slt i32 %150, %152
  br i1 %153, label %154, label %171

154:                                              ; preds = %149
  %155 = load ptr, ptr %4, align 8, !tbaa !11
  %156 = load i32, ptr %8, align 4, !tbaa !9
  %157 = add nsw i32 %156, 1
  %158 = load i32, ptr %8, align 4, !tbaa !9
  %159 = mul nsw i32 2, %158
  %160 = load i32, ptr %3, align 4, !tbaa !9
  %161 = sub nsw i32 %159, %160
  %162 = sitofp i32 %161 to float
  %163 = load i32, ptr %3, align 4, !tbaa !9
  %164 = sitofp i32 %163 to float
  %165 = fdiv float %162, %164
  %166 = fpext float %165 to double
  %167 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %155, ptr noundef @.str.9, i32 noundef %157, double noundef %166) #4
  br label %168

168:                                              ; preds = %154
  %169 = load i32, ptr %8, align 4, !tbaa !9
  %170 = add nsw i32 %169, 1
  store i32 %170, ptr %8, align 4, !tbaa !9
  br label %149, !llvm.loop !16

171:                                              ; preds = %149
  %172 = load ptr, ptr %4, align 8, !tbaa !11
  %173 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %172, ptr noundef @.str.10) #4
  %174 = load ptr, ptr %4, align 8, !tbaa !11
  %175 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %174, ptr noundef @.str.11) #4
  %176 = load ptr, ptr %4, align 8, !tbaa !11
  %177 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef @.str.12) #4
  %178 = load ptr, ptr %4, align 8, !tbaa !11
  %179 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %178, ptr noundef @.str.13) #4
  %180 = load ptr, ptr %4, align 8, !tbaa !11
  %181 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %180, ptr noundef @.str.14) #4
  %182 = load ptr, ptr %4, align 8, !tbaa !11
  %183 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %182, ptr noundef @.str.15) #4
  %184 = load ptr, ptr %4, align 8, !tbaa !11
  %185 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %184, ptr noundef @.str.16) #4
  %186 = load ptr, ptr %4, align 8, !tbaa !11
  %187 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %186, ptr noundef @.str.17) #4
  %188 = load ptr, ptr %4, align 8, !tbaa !11
  %189 = call i32 @fclose(ptr noundef %188)
  %190 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef @.str)
  %191 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  ret i32 0
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

declare noalias ptr @fopen(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

declare i32 @compress_cf_mulaw(<2 x float> noundef, float noundef, ptr noundef) #2

declare i32 @expand_cf_mulaw(<2 x float> noundef, float noundef, ptr noundef) #2

declare i32 @printf(ptr noundef, ...) #2

declare i32 @fclose(ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [21 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca { float, float }, align 8
  %2 = alloca { float, float }, align 4
  %3 = tail call noalias ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1)
  %4 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str) #5
  %5 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.3) #5
  %6 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  %7 = getelementptr inbounds i8, ptr %1, i64 4
  %8 = getelementptr inbounds i8, ptr %2, i64 4
  br label %.preheader54

.preheader54:                                     ; preds = %0, %47
  %.05356 = phi i32 [ 0, %0 ], [ %13, %47 ]
  %9 = shl nuw nsw i32 %.05356, 1
  %10 = add nsw i32 %9, -31
  %11 = sitofp i32 %10 to float
  %12 = fdiv float %11, 3.100000e+01
  %13 = add nuw nsw i32 %.05356, 1
  br label %14

14:                                               ; preds = %.preheader54, %._crit_edge
  %.055 = phi i32 [ 0, %.preheader54 ], [ %40, %._crit_edge ]
  %15 = shl nuw nsw i32 %.055, 1
  %16 = add nsw i32 %15, -31
  %17 = sitofp i32 %16 to float
  %18 = call float @llvm.copysign.f32(float 0.000000e+00, float %17)
  %19 = fdiv float %18, 3.100000e+01
  %20 = fdiv float %17, 3.100000e+01
  %21 = fadd float %12, %19
  %.sroa.02.0.vec.insert = insertelement <2 x float> poison, float %21, i64 0
  %.sroa.02.4.vec.insert = insertelement <2 x float> %.sroa.02.0.vec.insert, float %20, i64 1
  %22 = call i32 @compress_cf_mulaw(<2 x float> noundef %.sroa.02.4.vec.insert, float noundef 2.550000e+02, ptr noundef nonnull %1) #5
  %23 = load <2 x float>, ptr %1, align 8
  %24 = call i32 @expand_cf_mulaw(<2 x float> noundef %23, float noundef 2.550000e+02, ptr noundef nonnull %2) #5
  %25 = icmp eq i32 %.05356, %.055
  %26 = fpext float %21 to double
  %27 = fpext float %20 to double
  br i1 %25, label %28, label %._crit_edge

28:                                               ; preds = %14
  %29 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, double noundef %26, double noundef %27)
  %30 = load float, ptr %1, align 8
  %31 = fpext float %30 to double
  %32 = load float, ptr %7, align 4
  %33 = fpext float %32 to double
  %34 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, double noundef %31, double noundef %33)
  %35 = load float, ptr %2, align 4
  %36 = fpext float %35 to double
  %37 = load float, ptr %8, align 4
  %38 = fpext float %37 to double
  %39 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, double noundef %36, double noundef %38)
  br label %._crit_edge

._crit_edge:                                      ; preds = %14, %28
  %40 = add nuw nsw i32 %.055, 1
  %41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.7, i32 noundef %13, i32 noundef %40, double noundef %26, double noundef %27) #5
  %42 = load float, ptr %1, align 8
  %43 = fpext float %42 to double
  %44 = load float, ptr %7, align 4
  %45 = fpext float %44 to double
  %46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.8, i32 noundef %13, i32 noundef %40, double noundef %43, double noundef %45) #5
  %exitcond.not = icmp eq i32 %40, 32
  br i1 %exitcond.not, label %47, label %14, !llvm.loop !5

47:                                               ; preds = %._crit_edge
  %exitcond58.not = icmp eq i32 %13, 32
  br i1 %exitcond58.not, label %.preheader.preheader, label %.preheader54, !llvm.loop !7

.preheader.preheader:                             ; preds = %47
  %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 1, double noundef -1.000000e+00) #5
  %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 2, double noundef 0xBFEDEF7BE0000000) #5
  %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 3, double noundef 0xBFEBDEF7C0000000) #5
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 4, double noundef 0xBFE9CE73A0000000) #5
  %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 5, double noundef 0xBFE7BDEF80000000) #5
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 6, double noundef 0xBFE5AD6B60000000) #5
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 7, double noundef 0xBFE39CE740000000) #5
  %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 8, double noundef 0xBFE18C6320000000) #5
  %56 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 9, double noundef 0xBFDEF7BDE0000000) #5
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 10, double noundef 0xBFDAD6B5A0000000) #5
  %58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 11, double noundef 0xBFD6B5AD60000000) #5
  %59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 12, double noundef 0xBFD294A520000000) #5
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 13, double noundef 0xBFCCE739C0000000) #5
  %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 14, double noundef 0xBFC4A52940000000) #5
  %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 15, double noundef 0xBFB8C63180000000) #5
  %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 16, double noundef 0xBFA0842100000000) #5
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 17, double noundef 0x3FA0842100000000) #5
  %65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 18, double noundef 0x3FB8C63180000000) #5
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 19, double noundef 0x3FC4A52940000000) #5
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 20, double noundef 0x3FCCE739C0000000) #5
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 21, double noundef 0x3FD294A520000000) #5
  %69 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 22, double noundef 0x3FD6B5AD60000000) #5
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 23, double noundef 0x3FDAD6B5A0000000) #5
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 24, double noundef 0x3FDEF7BDE0000000) #5
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 25, double noundef 0x3FE18C6320000000) #5
  %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 26, double noundef 0x3FE39CE740000000) #5
  %74 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 27, double noundef 0x3FE5AD6B60000000) #5
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 28, double noundef 0x3FE7BDEF80000000) #5
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 29, double noundef 0x3FE9CE73A0000000) #5
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 30, double noundef 0x3FEBDEF7C0000000) #5
  %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 31, double noundef 0x3FEDEF7BE0000000) #5
  %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.9, i32 noundef 32, double noundef 1.000000e+00) #5
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.10) #5
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.11) #5
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.12) #5
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.13) #5
  %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.14) #5
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.15) #5
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.16) #5
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.17) #5
  %88 = call i32 @fclose(ptr noundef %3)
  %89 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, ptr noundef nonnull @.str)
  %90 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.19)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  ret i32 0
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

declare i32 @compress_cf_mulaw(<2 x float> noundef, float noundef, ptr noundef) local_unnamed_addr #3

declare i32 @expand_cf_mulaw(<2 x float> noundef, float noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.copysign.f32(float, float) #4

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass