; LLVM IR from NCAR/FastEddy-model :: SRC/PARAMETERS (parameters)

; 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._pair_value_t = type { ptr, %union._value_t, i32, i32 }
%union._value_t = type { double }
%struct._entry_t_ = type { ptr, ptr, ptr }

@numErrors = external hidden global i32, align 4
@parameters_table = external hidden global ptr, align 8
@.str.19 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [51 x i8], align 1

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #0

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #2

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

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #4

declare ptr @lookup_pair(ptr noundef, ptr noundef) #1

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

declare i32 @add_pair(ptr noundef, 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) #3

; Function Attrs: nounwind uwtable
define dso_local i32 @queryStringParameter(ptr noundef %0, ptr noundef %1, i32 noundef %2) #6 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !9
  %12 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr null, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %13 = load ptr, ptr @parameters_table, align 8, !tbaa !5
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = call ptr @lookup_pair(ptr noundef %13, ptr noundef %14)
  store ptr %15, ptr %9, align 8, !tbaa !5
  %16 = load ptr, ptr %9, align 8, !tbaa !5
  %17 = icmp eq ptr %16, null
  br i1 %17, label %18, label %60

18:                                               ; preds = %3
  %19 = load i32, ptr %7, align 4, !tbaa !9
  %20 = icmp eq i32 %19, 0
  br i1 %20, label %21, label %23

21:                                               ; preds = %18
  store i32 209, ptr %8, align 4, !tbaa !9
  %22 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %22, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %123

23:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %24 = call noalias ptr @malloc(i64 noundef 24) #8
  store ptr %24, ptr %11, align 8, !tbaa !5
  %25 = load ptr, ptr %11, align 8, !tbaa !5
  %26 = icmp eq ptr %25, null
  br i1 %26, label %27, label %30

27:                                               ; preds = %23
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, ptr noundef %28)
  call void @exit(i32 noundef 200) #9
  unreachable

30:                                               ; preds = %23
  %31 = load ptr, ptr %11, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct._pair_value_t, ptr %31, i32 0, i32 0
  store ptr null, ptr %32, align 8, !tbaa !11
  %33 = load ptr, ptr @parameters_table, align 8, !tbaa !5
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = load ptr, ptr %11, align 8, !tbaa !5
  %36 = call i32 @add_pair(ptr noundef %33, ptr noundef %34, ptr noundef %35)
  %37 = load i32, ptr %7, align 4, !tbaa !9
  %38 = icmp eq i32 %37, 1
  br i1 %38, label %39, label %48

39:                                               ; preds = %30
  store i32 1000, ptr %8, align 4, !tbaa !9
  %40 = load ptr, ptr %11, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct._pair_value_t, ptr %40, i32 0, i32 2
  store i32 4, ptr %41, align 8, !tbaa !13
  %42 = load ptr, ptr %11, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct._pair_value_t, ptr %42, i32 0, i32 1
  store ptr null, ptr %43, align 8, !tbaa !14
  %44 = load ptr, ptr %11, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct._pair_value_t, ptr %44, i32 0, i32 3
  store i32 3, ptr %45, align 4, !tbaa !15
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.28, ptr noundef %46)
  br label %59

48:                                               ; preds = %30
  store i32 206, ptr %8, align 4, !tbaa !9
  %49 = load i32, ptr @numErrors, align 4, !tbaa !9
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr @numErrors, align 4, !tbaa !9
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, ptr noundef %51)
  %53 = load ptr, ptr %11, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct._pair_value_t, ptr %53, i32 0, i32 2
  store i32 4, ptr %54, align 8, !tbaa !13
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct._pair_value_t, ptr %55, i32 0, i32 1
  store ptr @.str.22, ptr %56, align 8, !tbaa !14
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct._pair_value_t, ptr %57, i32 0, i32 3
  store i32 4, ptr %58, align 4, !tbaa !15
  br label %59

59:                                               ; preds = %48, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %121

60:                                               ; preds = %3
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct._entry_t_, ptr %61, i32 0, i32 1
  %63 = load ptr, ptr %62, align 8, !tbaa !16
  %64 = getelementptr inbounds %struct._pair_value_t, ptr %63, i32 0, i32 2
  store i32 4, ptr %64, align 8, !tbaa !13
  %65 = load ptr, ptr %9, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct._entry_t_, ptr %65, i32 0, i32 1
  %67 = load ptr, ptr %66, align 8, !tbaa !16
  %68 = getelementptr inbounds %struct._pair_value_t, ptr %67, i32 0, i32 0
  %69 = load ptr, ptr %68, align 8, !tbaa !11
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct._entry_t_, ptr %70, i32 0, i32 1
  %72 = load ptr, ptr %71, align 8, !tbaa !16
  %73 = getelementptr inbounds %struct._pair_value_t, ptr %72, i32 0, i32 1
  store ptr %69, ptr %73, align 8, !tbaa !14
  %74 = load ptr, ptr %9, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct._entry_t_, ptr %74, i32 0, i32 1
  %76 = load ptr, ptr %75, align 8, !tbaa !16
  %77 = getelementptr inbounds %struct._pair_value_t, ptr %76, i32 0, i32 3
  store i32 1, ptr %77, align 4, !tbaa !15
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct._entry_t_, ptr %78, i32 0, i32 1
  %80 = load ptr, ptr %79, align 8, !tbaa !16
  %81 = getelementptr inbounds %struct._pair_value_t, ptr %80, i32 0, i32 0
  %82 = load ptr, ptr %81, align 8, !tbaa !11
  %83 = icmp ne ptr %82, null
  br i1 %83, label %84, label %102

84:                                               ; preds = %60
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct._entry_t_, ptr %85, i32 0, i32 1
  %87 = load ptr, ptr %86, align 8, !tbaa !16
  %88 = getelementptr inbounds %struct._pair_value_t, ptr %87, i32 0, i32 0
  %89 = load ptr, ptr %88, align 8, !tbaa !11
  %90 = call i64 @strlen(ptr noundef %89) #10
  %91 = add i64 %90, 1
  %92 = call noalias ptr @malloc(i64 noundef %91) #8
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %92, ptr %93, align 8, !tbaa !5
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = load ptr, ptr %94, align 8, !tbaa !5
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct._entry_t_, ptr %96, i32 0, i32 1
  %98 = load ptr, ptr %97, align 8, !tbaa !16
  %99 = getelementptr inbounds %struct._pair_value_t, ptr %98, i32 0, i32 0
  %100 = load ptr, ptr %99, align 8, !tbaa !11
  %101 = call ptr @strcpy(ptr noundef %95, ptr noundef %100) #7
  br label %104

102:                                              ; preds = %60
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr null, ptr %103, align 8, !tbaa !5
  br label %104

104:                                              ; preds = %102, %84
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = load ptr, ptr %105, align 8, !tbaa !5
  %107 = icmp eq ptr %106, null
  br i1 %107, label %108, label %120

108:                                              ; preds = %104
  %109 = load i32, ptr %7, align 4, !tbaa !9
  %110 = icmp eq i32 %109, 2
  br i1 %110, label %111, label %120

111:                                              ; preds = %108
  store i32 206, ptr %8, align 4, !tbaa !9
  %112 = load i32, ptr @numErrors, align 4, !tbaa !9
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr @numErrors, align 4, !tbaa !9
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct._entry_t_, ptr %114, i32 0, i32 1
  %116 = load ptr, ptr %115, align 8, !tbaa !16
  %117 = getelementptr inbounds %struct._pair_value_t, ptr %116, i32 0, i32 3
  store i32 4, ptr %117, align 4, !tbaa !15
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, ptr noundef %118)
  br label %120

120:                                              ; preds = %111, %108, %104
  br label %121

121:                                              ; preds = %120, %59
  %122 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %122, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %123

123:                                              ; preds = %121, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  %124 = load i32, ptr %4, align 4
  ret i32 %124
}

attributes #0 = { nounwind allocsize(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 = { "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 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { nounwind allocsize(0) }
attributes #9 = { noreturn nounwind }
attributes #10 = { 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, !6, i64 0}
!12 = !{!"_pair_value_t", !6, i64 0, !7, i64 8, !10, i64 16, !10, i64 20}
!13 = !{!12, !10, i64 16}
!14 = !{!7, !7, i64 0}
!15 = !{!12, !10, i64 20}
!16 = !{!17, !6, i64 8}
!17 = !{!"_entry_t_", !6, i64 0, !6, i64 8, !6, i64 16}


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

@numErrors = external hidden local_unnamed_addr global i32, align 4
@parameters_table = external hidden local_unnamed_addr global ptr, align 8
@.str.19 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [51 x i8], align 1

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3

declare ptr @lookup_pair(ptr noundef, ptr noundef) local_unnamed_addr #4

; 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 #5

declare i32 @add_pair(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 1001) i32 @queryStringParameter(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) local_unnamed_addr #6 {
  store ptr null, ptr %1, align 8, !tbaa !5
  %4 = load ptr, ptr @parameters_table, align 8, !tbaa !5
  %5 = tail call ptr @lookup_pair(ptr noundef %4, ptr noundef %0) #7
  %6 = icmp eq ptr %5, null
  br i1 %6, label %7, label %30

7:                                                ; preds = %3
  %8 = icmp eq i32 %2, 0
  br i1 %8, label %57, label %9

9:                                                ; preds = %7
  %10 = tail call noalias dereferenceable_or_null(24) ptr @malloc(i64 noundef 24) #8
  %11 = icmp eq ptr %10, null
  br i1 %11, label %12, label %14

12:                                               ; preds = %9
  %13 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.19, ptr noundef %0)
  tail call void @exit(i32 noundef 200) #9
  unreachable

14:                                               ; preds = %9
  store ptr null, ptr %10, align 8, !tbaa !9
  %15 = load ptr, ptr @parameters_table, align 8, !tbaa !5
  %16 = tail call i32 @add_pair(ptr noundef %15, ptr noundef %0, ptr noundef nonnull %10) #7
  %17 = icmp eq i32 %2, 1
  br i1 %17, label %18, label %23

18:                                               ; preds = %14
  %19 = getelementptr inbounds i8, ptr %10, i64 16
  store i32 4, ptr %19, align 8, !tbaa !12
  %20 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr null, ptr %20, align 8, !tbaa !13
  %21 = getelementptr inbounds i8, ptr %10, i64 20
  store i32 3, ptr %21, align 4, !tbaa !14
  %22 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.28, ptr noundef %0)
  br label %57

23:                                               ; preds = %14
  %24 = load i32, ptr @numErrors, align 4, !tbaa !15
  %25 = add nsw i32 %24, 1
  store i32 %25, ptr @numErrors, align 4, !tbaa !15
  %26 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.21, ptr noundef %0)
  %27 = getelementptr inbounds i8, ptr %10, i64 16
  store i32 4, ptr %27, align 8, !tbaa !12
  %28 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr @.str.22, ptr %28, align 8, !tbaa !13
  %29 = getelementptr inbounds i8, ptr %10, i64 20
  store i32 4, ptr %29, align 4, !tbaa !14
  br label %57

30:                                               ; preds = %3
  %31 = getelementptr inbounds i8, ptr %5, i64 8
  %32 = load ptr, ptr %31, align 8, !tbaa !16
  %33 = getelementptr inbounds i8, ptr %32, i64 16
  store i32 4, ptr %33, align 8, !tbaa !12
  %34 = load ptr, ptr %32, align 8, !tbaa !9
  %35 = getelementptr inbounds i8, ptr %32, i64 8
  store ptr %34, ptr %35, align 8, !tbaa !13
  %36 = load ptr, ptr %31, align 8, !tbaa !16
  %37 = getelementptr inbounds i8, ptr %36, i64 20
  store i32 1, ptr %37, align 4, !tbaa !14
  %38 = load ptr, ptr %36, align 8, !tbaa !9
  %.not = icmp eq ptr %38, null
  br i1 %.not, label %47, label %39

39:                                               ; preds = %30
  %40 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %38) #10
  %41 = add i64 %40, 1
  %42 = tail call noalias ptr @malloc(i64 noundef %41) #8
  store ptr %42, ptr %1, align 8, !tbaa !5
  %43 = load ptr, ptr %31, align 8, !tbaa !16
  %44 = load ptr, ptr %43, align 8, !tbaa !9
  %45 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %42, ptr noundef nonnull dereferenceable(1) %44) #7
  %46 = icmp eq ptr %42, null
  br label %48

47:                                               ; preds = %30
  store ptr null, ptr %1, align 8, !tbaa !5
  br label %48

48:                                               ; preds = %47, %39
  %49 = phi i1 [ true, %47 ], [ %46, %39 ]
  %50 = icmp eq i32 %2, 2
  %or.cond = and i1 %50, %49
  br i1 %or.cond, label %51, label %57

51:                                               ; preds = %48
  %52 = load i32, ptr @numErrors, align 4, !tbaa !15
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr @numErrors, align 4, !tbaa !15
  %54 = load ptr, ptr %31, align 8, !tbaa !16
  %55 = getelementptr inbounds i8, ptr %54, i64 20
  store i32 4, ptr %55, align 4, !tbaa !14
  %56 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.21, ptr noundef %0)
  br label %57

57:                                               ; preds = %51, %48, %23, %18, %7
  %.0 = phi i32 [ 209, %7 ], [ 206, %51 ], [ 0, %48 ], [ 1000, %18 ], [ 206, %23 ]
  ret i32 %.0
}

attributes #0 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { 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 = { 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 #4 = { "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 = { 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { nounwind allocsize(0) }
attributes #9 = { noreturn nounwind }
attributes #10 = { 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, !6, i64 0}
!10 = !{!"_pair_value_t", !6, i64 0, !7, i64 8, !11, i64 16, !11, i64 20}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 16}
!13 = !{!7, !7, i64 0}
!14 = !{!10, !11, i64 20}
!15 = !{!11, !11, i64 0}
!16 = !{!17, !6, i64 8}
!17 = !{!"_entry_t_", !6, i64 0, !6, i64 8, !6, i64 16}


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