; LLVM IR from CLASS-SZ/class_sz :: class-sz/tools (parser)

; 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.file_content = type { ptr, i32, ptr, ptr, ptr }

@.str.4 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [43 x i8], align 1
@__func__.parser_read_double_and_position = external hidden unnamed_addr constant [32 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

declare void @class_protect_sprintf(ptr noundef, ptr noundef, ...) #1

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local i32 @parser_read_double_and_position(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #4 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca [2048 x i8], align 16
  %18 = alloca [2048 x i8], align 16
  %19 = alloca [2048 x i8], align 16
  %20 = alloca [2048 x i8], align 16
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %21 = load ptr, ptr %12, align 8, !tbaa !5
  store i32 0, ptr %21, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %22

22:                                               ; preds = %41, %6
  %23 = load i32, ptr %14, align 4, !tbaa !9
  %24 = load ptr, ptr %8, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.file_content, ptr %24, i32 0, i32 1
  %26 = load i32, ptr %25, align 8, !tbaa !11
  %27 = icmp slt i32 %23, %26
  br i1 %27, label %28, label %39

28:                                               ; preds = %22
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.file_content, ptr %29, i32 0, i32 2
  %31 = load ptr, ptr %30, align 8, !tbaa !13
  %32 = load i32, ptr %14, align 4, !tbaa !9
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [1024 x i8], ptr %31, i64 %33
  %35 = getelementptr inbounds [1024 x i8], ptr %34, i64 0, i64 0
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = call i32 @strcmp(ptr noundef %35, ptr noundef %36) #6
  %38 = icmp ne i32 %37, 0
  br label %39

39:                                               ; preds = %28, %22
  %40 = phi i1 [ false, %22 ], [ %38, %28 ]
  br i1 %40, label %41, label %44

41:                                               ; preds = %39
  %42 = load i32, ptr %14, align 4, !tbaa !9
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %14, align 4, !tbaa !9
  br label %22, !llvm.loop !14

44:                                               ; preds = %39
  %45 = load i32, ptr %14, align 4, !tbaa !9
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.file_content, ptr %46, i32 0, i32 1
  %48 = load i32, ptr %47, align 8, !tbaa !11
  %49 = icmp eq i32 %45, %48
  br i1 %49, label %50, label %51

50:                                               ; preds = %44
  store i32 0, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %116

51:                                               ; preds = %44
  %52 = load ptr, ptr %8, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.file_content, ptr %52, i32 0, i32 3
  %54 = load ptr, ptr %53, align 8, !tbaa !16
  %55 = load i32, ptr %14, align 4, !tbaa !9
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [1024 x i8], ptr %54, i64 %56
  %58 = getelementptr inbounds [1024 x i8], ptr %57, i64 0, i64 0
  %59 = load ptr, ptr %10, align 8, !tbaa !5
  %60 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %58, ptr noundef @.str.26, ptr noundef %59) #5
  %61 = icmp ne i32 %60, 1
  br i1 %61, label %62, label %72

62:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 2048, ptr %17) #5
  %63 = getelementptr inbounds [2048 x i8], ptr %17, i64 0, i64 0
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.file_content, ptr %65, i32 0, i32 0
  %67 = load ptr, ptr %66, align 8, !tbaa !17
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %63, ptr noundef @.str.22, ptr noundef %64, ptr noundef %67)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %18) #5
  %68 = getelementptr inbounds [2048 x i8], ptr %18, i64 0, i64 0
  %69 = getelementptr inbounds [2048 x i8], ptr %17, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %68, ptr noundef @.str.8, ptr noundef @.str.27, ptr noundef %69)
  %70 = load ptr, ptr %13, align 8, !tbaa !5
  %71 = getelementptr inbounds [2048 x i8], ptr %18, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %70, ptr noundef @.str.4, ptr noundef @__func__.parser_read_double_and_position, i32 noundef 305, ptr noundef %71)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr %17) #5
  store i32 1, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %116

72:                                               ; preds = %51
  %73 = load ptr, ptr %12, align 8, !tbaa !5
  store i32 1, ptr %73, align 4, !tbaa !9
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.file_content, ptr %74, i32 0, i32 4
  %76 = load ptr, ptr %75, align 8, !tbaa !18
  %77 = load i32, ptr %14, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds i16, ptr %76, i64 %78
  store i16 1, ptr %79, align 2, !tbaa !19
  %80 = load i32, ptr %14, align 4, !tbaa !9
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %15, align 4, !tbaa !9
  br label %82

82:                                               ; preds = %110, %72
  %83 = load i32, ptr %15, align 4, !tbaa !9
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.file_content, ptr %84, i32 0, i32 1
  %86 = load i32, ptr %85, align 8, !tbaa !11
  %87 = icmp slt i32 %83, %86
  br i1 %87, label %88, label %113

88:                                               ; preds = %82
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.file_content, ptr %89, i32 0, i32 2
  %91 = load ptr, ptr %90, align 8, !tbaa !13
  %92 = load i32, ptr %15, align 4, !tbaa !9
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [1024 x i8], ptr %91, i64 %93
  %95 = getelementptr inbounds [1024 x i8], ptr %94, i64 0, i64 0
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = call i32 @strcmp(ptr noundef %95, ptr noundef %96) #6
  %98 = icmp eq i32 %97, 0
  br i1 %98, label %99, label %109

99:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 2048, ptr %19) #5
  %100 = getelementptr inbounds [2048 x i8], ptr %19, i64 0, i64 0
  %101 = load ptr, ptr %9, align 8, !tbaa !5
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.file_content, ptr %102, i32 0, i32 0
  %104 = load ptr, ptr %103, align 8, !tbaa !17
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %100, ptr noundef @.str.24, ptr noundef %101, ptr noundef %104)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %20) #5
  %105 = getelementptr inbounds [2048 x i8], ptr %20, i64 0, i64 0
  %106 = getelementptr inbounds [2048 x i8], ptr %19, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %105, ptr noundef @.str.8, ptr noundef @.str.25, ptr noundef %106)
  %107 = load ptr, ptr %13, align 8, !tbaa !5
  %108 = getelementptr inbounds [2048 x i8], ptr %20, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %107, ptr noundef @.str.4, ptr noundef @__func__.parser_read_double_and_position, i32 noundef 319, ptr noundef %108)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr %19) #5
  store i32 1, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %116

109:                                              ; preds = %88
  br label %110

110:                                              ; preds = %109
  %111 = load i32, ptr %15, align 4, !tbaa !9
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr %15, align 4, !tbaa !9
  br label %82, !llvm.loop !21

113:                                              ; preds = %82
  %114 = load i32, ptr %14, align 4, !tbaa !9
  %115 = load ptr, ptr %11, align 8, !tbaa !5
  store i32 %114, ptr %115, align 4, !tbaa !9
  store i32 0, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %116

116:                                              ; preds = %113, %99, %62, %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  %117 = load i32, ptr %7, align 4
  ret i32 %117
}

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 willreturn memory(read) "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 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 }
attributes #6 = { nounwind willreturn memory(read) }

!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, !10, i64 8}
!12 = !{!"file_content", !6, i64 0, !10, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!13 = !{!12, !6, i64 16}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!12, !6, i64 24}
!17 = !{!12, !6, i64 0}
!18 = !{!12, !6, i64 32}
!19 = !{!20, !20, i64 0}
!20 = !{!"short", !7, i64 0}
!21 = distinct !{!21, !15}


; 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.4 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [43 x i8], align 1
@__func__.parser_read_double_and_position = external hidden unnamed_addr constant [32 x i8], align 1

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

declare void @class_protect_sprintf(ptr noundef, ptr noundef, ...) local_unnamed_addr #1

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @parser_read_double_and_position(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4, ptr noundef %5) local_unnamed_addr #4 {
  %7 = alloca [2048 x i8], align 16
  %8 = alloca [2048 x i8], align 16
  %9 = alloca [2048 x i8], align 16
  %10 = alloca [2048 x i8], align 16
  store i32 0, ptr %4, align 4, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  %12 = load i32, ptr %11, align 8, !tbaa !9
  %13 = icmp sgt i32 %12, 0
  br i1 %13, label %.lr.ph, label %.critedge

.lr.ph:                                           ; preds = %6
  %14 = getelementptr inbounds i8, ptr %0, i64 16
  %15 = load ptr, ptr %14, align 8, !tbaa !12
  %wide.trip.count = zext nneg i32 %12 to i64
  br label %16

16:                                               ; preds = %.lr.ph, %19
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %19 ]
  %17 = getelementptr inbounds [1024 x i8], ptr %15, i64 %indvars.iv
  %18 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %17, ptr noundef nonnull dereferenceable(1) %1) #5
  %.not = icmp eq i32 %18, 0
  br i1 %.not, label %.critedge.loopexit, label %19

19:                                               ; preds = %16
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.critedge.thread, label %16, !llvm.loop !13

.critedge.loopexit:                               ; preds = %16
  %20 = trunc nuw nsw i64 %indvars.iv to i32
  br label %.critedge

.critedge:                                        ; preds = %.critedge.loopexit, %6
  %.030.lcssa = phi i32 [ 0, %6 ], [ %20, %.critedge.loopexit ]
  %21 = icmp eq i32 %.030.lcssa, %12
  br i1 %21, label %.critedge.thread, label %22

22:                                               ; preds = %.critedge
  %23 = getelementptr inbounds i8, ptr %0, i64 24
  %24 = load ptr, ptr %23, align 8, !tbaa !15
  %25 = zext i32 %.030.lcssa to i64
  %26 = getelementptr inbounds [1024 x i8], ptr %24, i64 %25
  %27 = tail call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %26, ptr noundef nonnull @.str.26, ptr noundef %2) #6
  %.not32 = icmp eq i32 %27, 1
  br i1 %.not32, label %30, label %28

28:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %7) #6
  %29 = load ptr, ptr %0, align 8, !tbaa !16
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %7, ptr noundef nonnull @.str.22, ptr noundef %1, ptr noundef %29) #6
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %8) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %8, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.27, ptr noundef nonnull %7) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %5, ptr noundef nonnull @.str.4, ptr noundef nonnull @__func__.parser_read_double_and_position, i32 noundef 305, ptr noundef nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %7) #6
  br label %.critedge.thread

30:                                               ; preds = %22
  store i32 1, ptr %4, align 4, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %0, i64 32
  %32 = load ptr, ptr %31, align 8, !tbaa !17
  %33 = getelementptr inbounds i16, ptr %32, i64 %25
  store i16 1, ptr %33, align 2, !tbaa !18
  %34 = load i32, ptr %11, align 8, !tbaa !9
  %35 = getelementptr inbounds i8, ptr %0, i64 16
  br label %36

36:                                               ; preds = %39, %30
  %indvars.iv40 = phi i64 [ %indvars.iv.next41, %39 ], [ %25, %30 ]
  %indvars.iv.next41 = add nuw nsw i64 %indvars.iv40, 1
  %37 = trunc nuw i64 %indvars.iv.next41 to i32
  %38 = icmp sgt i32 %34, %37
  br i1 %38, label %39, label %46

39:                                               ; preds = %36
  %40 = load ptr, ptr %35, align 8, !tbaa !12
  %41 = getelementptr inbounds [1024 x i8], ptr %40, i64 %indvars.iv.next41
  %42 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %41, ptr noundef nonnull dereferenceable(1) %1) #5
  %43 = icmp eq i32 %42, 0
  br i1 %43, label %44, label %36, !llvm.loop !20

44:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %9) #6
  %45 = load ptr, ptr %0, align 8, !tbaa !16
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %9, ptr noundef nonnull @.str.24, ptr noundef %1, ptr noundef %45) #6
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %10) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %10, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.25, ptr noundef nonnull %9) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %5, ptr noundef nonnull @.str.4, ptr noundef nonnull @__func__.parser_read_double_and_position, i32 noundef 319, ptr noundef nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %9) #6
  br label %.critedge.thread

46:                                               ; preds = %36
  store i32 %.030.lcssa, ptr %3, align 4, !tbaa !5
  br label %.critedge.thread

.critedge.thread:                                 ; preds = %19, %.critedge, %46, %44, %28
  %.031 = phi i32 [ 1, %28 ], [ 1, %44 ], [ 0, %46 ], [ 0, %.critedge ], [ 0, %19 ]
  ret i32 %.031
}

attributes #0 = { mustprogress 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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { 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 #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 willreturn memory(read) }
attributes #6 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"file_content", !11, i64 0, !6, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 16}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!10, !11, i64 24}
!16 = !{!10, !11, i64 0}
!17 = !{!10, !11, i64 32}
!18 = !{!19, !19, i64 0}
!19 = !{!"short", !7, i64 0}
!20 = distinct !{!20, !14}


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