; LLVM IR from mbheinen/bpa-ipf-tsp :: libgui (dmgr)

; 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.DBID = type { ptr, i64, i64, i64, i64, i64, i64, ptr, i64 }
%struct.schem = type { i8, i8, i64, i64, i64, ptr }

@.str.2 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [22 x i8], align 1
@__PRETTY_FUNCTION__.ll_insert = external hidden unnamed_addr constant [68 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [37 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @db_resetlock(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @db_setlock(ptr noundef) #0

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @db_exit(ptr noundef) #0

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

; Function Attrs: nounwind uwtable
define dso_local i32 @ll_insert(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i8 noundef signext %4) #0 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i8, align 1
  %12 = alloca [80 x i8], align 16
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store i64 %3, ptr %10, align 8, !tbaa !9
  store i8 %4, ptr %11, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 80, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = load ptr, ptr %19, align 8, !tbaa !5
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.DBID, ptr %21, i32 0, i32 0
  %23 = load ptr, ptr %22, align 8, !tbaa !12
  %24 = load i64, ptr %10, align 8, !tbaa !9
  %25 = getelementptr inbounds [0 x %struct.schem], ptr %23, i64 0, i64 %24
  %26 = getelementptr inbounds %struct.schem, ptr %25, i32 0, i32 3
  %27 = load i64, ptr %26, align 8, !tbaa !14
  %28 = mul nsw i64 %27, 3
  %29 = sub i64 0, %28
  %30 = getelementptr inbounds ptr, ptr %20, i64 %29
  store ptr %30, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %31 = load ptr, ptr %14, align 8, !tbaa !5
  %32 = getelementptr inbounds ptr, ptr %31, i64 -1
  store ptr %32, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %33 = load i64, ptr %10, align 8, !tbaa !9
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.DBID, ptr %34, i32 0, i32 4
  %36 = load i64, ptr %35, align 8, !tbaa !16
  %37 = icmp sle i64 %33, %36
  br i1 %37, label %38, label %39

38:                                               ; preds = %5
  br label %40

39:                                               ; preds = %5
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.2, i32 noundef 1100, ptr noundef @__PRETTY_FUNCTION__.ll_insert) #5
  unreachable

40:                                               ; preds = %38
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.DBID, ptr %41, i32 0, i32 0
  %43 = load ptr, ptr %42, align 8, !tbaa !12
  %44 = load i64, ptr %10, align 8, !tbaa !9
  %45 = getelementptr inbounds [0 x %struct.schem], ptr %43, i64 0, i64 %44
  %46 = getelementptr inbounds %struct.schem, ptr %45, i32 0, i32 1
  %47 = load i8, ptr %46, align 1, !tbaa !17
  %48 = sext i8 %47 to i32
  %49 = icmp eq i32 %48, 108
  br i1 %49, label %50, label %51

50:                                               ; preds = %40
  br label %52

51:                                               ; preds = %40
  call void @__assert_fail(ptr noundef @.str.22, ptr noundef @.str.2, i32 noundef 1101, ptr noundef @__PRETTY_FUNCTION__.ll_insert) #5
  unreachable

52:                                               ; preds = %50
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = load ptr, ptr %53, align 8, !tbaa !5
  %55 = icmp ne ptr %54, null
  br i1 %55, label %56, label %57

56:                                               ; preds = %52
  br label %58

57:                                               ; preds = %52
  call void @__assert_fail(ptr noundef @.str.23, ptr noundef @.str.2, i32 noundef 1102, ptr noundef @__PRETTY_FUNCTION__.ll_insert) #5
  unreachable

58:                                               ; preds = %56
  %59 = load ptr, ptr %15, align 8, !tbaa !5
  %60 = getelementptr inbounds ptr, ptr %59, i64 -2
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  %62 = ptrtoint ptr %61 to i64
  %63 = and i64 %62, 1
  %64 = icmp eq i64 %63, 1
  br i1 %64, label %65, label %66

65:                                               ; preds = %58
  br label %67

66:                                               ; preds = %58
  call void @__assert_fail(ptr noundef @.str.24, ptr noundef @.str.2, i32 noundef 1103, ptr noundef @__PRETTY_FUNCTION__.ll_insert) #5
  unreachable

67:                                               ; preds = %65
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.DBID, ptr %68, i32 0, i32 0
  %70 = load ptr, ptr %69, align 8, !tbaa !12
  %71 = load i64, ptr %10, align 8, !tbaa !9
  %72 = getelementptr inbounds [0 x %struct.schem], ptr %70, i64 0, i64 %71
  %73 = getelementptr inbounds %struct.schem, ptr %72, i32 0, i32 2
  %74 = load i64, ptr %73, align 8, !tbaa !18
  %75 = call i32 @db_newlink(ptr noundef %13, i64 noundef 3, i64 noundef %74)
  store i32 %75, ptr %17, align 4, !tbaa !19
  %76 = load i32, ptr %17, align 4, !tbaa !19
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %78, label %80

78:                                               ; preds = %67
  %79 = load i32, ptr %17, align 4, !tbaa !19
  store i32 %79, ptr %6, align 4
  store i32 1, ptr %18, align 4
  br label %130

80:                                               ; preds = %67
  %81 = load ptr, ptr %7, align 8, !tbaa !5
  call void @db_setlock(ptr noundef %81)
  %82 = load ptr, ptr %13, align 8, !tbaa !5
  %83 = getelementptr inbounds ptr, ptr %82, i64 -1
  store ptr %83, ptr %16, align 8, !tbaa !5
  %84 = load i8, ptr %11, align 1, !tbaa !11
  %85 = sext i8 %84 to i32
  switch i32 %85, label %120 [
    i32 70, label %86
    i32 102, label %86
    i32 76, label %103
    i32 108, label %103
  ]

86:                                               ; preds = %80, %80
  %87 = load ptr, ptr %15, align 8, !tbaa !5
  %88 = getelementptr inbounds ptr, ptr %87, i64 0
  %89 = load ptr, ptr %88, align 8, !tbaa !5
  %90 = load ptr, ptr %16, align 8, !tbaa !5
  %91 = getelementptr inbounds ptr, ptr %90, i64 0
  store ptr %89, ptr %91, align 8, !tbaa !5
  %92 = load ptr, ptr %13, align 8, !tbaa !5
  %93 = load ptr, ptr %15, align 8, !tbaa !5
  %94 = getelementptr inbounds ptr, ptr %93, i64 0
  %95 = load ptr, ptr %94, align 8, !tbaa !5
  %96 = getelementptr inbounds ptr, ptr %95, i64 -2
  store ptr %92, ptr %96, align 8, !tbaa !5
  %97 = load ptr, ptr %13, align 8, !tbaa !5
  %98 = load ptr, ptr %15, align 8, !tbaa !5
  %99 = getelementptr inbounds ptr, ptr %98, i64 0
  store ptr %97, ptr %99, align 8, !tbaa !5
  %100 = load ptr, ptr %14, align 8, !tbaa !5
  %101 = load ptr, ptr %16, align 8, !tbaa !5
  %102 = getelementptr inbounds ptr, ptr %101, i64 -1
  store ptr %100, ptr %102, align 8, !tbaa !5
  br label %126

103:                                              ; preds = %80, %80
  %104 = load ptr, ptr %15, align 8, !tbaa !5
  %105 = getelementptr inbounds ptr, ptr %104, i64 -1
  %106 = load ptr, ptr %105, align 8, !tbaa !5
  %107 = load ptr, ptr %16, align 8, !tbaa !5
  %108 = getelementptr inbounds ptr, ptr %107, i64 -1
  store ptr %106, ptr %108, align 8, !tbaa !5
  %109 = load ptr, ptr %13, align 8, !tbaa !5
  %110 = load ptr, ptr %15, align 8, !tbaa !5
  %111 = getelementptr inbounds ptr, ptr %110, i64 -1
  %112 = load ptr, ptr %111, align 8, !tbaa !5
  %113 = getelementptr inbounds ptr, ptr %112, i64 -1
  store ptr %109, ptr %113, align 8, !tbaa !5
  %114 = load ptr, ptr %13, align 8, !tbaa !5
  %115 = load ptr, ptr %15, align 8, !tbaa !5
  %116 = getelementptr inbounds ptr, ptr %115, i64 -1
  store ptr %114, ptr %116, align 8, !tbaa !5
  %117 = load ptr, ptr %14, align 8, !tbaa !5
  %118 = load ptr, ptr %16, align 8, !tbaa !5
  %119 = getelementptr inbounds ptr, ptr %118, i64 0
  store ptr %117, ptr %119, align 8, !tbaa !5
  br label %126

120:                                              ; preds = %80
  %121 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
  %122 = load i8, ptr %11, align 1, !tbaa !11
  %123 = sext i8 %122 to i32
  %124 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %121, ptr noundef @.str.25, i32 noundef %123) #4
  %125 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
  call void @db_exit(ptr noundef %125)
  br label %126

126:                                              ; preds = %120, %103, %86
  %127 = load ptr, ptr %13, align 8, !tbaa !5
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %127, ptr %128, align 8, !tbaa !5
  %129 = load ptr, ptr %7, align 8, !tbaa !5
  call void @db_resetlock(ptr noundef %129)
  store i32 0, ptr %6, align 4
  store i32 1, ptr %18, align 4
  br label %130

130:                                              ; preds = %126, %78
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %12) #4
  %131 = load i32, ptr %6, align 4
  ret i32 %131
}

; Function Attrs: nounwind uwtable
declare hidden i32 @db_newlink(ptr noundef, i64 noundef, i64 noundef) #0

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn 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 = { 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 }
attributes #5 = { noreturn 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 = !{!"long", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"", !6, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !6, i64 56, !10, i64 64}
!14 = !{!15, !10, i64 16}
!15 = !{!"schem", !7, i64 0, !7, i64 1, !10, i64 8, !10, i64 16, !10, i64 24, !6, i64 32}
!16 = !{!13, !10, i64 32}
!17 = !{!15, !7, i64 1}
!18 = !{!15, !10, i64 8}
!19 = !{!20, !20, i64 0}
!20 = !{!"int", !7, i64 0}


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

%struct.schem = type { i8, i8, i64, i64, i64, ptr }

@.str.2 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [22 x i8], align 1
@__PRETTY_FUNCTION__.ll_insert = external hidden unnamed_addr constant [68 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [37 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @db_resetlock(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @db_setlock(ptr noundef) local_unnamed_addr #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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden void @db_exit(ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local i32 @ll_insert(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, i64 noundef %3, i8 noundef signext %4) local_unnamed_addr #0 {
  %6 = alloca [80 x i8], align 16
  %7 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  %8 = load ptr, ptr %1, align 8, !tbaa !5
  %9 = load ptr, ptr %0, align 8, !tbaa !9
  %10 = getelementptr inbounds [0 x %struct.schem], ptr %9, i64 0, i64 %3
  %11 = getelementptr inbounds i8, ptr %10, i64 16
  %12 = load i64, ptr %11, align 8, !tbaa !12
  %.idx = mul i64 %12, -24
  %13 = getelementptr inbounds i8, ptr %8, i64 %.idx
  %14 = getelementptr inbounds i8, ptr %13, i64 -8
  %15 = getelementptr inbounds i8, ptr %0, i64 32
  %16 = load i64, ptr %15, align 8, !tbaa !14
  %.not = icmp slt i64 %16, %3
  br i1 %.not, label %17, label %18

17:                                               ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.2, i32 noundef 1100, ptr noundef nonnull @__PRETTY_FUNCTION__.ll_insert) #5
  unreachable

18:                                               ; preds = %5
  %19 = getelementptr inbounds i8, ptr %10, i64 1
  %20 = load i8, ptr %19, align 1, !tbaa !15
  %21 = icmp eq i8 %20, 108
  br i1 %21, label %23, label %22

22:                                               ; preds = %18
  tail call void @__assert_fail(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.2, i32 noundef 1101, ptr noundef nonnull @__PRETTY_FUNCTION__.ll_insert) #5
  unreachable

23:                                               ; preds = %18
  %.not32 = icmp eq ptr %8, null
  br i1 %.not32, label %24, label %25

24:                                               ; preds = %23
  tail call void @__assert_fail(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.2, i32 noundef 1102, ptr noundef nonnull @__PRETTY_FUNCTION__.ll_insert) #5
  unreachable

25:                                               ; preds = %23
  %26 = getelementptr inbounds i8, ptr %13, i64 -24
  %27 = load ptr, ptr %26, align 8, !tbaa !5
  %28 = ptrtoint ptr %27 to i64
  %29 = and i64 %28, 1
  %.not33 = icmp eq i64 %29, 0
  br i1 %.not33, label %30, label %31

30:                                               ; preds = %25
  tail call void @__assert_fail(ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.2, i32 noundef 1103, ptr noundef nonnull @__PRETTY_FUNCTION__.ll_insert) #5
  unreachable

31:                                               ; preds = %25
  %32 = getelementptr inbounds i8, ptr %10, i64 8
  %33 = load i64, ptr %32, align 8, !tbaa !16
  %34 = call i32 @db_newlink(ptr noundef nonnull %7, i64 noundef 3, i64 noundef %33)
  %.not34 = icmp eq i32 %34, 0
  br i1 %.not34, label %35, label %54

35:                                               ; preds = %31
  call void @db_setlock(ptr noundef nonnull %0)
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %36, i64 -8
  switch i8 %4, label %49 [
    i8 70, label %38
    i8 102, label %38
    i8 76, label %43
    i8 108, label %43
  ]

38:                                               ; preds = %35, %35
  %39 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %39, ptr %37, align 8, !tbaa !5
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %39, i64 -16
  store ptr %40, ptr %41, align 8, !tbaa !5
  store ptr %40, ptr %14, align 8, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %36, i64 -16
  store ptr %13, ptr %42, align 8, !tbaa !5
  br label %52

43:                                               ; preds = %35, %35
  %44 = getelementptr inbounds i8, ptr %13, i64 -16
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %36, i64 -16
  store ptr %45, ptr %46, align 8, !tbaa !5
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %45, i64 -8
  store ptr %47, ptr %48, align 8, !tbaa !5
  store ptr %47, ptr %44, align 8, !tbaa !5
  store ptr %13, ptr %37, align 8, !tbaa !5
  br label %52

49:                                               ; preds = %35
  %50 = sext i8 %4 to i32
  %51 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.25, i32 noundef %50) #4
  call void @db_exit(ptr noundef nonnull %6)
  br label %52

52:                                               ; preds = %49, %43, %38
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %53, ptr %2, align 8, !tbaa !5
  call void @db_resetlock(ptr noundef nonnull %0)
  br label %54

54:                                               ; preds = %31, %52
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #4
  ret i32 %34
}

; Function Attrs: nounwind uwtable
declare hidden i32 @db_newlink(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn 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 = { 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 }
attributes #5 = { noreturn 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, !6, i64 0}
!10 = !{!"", !6, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !6, i64 56, !11, i64 64}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !11, i64 16}
!13 = !{!"schem", !7, i64 0, !7, i64 1, !11, i64 8, !11, i64 16, !11, i64 24, !6, i64 32}
!14 = !{!10, !11, i64 32}
!15 = !{!13, !7, i64 1}
!16 = !{!13, !11, i64 8}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass