; LLVM IR from mrbid/CSGO_TENSOR_TRIGGER :: GOBOT15/TBVGG3 (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"

%struct.TBVGG3_Network = type { [8 x [3 x [9 x float]]], [16 x [8 x [9 x float]]], [32 x [16 x [9 x float]]], [8 x [1 x float]], [16 x [1 x float]], [32 x [1 x float]] }
%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
@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
@input = external dso_local global [3 x [28 x [28 x float]]], align 16
@d = external dso_local global ptr, align 8
@.str.35 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [24 x i8], align 1
@si = external dso_local global i32, align 4
@net = external dso_local global %struct.TBVGG3_Network, align 4
@.str.37 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [4 x i8], align 1
@main.st = external hidden global i64, align 8
@main.sc = external hidden global i32, align 4
@.str.44 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [5 x i8], align 1
@targets_dir = external dso_local global [256 x i8], align 16
@.str.50 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [7 x i8], align 1
@main.scd = external hidden global i64, align 8
@.str.53 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [11 x i8], align 1

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local float @TBVGG3_Process(ptr noundef, ptr noundef, float noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @saveSample(ptr noundef) #4

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

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

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

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

declare i32 @sleep(i32 noundef) #1

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

; Function Attrs: nounwind uwtable
declare dso_local void @processScanArea(i64 noundef) #4

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #4 {
  %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 float, align 4
  %10 = alloca ptr, align 8
  %11 = alloca [32 x i8], align 16
  %12 = alloca float, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca float, align 4
  %16 = alloca [32 x i8], align 16
  %17 = 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
  %18 = call i64 @time(ptr noundef null) #5
  %19 = trunc i64 %18 to i32
  call void @srand(i32 noundef %19) #5
  call void @reprint()
  %20 = call ptr @XOpenDisplay(ptr noundef @.str.35)
  store ptr %20, ptr @d, align 8, !tbaa !9
  %21 = load ptr, ptr @d, align 8, !tbaa !9
  %22 = icmp eq ptr %21, null
  br i1 %22, label %23, label %25

23:                                               ; preds = %2
  %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.36)
  ret i32 0

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

38:                                               ; preds = %25
  %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.38)
  br label %42

40:                                               ; preds = %25
  %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.39)
  br label %42

42:                                               ; preds = %40, %38
  %43 = load ptr, ptr @d, align 8, !tbaa !9
  %44 = call i64 @findWindow(ptr noundef %43, i64 noundef 0, ptr noundef @.str.40)
  store i64 %44, ptr @twin, align 8, !tbaa !16
  %45 = load i64, ptr @twin, align 8, !tbaa !16
  %46 = icmp ne i64 %45, 0
  br i1 %46, label %47, label %48

47:                                               ; preds = %42
  call void @reprint()
  br label %48

48:                                               ; preds = %47, %42
  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 %49

49:                                               ; preds = %355, %107, %65, %48
  br label %50

50:                                               ; preds = %49
  %51 = call i32 @usleep(i32 noundef 1000)
  %52 = call i32 @key_is_pressed(i64 noundef 65507)
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %54, label %88

54:                                               ; preds = %50
  %55 = call i32 @key_is_pressed(i64 noundef 65513)
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %88

57:                                               ; preds = %54
  %58 = load i32, ptr @enable, align 4, !tbaa !5
  %59 = icmp eq i32 %58, 0
  br i1 %59, label %60, label %85

60:                                               ; preds = %57
  %61 = load ptr, ptr @d, align 8, !tbaa !9
  %62 = call i64 @findWindow(ptr noundef %61, i64 noundef 0, ptr noundef @.str.40)
  store i64 %62, ptr @twin, align 8, !tbaa !16
  %63 = load i64, ptr @twin, align 8, !tbaa !16
  %64 = icmp eq i64 %63, 0
  br i1 %64, label %65, label %68

65:                                               ; preds = %60
  %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.41)
  %67 = call i32 @sleep(i32 noundef 1)
  br label %49

68:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 136, ptr %8) #5
  %69 = load ptr, ptr @d, align 8, !tbaa !9
  %70 = load i64, ptr @twin, align 8, !tbaa !16
  %71 = call i32 @XGetWindowAttributes(ptr noundef %69, i64 noundef %70, ptr noundef %8)
  %72 = getelementptr inbounds %struct.XWindowAttributes, ptr %8, i32 0, i32 2
  %73 = load i32, ptr %72, align 8, !tbaa !17
  %74 = sdiv i32 %73, 2
  store i32 %74, ptr @x, align 4, !tbaa !5
  %75 = getelementptr inbounds %struct.XWindowAttributes, ptr %8, i32 0, i32 3
  %76 = load i32, ptr %75, align 4, !tbaa !19
  %77 = sdiv i32 %76, 2
  store i32 %77, 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
  %78 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 13
  store i32 1, ptr %78, align 4, !tbaa !20
  %79 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 14
  store i32 1, ptr %79, align 8, !tbaa !20
  %80 = load i64, ptr @twin, align 8, !tbaa !16
  %81 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 6
  store i64 %80, ptr %81, align 8, !tbaa !20
  %82 = load i64, ptr @twin, align 8, !tbaa !16
  %83 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 4
  store i64 %82, ptr %83, align 8, !tbaa !20
  store i32 1, ptr @enable, align 4, !tbaa !5
  %84 = call i32 @usleep(i32 noundef 100000)
  call void @reprint()
  call void @speakS(ptr noundef @.str.42)
  call void @llvm.lifetime.end.p0(i64 136, ptr %8) #5
  br label %87

85:                                               ; preds = %57
  store i32 0, ptr @enable, align 4, !tbaa !5
  %86 = call i32 @usleep(i32 noundef 100000)
  call void @reprint()
  call void @speakS(ptr noundef @.str.43)
  br label %87

87:                                               ; preds = %85, %68
  br label %88

88:                                               ; preds = %87, %54, %50
  %89 = load i32, ptr @enable, align 4, !tbaa !5
  %90 = icmp eq i32 %89, 1
  br i1 %90, label %91, label %355

91:                                               ; preds = %88
  %92 = call i32 @key_is_pressed(i64 noundef 72)
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %94, label %108

94:                                               ; preds = %91
  %95 = load i64, ptr @twin, align 8, !tbaa !16
  call void @processScanArea(i64 noundef %95)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %96 = call float @TBVGG3_Process(ptr noundef @net, ptr noundef @input, float noundef -1.000000e+00)
  store float %96, ptr %9, align 4, !tbaa !21
  %97 = load i32, ptr @main.sc, align 4, !tbaa !5
  %98 = add i32 %97, 1
  store i32 %98, ptr @main.sc, align 4, !tbaa !5
  %99 = call i64 @microtime()
  %100 = load i64, ptr @main.st, align 8, !tbaa !16
  %101 = sub i64 %99, %100
  %102 = icmp uge i64 %101, 1000000
  br i1 %102, label %103, label %107

103:                                              ; preds = %94
  %104 = load i32, ptr @main.sc, align 4, !tbaa !5
  %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.44, i32 noundef %104)
  store i32 0, ptr @main.sc, align 4, !tbaa !5
  %106 = call i64 @microtime()
  store i64 %106, ptr @main.st, align 8, !tbaa !16
  br label %107

107:                                              ; preds = %103, %94
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %49

108:                                              ; preds = %91
  %109 = call i32 @key_is_pressed(i64 noundef 65508)
  %110 = icmp ne i32 %109, 0
  br i1 %110, label %111, label %122

111:                                              ; preds = %108
  %112 = call i32 @key_is_pressed(i64 noundef 65514)
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %114, label %122

114:                                              ; preds = %111
  %115 = load i32, ptr @hotkeys, align 4, !tbaa !5
  %116 = icmp eq i32 %115, 0
  br i1 %116, label %117, label %119

117:                                              ; preds = %114
  store i32 1, ptr @hotkeys, align 4, !tbaa !5
  %118 = call i32 @usleep(i32 noundef 100000)
  call void @reprint()
  call void @speakS(ptr noundef @.str.45)
  br label %121

119:                                              ; preds = %114
  store i32 0, ptr @hotkeys, align 4, !tbaa !5
  %120 = call i32 @usleep(i32 noundef 100000)
  call void @reprint()
  call void @speakS(ptr noundef @.str.46)
  br label %121

121:                                              ; preds = %119, %117
  br label %122

122:                                              ; preds = %121, %111, %108
  %123 = load i32, ptr @hotkeys, align 4, !tbaa !5
  %124 = icmp eq i32 %123, 1
  br i1 %124, label %125, label %171

125:                                              ; preds = %122
  %126 = call i32 @key_is_pressed(i64 noundef 80)
  %127 = icmp ne i32 %126, 0
  br i1 %127, label %128, label %136

128:                                              ; preds = %125
  %129 = load i32, ptr @crosshair, align 4, !tbaa !5
  %130 = icmp eq i32 %129, 0
  br i1 %130, label %131, label %133

131:                                              ; preds = %128
  store i32 1, ptr @crosshair, align 4, !tbaa !5
  %132 = call i32 @usleep(i32 noundef 100000)
  call void @reprint()
  call void @speakS(ptr noundef @.str.47)
  br label %135

133:                                              ; preds = %128
  store i32 0, ptr @crosshair, align 4, !tbaa !5
  %134 = call i32 @usleep(i32 noundef 100000)
  call void @reprint()
  call void @speakS(ptr noundef @.str.48)
  br label %135

135:                                              ; preds = %133, %131
  br label %136

136:                                              ; preds = %135, %125
  %137 = call i32 @key_is_pressed(i64 noundef 76)
  %138 = icmp ne i32 %137, 0
  br i1 %138, label %139, label %151

139:                                              ; preds = %136
  %140 = load i32, ptr @sample_capture, align 4, !tbaa !5
  %141 = icmp eq i32 %140, 0
  br i1 %141, label %142, label %148

142:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %143 = call ptr @getenv(ptr noundef @.str.49) #5
  store ptr %143, ptr %10, align 8, !tbaa !9
  %144 = load ptr, ptr %10, align 8, !tbaa !9
  %145 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef @targets_dir, ptr noundef @.str.50, ptr noundef %144) #5
  %146 = call i32 @mkdir(ptr noundef @targets_dir, i32 noundef 511) #5
  store i32 1, ptr @sample_capture, align 4, !tbaa !5
  %147 = call i32 @usleep(i32 noundef 100000)
  call void @reprint()
  call void @speakS(ptr noundef @.str.51)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %150

148:                                              ; preds = %139
  store i32 0, ptr @sample_capture, align 4, !tbaa !5
  %149 = call i32 @usleep(i32 noundef 100000)
  call void @reprint()
  call void @speakS(ptr noundef @.str.52)
  br label %150

150:                                              ; preds = %148, %142
  br label %151

151:                                              ; preds = %150, %136
  %152 = load i32, ptr @sample_capture, align 4, !tbaa !5
  %153 = icmp eq i32 %152, 1
  br i1 %153, label %154, label %170

154:                                              ; preds = %151
  %155 = call i32 @key_is_pressed(i64 noundef 69)
  %156 = icmp ne i32 %155, 0
  br i1 %156, label %157, label %170

157:                                              ; preds = %154
  %158 = call i64 @microtime()
  %159 = load i64, ptr @main.scd, align 8, !tbaa !16
  %160 = icmp ugt i64 %158, %159
  br i1 %160, label %161, label %170

161:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #5
  %162 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0
  %163 = call i32 @rand() #5
  %164 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %162, ptr noundef @.str.53, ptr noundef @targets_dir, i32 noundef %163) #5
  %165 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0
  call void @saveSample(ptr noundef %165)
  %166 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0
  %167 = call i32 (ptr, ...) @printf(ptr noundef @.str.54, ptr noundef %166)
  %168 = call i64 @microtime()
  %169 = add i64 %168, 350000
  store i64 %169, ptr @main.scd, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #5
  br label %170

170:                                              ; preds = %161, %157, %154, %151
  br label %171

171:                                              ; preds = %170, %122
  %172 = load i32, ptr @hotkeys, align 4, !tbaa !5
  %173 = icmp eq i32 %172, 1
  br i1 %173, label %174, label %257

174:                                              ; preds = %171
  %175 = call i32 @key_is_pressed(i64 noundef 71)
  %176 = icmp ne i32 %175, 0
  br i1 %176, label %177, label %257

177:                                              ; preds = %174
  %178 = load i64, ptr @twin, align 8, !tbaa !16
  call void @processScanArea(i64 noundef %178)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %179 = call float @TBVGG3_Process(ptr noundef @net, ptr noundef @input, float noundef -1.000000e+00)
  store float %179, ptr %12, align 4, !tbaa !21
  %180 = load float, ptr %12, align 4, !tbaa !21
  %181 = fcmp oge float %180, 0x3FEC28F5C0000000
  br i1 %181, label %182, label %216

182:                                              ; preds = %177
  %183 = load float, ptr %12, align 4, !tbaa !21
  %184 = fpext float %183 to double
  %185 = call i32 (ptr, ...) @printf(ptr noundef @.str.55, double noundef %184)
  %186 = load ptr, ptr @d, align 8, !tbaa !9
  %187 = load ptr, ptr @gc, align 8, !tbaa !9
  %188 = call i32 @XSetForeground(ptr noundef %186, ptr noundef %187, i64 noundef 65280)
  %189 = load ptr, ptr @d, align 8, !tbaa !9
  %190 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 4
  %191 = load i64, ptr %190, align 8, !tbaa !20
  %192 = load ptr, ptr @gc, align 8, !tbaa !9
  %193 = load i32, ptr @x, align 4, !tbaa !5
  %194 = sub i32 %193, 14
  %195 = sub i32 %194, 1
  %196 = load i32, ptr @y, align 4, !tbaa !5
  %197 = sub i32 %196, 14
  %198 = sub i32 %197, 1
  %199 = call i32 @XDrawRectangle(ptr noundef %189, i64 noundef %191, ptr noundef %192, i32 noundef %195, i32 noundef %198, i32 noundef 30, i32 noundef 30)
  %200 = load ptr, ptr @d, align 8, !tbaa !9
  %201 = load ptr, ptr @gc, align 8, !tbaa !9
  %202 = call i32 @XSetForeground(ptr noundef %200, ptr noundef %201, i64 noundef 0)
  %203 = load ptr, ptr @d, align 8, !tbaa !9
  %204 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 4
  %205 = load i64, ptr %204, align 8, !tbaa !20
  %206 = load ptr, ptr @gc, align 8, !tbaa !9
  %207 = load i32, ptr @x, align 4, !tbaa !5
  %208 = sub i32 %207, 14
  %209 = sub i32 %208, 2
  %210 = load i32, ptr @y, align 4, !tbaa !5
  %211 = sub i32 %210, 14
  %212 = sub i32 %211, 2
  %213 = call i32 @XDrawRectangle(ptr noundef %203, i64 noundef %205, ptr noundef %206, i32 noundef %209, i32 noundef %212, i32 noundef 32, i32 noundef 32)
  %214 = load ptr, ptr @d, align 8, !tbaa !9
  %215 = call i32 @XFlush(ptr noundef %214)
  br label %256

216:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %217 = load float, ptr %12, align 4, !tbaa !21
  %218 = fsub float 1.000000e+00, %217
  %219 = fmul float %218, 2.550000e+02
  %220 = fptoui float %219 to i32
  store i32 %220, ptr %13, align 4, !tbaa !5
  %221 = load i32, ptr %13, align 4, !tbaa !5
  %222 = load i32, ptr %13, align 4, !tbaa !5
  %223 = load float, ptr %12, align 4, !tbaa !21
  %224 = fpext float %223 to double
  %225 = call i32 (ptr, ...) @printf(ptr noundef @.str.56, i32 noundef %221, i32 noundef %222, double noundef %224)
  %226 = load ptr, ptr @d, align 8, !tbaa !9
  %227 = load ptr, ptr @gc, align 8, !tbaa !9
  %228 = call i32 @XSetForeground(ptr noundef %226, ptr noundef %227, i64 noundef 16711680)
  %229 = load ptr, ptr @d, align 8, !tbaa !9
  %230 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 4
  %231 = load i64, ptr %230, align 8, !tbaa !20
  %232 = load ptr, ptr @gc, align 8, !tbaa !9
  %233 = load i32, ptr @x, align 4, !tbaa !5
  %234 = sub i32 %233, 14
  %235 = sub i32 %234, 1
  %236 = load i32, ptr @y, align 4, !tbaa !5
  %237 = sub i32 %236, 14
  %238 = sub i32 %237, 1
  %239 = call i32 @XDrawRectangle(ptr noundef %229, i64 noundef %231, ptr noundef %232, i32 noundef %235, i32 noundef %238, i32 noundef 30, i32 noundef 30)
  %240 = load ptr, ptr @d, align 8, !tbaa !9
  %241 = load ptr, ptr @gc, align 8, !tbaa !9
  %242 = call i32 @XSetForeground(ptr noundef %240, ptr noundef %241, i64 noundef 0)
  %243 = load ptr, ptr @d, align 8, !tbaa !9
  %244 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 4
  %245 = load i64, ptr %244, align 8, !tbaa !20
  %246 = load ptr, ptr @gc, align 8, !tbaa !9
  %247 = load i32, ptr @x, align 4, !tbaa !5
  %248 = sub i32 %247, 14
  %249 = sub i32 %248, 2
  %250 = load i32, ptr @y, align 4, !tbaa !5
  %251 = sub i32 %250, 14
  %252 = sub i32 %251, 2
  %253 = call i32 @XDrawRectangle(ptr noundef %243, i64 noundef %245, ptr noundef %246, i32 noundef %249, i32 noundef %252, i32 noundef 32, i32 noundef 32)
  %254 = load ptr, ptr @d, align 8, !tbaa !9
  %255 = call i32 @XFlush(ptr noundef %254)
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %256

256:                                              ; preds = %216, %182
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %354

257:                                              ; preds = %174, %171
  %258 = load i32, ptr @crosshair, align 4, !tbaa !5
  %259 = icmp eq i32 %258, 1
  br i1 %259, label %260, label %291

260:                                              ; preds = %257
  %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 65280)
  %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, 1
  %271 = load i32, ptr @y, align 4, !tbaa !5
  %272 = sub i32 %271, 14
  %273 = sub i32 %272, 1
  %274 = call i32 @XDrawRectangle(ptr noundef %264, i64 noundef %266, ptr noundef %267, i32 noundef %270, i32 noundef %273, i32 noundef 30, i32 noundef 30)
  %275 = load ptr, ptr @d, align 8, !tbaa !9
  %276 = load ptr, ptr @gc, align 8, !tbaa !9
  %277 = call i32 @XSetForeground(ptr noundef %275, ptr noundef %276, i64 noundef 0)
  %278 = load ptr, ptr @d, align 8, !tbaa !9
  %279 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 4
  %280 = load i64, ptr %279, align 8, !tbaa !20
  %281 = load ptr, ptr @gc, align 8, !tbaa !9
  %282 = load i32, ptr @x, align 4, !tbaa !5
  %283 = sub i32 %282, 14
  %284 = sub i32 %283, 2
  %285 = load i32, ptr @y, align 4, !tbaa !5
  %286 = sub i32 %285, 14
  %287 = sub i32 %286, 2
  %288 = call i32 @XDrawRectangle(ptr noundef %278, i64 noundef %280, ptr noundef %281, i32 noundef %284, i32 noundef %287, i32 noundef 32, i32 noundef 32)
  %289 = load ptr, ptr @d, align 8, !tbaa !9
  %290 = call i32 @XFlush(ptr noundef %289)
  br label %291

291:                                              ; preds = %260, %257
  %292 = call i32 @key_is_pressed(i64 noundef 87)
  %293 = icmp eq i32 %292, 0
  br i1 %293, label %294, label %353

294:                                              ; preds = %291
  %295 = call i32 @key_is_pressed(i64 noundef 65)
  %296 = icmp eq i32 %295, 0
  br i1 %296, label %297, label %353

297:                                              ; preds = %294
  %298 = call i32 @key_is_pressed(i64 noundef 83)
  %299 = icmp eq i32 %298, 0
  br i1 %299, label %300, label %353

300:                                              ; preds = %297
  %301 = call i32 @key_is_pressed(i64 noundef 68)
  %302 = icmp eq i32 %301, 0
  br i1 %302, label %303, label %353

303:                                              ; preds = %300
  %304 = call i32 @key_is_pressed(i64 noundef 65505)
  %305 = icmp eq i32 %304, 0
  br i1 %305, label %306, label %353

306:                                              ; preds = %303
  %307 = load i64, ptr @twin, align 8, !tbaa !16
  call void @processScanArea(i64 noundef %307)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 1, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %308 = call float @TBVGG3_Process(ptr noundef @net, ptr noundef @input, float noundef -1.000000e+00)
  store float %308, ptr %15, align 4, !tbaa !21
  %309 = load float, ptr %15, align 4, !tbaa !21
  %310 = fcmp ogt float %309, 0x3FEC28F5C0000000
  br i1 %310, label %311, label %351

311:                                              ; preds = %306
  %312 = load i32, ptr %7, align 4, !tbaa !5
  %313 = add i32 %312, 1
  store i32 %313, ptr %7, align 4, !tbaa !5
  %314 = load i32, ptr %7, align 4, !tbaa !5
  %315 = icmp ugt i32 %314, 0
  br i1 %315, label %316, label %350

316:                                              ; preds = %311
  %317 = load i32, ptr @sample_capture, align 4, !tbaa !5
  %318 = icmp eq i32 %317, 1
  br i1 %318, label %319, label %326

319:                                              ; preds = %316
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #5
  %320 = getelementptr inbounds [32 x i8], ptr %16, i64 0, i64 0
  %321 = call i32 @rand() #5
  %322 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %320, ptr noundef @.str.53, ptr noundef @targets_dir, i32 noundef %321) #5
  %323 = getelementptr inbounds [32 x i8], ptr %16, i64 0, i64 0
  call void @saveSample(ptr noundef %323)
  %324 = getelementptr inbounds [32 x i8], ptr %16, i64 0, i64 0
  %325 = call i32 (ptr, ...) @printf(ptr noundef @.str.57, ptr noundef %324)
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #5
  br label %326

326:                                              ; preds = %319, %316
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %327

327:                                              ; preds = %345, %326
  %328 = load i32, ptr %17, align 4, !tbaa !5
  %329 = load i32, ptr %14, align 4, !tbaa !5
  %330 = icmp slt i32 %328, %329
  br i1 %330, label %332, label %331

331:                                              ; preds = %327
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %348

332:                                              ; preds = %327
  store i32 4, ptr %6, align 8, !tbaa !20
  %333 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 12
  store i32 0, ptr %333, align 8, !tbaa !20
  %334 = load ptr, ptr @d, align 8, !tbaa !9
  %335 = call i32 @XSendEvent(ptr noundef %334, i64 noundef 0, i32 noundef 1, i64 noundef 4095, ptr noundef %6)
  %336 = load ptr, ptr @d, align 8, !tbaa !9
  %337 = call i32 @XFlush(ptr noundef %336)
  %338 = call i32 @usleep(i32 noundef 100000)
  store i32 5, ptr %6, align 8, !tbaa !20
  %339 = getelementptr inbounds %struct.XButtonEvent, ptr %6, i32 0, i32 12
  store i32 256, ptr %339, align 8, !tbaa !20
  %340 = load ptr, ptr @d, align 8, !tbaa !9
  %341 = call i32 @XSendEvent(ptr noundef %340, i64 noundef 0, i32 noundef 1, i64 noundef 4095, ptr noundef %6)
  %342 = load ptr, ptr @d, align 8, !tbaa !9
  %343 = call i32 @XFlush(ptr noundef %342)
  %344 = call i32 @usleep(i32 noundef 30000)
  br label %345

345:                                              ; preds = %332
  %346 = load i32, ptr %17, align 4, !tbaa !5
  %347 = add nsw i32 %346, 1
  store i32 %347, ptr %17, align 4, !tbaa !5
  br label %327, !llvm.loop !23

348:                                              ; preds = %331
  %349 = call i32 @usleep(i32 noundef 300000)
  br label %350

350:                                              ; preds = %348, %311
  br label %352

351:                                              ; preds = %306
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %352

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

353:                                              ; preds = %352, %303, %300, %297, %294, %291
  br label %354

354:                                              ; preds = %353, %256
  br label %355

355:                                              ; preds = %354, %88
  br label %49
}

declare ptr @XOpenDisplay(ptr noundef) #1

declare i32 @XDefaultScreen(ptr noundef) #1

declare i32 @usleep(i32 noundef) #1

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

; 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) #1

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

declare i32 @XFlush(ptr noundef) #1

declare i32 @XSendEvent(ptr noundef, i64 noundef, i32 noundef, i64 noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

%struct.TBVGG3_Network = type { [8 x [3 x [9 x float]]], [16 x [8 x [9 x float]]], [32 x [16 x [9 x float]]], [8 x [1 x float]], [16 x [1 x float]], [32 x [1 x float]] }
%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
@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
@input = external dso_local global [3 x [28 x [28 x float]]], align 16
@d = external dso_local local_unnamed_addr global ptr, align 8
@.str.35 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [24 x i8], align 1
@si = external dso_local local_unnamed_addr global i32, align 4
@net = external dso_local global %struct.TBVGG3_Network, align 4
@.str.37 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [4 x i8], align 1
@main.st = external hidden local_unnamed_addr global i64, align 8
@main.sc = external hidden local_unnamed_addr global i32, align 4
@.str.44 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [5 x i8], align 1
@targets_dir = external dso_local global [256 x i8], align 16
@.str.50 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [7 x i8], align 1
@main.scd = external hidden local_unnamed_addr global i64, align 8
@.str.53 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [11 x i8], align 1

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

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

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

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

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

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

; 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: nounwind uwtable
declare dso_local i32 @TBVGG3_LoadNetwork(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local float @TBVGG3_Process(ptr noundef, ptr noundef, float noundef) local_unnamed_addr #4

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

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

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

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

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

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 #4

; Function Attrs: nounwind uwtable
declare dso_local void @processScanArea(i64 noundef) local_unnamed_addr #4

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #4 {
  %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 @reprint()
  %9 = tail call ptr @XOpenDisplay(ptr noundef nonnull @.str.35) #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.36)
  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 i32 @TBVGG3_LoadNetwork(ptr noundef nonnull @net, ptr noundef nonnull @.str.37)
  %22 = icmp slt i32 %21, 0
  %.str.38..str.39 = select i1 %22, ptr @.str.38, ptr @.str.39
  %23 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.38..str.39)
  %24 = load ptr, ptr @d, align 8, !tbaa !5
  %25 = tail call i64 @findWindow(ptr noundef %24, i64 noundef 0, ptr noundef nonnull @.str.40)
  store i64 %25, ptr @twin, align 8, !tbaa !16
  %.not = icmp eq i64 %25, 0
  br i1 %.not, label %27, label %26

26:                                               ; preds = %13
  tail call void @reprint()
  br label %27

27:                                               ; preds = %26, %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)
  %28 = getelementptr inbounds i8, ptr %4, i64 8
  %29 = getelementptr inbounds i8, ptr %4, i64 12
  %30 = getelementptr inbounds i8, ptr %3, i64 84
  %31 = getelementptr inbounds i8, ptr %3, i64 88
  %32 = getelementptr inbounds i8, ptr %3, i64 48
  %33 = getelementptr inbounds i8, ptr %3, i64 32
  %34 = getelementptr inbounds i8, ptr %3, i64 80
  br label %.outer

.outer:                                           ; preds = %.outer.backedge, %27
  %.012.ph = phi i32 [ 0, %27 ], [ %.012.ph.be, %.outer.backedge ]
  br label %.backedge

.backedge:                                        ; preds = %.backedge.backedge, %.outer
  %35 = call i32 @usleep(i32 noundef 1000) #7
  %36 = call i32 @key_is_pressed(i64 noundef 65507)
  %.not18 = icmp eq i32 %36, 0
  br i1 %.not18, label %60, label %37

37:                                               ; preds = %.backedge
  %38 = call i32 @key_is_pressed(i64 noundef 65513)
  %.not19 = icmp eq i32 %38, 0
  br i1 %.not19, label %60, label %39

39:                                               ; preds = %37
  %40 = load i32, ptr @enable, align 4, !tbaa !9
  %41 = icmp eq i32 %40, 0
  br i1 %41, label %42, label %58

42:                                               ; preds = %39
  %43 = load ptr, ptr @d, align 8, !tbaa !5
  %44 = call i64 @findWindow(ptr noundef %43, i64 noundef 0, ptr noundef nonnull @.str.40)
  store i64 %44, ptr @twin, align 8, !tbaa !16
  %45 = icmp eq i64 %44, 0
  br i1 %45, label %46, label %49

46:                                               ; preds = %42
  %47 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.41)
  %48 = call i32 @sleep(i32 noundef 1) #7
  br label %.backedge.backedge

49:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 136, ptr nonnull %4) #7
  %50 = load ptr, ptr @d, align 8, !tbaa !5
  %51 = call i32 @XGetWindowAttributes(ptr noundef %50, i64 noundef %44, ptr noundef nonnull %4) #7
  %52 = load i32, ptr %28, align 8, !tbaa !17
  %53 = sdiv i32 %52, 2
  store i32 %53, ptr @x, align 4, !tbaa !9
  %54 = load i32, ptr %29, align 4, !tbaa !19
  %55 = sdiv i32 %54, 2
  store i32 %55, 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 %30, align 4, !tbaa !20
  store i32 1, ptr %31, align 8, !tbaa !20
  %56 = load i64, ptr @twin, align 8, !tbaa !16
  store i64 %56, ptr %32, align 8, !tbaa !20
  store i64 %56, ptr %33, align 8, !tbaa !20
  store i32 1, ptr @enable, align 4, !tbaa !9
  %57 = call i32 @usleep(i32 noundef 100000) #7
  call void @reprint()
  call void @speakS(ptr noundef nonnull @.str.42)
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %4) #7
  br label %60

58:                                               ; preds = %39
  store i32 0, ptr @enable, align 4, !tbaa !9
  %59 = call i32 @usleep(i32 noundef 100000) #7
  call void @reprint()
  call void @speakS(ptr noundef nonnull @.str.43)
  br label %60

60:                                               ; preds = %49, %58, %37, %.backedge
  %61 = load i32, ptr @enable, align 4, !tbaa !9
  %62 = icmp eq i32 %61, 1
  br i1 %62, label %63, label %.outer.backedge

63:                                               ; preds = %60
  %64 = call i32 @key_is_pressed(i64 noundef 72)
  %.not20 = icmp eq i32 %64, 0
  br i1 %.not20, label %78, label %65

65:                                               ; preds = %63
  %66 = load i64, ptr @twin, align 8, !tbaa !16
  call void @processScanArea(i64 noundef %66)
  %67 = call float @TBVGG3_Process(ptr noundef nonnull @net, ptr noundef nonnull @input, float noundef -1.000000e+00)
  %68 = load i32, ptr @main.sc, align 4, !tbaa !9
  %69 = add i32 %68, 1
  store i32 %69, ptr @main.sc, align 4, !tbaa !9
  %70 = call i64 @microtime()
  %71 = load i64, ptr @main.st, align 8, !tbaa !16
  %72 = sub i64 %70, %71
  %73 = icmp ugt i64 %72, 999999
  br i1 %73, label %74, label %.backedge.backedge

.backedge.backedge:                               ; preds = %65, %74, %46
  br label %.backedge

74:                                               ; preds = %65
  %75 = load i32, ptr @main.sc, align 4, !tbaa !9
  %76 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.44, i32 noundef %75)
  store i32 0, ptr @main.sc, align 4, !tbaa !9
  %77 = call i64 @microtime()
  store i64 %77, ptr @main.st, align 8, !tbaa !16
  br label %.backedge.backedge

78:                                               ; preds = %63
  %79 = call i32 @key_is_pressed(i64 noundef 65508)
  %.not21 = icmp eq i32 %79, 0
  br i1 %.not21, label %85, label %80

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

.sink.split:                                      ; preds = %80
  %82 = load i32, ptr @hotkeys, align 4, !tbaa !9
  %83 = icmp eq i32 %82, 0
  %. = zext i1 %83 to i32
  %.str.45..str.46 = select i1 %83, ptr @.str.45, ptr @.str.46
  store i32 %., ptr @hotkeys, align 4, !tbaa !9
  %84 = call i32 @usleep(i32 noundef 100000) #7
  call void @reprint()
  call void @speakS(ptr noundef nonnull %.str.45..str.46)
  br label %85

85:                                               ; preds = %.sink.split, %80, %78
  %86 = load i32, ptr @hotkeys, align 4, !tbaa !9
  %87 = icmp eq i32 %86, 1
  br i1 %87, label %88, label %.thread

88:                                               ; preds = %85
  %89 = call i32 @key_is_pressed(i64 noundef 80)
  %.not23 = icmp eq i32 %89, 0
  br i1 %.not23, label %93, label %.sink.split28

.sink.split28:                                    ; preds = %88
  %90 = load i32, ptr @crosshair, align 4, !tbaa !9
  %91 = icmp eq i32 %90, 0
  %.32 = zext i1 %91 to i32
  %.str.47..str.48 = select i1 %91, ptr @.str.47, ptr @.str.48
  store i32 %.32, ptr @crosshair, align 4, !tbaa !9
  %92 = call i32 @usleep(i32 noundef 100000) #7
  call void @reprint()
  call void @speakS(ptr noundef nonnull %.str.47..str.48)
  br label %93

93:                                               ; preds = %.sink.split28, %88
  %94 = call i32 @key_is_pressed(i64 noundef 76)
  %.not24 = icmp eq i32 %94, 0
  br i1 %.not24, label %103, label %95

95:                                               ; preds = %93
  %96 = load i32, ptr @sample_capture, align 4, !tbaa !9
  %97 = icmp eq i32 %96, 0
  br i1 %97, label %98, label %.sink.split30

98:                                               ; preds = %95
  %99 = call ptr @getenv(ptr noundef nonnull @.str.49) #7
  %100 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) @targets_dir, ptr noundef nonnull dereferenceable(1) @.str.50, ptr noundef %99) #7
  %101 = call i32 @mkdir(ptr noundef nonnull @targets_dir, i32 noundef 511) #7
  br label %.sink.split30

.sink.split30:                                    ; preds = %95, %98
  %.sink31 = phi i32 [ 1, %98 ], [ 0, %95 ]
  %.str.51.sink = phi ptr [ @.str.51, %98 ], [ @.str.52, %95 ]
  store i32 %.sink31, ptr @sample_capture, align 4, !tbaa !9
  %102 = call i32 @usleep(i32 noundef 100000) #7
  call void @reprint()
  call void @speakS(ptr noundef nonnull %.str.51.sink)
  br label %103

103:                                              ; preds = %.sink.split30, %93
  %104 = load i32, ptr @sample_capture, align 4, !tbaa !9
  %105 = icmp eq i32 %104, 1
  br i1 %105, label %106, label %118

106:                                              ; preds = %103
  %107 = call i32 @key_is_pressed(i64 noundef 69)
  %.not25 = icmp eq i32 %107, 0
  br i1 %.not25, label %118, label %108

108:                                              ; preds = %106
  %109 = call i64 @microtime()
  %110 = load i64, ptr @main.scd, align 8, !tbaa !16
  %111 = icmp ugt i64 %109, %110
  br i1 %111, label %112, label %118

112:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  %113 = call i32 @rand() #7
  %114 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.53, ptr noundef nonnull @targets_dir, i32 noundef %113) #7
  call void @saveSample(ptr noundef nonnull %5)
  %115 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.54, ptr noundef nonnull %5)
  %116 = call i64 @microtime()
  %117 = add i64 %116, 350000
  store i64 %117, ptr @main.scd, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  br label %118

118:                                              ; preds = %103, %106, %108, %112
  %.pr = load i32, ptr @hotkeys, align 4, !tbaa !9
  %119 = icmp eq i32 %.pr, 1
  br i1 %119, label %120, label %.thread

120:                                              ; preds = %118
  %121 = call i32 @key_is_pressed(i64 noundef 71)
  %.not26 = icmp eq i32 %121, 0
  br i1 %.not26, label %.thread, label %122

122:                                              ; preds = %120
  %123 = load i64, ptr @twin, align 8, !tbaa !16
  call void @processScanArea(i64 noundef %123)
  %124 = call float @TBVGG3_Process(ptr noundef nonnull @net, ptr noundef nonnull @input, float noundef -1.000000e+00)
  %125 = fcmp ult float %124, 0x3FEC28F5C0000000
  br i1 %125, label %153, label %126

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

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

.thread:                                          ; preds = %85, %120, %118
  %183 = load i32, ptr @crosshair, align 4, !tbaa !9
  %184 = icmp eq i32 %183, 1
  br i1 %184, label %185, label %210

185:                                              ; preds = %.thread
  %186 = load ptr, ptr @d, align 8, !tbaa !5
  %187 = load ptr, ptr @gc, align 8, !tbaa !5
  %188 = call i32 @XSetForeground(ptr noundef %186, ptr noundef %187, i64 noundef 65280) #7
  %189 = load ptr, ptr @d, align 8, !tbaa !5
  %190 = load i64, ptr %33, align 8, !tbaa !20
  %191 = load ptr, ptr @gc, align 8, !tbaa !5
  %192 = load i32, ptr @x, align 4, !tbaa !9
  %193 = add i32 %192, -15
  %194 = load i32, ptr @y, align 4, !tbaa !9
  %195 = add i32 %194, -15
  %196 = call i32 @XDrawRectangle(ptr noundef %189, i64 noundef %190, ptr noundef %191, i32 noundef %193, i32 noundef %195, i32 noundef 30, i32 noundef 30) #7
  %197 = load ptr, ptr @d, align 8, !tbaa !5
  %198 = load ptr, ptr @gc, align 8, !tbaa !5
  %199 = call i32 @XSetForeground(ptr noundef %197, ptr noundef %198, i64 noundef 0) #7
  %200 = load ptr, ptr @d, align 8, !tbaa !5
  %201 = load i64, ptr %33, align 8, !tbaa !20
  %202 = load ptr, ptr @gc, align 8, !tbaa !5
  %203 = load i32, ptr @x, align 4, !tbaa !9
  %204 = add i32 %203, -16
  %205 = load i32, ptr @y, align 4, !tbaa !9
  %206 = add i32 %205, -16
  %207 = call i32 @XDrawRectangle(ptr noundef %200, i64 noundef %201, ptr noundef %202, i32 noundef %204, i32 noundef %206, i32 noundef 32, i32 noundef 32) #7
  %208 = load ptr, ptr @d, align 8, !tbaa !5
  %209 = call i32 @XFlush(ptr noundef %208) #7
  br label %210

210:                                              ; preds = %185, %.thread
  %211 = call i32 @key_is_pressed(i64 noundef 87)
  %212 = icmp eq i32 %211, 0
  br i1 %212, label %213, label %.outer.backedge

213:                                              ; preds = %210
  %214 = call i32 @key_is_pressed(i64 noundef 65)
  %215 = icmp eq i32 %214, 0
  br i1 %215, label %216, label %.outer.backedge

216:                                              ; preds = %213
  %217 = call i32 @key_is_pressed(i64 noundef 83)
  %218 = icmp eq i32 %217, 0
  br i1 %218, label %219, label %.outer.backedge

219:                                              ; preds = %216
  %220 = call i32 @key_is_pressed(i64 noundef 68)
  %221 = icmp eq i32 %220, 0
  br i1 %221, label %222, label %.outer.backedge

222:                                              ; preds = %219
  %223 = call i32 @key_is_pressed(i64 noundef 65505)
  %224 = icmp eq i32 %223, 0
  br i1 %224, label %225, label %.outer.backedge

225:                                              ; preds = %222
  %226 = load i64, ptr @twin, align 8, !tbaa !16
  call void @processScanArea(i64 noundef %226)
  %227 = call float @TBVGG3_Process(ptr noundef nonnull @net, ptr noundef nonnull @input, float noundef -1.000000e+00)
  %228 = fcmp ogt float %227, 0x3FEC28F5C0000000
  br i1 %228, label %229, label %.outer.backedge

229:                                              ; preds = %225
  %230 = add i32 %.012.ph, 1
  %.not27 = icmp eq i32 %230, 0
  br i1 %.not27, label %.outer.backedge, label %231

231:                                              ; preds = %229
  %232 = load i32, ptr @sample_capture, align 4, !tbaa !9
  %233 = icmp eq i32 %232, 1
  br i1 %233, label %234, label %.critedge

234:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #7
  %235 = call i32 @rand() #7
  %236 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.53, ptr noundef nonnull @targets_dir, i32 noundef %235) #7
  call void @saveSample(ptr noundef nonnull %6)
  %237 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.57, ptr noundef nonnull %6)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  br label %.critedge

.critedge:                                        ; preds = %234, %231
  store i32 4, ptr %3, align 8, !tbaa !20
  store i32 0, ptr %34, align 8, !tbaa !20
  %238 = load ptr, ptr @d, align 8, !tbaa !5
  %239 = call i32 @XSendEvent(ptr noundef %238, i64 noundef 0, i32 noundef 1, i64 noundef 4095, ptr noundef nonnull %3) #7
  %240 = load ptr, ptr @d, align 8, !tbaa !5
  %241 = call i32 @XFlush(ptr noundef %240) #7
  %242 = call i32 @usleep(i32 noundef 100000) #7
  store i32 5, ptr %3, align 8, !tbaa !20
  store i32 256, ptr %34, align 8, !tbaa !20
  %243 = load ptr, ptr @d, align 8, !tbaa !5
  %244 = call i32 @XSendEvent(ptr noundef %243, i64 noundef 0, i32 noundef 1, i64 noundef 4095, ptr noundef nonnull %3) #7
  %245 = load ptr, ptr @d, align 8, !tbaa !5
  %246 = call i32 @XFlush(ptr noundef %245) #7
  %247 = call i32 @usleep(i32 noundef 30000) #7
  %248 = call i32 @usleep(i32 noundef 300000) #7
  br label %.outer.backedge

.outer.backedge:                                  ; preds = %60, %.critedge, %229, %225, %126, %153, %222, %219, %216, %213, %210
  %.012.ph.be = phi i32 [ %.012.ph, %222 ], [ %.012.ph, %219 ], [ %.012.ph, %216 ], [ %.012.ph, %213 ], [ %.012.ph, %210 ], [ %.012.ph, %153 ], [ %.012.ph, %126 ], [ %230, %.critedge ], [ 0, %229 ], [ 0, %225 ], [ %.012.ph, %60 ]
  br label %.outer
}

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 #1

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "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,JumpThreadingPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass