; LLVM IR from NongMindHouse/MasterNongMind :: Archives (mm-genetic-5)

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

@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [16 x i8], align 1

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @CheckDuplicate(ptr noundef, ptr noundef, i32 noundef) #0

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

; Function Attrs: nounwind
declare i32 @rand() #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @GeneticEvolution(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca [4 x i32], align 16
  %3 = alloca [10 x [6 x i32]], align 16
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca [600 x [5 x i32]], align 16
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 240, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %16

16:                                               ; preds = %36, %0
  %17 = load i32, ptr %6, align 4, !tbaa !5
  %18 = icmp slt i32 %17, 10
  br i1 %18, label %20, label %19

19:                                               ; preds = %16
  store i32 2, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %39

20:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %21

21:                                               ; preds = %32, %20
  %22 = load i32, ptr %8, align 4, !tbaa !5
  %23 = icmp slt i32 %22, 6
  br i1 %23, label %25, label %24

24:                                               ; preds = %21
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %35

25:                                               ; preds = %21
  %26 = load i32, ptr %6, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [10 x [6 x i32]], ptr %3, i64 0, i64 %27
  %29 = load i32, ptr %8, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [6 x i32], ptr %28, i64 0, i64 %30
  store i32 0, ptr %31, align 4, !tbaa !5
  br label %32

32:                                               ; preds = %25
  %33 = load i32, ptr %8, align 4, !tbaa !5
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr %8, align 4, !tbaa !5
  br label %21, !llvm.loop !9

35:                                               ; preds = %24
  br label %36

36:                                               ; preds = %35
  %37 = load i32, ptr %6, align 4, !tbaa !5
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %6, align 4, !tbaa !5
  br label %16, !llvm.loop !11

39:                                               ; preds = %19
  %40 = call i64 @time(ptr noundef null) #4
  %41 = trunc i64 %40 to i32
  call void @srand(i32 noundef %41) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %42

42:                                               ; preds = %52, %39
  %43 = load i32, ptr %9, align 4, !tbaa !5
  %44 = icmp slt i32 %43, 4
  br i1 %44, label %46, label %45

45:                                               ; preds = %42
  store i32 8, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %55

46:                                               ; preds = %42
  %47 = call i32 @rand() #4
  %48 = srem i32 %47, 6
  %49 = load i32, ptr %9, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %50
  store i32 %48, ptr %51, align 4, !tbaa !5
  br label %52

52:                                               ; preds = %46
  %53 = load i32, ptr %9, align 4, !tbaa !5
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %9, align 4, !tbaa !5
  br label %42, !llvm.loop !12

55:                                               ; preds = %45
  %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  %57 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0
  call void @PrintCode(ptr noundef %57)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %58

58:                                               ; preds = %69, %55
  %59 = load i32, ptr %10, align 4, !tbaa !5
  %60 = icmp slt i32 %59, 4
  br i1 %60, label %62, label %61

61:                                               ; preds = %58
  store i32 11, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %72

62:                                               ; preds = %58
  %63 = call i32 @rand() #4
  %64 = srem i32 %63, 6
  %65 = getelementptr inbounds [10 x [6 x i32]], ptr %3, i64 0, i64 0
  %66 = load i32, ptr %10, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [6 x i32], ptr %65, i64 0, i64 %67
  store i32 %64, ptr %68, align 4, !tbaa !5
  br label %69

69:                                               ; preds = %62
  %70 = load i32, ptr %10, align 4, !tbaa !5
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %10, align 4, !tbaa !5
  br label %58, !llvm.loop !13

72:                                               ; preds = %61
  %73 = getelementptr inbounds [10 x [6 x i32]], ptr %3, i64 0, i64 0
  %74 = getelementptr inbounds [6 x i32], ptr %73, i64 0, i64 0
  %75 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0
  %76 = getelementptr inbounds [10 x [6 x i32]], ptr %3, i64 0, i64 0
  %77 = getelementptr inbounds [6 x i32], ptr %76, i64 0, i64 4
  %78 = getelementptr inbounds [10 x [6 x i32]], ptr %3, i64 0, i64 0
  %79 = getelementptr inbounds [6 x i32], ptr %78, i64 0, i64 5
  call void @EvaluateGuess(ptr noundef %74, ptr noundef %75, ptr noundef %77, ptr noundef %79)
  %80 = getelementptr inbounds [10 x [6 x i32]], ptr %3, i64 0, i64 0
  %81 = getelementptr inbounds [6 x i32], ptr %80, i64 0, i64 4
  %82 = load i32, ptr %81, align 16, !tbaa !5
  %83 = getelementptr inbounds [10 x [6 x i32]], ptr %3, i64 0, i64 0
  %84 = getelementptr inbounds [6 x i32], ptr %83, i64 0, i64 5
  %85 = load i32, ptr %84, align 4, !tbaa !5
  %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %82, i32 noundef %85)
  %87 = getelementptr inbounds [10 x [6 x i32]], ptr %3, i64 0, i64 0
  %88 = getelementptr inbounds [6 x i32], ptr %87, i64 0, i64 0
  call void @PrintCode(ptr noundef %88)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %89

89:                                               ; preds = %186, %72
  %90 = load i32, ptr %4, align 4, !tbaa !5
  %91 = icmp ne i32 %90, 4
  br i1 %91, label %92, label %95

92:                                               ; preds = %89
  %93 = load i32, ptr %11, align 4, !tbaa !5
  %94 = icmp slt i32 %93, 10
  br label %95

95:                                               ; preds = %92, %89
  %96 = phi i1 [ false, %89 ], [ %94, %92 ]
  br i1 %96, label %97, label %187

97:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 12000, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %98 = getelementptr inbounds [600 x [5 x i32]], ptr %12, i64 0, i64 0
  %99 = getelementptr inbounds [10 x [6 x i32]], ptr %3, i64 0, i64 0
  %100 = load i32, ptr %11, align 4, !tbaa !5
  %101 = call i32 @GeneticEvolution(ptr noundef %98, ptr noundef %99, i32 noundef %100, i32 noundef 300)
  store i32 %101, ptr %13, align 4, !tbaa !5
  %102 = load i32, ptr %13, align 4, !tbaa !5
  %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %102)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %104

104:                                              ; preds = %113, %97
  %105 = load i32, ptr %14, align 4, !tbaa !5
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [600 x [5 x i32]], ptr %12, i64 0, i64 %106
  %108 = getelementptr inbounds [5 x i32], ptr %107, i64 0, i64 0
  %109 = getelementptr inbounds [10 x [6 x i32]], ptr %3, i64 0, i64 0
  %110 = load i32, ptr %11, align 4, !tbaa !5
  %111 = call i32 @CheckDuplicate(ptr noundef %108, ptr noundef %109, i32 noundef %110)
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %116

113:                                              ; preds = %104
  %114 = load i32, ptr %14, align 4, !tbaa !5
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %14, align 4, !tbaa !5
  br label %104, !llvm.loop !14

116:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %117

117:                                              ; preds = %135, %116
  %118 = load i32, ptr %15, align 4, !tbaa !5
  %119 = icmp slt i32 %118, 4
  br i1 %119, label %121, label %120

120:                                              ; preds = %117
  store i32 18, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %138

121:                                              ; preds = %117
  %122 = load i32, ptr %14, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [600 x [5 x i32]], ptr %12, i64 0, i64 %123
  %125 = load i32, ptr %15, align 4, !tbaa !5
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [5 x i32], ptr %124, i64 0, i64 %126
  %128 = load i32, ptr %127, align 4, !tbaa !5
  %129 = load i32, ptr %11, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [10 x [6 x i32]], ptr %3, i64 0, i64 %130
  %132 = load i32, ptr %15, align 4, !tbaa !5
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [6 x i32], ptr %131, i64 0, i64 %133
  store i32 %128, ptr %134, align 4, !tbaa !5
  br label %135

135:                                              ; preds = %121
  %136 = load i32, ptr %15, align 4, !tbaa !5
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %15, align 4, !tbaa !5
  br label %117, !llvm.loop !15

138:                                              ; preds = %120
  %139 = load i32, ptr %11, align 4, !tbaa !5
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds [10 x [6 x i32]], ptr %3, i64 0, i64 %140
  %142 = getelementptr inbounds [6 x i32], ptr %141, i64 0, i64 0
  %143 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0
  %144 = load i32, ptr %11, align 4, !tbaa !5
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds [10 x [6 x i32]], ptr %3, i64 0, i64 %145
  %147 = getelementptr inbounds [6 x i32], ptr %146, i64 0, i64 4
  %148 = load i32, ptr %11, align 4, !tbaa !5
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds [10 x [6 x i32]], ptr %3, i64 0, i64 %149
  %151 = getelementptr inbounds [6 x i32], ptr %150, i64 0, i64 5
  call void @EvaluateGuess(ptr noundef %142, ptr noundef %143, ptr noundef %147, ptr noundef %151)
  %152 = load i32, ptr %11, align 4, !tbaa !5
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [10 x [6 x i32]], ptr %3, i64 0, i64 %153
  %155 = getelementptr inbounds [6 x i32], ptr %154, i64 0, i64 4
  %156 = load i32, ptr %155, align 8, !tbaa !5
  %157 = load i32, ptr %11, align 4, !tbaa !5
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds [10 x [6 x i32]], ptr %3, i64 0, i64 %158
  %160 = getelementptr inbounds [6 x i32], ptr %159, i64 0, i64 5
  %161 = load i32, ptr %160, align 4, !tbaa !5
  %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %156, i32 noundef %161)
  %163 = load i32, ptr %14, align 4, !tbaa !5
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds [600 x [5 x i32]], ptr %12, i64 0, i64 %164
  %166 = getelementptr inbounds [5 x i32], ptr %165, i64 0, i64 0
  call void @PrintCode(ptr noundef %166)
  %167 = load i32, ptr %11, align 4, !tbaa !5
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds [10 x [6 x i32]], ptr %3, i64 0, i64 %168
  %170 = getelementptr inbounds [6 x i32], ptr %169, i64 0, i64 4
  %171 = load i32, ptr %170, align 8, !tbaa !5
  %172 = icmp eq i32 %171, 4
  br i1 %172, label %173, label %181

173:                                              ; preds = %138
  %174 = load i32, ptr %11, align 4, !tbaa !5
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [10 x [6 x i32]], ptr %3, i64 0, i64 %175
  %177 = getelementptr inbounds [6 x i32], ptr %176, i64 0, i64 0
  call void @PrintCode(ptr noundef %177)
  %178 = load i32, ptr %11, align 4, !tbaa !5
  %179 = add nsw i32 %178, 1
  %180 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %179)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %7, align 4
  br label %184

181:                                              ; preds = %138
  %182 = load i32, ptr %11, align 4, !tbaa !5
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %11, align 4, !tbaa !5
  store i32 0, ptr %7, align 4
  br label %184

184:                                              ; preds = %181, %173
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 12000, ptr %12) #4
  %185 = load i32, ptr %7, align 4
  switch i32 %185, label %189 [
    i32 0, label %186
  ]

186:                                              ; preds = %184
  br label %89, !llvm.loop !16

187:                                              ; preds = %95
  %188 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %7, align 4
  br label %189

189:                                              ; preds = %187, %184
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 240, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #4
  %190 = load i32, ptr %1, align 4
  ret i32 %190
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) #3

; Function Attrs: nounwind
declare i64 @time(ptr noundef) #3

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 = { "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 }

!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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}


; 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.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @PrintCode(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: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

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

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca [4 x i32], align 16
  %2 = alloca [10 x [6 x i32]], align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 240, ptr nonnull %2) #5
  %3 = getelementptr inbounds i8, ptr %2, i64 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(240) %3, i8 0, i64 224, i1 false), !tbaa !5
  %4 = tail call i64 @time(ptr noundef null) #5
  %5 = trunc i64 %4 to i32
  tail call void @srand(i32 noundef %5) #5
  %6 = tail call i32 @rand() #5
  %7 = srem i32 %6, 6
  store i32 %7, ptr %1, align 16, !tbaa !5
  %8 = tail call i32 @rand() #5
  %9 = srem i32 %8, 6
  %10 = getelementptr inbounds i8, ptr %1, i64 4
  store i32 %9, ptr %10, align 4, !tbaa !5
  %11 = tail call i32 @rand() #5
  %12 = srem i32 %11, 6
  %13 = getelementptr inbounds i8, ptr %1, i64 8
  store i32 %12, ptr %13, align 8, !tbaa !5
  %14 = tail call i32 @rand() #5
  %15 = srem i32 %14, 6
  %16 = getelementptr inbounds i8, ptr %1, i64 12
  store i32 %15, ptr %16, align 4, !tbaa !5
  %17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  call void @PrintCode(ptr noundef nonnull %1)
  %18 = call i32 @rand() #5
  %19 = srem i32 %18, 6
  store i32 %19, ptr %2, align 16, !tbaa !5
  %20 = call i32 @rand() #5
  %21 = srem i32 %20, 6
  %22 = getelementptr inbounds i8, ptr %2, i64 4
  store i32 %21, ptr %22, align 4, !tbaa !5
  %23 = call i32 @rand() #5
  %24 = srem i32 %23, 6
  %25 = getelementptr inbounds i8, ptr %2, i64 8
  store i32 %24, ptr %25, align 8, !tbaa !5
  %26 = call i32 @rand() #5
  %27 = srem i32 %26, 6
  %28 = getelementptr inbounds i8, ptr %2, i64 12
  store i32 %27, ptr %28, align 4, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %2, i64 16
  %30 = getelementptr inbounds i8, ptr %2, i64 20
  call void @EvaluateGuess(ptr noundef nonnull %2, ptr noundef nonnull %1, ptr noundef nonnull %29, ptr noundef nonnull %30)
  %31 = load i32, ptr %29, align 16, !tbaa !5
  %32 = load i32, ptr %30, align 4, !tbaa !5
  %33 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %31, i32 noundef %32)
  call void @PrintCode(ptr noundef nonnull %2)
  %34 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #5
  ret i32 0
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare i64 @time(ptr noundef) local_unnamed_addr #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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 = { 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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


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