; LLVM IR from siconos/siconos :: externals/lbl/src (ma27_lib)

; 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.Ma27_Data = type { i32, i32, [31 x i32], [21 x i32], [6 x double], ptr, ptr, ptr, i32, ptr, ptr, i32, i32, double, i32, ptr, i32, ptr, ptr, i8, ptr }

@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [22 x i8], align 1
@stdout = external global ptr, align 8
@stderr = external global ptr, align 8

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

declare ptr @LBL_Calloc(i32 noundef, i64 noundef) #1

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.ceil.f64(double) #3

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

; Function Attrs: nounwind uwtable
define dso_local i32 @MA27_Analyze(ptr noundef %0, i32 noundef %1) #4 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.Ma27_Data, ptr %9, i32 0, i32 20
  %11 = load ptr, ptr %10, align 8, !tbaa !11
  %12 = icmp ne ptr %11, null
  br i1 %12, label %13, label %18

13:                                               ; preds = %2
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.Ma27_Data, ptr %14, i32 0, i32 20
  %16 = load ptr, ptr %15, align 8, !tbaa !11
  %17 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str.2) #5
  br label %18

18:                                               ; preds = %13, %2
  %19 = load i32, ptr %5, align 4, !tbaa !9
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.Ma27_Data, ptr %20, i32 0, i32 12
  store i32 %19, ptr %21, align 4, !tbaa !14
  br label %22

22:                                               ; preds = %93, %18
  %23 = load i32, ptr %6, align 4, !tbaa !9
  %24 = icmp ne i32 %23, 0
  %25 = xor i1 %24, true
  br i1 %25, label %26, label %94

26:                                               ; preds = %22
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.Ma27_Data, ptr %27, i32 0, i32 0
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.Ma27_Data, ptr %29, i32 0, i32 1
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.Ma27_Data, ptr %31, i32 0, i32 5
  %33 = load ptr, ptr %32, align 8, !tbaa !15
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.Ma27_Data, ptr %34, i32 0, i32 6
  %36 = load ptr, ptr %35, align 8, !tbaa !16
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.Ma27_Data, ptr %37, i32 0, i32 7
  %39 = load ptr, ptr %38, align 8, !tbaa !17
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.Ma27_Data, ptr %40, i32 0, i32 8
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.Ma27_Data, ptr %42, i32 0, i32 9
  %44 = load ptr, ptr %43, align 8, !tbaa !18
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.Ma27_Data, ptr %45, i32 0, i32 10
  %47 = load ptr, ptr %46, align 8, !tbaa !19
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.Ma27_Data, ptr %48, i32 0, i32 11
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.Ma27_Data, ptr %50, i32 0, i32 12
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.Ma27_Data, ptr %52, i32 0, i32 2
  %54 = getelementptr inbounds [31 x i32], ptr %53, i64 0, i64 0
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.Ma27_Data, ptr %55, i32 0, i32 4
  %57 = getelementptr inbounds [6 x double], ptr %56, i64 0, i64 0
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.Ma27_Data, ptr %58, i32 0, i32 3
  %60 = getelementptr inbounds [21 x i32], ptr %59, i64 0, i64 0
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.Ma27_Data, ptr %61, i32 0, i32 13
  call void @ma27ad_(ptr noundef %28, ptr noundef %30, ptr noundef %33, ptr noundef %36, ptr noundef %39, ptr noundef %41, ptr noundef %44, ptr noundef %47, ptr noundef %49, ptr noundef %51, ptr noundef %54, ptr noundef %57, ptr noundef %60, ptr noundef %62)
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.Ma27_Data, ptr %63, i32 0, i32 3
  %65 = getelementptr inbounds [21 x i32], ptr %64, i64 0, i64 0
  %66 = load i32, ptr %65, align 4, !tbaa !9
  store i32 %66, ptr %7, align 4, !tbaa !9
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.Ma27_Data, ptr %67, i32 0, i32 2
  %69 = getelementptr inbounds [31 x i32], ptr %68, i64 0, i64 2
  %70 = load i32, ptr %69, align 8, !tbaa !9
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %77

72:                                               ; preds = %26
  %73 = load ptr, ptr @stdout, align 8, !tbaa !5
  %74 = call i32 @fflush(ptr noundef %73)
  %75 = load ptr, ptr @stderr, align 8, !tbaa !5
  %76 = call i32 @fflush(ptr noundef %75)
  br label %77

77:                                               ; preds = %72, %26
  %78 = load i32, ptr %7, align 4, !tbaa !9
  %79 = icmp ne i32 %78, 0
  br i1 %79, label %81, label %80

80:                                               ; preds = %77
  store i32 1, ptr %6, align 4, !tbaa !9
  br label %93

81:                                               ; preds = %77
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = load i32, ptr %7, align 4, !tbaa !9
  %84 = call i32 @Process_Error_Code(ptr noundef %82, i32 noundef %83)
  store i32 %84, ptr %7, align 4, !tbaa !9
  %85 = load i32, ptr %7, align 4, !tbaa !9
  %86 = icmp ne i32 %85, -3
  br i1 %86, label %87, label %92

87:                                               ; preds = %81
  %88 = load i32, ptr %7, align 4, !tbaa !9
  %89 = icmp ne i32 %88, -4
  br i1 %89, label %90, label %92

90:                                               ; preds = %87
  %91 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %91, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %157

92:                                               ; preds = %87, %81
  br label %93

93:                                               ; preds = %92, %80
  br label %22, !llvm.loop !20

94:                                               ; preds = %22
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.Ma27_Data, ptr %95, i32 0, i32 3
  %97 = getelementptr inbounds [21 x i32], ptr %96, i64 0, i64 4
  %98 = load i32, ptr %97, align 4, !tbaa !9
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.Ma27_Data, ptr %99, i32 0, i32 1
  %101 = load i32, ptr %100, align 4, !tbaa !22
  %102 = icmp sgt i32 %98, %101
  br i1 %102, label %103, label %122

103:                                              ; preds = %94
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.Ma27_Data, ptr %104, i32 0, i32 3
  %106 = getelementptr inbounds [21 x i32], ptr %105, i64 0, i64 4
  %107 = load i32, ptr %106, align 4, !tbaa !9
  %108 = sitofp i32 %107 to double
  %109 = fmul double 1.200000e+00, %108
  %110 = call double @llvm.ceil.f64(double %109)
  %111 = fptosi double %110 to i32
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.Ma27_Data, ptr %112, i32 0, i32 14
  store i32 %111, ptr %113, align 8, !tbaa !23
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.Ma27_Data, ptr %114, i32 0, i32 15
  call void @LBL_Free_Object(ptr noundef %115)
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.Ma27_Data, ptr %116, i32 0, i32 14
  %118 = load i32, ptr %117, align 8, !tbaa !23
  %119 = call ptr @LBL_Calloc(i32 noundef %118, i64 noundef 8)
  %120 = load ptr, ptr %4, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.Ma27_Data, ptr %120, i32 0, i32 15
  store ptr %119, ptr %121, align 8, !tbaa !24
  br label %122

122:                                              ; preds = %103, %94
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.Ma27_Data, ptr %123, i32 0, i32 11
  %125 = load i32, ptr %124, align 8, !tbaa !25
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.Ma27_Data, ptr %126, i32 0, i32 0
  %128 = load i32, ptr %127, align 8, !tbaa !26
  %129 = mul nsw i32 2, %128
  %130 = icmp sgt i32 %125, %129
  br i1 %130, label %131, label %140

131:                                              ; preds = %122
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.Ma27_Data, ptr %132, i32 0, i32 10
  call void @LBL_Free_Object(ptr noundef %133)
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.Ma27_Data, ptr %134, i32 0, i32 11
  %136 = load i32, ptr %135, align 8, !tbaa !25
  %137 = call ptr @LBL_Calloc(i32 noundef %136, i64 noundef 4)
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.Ma27_Data, ptr %138, i32 0, i32 10
  store ptr %137, ptr %139, align 8, !tbaa !19
  br label %140

140:                                              ; preds = %131, %122
  %141 = load ptr, ptr %4, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.Ma27_Data, ptr %141, i32 0, i32 0
  %143 = load i32, ptr %142, align 8, !tbaa !26
  %144 = call ptr @LBL_Calloc(i32 noundef %143, i64 noundef 8)
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.Ma27_Data, ptr %145, i32 0, i32 17
  store ptr %144, ptr %146, align 8, !tbaa !27
  %147 = load ptr, ptr %4, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.Ma27_Data, ptr %147, i32 0, i32 20
  %149 = load ptr, ptr %148, align 8, !tbaa !11
  %150 = icmp ne ptr %149, null
  br i1 %150, label %151, label %156

151:                                              ; preds = %140
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.Ma27_Data, ptr %152, i32 0, i32 20
  %154 = load ptr, ptr %153, align 8, !tbaa !11
  %155 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %154, ptr noundef @.str.1) #5
  br label %156

156:                                              ; preds = %151, %140
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %157

157:                                              ; preds = %156, %90
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %158 = load i32, ptr %3, align 4
  ret i32 %158
}

declare void @ma27ad_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare i32 @fflush(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @Process_Error_Code(ptr noundef, i32 noundef) #4

declare void @LBL_Free_Object(ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #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 = !{!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 376}
!12 = !{!"Ma27_Data", !10, i64 0, !10, i64 4, !7, i64 8, !7, i64 132, !7, i64 216, !6, i64 264, !6, i64 272, !6, i64 280, !10, i64 288, !6, i64 296, !6, i64 304, !10, i64 312, !10, i64 316, !13, i64 320, !10, i64 328, !6, i64 336, !10, i64 344, !6, i64 352, !6, i64 360, !7, i64 368, !6, i64 376}
!13 = !{!"double", !7, i64 0}
!14 = !{!12, !10, i64 316}
!15 = !{!12, !6, i64 264}
!16 = !{!12, !6, i64 272}
!17 = !{!12, !6, i64 280}
!18 = !{!12, !6, i64 296}
!19 = !{!12, !6, i64 304}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!12, !10, i64 4}
!23 = !{!12, !10, i64 328}
!24 = !{!12, !6, i64 336}
!25 = !{!12, !10, i64 312}
!26 = !{!12, !10, i64 0}
!27 = !{!12, !6, i64 352}


; 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.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [22 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8

declare ptr @LBL_Calloc(i32 noundef, i64 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.ceil.f64(double) #2

; Function Attrs: nounwind uwtable
define dso_local range(i32 -2, -4) i32 @MA27_Analyze(ptr noundef %0, i32 noundef %1) local_unnamed_addr #3 {
  %3 = getelementptr inbounds i8, ptr %0, i64 376
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %.not = icmp eq ptr %4, null
  br i1 %.not, label %7, label %5

5:                                                ; preds = %2
  %6 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.2) #4
  br label %7

7:                                                ; preds = %5, %2
  %8 = getelementptr inbounds i8, ptr %0, i64 316
  store i32 %1, ptr %8, align 4, !tbaa !12
  %9 = getelementptr inbounds i8, ptr %0, i64 4
  %10 = getelementptr inbounds i8, ptr %0, i64 264
  %11 = getelementptr inbounds i8, ptr %0, i64 272
  %12 = getelementptr inbounds i8, ptr %0, i64 280
  %13 = getelementptr inbounds i8, ptr %0, i64 288
  %14 = getelementptr inbounds i8, ptr %0, i64 296
  %15 = getelementptr inbounds i8, ptr %0, i64 304
  %16 = getelementptr inbounds i8, ptr %0, i64 312
  %17 = getelementptr inbounds i8, ptr %0, i64 8
  %18 = getelementptr inbounds i8, ptr %0, i64 216
  %19 = getelementptr inbounds i8, ptr %0, i64 132
  %20 = getelementptr inbounds i8, ptr %0, i64 320
  %21 = getelementptr inbounds i8, ptr %0, i64 16
  br label %22

22:                                               ; preds = %36, %7
  %23 = load ptr, ptr %10, align 8, !tbaa !13
  %24 = load ptr, ptr %11, align 8, !tbaa !14
  %25 = load ptr, ptr %12, align 8, !tbaa !15
  %26 = load ptr, ptr %14, align 8, !tbaa !16
  %27 = load ptr, ptr %15, align 8, !tbaa !17
  tail call void @ma27ad_(ptr noundef nonnull %0, ptr noundef nonnull %9, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef nonnull %13, ptr noundef %26, ptr noundef %27, ptr noundef nonnull %16, ptr noundef nonnull %8, ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef nonnull %19, ptr noundef nonnull %20) #4
  %28 = load i32, ptr %19, align 4, !tbaa !18
  %29 = load i32, ptr %21, align 8, !tbaa !18
  %.not52 = icmp eq i32 %29, 0
  br i1 %.not52, label %35, label %30

30:                                               ; preds = %22
  %31 = load ptr, ptr @stdout, align 8, !tbaa !19
  %32 = tail call i32 @fflush(ptr noundef %31)
  %33 = load ptr, ptr @stderr, align 8, !tbaa !19
  %34 = tail call i32 @fflush(ptr noundef %33)
  br label %35

35:                                               ; preds = %30, %22
  %.not53.not = icmp eq i32 %28, 0
  br i1 %.not53.not, label %39, label %36

36:                                               ; preds = %35
  %37 = tail call i32 @Process_Error_Code(ptr noundef nonnull %0, i32 noundef %28)
  %38 = and i32 %37, -2
  %or.cond.not = icmp eq i32 %38, -4
  br i1 %or.cond.not, label %22, label %.loopexit, !llvm.loop !20

39:                                               ; preds = %35
  %40 = getelementptr inbounds i8, ptr %0, i64 148
  %41 = load i32, ptr %40, align 4, !tbaa !18
  %42 = load i32, ptr %9, align 4, !tbaa !22
  %43 = icmp sgt i32 %41, %42
  br i1 %43, label %44, label %53

44:                                               ; preds = %39
  %45 = sitofp i32 %41 to double
  %46 = fmul double %45, 1.200000e+00
  %47 = tail call double @llvm.ceil.f64(double %46)
  %48 = fptosi double %47 to i32
  %49 = getelementptr inbounds i8, ptr %0, i64 328
  store i32 %48, ptr %49, align 8, !tbaa !23
  %50 = getelementptr inbounds i8, ptr %0, i64 336
  tail call void @LBL_Free_Object(ptr noundef nonnull %50) #4
  %51 = load i32, ptr %49, align 8, !tbaa !23
  %52 = tail call ptr @LBL_Calloc(i32 noundef %51, i64 noundef 8) #4
  store ptr %52, ptr %50, align 8, !tbaa !24
  br label %53

53:                                               ; preds = %44, %39
  %54 = load i32, ptr %16, align 8, !tbaa !25
  %55 = load i32, ptr %0, align 8, !tbaa !26
  %56 = shl nsw i32 %55, 1
  %57 = icmp sgt i32 %54, %56
  br i1 %57, label %58, label %61

58:                                               ; preds = %53
  tail call void @LBL_Free_Object(ptr noundef nonnull %15) #4
  %59 = load i32, ptr %16, align 8, !tbaa !25
  %60 = tail call ptr @LBL_Calloc(i32 noundef %59, i64 noundef 4) #4
  store ptr %60, ptr %15, align 8, !tbaa !17
  %.pre = load i32, ptr %0, align 8, !tbaa !26
  br label %61

61:                                               ; preds = %58, %53
  %62 = phi i32 [ %.pre, %58 ], [ %55, %53 ]
  %63 = tail call ptr @LBL_Calloc(i32 noundef %62, i64 noundef 8) #4
  %64 = getelementptr inbounds i8, ptr %0, i64 352
  store ptr %63, ptr %64, align 8, !tbaa !27
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %.not51 = icmp eq ptr %65, null
  br i1 %.not51, label %.loopexit, label %66

66:                                               ; preds = %61
  %67 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %65, ptr noundef nonnull @.str.1) #4
  br label %.loopexit

.loopexit:                                        ; preds = %36, %61, %66
  %.044 = phi i32 [ 0, %66 ], [ 0, %61 ], [ %37, %36 ]
  ret i32 %.044
}

declare void @ma27ad_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
declare hidden i32 @Process_Error_Code(ptr noundef, i32 noundef) local_unnamed_addr #3

declare void @LBL_Free_Object(ptr noundef) local_unnamed_addr #0

attributes #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 #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #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, !10, i64 376}
!6 = !{!"Ma27_Data", !7, i64 0, !7, i64 4, !8, i64 8, !8, i64 132, !8, i64 216, !10, i64 264, !10, i64 272, !10, i64 280, !7, i64 288, !10, i64 296, !10, i64 304, !7, i64 312, !7, i64 316, !11, i64 320, !7, i64 328, !10, i64 336, !7, i64 344, !10, i64 352, !10, i64 360, !8, i64 368, !10, i64 376}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!6, !7, i64 316}
!13 = !{!6, !10, i64 264}
!14 = !{!6, !10, i64 272}
!15 = !{!6, !10, i64 280}
!16 = !{!6, !10, i64 296}
!17 = !{!6, !10, i64 304}
!18 = !{!7, !7, i64 0}
!19 = !{!10, !10, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!6, !7, i64 4}
!23 = !{!6, !7, i64 328}
!24 = !{!6, !10, i64 336}
!25 = !{!6, !7, i64 312}
!26 = !{!6, !7, i64 0}
!27 = !{!6, !10, i64 352}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass