; LLVM IR from NOAA-PMEL/Ferret :: fer/ccr (EF_InternalUtil)

; 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"

%struct.ExternalFunction = type { ptr, [40 x i8], [128 x i8], i32, i32, ptr }
%struct.ExternalFunctionInternals = type { float, [128 x i8], [40 x i8], [40 x i8], i32, i32, i32, i32, [9 x [6 x i32]], [9 x [6 x i32]], [6 x i32], [6 x i32], [6 x i32], i32, [6 x i32], [6 x %struct.Axis], [9 x [6 x i32]], [9 x [6 x i32]], [9 x [6 x i32]], [9 x i32], [9 x [40 x i8]], [9 x [40 x i8]], [9 x [128 x i8]] }
%struct.Axis = type { i32, i32, i32, i32, i32, double, double, double, [40 x i8] }

@.str = external hidden unnamed_addr constant [76 x i8], align 1
@stderr = external global ptr, align 8
@EF_New.return_val = external hidden global i32, align 4
@.str.52 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [1 x i8], align 1

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

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

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @EF_New(ptr noundef %0) #2 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  store ptr null, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !9
  %8 = call ptr @FerMem_Malloc(i64 noundef 3848, ptr noundef @.str, i32 noundef 3403)
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.ExternalFunction, ptr %9, i32 0, i32 5
  store ptr %8, ptr %10, align 8, !tbaa !11
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.ExternalFunction, ptr %11, i32 0, i32 5
  %13 = load ptr, ptr %12, align 8, !tbaa !11
  store ptr %13, ptr %4, align 8, !tbaa !5
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = icmp eq ptr %14, null
  br i1 %15, label %16, label %20

16:                                               ; preds = %1
  %17 = load ptr, ptr @stderr, align 8, !tbaa !5
  %18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.52) #4
  store i32 -1, ptr @EF_New.return_val, align 4, !tbaa !9
  %19 = load i32, ptr @EF_New.return_val, align 4, !tbaa !9
  store i32 %19, ptr %2, align 4
  store i32 1, ptr %7, align 4
  br label %151

20:                                               ; preds = %1
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %21, i32 0, i32 0
  store float 0x3FF6666660000000, ptr %22, align 8, !tbaa !13
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %23, i32 0, i32 1
  %25 = getelementptr inbounds [128 x i8], ptr %24, i64 0, i64 0
  %26 = call ptr @strcpy(ptr noundef %25, ptr noundef @.str.53) #4
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %27, i32 0, i32 4
  store i32 2, ptr %28, align 4, !tbaa !16
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %29, i32 0, i32 5
  store i32 1, ptr %30, align 8, !tbaa !17
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %31, i32 0, i32 6
  store i32 0, ptr %32, align 4, !tbaa !18
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %33, i32 0, i32 7
  store i32 0, ptr %34, align 8, !tbaa !19
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %35, i32 0, i32 13
  store i32 1, ptr %36, align 4, !tbaa !20
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %37

37:                                               ; preds = %80, %20
  %38 = load i32, ptr %5, align 4, !tbaa !9
  %39 = icmp slt i32 %38, 6
  br i1 %39, label %40, label %83

40:                                               ; preds = %37
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %61, %40
  %42 = load i32, ptr %6, align 4, !tbaa !9
  %43 = icmp slt i32 %42, 9
  br i1 %43, label %44, label %64

44:                                               ; preds = %41
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %45, i32 0, i32 8
  %47 = load i32, ptr %6, align 4, !tbaa !9
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [9 x [6 x i32]], ptr %46, i64 0, i64 %48
  %50 = load i32, ptr %5, align 4, !tbaa !9
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [6 x i32], ptr %49, i64 0, i64 %51
  store i32 1, ptr %52, align 4, !tbaa !9
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %53, i32 0, i32 9
  %55 = load i32, ptr %6, align 4, !tbaa !9
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [9 x [6 x i32]], ptr %54, i64 0, i64 %56
  %58 = load i32, ptr %5, align 4, !tbaa !9
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [6 x i32], ptr %57, i64 0, i64 %59
  store i32 1, ptr %60, align 4, !tbaa !9
  br label %61

61:                                               ; preds = %44
  %62 = load i32, ptr %6, align 4, !tbaa !9
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %6, align 4, !tbaa !9
  br label %41, !llvm.loop !21

64:                                               ; preds = %41
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %65, i32 0, i32 10
  %67 = load i32, ptr %5, align 4, !tbaa !9
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [6 x i32], ptr %66, i64 0, i64 %68
  store i32 102, ptr %69, align 4, !tbaa !9
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %70, i32 0, i32 11
  %72 = load i32, ptr %5, align 4, !tbaa !9
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [6 x i32], ptr %71, i64 0, i64 %73
  store i32 201, ptr %74, align 4, !tbaa !9
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %75, i32 0, i32 12
  %77 = load i32, ptr %5, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [6 x i32], ptr %76, i64 0, i64 %78
  store i32 0, ptr %79, align 4, !tbaa !9
  br label %80

80:                                               ; preds = %64
  %81 = load i32, ptr %5, align 4, !tbaa !9
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %5, align 4, !tbaa !9
  br label %37, !llvm.loop !23

83:                                               ; preds = %37
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %84

84:                                               ; preds = %146, %83
  %85 = load i32, ptr %5, align 4, !tbaa !9
  %86 = icmp slt i32 %85, 9
  br i1 %86, label %87, label %149

87:                                               ; preds = %84
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %88

88:                                               ; preds = %116, %87
  %89 = load i32, ptr %6, align 4, !tbaa !9
  %90 = icmp slt i32 %89, 6
  br i1 %90, label %91, label %119

91:                                               ; preds = %88
  %92 = load ptr, ptr %4, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %92, i32 0, i32 16
  %94 = load i32, ptr %5, align 4, !tbaa !9
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [9 x [6 x i32]], ptr %93, i64 0, i64 %95
  %97 = load i32, ptr %6, align 4, !tbaa !9
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [6 x i32], ptr %96, i64 0, i64 %98
  store i32 1, ptr %99, align 4, !tbaa !9
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %100, i32 0, i32 17
  %102 = load i32, ptr %5, align 4, !tbaa !9
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [9 x [6 x i32]], ptr %101, i64 0, i64 %103
  %105 = load i32, ptr %6, align 4, !tbaa !9
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [6 x i32], ptr %104, i64 0, i64 %106
  store i32 0, ptr %107, align 4, !tbaa !9
  %108 = load ptr, ptr %4, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %108, i32 0, i32 18
  %110 = load i32, ptr %5, align 4, !tbaa !9
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [9 x [6 x i32]], ptr %109, i64 0, i64 %111
  %113 = load i32, ptr %6, align 4, !tbaa !9
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [6 x i32], ptr %112, i64 0, i64 %114
  store i32 0, ptr %115, align 4, !tbaa !9
  br label %116

116:                                              ; preds = %91
  %117 = load i32, ptr %6, align 4, !tbaa !9
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr %6, align 4, !tbaa !9
  br label %88, !llvm.loop !24

119:                                              ; preds = %88
  %120 = load ptr, ptr %4, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %120, i32 0, i32 19
  %122 = load i32, ptr %5, align 4, !tbaa !9
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [9 x i32], ptr %121, i64 0, i64 %123
  store i32 1, ptr %124, align 4, !tbaa !9
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %125, i32 0, i32 20
  %127 = load i32, ptr %5, align 4, !tbaa !9
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [9 x [40 x i8]], ptr %126, i64 0, i64 %128
  %130 = getelementptr inbounds [40 x i8], ptr %129, i64 0, i64 0
  %131 = call ptr @strcpy(ptr noundef %130, ptr noundef @.str.53) #4
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %132, i32 0, i32 21
  %134 = load i32, ptr %5, align 4, !tbaa !9
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [9 x [40 x i8]], ptr %133, i64 0, i64 %135
  %137 = getelementptr inbounds [40 x i8], ptr %136, i64 0, i64 0
  %138 = call ptr @strcpy(ptr noundef %137, ptr noundef @.str.53) #4
  %139 = load ptr, ptr %4, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.ExternalFunctionInternals, ptr %139, i32 0, i32 22
  %141 = load i32, ptr %5, align 4, !tbaa !9
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds [9 x [128 x i8]], ptr %140, i64 0, i64 %142
  %144 = getelementptr inbounds [128 x i8], ptr %143, i64 0, i64 0
  %145 = call ptr @strcpy(ptr noundef %144, ptr noundef @.str.53) #4
  br label %146

146:                                              ; preds = %119
  %147 = load i32, ptr %5, align 4, !tbaa !9
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %5, align 4, !tbaa !9
  br label %84, !llvm.loop !25

149:                                              ; preds = %84
  %150 = load i32, ptr @EF_New.return_val, align 4, !tbaa !9
  store i32 %150, ptr %2, align 4
  store i32 1, ptr %7, align 4
  br label %151

151:                                              ; preds = %149, %16
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  %152 = load i32, ptr %2, align 4
  ret i32 %152
}

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

declare ptr @FerMem_Malloc(i64 noundef, ptr noundef, i32 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nounwind uwtable "min-legal-vector-width"="0" "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 = { 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 = !{!"any pointer", !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, !6, i64 184}
!12 = !{!"", !6, i64 0, !7, i64 8, !7, i64 48, !10, i64 176, !10, i64 180, !6, i64 184}
!13 = !{!14, !15, i64 0}
!14 = !{!"", !15, i64 0, !7, i64 4, !7, i64 132, !7, i64 172, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !7, i64 228, !7, i64 444, !7, i64 660, !7, i64 684, !7, i64 708, !10, i64 732, !7, i64 736, !7, i64 760, !7, i64 1288, !7, i64 1504, !7, i64 1720, !7, i64 1936, !7, i64 1972, !7, i64 2332, !7, i64 2692}
!15 = !{!"float", !7, i64 0}
!16 = !{!14, !10, i64 212}
!17 = !{!14, !10, i64 216}
!18 = !{!14, !10, i64 220}
!19 = !{!14, !10, i64 224}
!20 = !{!14, !10, i64 732}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = distinct !{!24, !22}
!25 = distinct !{!25, !22}


; 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 [76 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@EF_New.return_val = external hidden local_unnamed_addr global i32, align 4
@.str.52 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local i32 @EF_New(ptr nocapture noundef writeonly %0) local_unnamed_addr #1 {
  %2 = tail call ptr @FerMem_Malloc(i64 noundef 3848, ptr noundef nonnull @.str, i32 noundef 3403) #4
  %3 = getelementptr inbounds i8, ptr %0, i64 184
  store ptr %2, ptr %3, align 8, !tbaa !5
  %4 = icmp eq ptr %2, null
  br i1 %4, label %5, label %.preheader52

5:                                                ; preds = %1
  %6 = load ptr, ptr @stderr, align 8, !tbaa !11
  %7 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %6, ptr noundef nonnull @.str.52) #5
  store i32 -1, ptr @EF_New.return_val, align 4, !tbaa !12
  br label %70

.preheader52:                                     ; preds = %1
  store float 0x3FF6666660000000, ptr %2, align 8, !tbaa !13
  %8 = getelementptr inbounds i8, ptr %2, i64 4
  %9 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %8, ptr noundef nonnull dereferenceable(1) @.str.53) #4
  %10 = getelementptr inbounds i8, ptr %2, i64 212
  store <4 x i32> <i32 2, i32 1, i32 0, i32 0>, ptr %10, align 4, !tbaa !12
  %11 = getelementptr inbounds i8, ptr %2, i64 732
  store i32 1, ptr %11, align 4, !tbaa !16
  %12 = getelementptr inbounds i8, ptr %2, i64 228
  %13 = getelementptr inbounds i8, ptr %2, i64 660
  %14 = getelementptr i8, ptr %2, i64 708
  %15 = getelementptr inbounds i8, ptr %2, i64 468
  %16 = getelementptr inbounds i8, ptr %2, i64 276
  %17 = getelementptr inbounds i8, ptr %2, i64 516
  %18 = getelementptr inbounds i8, ptr %2, i64 324
  %19 = getelementptr inbounds i8, ptr %2, i64 564
  %20 = getelementptr inbounds i8, ptr %2, i64 372
  %21 = getelementptr inbounds i8, ptr %2, i64 612
  %22 = getelementptr inbounds i8, ptr %2, i64 420
  %23 = getelementptr inbounds i8, ptr %2, i64 452
  %24 = getelementptr inbounds i8, ptr %2, i64 260
  %25 = getelementptr inbounds i8, ptr %2, i64 500
  %26 = getelementptr inbounds i8, ptr %2, i64 308
  %27 = getelementptr inbounds i8, ptr %2, i64 548
  %28 = getelementptr inbounds i8, ptr %2, i64 356
  %29 = getelementptr inbounds i8, ptr %2, i64 596
  %30 = getelementptr inbounds i8, ptr %2, i64 404
  %31 = getelementptr inbounds i8, ptr %2, i64 644
  %32 = getelementptr inbounds i8, ptr %2, i64 692
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %12, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %15, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %16, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %17, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %18, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %19, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %20, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %21, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %22, align 4, !tbaa !12
  store <4 x i32> <i32 102, i32 102, i32 102, i32 102>, ptr %13, align 4, !tbaa !12
  store <4 x i32> zeroinitializer, ptr %14, align 4, !tbaa !12
  %33 = getelementptr inbounds i8, ptr %2, i64 244
  %34 = getelementptr inbounds i8, ptr %2, i64 484
  %35 = getelementptr inbounds i8, ptr %2, i64 292
  %36 = getelementptr inbounds i8, ptr %2, i64 532
  %37 = getelementptr inbounds i8, ptr %2, i64 340
  %38 = getelementptr inbounds i8, ptr %2, i64 580
  %39 = getelementptr inbounds i8, ptr %2, i64 388
  %40 = getelementptr inbounds i8, ptr %2, i64 628
  %41 = getelementptr inbounds i8, ptr %2, i64 436
  %42 = getelementptr inbounds i8, ptr %2, i64 676
  %43 = getelementptr i8, ptr %2, i64 724
  store i32 0, ptr %43, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %33, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %23, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %24, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %34, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %35, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %25, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %26, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %36, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %37, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %27, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %28, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %38, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %39, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %29, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %30, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %40, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %41, align 4, !tbaa !12
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %31, align 4, !tbaa !12
  store <4 x i32> <i32 102, i32 102, i32 201, i32 201>, ptr %42, align 4, !tbaa !12
  store <4 x i32> <i32 201, i32 201, i32 201, i32 201>, ptr %32, align 4, !tbaa !12
  %44 = getelementptr i8, ptr %2, i64 728
  store i32 0, ptr %44, align 4, !tbaa !12
  %45 = getelementptr inbounds i8, ptr %2, i64 1288
  %46 = getelementptr inbounds i8, ptr %2, i64 1504
  %47 = getelementptr inbounds i8, ptr %2, i64 1720
  %48 = getelementptr inbounds i8, ptr %2, i64 1936
  %49 = getelementptr inbounds i8, ptr %2, i64 1972
  %50 = getelementptr inbounds i8, ptr %2, i64 2332
  %51 = getelementptr inbounds i8, ptr %2, i64 2692
  br label %.preheader

.preheader:                                       ; preds = %.preheader52, %.preheader
  %indvars.iv = phi i64 [ 0, %.preheader52 ], [ %indvars.iv.next, %.preheader ]
  %52 = getelementptr inbounds [9 x [6 x i32]], ptr %45, i64 0, i64 %indvars.iv, i64 0
  %53 = getelementptr inbounds [9 x [6 x i32]], ptr %46, i64 0, i64 %indvars.iv, i64 0
  %54 = getelementptr inbounds [9 x [6 x i32]], ptr %47, i64 0, i64 %indvars.iv, i64 0
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %52, align 4, !tbaa !12
  store <4 x i32> zeroinitializer, ptr %53, align 4, !tbaa !12
  store <4 x i32> zeroinitializer, ptr %54, align 4, !tbaa !12
  %55 = getelementptr inbounds [9 x [6 x i32]], ptr %45, i64 0, i64 %indvars.iv, i64 4
  store i32 1, ptr %55, align 4, !tbaa !12
  %56 = getelementptr inbounds [9 x [6 x i32]], ptr %46, i64 0, i64 %indvars.iv, i64 4
  store i32 0, ptr %56, align 4, !tbaa !12
  %57 = getelementptr inbounds [9 x [6 x i32]], ptr %47, i64 0, i64 %indvars.iv, i64 4
  store i32 0, ptr %57, align 4, !tbaa !12
  %58 = getelementptr inbounds [9 x [6 x i32]], ptr %45, i64 0, i64 %indvars.iv, i64 5
  store i32 1, ptr %58, align 4, !tbaa !12
  %59 = getelementptr inbounds [9 x [6 x i32]], ptr %46, i64 0, i64 %indvars.iv, i64 5
  store i32 0, ptr %59, align 4, !tbaa !12
  %60 = getelementptr inbounds [9 x [6 x i32]], ptr %47, i64 0, i64 %indvars.iv, i64 5
  store i32 0, ptr %60, align 4, !tbaa !12
  %61 = getelementptr inbounds [9 x i32], ptr %48, i64 0, i64 %indvars.iv
  store i32 1, ptr %61, align 4, !tbaa !12
  %62 = getelementptr inbounds [9 x [40 x i8]], ptr %49, i64 0, i64 %indvars.iv
  %63 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %62, ptr noundef nonnull dereferenceable(1) @.str.53) #4
  %64 = getelementptr inbounds [9 x [40 x i8]], ptr %50, i64 0, i64 %indvars.iv
  %65 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %64, ptr noundef nonnull dereferenceable(1) @.str.53) #4
  %66 = getelementptr inbounds [9 x [128 x i8]], ptr %51, i64 0, i64 %indvars.iv
  %67 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %66, ptr noundef nonnull dereferenceable(1) @.str.53) #4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 9
  br i1 %exitcond.not, label %68, label %.preheader, !llvm.loop !17

68:                                               ; preds = %.preheader
  %69 = load i32, ptr @EF_New.return_val, align 4, !tbaa !12
  br label %70

70:                                               ; preds = %68, %5
  %.049 = phi i32 [ -1, %5 ], [ %69, %68 ]
  ret i32 %.049
}

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

declare ptr @FerMem_Malloc(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 = { nounwind uwtable "min-legal-vector-width"="0" "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 #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 = { nounwind }
attributes #5 = { cold 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, !7, i64 184}
!6 = !{!"", !7, i64 0, !8, i64 8, !8, i64 48, !10, i64 176, !10, i64 180, !7, i64 184}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"", !15, i64 0, !8, i64 4, !8, i64 132, !8, i64 172, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !8, i64 228, !8, i64 444, !8, i64 660, !8, i64 684, !8, i64 708, !10, i64 732, !8, i64 736, !8, i64 760, !8, i64 1288, !8, i64 1504, !8, i64 1720, !8, i64 1936, !8, i64 1972, !8, i64 2332, !8, i64 2692}
!15 = !{!"float", !8, i64 0}
!16 = !{!14, !10, i64 732}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


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