; LLVM IR from mrbid/CSGO_TENSOR_TRIGGER :: GOBOT15/KERAS2C/CNN (aim)

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

%union._XEvent = type { [24 x i64] }
%struct.XWindowAttributes = type { i32, i32, i32, i32, i32, i32, ptr, i64, i32, i32, i32, i32, i64, i64, i32, i64, i32, i32, i64, i64, i64, i32, ptr }
%struct.anon = type { ptr, ptr, i32, i32, i32, i32, ptr, i64, i64, i64, i32, ptr, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, ptr, i32, i64, i64, ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr, i32, i32, ptr, i64, i64, i32, i32, ptr, ptr, i32, ptr }
%struct.Screen = type { ptr, ptr, i64, i32, i32, i32, i32, i32, ptr, i32, ptr, ptr, i64, i64, i64, i32, i32, i32, i32, i64 }
%struct.XButtonEvent = type { i32, i64, i32, ptr, i64, i64, i64, i64, i32, i32, i32, i32, i32, i32, i32 }

@x = external dso_local global i32, align 4
@y = external dso_local global i32, align 4
@twin = external dso_local global i64, align 8
@gc = external dso_local global ptr, align 8
@pgmbytes = external dso_local global [784 x i8], align 16
@sps = external dso_local global i32, align 4
@enable = external dso_local global i32, align 4
@sample_capture = external dso_local global i32, align 4
@crosshair = external dso_local global i32, align 4
@hotkeys = external dso_local global i32, align 4
@d = external dso_local global ptr, align 8
@.str.28 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [24 x i8], align 1
@si = external dso_local global i32, align 4
@.str.30 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [4 x i8], align 1
@main.st = external hidden global i64, align 8
@.str.34 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [5 x i8], align 1
@targets_dir = external dso_local global [256 x i8], align 16
@.str.40 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [7 x i8], align 1
@main.scd = external hidden global i64, align 8
@.str.43 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local float @processNet() #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: nounwind
declare i32 @rand() #2

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

; Function Attrs: nounwind uwtable
declare dso_local i64 @microtime() #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @key_is_pressed(i64 noundef) #0

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

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

declare i32 @sleep(i32 noundef) #4

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

; Function Attrs: nounwind uwtable
declare dso_local void @reprint() #0

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %union._XEvent, align 8
  %7 = alloca i32, align 4
  %8 = alloca %struct.XWindowAttributes, align 8
  %9 = alloca ptr, align 8
  %10 = alloca [32 x i8], align 16
  %11 = alloca float, align 4
  %12 = alloca i32, align 4
  %13 = alloca float, align 4
  %14 = alloca [32 x i8], align 16
  %15 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %16 = call i64 @time(ptr noundef null) #5
  %17 = trunc i64 %16 to i32
  call void @srand(i32 noundef %17) #5
  call void (...) @processModel_initialize()
  call void @reprint()
  %18 = call ptr @XOpenDisplay(ptr noundef @.str.28)
  store ptr %18, ptr @d, align 8, !tbaa !9
  %19 = load ptr, ptr @d, align 8, !tbaa !9
  %20 = icmp eq ptr %19, null
  br i1 %20, label %21, label %23

21:                                               ; preds = %2
  %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.29)
  ret i32 0

23:                                               ; preds = %2
  %24 = load ptr, ptr @d, align 8, !tbaa !9
  %25 = call i32 @XDefaultScreen(ptr noundef %24)
  store i32 %25, ptr @si, align 4, !tbaa !5
  %26 = load ptr, ptr @d, align 8, !tbaa !9
  %27 = getelementptr inbounds %struct.anon, ptr %26, i32 0, i32 35
  %28 = load ptr, ptr %27, align 8, !tbaa !11
  %29 = load i32, ptr @si, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds %struct.Screen, ptr %28, i64 %30
  %32 = getelementptr inbounds %struct.Screen, ptr %31, i32 0, i32 11
  %33 = load ptr, ptr %32, align 8, !tbaa !14
  store ptr %33, ptr @gc, align 8, !tbaa !9
  %34 = load ptr, ptr @d, align 8, !tbaa !9
  %35 = call i64 @findWindow(ptr noundef %34, i64 noundef 0, ptr noundef @.str.30)
  store i64 %35, ptr @twin, align 8, !tbaa !16
  %36 = load i64, ptr @twin, align 8, !tbaa !16
  %37 = icmp ne i64 %36, 0
  br i1 %37, label %38, label %39

38:                                               ; preds = %23
  call void @reprint()
  br label %39

39:                                               ; preds = %38, %23
  call void @llvm.lifetime.start.p0(i64 192, ptr %6) #5
  call void @llvm.memset.p0.i64(ptr align 8 %6, i8 0, i64 192, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %40

40:                                               ; preds = %374, %56, %39
  br label %41

41:                                               ; preds = %40
  %42 = call i32 @usleep(i32 noundef 1000)
  %43 = call i32 @key_is_pressed(i64 noundef 65507)
  %44 = icmp ne i32 %43, 0
  br i1 %44, label %45, label %79

45:                                               ; preds = %41
  %46 = call i32 @key_is_pressed(i64 noundef 65513)
  %47 = icmp ne i32 %46, 0
  br i1 %47, label %48, label %79

48:                                               ; preds = %45
  %49 = load i32, ptr @enable, align 4, !tbaa !5
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %51, label %76

51:                                               ; preds = %48
  %52 = load ptr, ptr @d, align 8, !tbaa !9
  %53 = call i64 @findWindow(ptr noundef %52, i64 noundef 0, ptr noundef @.str.30)
  store i64 %53, ptr @twin, align 8, !tbaa !16
  %54 = load i64, ptr @twin, align 8, !tbaa !16
  %55 = icmp eq i64 %54, 0
  br i1 %55, label %56, label %59

56:                                               ; preds = %51
  %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.31)
  %58 = call i32 @sleep(i32 noundef 1)
  br label %40

59:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 136, ptr %8) #5
  %60 = load ptr, ptr @d, align 8, !tbaa !9
  %61 = load i64, ptr @twin, align 8, !tbaa !16
  %62 = call i32 @XGetWindowAttributes(ptr noundef %60, i64 noundef %61, ptr noundef %8)
  %63 = getelementptr inbounds %struct.XWindowAttributes, ptr %8, i32 0, i32 2
  %64 = load i32, ptr %63, align 8, !tbaa !17
  %65 = sdiv i32 %64, 2
  store i32 %65, ptr @x, align 4, !tbaa !5
  %66 = getelementptr inbounds %struct.XWindowAttributes, ptr %8, i32 0, i32 3
  %67 = load i32, ptr %66, align 4, !tbaa !19
  %68 = sdiv i32 %67, 2
  store i32 %68, ptr @y, align 4, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %6, i8 0, i64 192, i1 false)
  store i32 4, ptr %6, align 8, !tbaa !20
  %69 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 13
  store i32 1, ptr %69, align 4, !tbaa !20
  %70 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 14
  store i32 1, ptr %70, align 8, !tbaa !20
  %71 = load i64, ptr @twin, align 8, !tbaa !16
  %72 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 6
  store i64 %71, ptr %72, align 8, !tbaa !20
  %73 = load i64, ptr @twin, align 8, !tbaa !16
  %74 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 4
  store i64 %73, ptr %74, align 8, !tbaa !20
  store i32 1, ptr @enable, align 4, !tbaa !5
  %75 = call i32 @usleep(i32 noundef 100000)
  call void @reprint()
  call void @speakS(ptr noundef @.str.32)
  call void @llvm.lifetime.end.p0(i64 136, ptr %8) #5
  br label %78

76:                                               ; preds = %48
  store i32 0, ptr @enable, align 4, !tbaa !5
  %77 = call i32 @usleep(i32 noundef 100000)
  call void @reprint()
  call void @speakS(ptr noundef @.str.33)
  br label %78

78:                                               ; preds = %76, %59
  br label %79

79:                                               ; preds = %78, %45, %41
  %80 = load i32, ptr @enable, align 4, !tbaa !5
  %81 = icmp eq i32 %80, 1
  br i1 %81, label %82, label %374

82:                                               ; preds = %79
  %83 = call i64 @microtime()
  %84 = load i64, ptr @main.st, align 8, !tbaa !16
  %85 = sub i64 %83, %84
  %86 = icmp uge i64 %85, 1000000
  br i1 %86, label %87, label %95

87:                                               ; preds = %82
  %88 = call i32 @key_is_pressed(i64 noundef 72)
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %90, label %93

90:                                               ; preds = %87
  %91 = load i32, ptr @sps, align 4, !tbaa !5
  %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.34, i32 noundef %91)
  br label %93

93:                                               ; preds = %90, %87
  store i32 0, ptr @sps, align 4, !tbaa !5
  %94 = call i64 @microtime()
  store i64 %94, ptr @main.st, align 8, !tbaa !16
  br label %95

95:                                               ; preds = %93, %82
  %96 = call i32 @key_is_pressed(i64 noundef 65508)
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %109

98:                                               ; preds = %95
  %99 = call i32 @key_is_pressed(i64 noundef 65514)
  %100 = icmp ne i32 %99, 0
  br i1 %100, label %101, label %109

101:                                              ; preds = %98
  %102 = load i32, ptr @hotkeys, align 4, !tbaa !5
  %103 = icmp eq i32 %102, 0
  br i1 %103, label %104, label %106

104:                                              ; preds = %101
  store i32 1, ptr @hotkeys, align 4, !tbaa !5
  %105 = call i32 @usleep(i32 noundef 100000)
  call void @reprint()
  call void @speakS(ptr noundef @.str.35)
  br label %108

106:                                              ; preds = %101
  store i32 0, ptr @hotkeys, align 4, !tbaa !5
  %107 = call i32 @usleep(i32 noundef 100000)
  call void @reprint()
  call void @speakS(ptr noundef @.str.36)
  br label %108

108:                                              ; preds = %106, %104
  br label %109

109:                                              ; preds = %108, %98, %95
  %110 = load i32, ptr @hotkeys, align 4, !tbaa !5
  %111 = icmp eq i32 %110, 1
  br i1 %111, label %112, label %158

112:                                              ; preds = %109
  %113 = call i32 @key_is_pressed(i64 noundef 80)
  %114 = icmp ne i32 %113, 0
  br i1 %114, label %115, label %123

115:                                              ; preds = %112
  %116 = load i32, ptr @crosshair, align 4, !tbaa !5
  %117 = icmp eq i32 %116, 0
  br i1 %117, label %118, label %120

118:                                              ; preds = %115
  store i32 1, ptr @crosshair, align 4, !tbaa !5
  %119 = call i32 @usleep(i32 noundef 100000)
  call void @reprint()
  call void @speakS(ptr noundef @.str.37)
  br label %122

120:                                              ; preds = %115
  store i32 0, ptr @crosshair, align 4, !tbaa !5
  %121 = call i32 @usleep(i32 noundef 100000)
  call void @reprint()
  call void @speakS(ptr noundef @.str.38)
  br label %122

122:                                              ; preds = %120, %118
  br label %123

123:                                              ; preds = %122, %112
  %124 = call i32 @key_is_pressed(i64 noundef 76)
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %138

126:                                              ; preds = %123
  %127 = load i32, ptr @sample_capture, align 4, !tbaa !5
  %128 = icmp eq i32 %127, 0
  br i1 %128, label %129, label %135

129:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %130 = call ptr @getenv(ptr noundef @.str.39) #5
  store ptr %130, ptr %9, align 8, !tbaa !9
  %131 = load ptr, ptr %9, align 8, !tbaa !9
  %132 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef @targets_dir, ptr noundef @.str.40, ptr noundef %131) #5
  %133 = call i32 @mkdir(ptr noundef @targets_dir, i32 noundef 511) #5
  store i32 1, ptr @sample_capture, align 4, !tbaa !5
  %134 = call i32 @usleep(i32 noundef 100000)
  call void @reprint()
  call void @speakS(ptr noundef @.str.41)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %137

135:                                              ; preds = %126
  store i32 0, ptr @sample_capture, align 4, !tbaa !5
  %136 = call i32 @usleep(i32 noundef 100000)
  call void @reprint()
  call void @speakS(ptr noundef @.str.42)
  br label %137

137:                                              ; preds = %135, %129
  br label %138

138:                                              ; preds = %137, %123
  %139 = load i32, ptr @sample_capture, align 4, !tbaa !5
  %140 = icmp eq i32 %139, 1
  br i1 %140, label %141, label %157

141:                                              ; preds = %138
  %142 = call i32 @key_is_pressed(i64 noundef 69)
  %143 = icmp ne i32 %142, 0
  br i1 %143, label %144, label %157

144:                                              ; preds = %141
  %145 = call i64 @microtime()
  %146 = load i64, ptr @main.scd, align 8, !tbaa !16
  %147 = icmp ugt i64 %145, %146
  br i1 %147, label %148, label %157

148:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #5
  %149 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0
  %150 = call i32 @rand() #5
  %151 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %149, ptr noundef @.str.43, ptr noundef @targets_dir, i32 noundef %150) #5
  %152 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0
  call void @writePGM(ptr noundef %152, ptr noundef @pgmbytes)
  %153 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0
  %154 = call i32 (ptr, ...) @printf(ptr noundef @.str.44, ptr noundef %153)
  %155 = call i64 @microtime()
  %156 = add i64 %155, 350000
  store i64 %156, ptr @main.scd, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #5
  br label %157

157:                                              ; preds = %148, %144, %141, %138
  br label %158

158:                                              ; preds = %157, %109
  %159 = load i32, ptr @hotkeys, align 4, !tbaa !5
  %160 = icmp eq i32 %159, 1
  br i1 %160, label %161, label %278

161:                                              ; preds = %158
  %162 = call i32 @key_is_pressed(i64 noundef 71)
  %163 = icmp ne i32 %162, 0
  br i1 %163, label %164, label %278

164:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %165 = call float @processNet()
  store float %165, ptr %11, align 4, !tbaa !21
  %166 = load float, ptr %11, align 4, !tbaa !21
  %167 = fcmp ogt float %166, 0x3F50624DE0000000
  br i1 %167, label %168, label %246

168:                                              ; preds = %164
  %169 = load float, ptr %11, align 4, !tbaa !21
  %170 = fcmp ogt float %169, 0x3FEF5C2900000000
  br i1 %170, label %171, label %205

171:                                              ; preds = %168
  %172 = load float, ptr %11, align 4, !tbaa !21
  %173 = fpext float %172 to double
  %174 = call i32 (ptr, ...) @printf(ptr noundef @.str.45, double noundef %173)
  %175 = load ptr, ptr @d, align 8, !tbaa !9
  %176 = load ptr, ptr @gc, align 8, !tbaa !9
  %177 = call i32 @XSetForeground(ptr noundef %175, ptr noundef %176, i64 noundef 65280)
  %178 = load ptr, ptr @d, align 8, !tbaa !9
  %179 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 4
  %180 = load i64, ptr %179, align 8, !tbaa !20
  %181 = load ptr, ptr @gc, align 8, !tbaa !9
  %182 = load i32, ptr @x, align 4, !tbaa !5
  %183 = sub i32 %182, 14
  %184 = sub i32 %183, 1
  %185 = load i32, ptr @y, align 4, !tbaa !5
  %186 = sub i32 %185, 14
  %187 = sub i32 %186, 1
  %188 = call i32 @XDrawRectangle(ptr noundef %178, i64 noundef %180, ptr noundef %181, i32 noundef %184, i32 noundef %187, i32 noundef 30, i32 noundef 30)
  %189 = load ptr, ptr @d, align 8, !tbaa !9
  %190 = load ptr, ptr @gc, align 8, !tbaa !9
  %191 = call i32 @XSetForeground(ptr noundef %189, ptr noundef %190, i64 noundef 0)
  %192 = load ptr, ptr @d, align 8, !tbaa !9
  %193 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 4
  %194 = load i64, ptr %193, align 8, !tbaa !20
  %195 = load ptr, ptr @gc, align 8, !tbaa !9
  %196 = load i32, ptr @x, align 4, !tbaa !5
  %197 = sub i32 %196, 14
  %198 = sub i32 %197, 2
  %199 = load i32, ptr @y, align 4, !tbaa !5
  %200 = sub i32 %199, 14
  %201 = sub i32 %200, 2
  %202 = call i32 @XDrawRectangle(ptr noundef %192, i64 noundef %194, ptr noundef %195, i32 noundef %198, i32 noundef %201, i32 noundef 32, i32 noundef 32)
  %203 = load ptr, ptr @d, align 8, !tbaa !9
  %204 = call i32 @XFlush(ptr noundef %203)
  br label %245

205:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %206 = load float, ptr %11, align 4, !tbaa !21
  %207 = fsub float 1.000000e+00, %206
  %208 = fmul float %207, 2.550000e+02
  %209 = fptoui float %208 to i32
  store i32 %209, ptr %12, align 4, !tbaa !5
  %210 = load i32, ptr %12, align 4, !tbaa !5
  %211 = load i32, ptr %12, align 4, !tbaa !5
  %212 = load float, ptr %11, align 4, !tbaa !21
  %213 = fpext float %212 to double
  %214 = call i32 (ptr, ...) @printf(ptr noundef @.str.46, i32 noundef %210, i32 noundef %211, double noundef %213)
  %215 = load ptr, ptr @d, align 8, !tbaa !9
  %216 = load ptr, ptr @gc, align 8, !tbaa !9
  %217 = call i32 @XSetForeground(ptr noundef %215, ptr noundef %216, i64 noundef 16711680)
  %218 = load ptr, ptr @d, align 8, !tbaa !9
  %219 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 4
  %220 = load i64, ptr %219, align 8, !tbaa !20
  %221 = load ptr, ptr @gc, align 8, !tbaa !9
  %222 = load i32, ptr @x, align 4, !tbaa !5
  %223 = sub i32 %222, 14
  %224 = sub i32 %223, 1
  %225 = load i32, ptr @y, align 4, !tbaa !5
  %226 = sub i32 %225, 14
  %227 = sub i32 %226, 1
  %228 = call i32 @XDrawRectangle(ptr noundef %218, i64 noundef %220, ptr noundef %221, i32 noundef %224, i32 noundef %227, i32 noundef 30, i32 noundef 30)
  %229 = load ptr, ptr @d, align 8, !tbaa !9
  %230 = load ptr, ptr @gc, align 8, !tbaa !9
  %231 = call i32 @XSetForeground(ptr noundef %229, ptr noundef %230, i64 noundef 0)
  %232 = load ptr, ptr @d, align 8, !tbaa !9
  %233 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 4
  %234 = load i64, ptr %233, align 8, !tbaa !20
  %235 = load ptr, ptr @gc, align 8, !tbaa !9
  %236 = load i32, ptr @x, align 4, !tbaa !5
  %237 = sub i32 %236, 14
  %238 = sub i32 %237, 2
  %239 = load i32, ptr @y, align 4, !tbaa !5
  %240 = sub i32 %239, 14
  %241 = sub i32 %240, 2
  %242 = call i32 @XDrawRectangle(ptr noundef %232, i64 noundef %234, ptr noundef %235, i32 noundef %238, i32 noundef %241, i32 noundef 32, i32 noundef 32)
  %243 = load ptr, ptr @d, align 8, !tbaa !9
  %244 = call i32 @XFlush(ptr noundef %243)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %245

245:                                              ; preds = %205, %171
  br label %277

246:                                              ; preds = %164
  %247 = load ptr, ptr @d, align 8, !tbaa !9
  %248 = load ptr, ptr @gc, align 8, !tbaa !9
  %249 = call i32 @XSetForeground(ptr noundef %247, ptr noundef %248, i64 noundef 16711680)
  %250 = load ptr, ptr @d, align 8, !tbaa !9
  %251 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 4
  %252 = load i64, ptr %251, align 8, !tbaa !20
  %253 = load ptr, ptr @gc, align 8, !tbaa !9
  %254 = load i32, ptr @x, align 4, !tbaa !5
  %255 = sub i32 %254, 14
  %256 = sub i32 %255, 1
  %257 = load i32, ptr @y, align 4, !tbaa !5
  %258 = sub i32 %257, 14
  %259 = sub i32 %258, 1
  %260 = call i32 @XDrawRectangle(ptr noundef %250, i64 noundef %252, ptr noundef %253, i32 noundef %256, i32 noundef %259, i32 noundef 30, i32 noundef 30)
  %261 = load ptr, ptr @d, align 8, !tbaa !9
  %262 = load ptr, ptr @gc, align 8, !tbaa !9
  %263 = call i32 @XSetForeground(ptr noundef %261, ptr noundef %262, i64 noundef 0)
  %264 = load ptr, ptr @d, align 8, !tbaa !9
  %265 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 4
  %266 = load i64, ptr %265, align 8, !tbaa !20
  %267 = load ptr, ptr @gc, align 8, !tbaa !9
  %268 = load i32, ptr @x, align 4, !tbaa !5
  %269 = sub i32 %268, 14
  %270 = sub i32 %269, 2
  %271 = load i32, ptr @y, align 4, !tbaa !5
  %272 = sub i32 %271, 14
  %273 = sub i32 %272, 2
  %274 = call i32 @XDrawRectangle(ptr noundef %264, i64 noundef %266, ptr noundef %267, i32 noundef %270, i32 noundef %273, i32 noundef 32, i32 noundef 32)
  %275 = load ptr, ptr @d, align 8, !tbaa !9
  %276 = call i32 @XFlush(ptr noundef %275)
  br label %277

277:                                              ; preds = %246, %245
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %373

278:                                              ; preds = %161, %158
  %279 = load i32, ptr @crosshair, align 4, !tbaa !5
  %280 = icmp eq i32 %279, 1
  br i1 %280, label %281, label %312

281:                                              ; preds = %278
  %282 = load ptr, ptr @d, align 8, !tbaa !9
  %283 = load ptr, ptr @gc, align 8, !tbaa !9
  %284 = call i32 @XSetForeground(ptr noundef %282, ptr noundef %283, i64 noundef 65280)
  %285 = load ptr, ptr @d, align 8, !tbaa !9
  %286 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 4
  %287 = load i64, ptr %286, align 8, !tbaa !20
  %288 = load ptr, ptr @gc, align 8, !tbaa !9
  %289 = load i32, ptr @x, align 4, !tbaa !5
  %290 = sub i32 %289, 14
  %291 = sub i32 %290, 1
  %292 = load i32, ptr @y, align 4, !tbaa !5
  %293 = sub i32 %292, 14
  %294 = sub i32 %293, 1
  %295 = call i32 @XDrawRectangle(ptr noundef %285, i64 noundef %287, ptr noundef %288, i32 noundef %291, i32 noundef %294, i32 noundef 30, i32 noundef 30)
  %296 = load ptr, ptr @d, align 8, !tbaa !9
  %297 = load ptr, ptr @gc, align 8, !tbaa !9
  %298 = call i32 @XSetForeground(ptr noundef %296, ptr noundef %297, i64 noundef 0)
  %299 = load ptr, ptr @d, align 8, !tbaa !9
  %300 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 4
  %301 = load i64, ptr %300, align 8, !tbaa !20
  %302 = load ptr, ptr @gc, align 8, !tbaa !9
  %303 = load i32, ptr @x, align 4, !tbaa !5
  %304 = sub i32 %303, 14
  %305 = sub i32 %304, 2
  %306 = load i32, ptr @y, align 4, !tbaa !5
  %307 = sub i32 %306, 14
  %308 = sub i32 %307, 2
  %309 = call i32 @XDrawRectangle(ptr noundef %299, i64 noundef %301, ptr noundef %302, i32 noundef %305, i32 noundef %308, i32 noundef 32, i32 noundef 32)
  %310 = load ptr, ptr @d, align 8, !tbaa !9
  %311 = call i32 @XFlush(ptr noundef %310)
  br label %312

312:                                              ; preds = %281, %278
  %313 = call i32 @key_is_pressed(i64 noundef 87)
  %314 = icmp eq i32 %313, 0
  br i1 %314, label %315, label %372

315:                                              ; preds = %312
  %316 = call i32 @key_is_pressed(i64 noundef 65)
  %317 = icmp eq i32 %316, 0
  br i1 %317, label %318, label %372

318:                                              ; preds = %315
  %319 = call i32 @key_is_pressed(i64 noundef 83)
  %320 = icmp eq i32 %319, 0
  br i1 %320, label %321, label %372

321:                                              ; preds = %318
  %322 = call i32 @key_is_pressed(i64 noundef 68)
  %323 = icmp eq i32 %322, 0
  br i1 %323, label %324, label %372

324:                                              ; preds = %321
  %325 = call i32 @key_is_pressed(i64 noundef 65505)
  %326 = icmp eq i32 %325, 0
  br i1 %326, label %327, label %372

327:                                              ; preds = %324
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %328 = call float @processNet()
  store float %328, ptr %13, align 4, !tbaa !21
  %329 = load float, ptr %13, align 4, !tbaa !21
  %330 = fcmp ogt float %329, 0x3FEF5C2900000000
  br i1 %330, label %331, label %370

331:                                              ; preds = %327
  %332 = load i32, ptr %7, align 4, !tbaa !5
  %333 = add i32 %332, 1
  store i32 %333, ptr %7, align 4, !tbaa !5
  %334 = load i32, ptr %7, align 4, !tbaa !5
  %335 = icmp ugt i32 %334, 0
  br i1 %335, label %336, label %369

336:                                              ; preds = %331
  %337 = load i32, ptr @sample_capture, align 4, !tbaa !5
  %338 = icmp eq i32 %337, 1
  br i1 %338, label %339, label %346

339:                                              ; preds = %336
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #5
  %340 = getelementptr inbounds [32 x i8], ptr %14, i64 0, i64 0
  %341 = call i32 @rand() #5
  %342 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %340, ptr noundef @.str.43, ptr noundef @targets_dir, i32 noundef %341) #5
  %343 = getelementptr inbounds [32 x i8], ptr %14, i64 0, i64 0
  call void @writePGM(ptr noundef %343, ptr noundef @pgmbytes)
  %344 = getelementptr inbounds [32 x i8], ptr %14, i64 0, i64 0
  %345 = call i32 (ptr, ...) @printf(ptr noundef @.str.47, ptr noundef %344)
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #5
  br label %346

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

347:                                              ; preds = %364, %346
  %348 = load i32, ptr %15, align 4, !tbaa !5
  %349 = icmp slt i32 %348, 1
  br i1 %349, label %351, label %350

350:                                              ; preds = %347
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %367

351:                                              ; preds = %347
  store i32 4, ptr %6, align 8, !tbaa !20
  %352 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 12
  store i32 0, ptr %352, align 8, !tbaa !20
  %353 = load ptr, ptr @d, align 8, !tbaa !9
  %354 = call i32 @XSendEvent(ptr noundef %353, i64 noundef 0, i32 noundef 1, i64 noundef 4095, ptr noundef %6)
  %355 = load ptr, ptr @d, align 8, !tbaa !9
  %356 = call i32 @XFlush(ptr noundef %355)
  %357 = call i32 @usleep(i32 noundef 100000)
  store i32 5, ptr %6, align 8, !tbaa !20
  %358 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 12
  store i32 256, ptr %358, align 8, !tbaa !20
  %359 = load ptr, ptr @d, align 8, !tbaa !9
  %360 = call i32 @XSendEvent(ptr noundef %359, i64 noundef 0, i32 noundef 1, i64 noundef 4095, ptr noundef %6)
  %361 = load ptr, ptr @d, align 8, !tbaa !9
  %362 = call i32 @XFlush(ptr noundef %361)
  %363 = call i32 @usleep(i32 noundef 30000)
  br label %364

364:                                              ; preds = %351
  %365 = load i32, ptr %15, align 4, !tbaa !5
  %366 = add nsw i32 %365, 1
  store i32 %366, ptr %15, align 4, !tbaa !5
  br label %347, !llvm.loop !23

367:                                              ; preds = %350
  %368 = call i32 @usleep(i32 noundef 100000)
  br label %369

369:                                              ; preds = %367, %331
  br label %371

370:                                              ; preds = %327
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %371

371:                                              ; preds = %370, %369
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %372

372:                                              ; preds = %371, %324, %321, %318, %315, %312
  br label %373

373:                                              ; preds = %372, %277
  br label %374

374:                                              ; preds = %373, %79
  br label %40
}

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

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

declare void @processModel_initialize(...) #4

declare ptr @XOpenDisplay(ptr noundef) #4

declare i32 @XDefaultScreen(ptr noundef) #4

declare i32 @usleep(i32 noundef) #4

declare i32 @XGetWindowAttributes(ptr noundef, i64 noundef, ptr noundef) #4

; Function Attrs: nounwind
declare ptr @getenv(ptr noundef) #2

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

declare i32 @XSetForeground(ptr noundef, ptr noundef, i64 noundef) #4

declare i32 @XDrawRectangle(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

declare i32 @XFlush(ptr noundef) #4

declare i32 @XSendEvent(ptr noundef, i64 noundef, i32 noundef, i64 noundef, ptr noundef) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 nounwind willreturn memory(argmem: write) }
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 = { 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, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 232}
!12 = !{!"", !10, i64 0, !10, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !10, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !6, i64 64, !10, i64 72, !6, i64 80, !6, i64 84, !6, i64 88, !6, i64 92, !6, i64 96, !10, i64 104, !6, i64 112, !6, i64 116, !10, i64 120, !10, i64 128, !6, i64 136, !13, i64 144, !13, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !6, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !6, i64 224, !6, i64 228, !10, i64 232, !13, i64 240, !13, i64 248, !6, i64 256, !6, i64 260, !10, i64 264, !10, i64 272, !6, i64 280, !10, i64 288}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !10, i64 72}
!15 = !{!"", !10, i64 0, !10, i64 8, !13, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !10, i64 48, !6, i64 56, !10, i64 64, !10, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !6, i64 104, !6, i64 108, !6, i64 112, !6, i64 116, !13, i64 120}
!16 = !{!13, !13, i64 0}
!17 = !{!18, !6, i64 8}
!18 = !{!"", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !10, i64 24, !13, i64 32, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !13, i64 56, !13, i64 64, !6, i64 72, !13, i64 80, !6, i64 88, !6, i64 92, !13, i64 96, !13, i64 104, !13, i64 112, !6, i64 120, !10, i64 128}
!19 = !{!18, !6, i64 12}
!20 = !{!7, !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"float", !7, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}


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

%union._XEvent = type { [24 x i64] }
%struct.XWindowAttributes = type { i32, i32, i32, i32, i32, i32, ptr, i64, i32, i32, i32, i32, i64, i64, i32, i64, i32, i32, i64, i64, i64, i32, ptr }
%struct.Screen = type { ptr, ptr, i64, i32, i32, i32, i32, i32, ptr, i32, ptr, ptr, i64, i64, i64, i32, i32, i32, i32, i64 }

@x = external dso_local local_unnamed_addr global i32, align 4
@y = external dso_local local_unnamed_addr global i32, align 4
@twin = external dso_local local_unnamed_addr global i64, align 8
@gc = external dso_local local_unnamed_addr global ptr, align 8
@pgmbytes = external dso_local global [784 x i8], align 16
@sps = external dso_local local_unnamed_addr global i32, align 4
@enable = external dso_local local_unnamed_addr global i32, align 4
@sample_capture = external dso_local local_unnamed_addr global i32, align 4
@crosshair = external dso_local local_unnamed_addr global i32, align 4
@hotkeys = external dso_local local_unnamed_addr global i32, align 4
@d = external dso_local local_unnamed_addr global ptr, align 8
@.str.28 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [24 x i8], align 1
@si = external dso_local local_unnamed_addr global i32, align 4
@.str.30 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [4 x i8], align 1
@main.st = external hidden local_unnamed_addr global i64, align 8
@.str.34 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [5 x i8], align 1
@targets_dir = external dso_local global [256 x i8], align 16
@.str.40 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [7 x i8], align 1
@main.scd = external hidden local_unnamed_addr global i64, align 8
@.str.43 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local float @processNet() 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: nounwind
declare i32 @rand() local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare dso_local i64 @microtime() local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @key_is_pressed(i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @speakS(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 #4

declare i32 @sleep(i32 noundef) local_unnamed_addr #5

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

; Function Attrs: nounwind uwtable
declare dso_local void @reprint() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca %union._XEvent, align 8
  %4 = alloca %struct.XWindowAttributes, align 8
  %5 = alloca [32 x i8], align 16
  %6 = alloca [32 x i8], align 16
  %7 = tail call i64 @time(ptr noundef null) #7
  %8 = trunc i64 %7 to i32
  tail call void @srand(i32 noundef %8) #7
  tail call void (...) @processModel_initialize() #7
  tail call void @reprint()
  %9 = tail call ptr @XOpenDisplay(ptr noundef nonnull @.str.28) #7
  store ptr %9, ptr @d, align 8, !tbaa !5
  %10 = icmp eq ptr %9, null
  br i1 %10, label %11, label %13

11:                                               ; preds = %2
  %12 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.29)
  ret i32 0

13:                                               ; preds = %2
  %14 = tail call i32 @XDefaultScreen(ptr noundef nonnull %9) #7
  store i32 %14, ptr @si, align 4, !tbaa !9
  %15 = load ptr, ptr @d, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %15, i64 232
  %17 = load ptr, ptr %16, align 8, !tbaa !11
  %18 = sext i32 %14 to i64
  %19 = getelementptr inbounds %struct.Screen, ptr %17, i64 %18, i32 11
  %20 = load ptr, ptr %19, align 8, !tbaa !14
  store ptr %20, ptr @gc, align 8, !tbaa !5
  %21 = tail call i64 @findWindow(ptr noundef %15, i64 noundef 0, ptr noundef nonnull @.str.30)
  store i64 %21, ptr @twin, align 8, !tbaa !16
  %.not = icmp eq i64 %21, 0
  br i1 %.not, label %23, label %22

22:                                               ; preds = %13
  tail call void @reprint()
  br label %23

23:                                               ; preds = %22, %13
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %3) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(192) %3, i8 0, i64 192, i1 false)
  %24 = getelementptr inbounds i8, ptr %4, i64 8
  %25 = getelementptr inbounds i8, ptr %4, i64 12
  %26 = getelementptr inbounds i8, ptr %3, i64 84
  %27 = getelementptr inbounds i8, ptr %3, i64 88
  %28 = getelementptr inbounds i8, ptr %3, i64 48
  %29 = getelementptr inbounds i8, ptr %3, i64 32
  %30 = getelementptr inbounds i8, ptr %3, i64 80
  br label %.outer

.outer:                                           ; preds = %.outer.backedge, %23
  %.012.ph = phi i32 [ 0, %23 ], [ %.012.ph.be, %.outer.backedge ]
  %31 = call i32 @usleep(i32 noundef 1000) #7
  %32 = call i32 @key_is_pressed(i64 noundef 65507)
  %.not1727 = icmp eq i32 %32, 0
  br i1 %.not1727, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.outer, %41
  %33 = call i32 @key_is_pressed(i64 noundef 65513)
  %.not18 = icmp eq i32 %33, 0
  br i1 %.not18, label %.loopexit, label %34

34:                                               ; preds = %.lr.ph
  %35 = load i32, ptr @enable, align 4, !tbaa !9
  %36 = icmp eq i32 %35, 0
  br i1 %36, label %37, label %55

37:                                               ; preds = %34
  %38 = load ptr, ptr @d, align 8, !tbaa !5
  %39 = call i64 @findWindow(ptr noundef %38, i64 noundef 0, ptr noundef nonnull @.str.30)
  store i64 %39, ptr @twin, align 8, !tbaa !16
  %40 = icmp eq i64 %39, 0
  br i1 %40, label %41, label %46

41:                                               ; preds = %37
  %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31)
  %43 = call i32 @sleep(i32 noundef 1) #7
  %44 = call i32 @usleep(i32 noundef 1000) #7
  %45 = call i32 @key_is_pressed(i64 noundef 65507)
  %.not17 = icmp eq i32 %45, 0
  br i1 %.not17, label %.loopexit, label %.lr.ph

46:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 136, ptr nonnull %4) #7
  %47 = load ptr, ptr @d, align 8, !tbaa !5
  %48 = call i32 @XGetWindowAttributes(ptr noundef %47, i64 noundef %39, ptr noundef nonnull %4) #7
  %49 = load i32, ptr %24, align 8, !tbaa !17
  %50 = sdiv i32 %49, 2
  store i32 %50, ptr @x, align 4, !tbaa !9
  %51 = load i32, ptr %25, align 4, !tbaa !19
  %52 = sdiv i32 %51, 2
  store i32 %52, ptr @y, align 4, !tbaa !9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(192) %3, i8 0, i64 192, i1 false)
  store i32 4, ptr %3, align 8, !tbaa !20
  store i32 1, ptr %26, align 4, !tbaa !20
  store i32 1, ptr %27, align 8, !tbaa !20
  %53 = load i64, ptr @twin, align 8, !tbaa !16
  store i64 %53, ptr %28, align 8, !tbaa !20
  store i64 %53, ptr %29, align 8, !tbaa !20
  store i32 1, ptr @enable, align 4, !tbaa !9
  %54 = call i32 @usleep(i32 noundef 100000) #7
  call void @reprint()
  call void @speakS(ptr noundef nonnull @.str.32)
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %4) #7
  br label %.loopexit

55:                                               ; preds = %34
  store i32 0, ptr @enable, align 4, !tbaa !9
  %56 = call i32 @usleep(i32 noundef 100000) #7
  call void @reprint()
  call void @speakS(ptr noundef nonnull @.str.33)
  br label %.loopexit

.loopexit:                                        ; preds = %41, %.lr.ph, %.outer, %46, %55
  %57 = load i32, ptr @enable, align 4, !tbaa !9
  %58 = icmp eq i32 %57, 1
  br i1 %58, label %59, label %.outer.backedge

59:                                               ; preds = %.loopexit
  %60 = call i64 @microtime()
  %61 = load i64, ptr @main.st, align 8, !tbaa !16
  %62 = sub i64 %60, %61
  %63 = icmp ugt i64 %62, 999999
  br i1 %63, label %64, label %71

64:                                               ; preds = %59
  %65 = call i32 @key_is_pressed(i64 noundef 72)
  %.not19 = icmp eq i32 %65, 0
  br i1 %.not19, label %69, label %66

66:                                               ; preds = %64
  %67 = load i32, ptr @sps, align 4, !tbaa !9
  %68 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.34, i32 noundef %67)
  br label %69

69:                                               ; preds = %66, %64
  store i32 0, ptr @sps, align 4, !tbaa !9
  %70 = call i64 @microtime()
  store i64 %70, ptr @main.st, align 8, !tbaa !16
  br label %71

71:                                               ; preds = %69, %59
  %72 = call i32 @key_is_pressed(i64 noundef 65508)
  %.not20 = icmp eq i32 %72, 0
  br i1 %.not20, label %78, label %73

73:                                               ; preds = %71
  %74 = call i32 @key_is_pressed(i64 noundef 65514)
  %.not21 = icmp eq i32 %74, 0
  br i1 %.not21, label %78, label %.sink.split

.sink.split:                                      ; preds = %73
  %75 = load i32, ptr @hotkeys, align 4, !tbaa !9
  %76 = icmp eq i32 %75, 0
  %. = zext i1 %76 to i32
  %.str.35..str.36 = select i1 %76, ptr @.str.35, ptr @.str.36
  store i32 %., ptr @hotkeys, align 4, !tbaa !9
  %77 = call i32 @usleep(i32 noundef 100000) #7
  call void @reprint()
  call void @speakS(ptr noundef nonnull %.str.35..str.36)
  br label %78

78:                                               ; preds = %.sink.split, %73, %71
  %79 = load i32, ptr @hotkeys, align 4, !tbaa !9
  %80 = icmp eq i32 %79, 1
  br i1 %80, label %81, label %.thread

81:                                               ; preds = %78
  %82 = call i32 @key_is_pressed(i64 noundef 80)
  %.not22 = icmp eq i32 %82, 0
  br i1 %.not22, label %86, label %.sink.split29

.sink.split29:                                    ; preds = %81
  %83 = load i32, ptr @crosshair, align 4, !tbaa !9
  %84 = icmp eq i32 %83, 0
  %.33 = zext i1 %84 to i32
  %.str.37..str.38 = select i1 %84, ptr @.str.37, ptr @.str.38
  store i32 %.33, ptr @crosshair, align 4, !tbaa !9
  %85 = call i32 @usleep(i32 noundef 100000) #7
  call void @reprint()
  call void @speakS(ptr noundef nonnull %.str.37..str.38)
  br label %86

86:                                               ; preds = %.sink.split29, %81
  %87 = call i32 @key_is_pressed(i64 noundef 76)
  %.not23 = icmp eq i32 %87, 0
  br i1 %.not23, label %96, label %88

88:                                               ; preds = %86
  %89 = load i32, ptr @sample_capture, align 4, !tbaa !9
  %90 = icmp eq i32 %89, 0
  br i1 %90, label %91, label %.sink.split31

91:                                               ; preds = %88
  %92 = call ptr @getenv(ptr noundef nonnull @.str.39) #7
  %93 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) @targets_dir, ptr noundef nonnull dereferenceable(1) @.str.40, ptr noundef %92) #7
  %94 = call i32 @mkdir(ptr noundef nonnull @targets_dir, i32 noundef 511) #7
  br label %.sink.split31

.sink.split31:                                    ; preds = %88, %91
  %.sink32 = phi i32 [ 1, %91 ], [ 0, %88 ]
  %.str.41.sink = phi ptr [ @.str.41, %91 ], [ @.str.42, %88 ]
  store i32 %.sink32, ptr @sample_capture, align 4, !tbaa !9
  %95 = call i32 @usleep(i32 noundef 100000) #7
  call void @reprint()
  call void @speakS(ptr noundef nonnull %.str.41.sink)
  br label %96

96:                                               ; preds = %.sink.split31, %86
  %97 = load i32, ptr @sample_capture, align 4, !tbaa !9
  %98 = icmp eq i32 %97, 1
  br i1 %98, label %99, label %111

99:                                               ; preds = %96
  %100 = call i32 @key_is_pressed(i64 noundef 69)
  %.not24 = icmp eq i32 %100, 0
  br i1 %.not24, label %111, label %101

101:                                              ; preds = %99
  %102 = call i64 @microtime()
  %103 = load i64, ptr @main.scd, align 8, !tbaa !16
  %104 = icmp ugt i64 %102, %103
  br i1 %104, label %105, label %111

105:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  %106 = call i32 @rand() #7
  %107 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.43, ptr noundef nonnull @targets_dir, i32 noundef %106) #7
  call void @writePGM(ptr noundef nonnull %5, ptr noundef nonnull @pgmbytes)
  %108 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.44, ptr noundef nonnull %5)
  %109 = call i64 @microtime()
  %110 = add i64 %109, 350000
  store i64 %110, ptr @main.scd, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  br label %111

111:                                              ; preds = %96, %99, %101, %105
  %.pr = load i32, ptr @hotkeys, align 4, !tbaa !9
  %112 = icmp eq i32 %.pr, 1
  br i1 %112, label %113, label %.thread

113:                                              ; preds = %111
  %114 = call i32 @key_is_pressed(i64 noundef 71)
  %.not25 = icmp eq i32 %114, 0
  br i1 %.not25, label %.thread, label %115

115:                                              ; preds = %113
  %116 = call float @processNet()
  %117 = fcmp ogt float %116, 0x3F50624DE0000000
  br i1 %117, label %118, label %177

118:                                              ; preds = %115
  %119 = fcmp ogt float %116, 0x3FEF5C2900000000
  br i1 %119, label %120, label %147

120:                                              ; preds = %118
  %121 = fpext float %116 to double
  %122 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.45, double noundef %121)
  %123 = load ptr, ptr @d, align 8, !tbaa !5
  %124 = load ptr, ptr @gc, align 8, !tbaa !5
  %125 = call i32 @XSetForeground(ptr noundef %123, ptr noundef %124, i64 noundef 65280) #7
  %126 = load ptr, ptr @d, align 8, !tbaa !5
  %127 = load i64, ptr %29, align 8, !tbaa !20
  %128 = load ptr, ptr @gc, align 8, !tbaa !5
  %129 = load i32, ptr @x, align 4, !tbaa !9
  %130 = add i32 %129, -15
  %131 = load i32, ptr @y, align 4, !tbaa !9
  %132 = add i32 %131, -15
  %133 = call i32 @XDrawRectangle(ptr noundef %126, i64 noundef %127, ptr noundef %128, i32 noundef %130, i32 noundef %132, i32 noundef 30, i32 noundef 30) #7
  %134 = load ptr, ptr @d, align 8, !tbaa !5
  %135 = load ptr, ptr @gc, align 8, !tbaa !5
  %136 = call i32 @XSetForeground(ptr noundef %134, ptr noundef %135, i64 noundef 0) #7
  %137 = load ptr, ptr @d, align 8, !tbaa !5
  %138 = load i64, ptr %29, align 8, !tbaa !20
  %139 = load ptr, ptr @gc, align 8, !tbaa !5
  %140 = load i32, ptr @x, align 4, !tbaa !9
  %141 = add i32 %140, -16
  %142 = load i32, ptr @y, align 4, !tbaa !9
  %143 = add i32 %142, -16
  %144 = call i32 @XDrawRectangle(ptr noundef %137, i64 noundef %138, ptr noundef %139, i32 noundef %141, i32 noundef %143, i32 noundef 32, i32 noundef 32) #7
  %145 = load ptr, ptr @d, align 8, !tbaa !5
  %146 = call i32 @XFlush(ptr noundef %145) #7
  br label %.outer.backedge

147:                                              ; preds = %118
  %148 = fsub float 1.000000e+00, %116
  %149 = fmul float %148, 2.550000e+02
  %150 = fptoui float %149 to i32
  %151 = fpext float %116 to double
  %152 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.46, i32 noundef %150, i32 noundef %150, double noundef %151)
  %153 = load ptr, ptr @d, align 8, !tbaa !5
  %154 = load ptr, ptr @gc, align 8, !tbaa !5
  %155 = call i32 @XSetForeground(ptr noundef %153, ptr noundef %154, i64 noundef 16711680) #7
  %156 = load ptr, ptr @d, align 8, !tbaa !5
  %157 = load i64, ptr %29, align 8, !tbaa !20
  %158 = load ptr, ptr @gc, align 8, !tbaa !5
  %159 = load i32, ptr @x, align 4, !tbaa !9
  %160 = add i32 %159, -15
  %161 = load i32, ptr @y, align 4, !tbaa !9
  %162 = add i32 %161, -15
  %163 = call i32 @XDrawRectangle(ptr noundef %156, i64 noundef %157, ptr noundef %158, i32 noundef %160, i32 noundef %162, i32 noundef 30, i32 noundef 30) #7
  %164 = load ptr, ptr @d, align 8, !tbaa !5
  %165 = load ptr, ptr @gc, align 8, !tbaa !5
  %166 = call i32 @XSetForeground(ptr noundef %164, ptr noundef %165, i64 noundef 0) #7
  %167 = load ptr, ptr @d, align 8, !tbaa !5
  %168 = load i64, ptr %29, align 8, !tbaa !20
  %169 = load ptr, ptr @gc, align 8, !tbaa !5
  %170 = load i32, ptr @x, align 4, !tbaa !9
  %171 = add i32 %170, -16
  %172 = load i32, ptr @y, align 4, !tbaa !9
  %173 = add i32 %172, -16
  %174 = call i32 @XDrawRectangle(ptr noundef %167, i64 noundef %168, ptr noundef %169, i32 noundef %171, i32 noundef %173, i32 noundef 32, i32 noundef 32) #7
  %175 = load ptr, ptr @d, align 8, !tbaa !5
  %176 = call i32 @XFlush(ptr noundef %175) #7
  br label %.outer.backedge

177:                                              ; preds = %115
  %178 = load ptr, ptr @d, align 8, !tbaa !5
  %179 = load ptr, ptr @gc, align 8, !tbaa !5
  %180 = call i32 @XSetForeground(ptr noundef %178, ptr noundef %179, i64 noundef 16711680) #7
  %181 = load ptr, ptr @d, align 8, !tbaa !5
  %182 = load i64, ptr %29, align 8, !tbaa !20
  %183 = load ptr, ptr @gc, align 8, !tbaa !5
  %184 = load i32, ptr @x, align 4, !tbaa !9
  %185 = add i32 %184, -15
  %186 = load i32, ptr @y, align 4, !tbaa !9
  %187 = add i32 %186, -15
  %188 = call i32 @XDrawRectangle(ptr noundef %181, i64 noundef %182, ptr noundef %183, i32 noundef %185, i32 noundef %187, i32 noundef 30, i32 noundef 30) #7
  %189 = load ptr, ptr @d, align 8, !tbaa !5
  %190 = load ptr, ptr @gc, align 8, !tbaa !5
  %191 = call i32 @XSetForeground(ptr noundef %189, ptr noundef %190, i64 noundef 0) #7
  %192 = load ptr, ptr @d, align 8, !tbaa !5
  %193 = load i64, ptr %29, align 8, !tbaa !20
  %194 = load ptr, ptr @gc, align 8, !tbaa !5
  %195 = load i32, ptr @x, align 4, !tbaa !9
  %196 = add i32 %195, -16
  %197 = load i32, ptr @y, align 4, !tbaa !9
  %198 = add i32 %197, -16
  %199 = call i32 @XDrawRectangle(ptr noundef %192, i64 noundef %193, ptr noundef %194, i32 noundef %196, i32 noundef %198, i32 noundef 32, i32 noundef 32) #7
  %200 = load ptr, ptr @d, align 8, !tbaa !5
  %201 = call i32 @XFlush(ptr noundef %200) #7
  br label %.outer.backedge

.thread:                                          ; preds = %78, %113, %111
  %202 = load i32, ptr @crosshair, align 4, !tbaa !9
  %203 = icmp eq i32 %202, 1
  br i1 %203, label %204, label %229

204:                                              ; preds = %.thread
  %205 = load ptr, ptr @d, align 8, !tbaa !5
  %206 = load ptr, ptr @gc, align 8, !tbaa !5
  %207 = call i32 @XSetForeground(ptr noundef %205, ptr noundef %206, i64 noundef 65280) #7
  %208 = load ptr, ptr @d, align 8, !tbaa !5
  %209 = load i64, ptr %29, align 8, !tbaa !20
  %210 = load ptr, ptr @gc, align 8, !tbaa !5
  %211 = load i32, ptr @x, align 4, !tbaa !9
  %212 = add i32 %211, -15
  %213 = load i32, ptr @y, align 4, !tbaa !9
  %214 = add i32 %213, -15
  %215 = call i32 @XDrawRectangle(ptr noundef %208, i64 noundef %209, ptr noundef %210, i32 noundef %212, i32 noundef %214, i32 noundef 30, i32 noundef 30) #7
  %216 = load ptr, ptr @d, align 8, !tbaa !5
  %217 = load ptr, ptr @gc, align 8, !tbaa !5
  %218 = call i32 @XSetForeground(ptr noundef %216, ptr noundef %217, i64 noundef 0) #7
  %219 = load ptr, ptr @d, align 8, !tbaa !5
  %220 = load i64, ptr %29, align 8, !tbaa !20
  %221 = load ptr, ptr @gc, align 8, !tbaa !5
  %222 = load i32, ptr @x, align 4, !tbaa !9
  %223 = add i32 %222, -16
  %224 = load i32, ptr @y, align 4, !tbaa !9
  %225 = add i32 %224, -16
  %226 = call i32 @XDrawRectangle(ptr noundef %219, i64 noundef %220, ptr noundef %221, i32 noundef %223, i32 noundef %225, i32 noundef 32, i32 noundef 32) #7
  %227 = load ptr, ptr @d, align 8, !tbaa !5
  %228 = call i32 @XFlush(ptr noundef %227) #7
  br label %229

229:                                              ; preds = %204, %.thread
  %230 = call i32 @key_is_pressed(i64 noundef 87)
  %231 = icmp eq i32 %230, 0
  br i1 %231, label %232, label %.outer.backedge

232:                                              ; preds = %229
  %233 = call i32 @key_is_pressed(i64 noundef 65)
  %234 = icmp eq i32 %233, 0
  br i1 %234, label %235, label %.outer.backedge

235:                                              ; preds = %232
  %236 = call i32 @key_is_pressed(i64 noundef 83)
  %237 = icmp eq i32 %236, 0
  br i1 %237, label %238, label %.outer.backedge

238:                                              ; preds = %235
  %239 = call i32 @key_is_pressed(i64 noundef 68)
  %240 = icmp eq i32 %239, 0
  br i1 %240, label %241, label %.outer.backedge

241:                                              ; preds = %238
  %242 = call i32 @key_is_pressed(i64 noundef 65505)
  %243 = icmp eq i32 %242, 0
  br i1 %243, label %244, label %.outer.backedge

244:                                              ; preds = %241
  %245 = call float @processNet()
  %246 = fcmp ogt float %245, 0x3FEF5C2900000000
  br i1 %246, label %247, label %.outer.backedge

247:                                              ; preds = %244
  %248 = add i32 %.012.ph, 1
  %.not26 = icmp eq i32 %248, 0
  br i1 %.not26, label %.outer.backedge, label %249

249:                                              ; preds = %247
  %250 = load i32, ptr @sample_capture, align 4, !tbaa !9
  %251 = icmp eq i32 %250, 1
  br i1 %251, label %252, label %.critedge

252:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #7
  %253 = call i32 @rand() #7
  %254 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.43, ptr noundef nonnull @targets_dir, i32 noundef %253) #7
  call void @writePGM(ptr noundef nonnull %6, ptr noundef nonnull @pgmbytes)
  %255 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.47, ptr noundef nonnull %6)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  br label %.critedge

.critedge:                                        ; preds = %252, %249
  store i32 4, ptr %3, align 8, !tbaa !20
  store i32 0, ptr %30, align 8, !tbaa !20
  %256 = load ptr, ptr @d, align 8, !tbaa !5
  %257 = call i32 @XSendEvent(ptr noundef %256, i64 noundef 0, i32 noundef 1, i64 noundef 4095, ptr noundef nonnull %3) #7
  %258 = load ptr, ptr @d, align 8, !tbaa !5
  %259 = call i32 @XFlush(ptr noundef %258) #7
  %260 = call i32 @usleep(i32 noundef 100000) #7
  store i32 5, ptr %3, align 8, !tbaa !20
  store i32 256, ptr %30, align 8, !tbaa !20
  %261 = load ptr, ptr @d, align 8, !tbaa !5
  %262 = call i32 @XSendEvent(ptr noundef %261, i64 noundef 0, i32 noundef 1, i64 noundef 4095, ptr noundef nonnull %3) #7
  %263 = load ptr, ptr @d, align 8, !tbaa !5
  %264 = call i32 @XFlush(ptr noundef %263) #7
  %265 = call i32 @usleep(i32 noundef 30000) #7
  %266 = call i32 @usleep(i32 noundef 100000) #7
  br label %.outer.backedge

.outer.backedge:                                  ; preds = %.critedge, %247, %244, %177, %147, %120, %241, %238, %235, %232, %229, %.loopexit
  %.012.ph.be = phi i32 [ %.012.ph, %241 ], [ %.012.ph, %238 ], [ %.012.ph, %235 ], [ %.012.ph, %232 ], [ %.012.ph, %229 ], [ %.012.ph, %.loopexit ], [ %.012.ph, %120 ], [ %.012.ph, %147 ], [ %.012.ph, %177 ], [ %248, %.critedge ], [ 0, %247 ], [ 0, %244 ]
  br label %.outer
}

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

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

declare void @processModel_initialize(...) local_unnamed_addr #5

declare ptr @XOpenDisplay(ptr noundef) local_unnamed_addr #5

declare i32 @XDefaultScreen(ptr noundef) local_unnamed_addr #5

declare i32 @usleep(i32 noundef) local_unnamed_addr #5

declare i32 @XGetWindowAttributes(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare noundef i32 @mkdir(ptr nocapture noundef readonly, i32 noundef) local_unnamed_addr #4

declare i32 @XSetForeground(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #5

declare i32 @XDrawRectangle(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #5

declare i32 @XFlush(ptr noundef) local_unnamed_addr #5

declare i32 @XSendEvent(ptr noundef, i64 noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #5

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 = { 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 nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 #5 = { "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 = { nofree nounwind 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 #7 = { 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 232}
!12 = !{!"", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !6, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !10, i64 64, !6, i64 72, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !6, i64 104, !10, i64 112, !10, i64 116, !6, i64 120, !6, i64 128, !10, i64 136, !13, i64 144, !13, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !10, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !10, i64 224, !10, i64 228, !6, i64 232, !13, i64 240, !13, i64 248, !10, i64 256, !10, i64 260, !6, i64 264, !6, i64 272, !10, i64 280, !6, i64 288}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !6, i64 72}
!15 = !{!"", !6, i64 0, !6, i64 8, !13, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !6, i64 48, !10, i64 56, !6, i64 64, !6, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !13, i64 120}
!16 = !{!13, !13, i64 0}
!17 = !{!18, !10, i64 8}
!18 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !6, i64 24, !13, i64 32, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !13, i64 56, !13, i64 64, !10, i64 72, !13, i64 80, !10, i64 88, !10, i64 92, !13, i64 96, !13, i64 104, !13, i64 112, !10, i64 120, !6, i64 128}
!19 = !{!18, !10, i64 12}
!20 = !{!7, !7, i64 0}


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