; LLVM IR from unitreerobotics/kinect_teleoperate :: src/extern/glfw/src/tests (cursor)

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

@glad_glAttachShader = external dso_local global ptr, align 8
@glad_glBindBuffer = external dso_local global ptr, align 8
@glad_glBufferData = external dso_local global ptr, align 8
@glad_glClear = external dso_local global ptr, align 8
@glad_glCompileShader = external dso_local global ptr, align 8
@glad_glCreateProgram = external dso_local global ptr, align 8
@glad_glCreateShader = external dso_local global ptr, align 8
@glad_glDrawArrays = external dso_local global ptr, align 8
@glad_glEnableVertexAttribArray = external dso_local global ptr, align 8
@glad_glGenBuffers = external dso_local global ptr, align 8
@glad_glGetAttribLocation = external dso_local global ptr, align 8
@glad_glGetUniformLocation = external dso_local global ptr, align 8
@glad_glLinkProgram = external dso_local global ptr, align 8
@glad_glShaderSource = external dso_local global ptr, align 8
@glad_glUniformMatrix4fv = external dso_local global ptr, align 8
@glad_glUseProgram = external dso_local global ptr, align 8
@glad_glVertexAttribPointer = external dso_local global ptr, align 8
@glad_glViewport = external dso_local global ptr, align 8
@tracking_cursor = external hidden global ptr, align 8
@__const.main.shapes = external hidden unnamed_addr constant [10 x i32], align 16
@standard_cursors = external hidden global [10 x ptr], align 16
@.str.1 = external hidden unnamed_addr constant [12 x i8], align 1
@vertex_shader_text = external hidden global ptr, align 8
@fragment_shader_text = external hidden global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@cursor_x = external hidden global double, align 8
@cursor_y = external hidden global double, align 8
@.str.4 = external hidden unnamed_addr constant [24 x i8], align 1
@track_cursor = external hidden global i32, align 4
@animate_cursor = external hidden global i32, align 4
@wait_events = external hidden global i32, align 4
@stdout = external global ptr, align 8

; 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

; Function Attrs: nounwind uwtable
declare dso_local i32 @gladLoadGL(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #1 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca [60 x ptr], align 16
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca [10 x i32], align 16
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca float, align 4
  %18 = alloca [4 x [2 x float]], align 16
  %19 = alloca [4 x [4 x float]], align 16
  %20 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 480, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  store ptr null, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %21 = call ptr @glfwSetErrorCallback(ptr noundef @error_callback)
  %22 = call i32 @glfwInit()
  %23 = icmp ne i32 %22, 0
  br i1 %23, label %25, label %24

24:                                               ; preds = %0
  call void @exit(i32 noundef 1) #8
  unreachable

25:                                               ; preds = %0
  %26 = call ptr @create_tracking_cursor()
  store ptr %26, ptr @tracking_cursor, align 8, !tbaa !5
  %27 = load ptr, ptr @tracking_cursor, align 8, !tbaa !5
  %28 = icmp ne ptr %27, null
  br i1 %28, label %30, label %29

29:                                               ; preds = %25
  call void @glfwTerminate()
  call void @exit(i32 noundef 1) #8
  unreachable

30:                                               ; preds = %25
  store i32 0, ptr %2, align 4, !tbaa !9
  br label %31

31:                                               ; preds = %49, %30
  %32 = load i32, ptr %2, align 4, !tbaa !9
  %33 = icmp slt i32 %32, 60
  br i1 %33, label %34, label %52

34:                                               ; preds = %31
  %35 = load i32, ptr %2, align 4, !tbaa !9
  %36 = sitofp i32 %35 to float
  %37 = fdiv float %36, 6.000000e+01
  %38 = call ptr @create_cursor_frame(float noundef %37)
  %39 = load i32, ptr %2, align 4, !tbaa !9
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [60 x ptr], ptr %4, i64 0, i64 %40
  store ptr %38, ptr %41, align 8, !tbaa !5
  %42 = load i32, ptr %2, align 4, !tbaa !9
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [60 x ptr], ptr %4, i64 0, i64 %43
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  %46 = icmp ne ptr %45, null
  br i1 %46, label %48, label %47

47:                                               ; preds = %34
  call void @glfwTerminate()
  call void @exit(i32 noundef 1) #8
  unreachable

48:                                               ; preds = %34
  br label %49

49:                                               ; preds = %48
  %50 = load i32, ptr %2, align 4, !tbaa !9
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr %2, align 4, !tbaa !9
  br label %31, !llvm.loop !11

52:                                               ; preds = %31
  store i32 0, ptr %2, align 4, !tbaa !9
  br label %53

53:                                               ; preds = %66, %52
  %54 = load i32, ptr %2, align 4, !tbaa !9
  %55 = sext i32 %54 to i64
  %56 = icmp ult i64 %55, 10
  br i1 %56, label %57, label %69

57:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 40, ptr %12) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.main.shapes, i64 40, i1 false)
  %58 = load i32, ptr %2, align 4, !tbaa !9
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [10 x i32], ptr %12, i64 0, i64 %59
  %61 = load i32, ptr %60, align 4, !tbaa !9
  %62 = call ptr @glfwCreateStandardCursor(i32 noundef %61)
  %63 = load i32, ptr %2, align 4, !tbaa !9
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [10 x ptr], ptr @standard_cursors, i64 0, i64 %64
  store ptr %62, ptr %65, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 40, ptr %12) #7
  br label %66

66:                                               ; preds = %57
  %67 = load i32, ptr %2, align 4, !tbaa !9
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %2, align 4, !tbaa !9
  br label %53, !llvm.loop !13

69:                                               ; preds = %53
  call void @glfwWindowHint(i32 noundef 139266, i32 noundef 2)
  call void @glfwWindowHint(i32 noundef 139267, i32 noundef 0)
  %70 = call ptr @glfwCreateWindow(i32 noundef 640, i32 noundef 480, ptr noundef @.str.1, ptr noundef null, ptr noundef null)
  store ptr %70, ptr %3, align 8, !tbaa !5
  %71 = load ptr, ptr %3, align 8, !tbaa !5
  %72 = icmp ne ptr %71, null
  br i1 %72, label %74, label %73

73:                                               ; preds = %69
  call void @glfwTerminate()
  call void @exit(i32 noundef 1) #8
  unreachable

74:                                               ; preds = %69
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  call void @glfwMakeContextCurrent(ptr noundef %75)
  %76 = call i32 @gladLoadGL(ptr noundef @glfwGetProcAddress)
  %77 = load ptr, ptr @glad_glGenBuffers, align 8, !tbaa !5
  call void %77(i32 noundef 1, ptr noundef %6)
  %78 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  %79 = load i32, ptr %6, align 4, !tbaa !9
  call void %78(i32 noundef 34962, i32 noundef %79)
  %80 = load ptr, ptr @glad_glCreateShader, align 8, !tbaa !5
  %81 = call i32 %80(i32 noundef 35633)
  store i32 %81, ptr %7, align 4, !tbaa !9
  %82 = load ptr, ptr @glad_glShaderSource, align 8, !tbaa !5
  %83 = load i32, ptr %7, align 4, !tbaa !9
  call void %82(i32 noundef %83, i32 noundef 1, ptr noundef @vertex_shader_text, ptr noundef null)
  %84 = load ptr, ptr @glad_glCompileShader, align 8, !tbaa !5
  %85 = load i32, ptr %7, align 4, !tbaa !9
  call void %84(i32 noundef %85)
  %86 = load ptr, ptr @glad_glCreateShader, align 8, !tbaa !5
  %87 = call i32 %86(i32 noundef 35632)
  store i32 %87, ptr %8, align 4, !tbaa !9
  %88 = load ptr, ptr @glad_glShaderSource, align 8, !tbaa !5
  %89 = load i32, ptr %8, align 4, !tbaa !9
  call void %88(i32 noundef %89, i32 noundef 1, ptr noundef @fragment_shader_text, ptr noundef null)
  %90 = load ptr, ptr @glad_glCompileShader, align 8, !tbaa !5
  %91 = load i32, ptr %8, align 4, !tbaa !9
  call void %90(i32 noundef %91)
  %92 = load ptr, ptr @glad_glCreateProgram, align 8, !tbaa !5
  %93 = call i32 %92()
  store i32 %93, ptr %9, align 4, !tbaa !9
  %94 = load ptr, ptr @glad_glAttachShader, align 8, !tbaa !5
  %95 = load i32, ptr %9, align 4, !tbaa !9
  %96 = load i32, ptr %7, align 4, !tbaa !9
  call void %94(i32 noundef %95, i32 noundef %96)
  %97 = load ptr, ptr @glad_glAttachShader, align 8, !tbaa !5
  %98 = load i32, ptr %9, align 4, !tbaa !9
  %99 = load i32, ptr %8, align 4, !tbaa !9
  call void %97(i32 noundef %98, i32 noundef %99)
  %100 = load ptr, ptr @glad_glLinkProgram, align 8, !tbaa !5
  %101 = load i32, ptr %9, align 4, !tbaa !9
  call void %100(i32 noundef %101)
  %102 = load ptr, ptr @glad_glGetUniformLocation, align 8, !tbaa !5
  %103 = load i32, ptr %9, align 4, !tbaa !9
  %104 = call i32 %102(i32 noundef %103, ptr noundef @.str.2)
  store i32 %104, ptr %10, align 4, !tbaa !9
  %105 = load ptr, ptr @glad_glGetAttribLocation, align 8, !tbaa !5
  %106 = load i32, ptr %9, align 4, !tbaa !9
  %107 = call i32 %105(i32 noundef %106, ptr noundef @.str.3)
  store i32 %107, ptr %11, align 4, !tbaa !9
  %108 = load ptr, ptr @glad_glEnableVertexAttribArray, align 8, !tbaa !5
  %109 = load i32, ptr %11, align 4, !tbaa !9
  call void %108(i32 noundef %109)
  %110 = load ptr, ptr @glad_glVertexAttribPointer, align 8, !tbaa !5
  %111 = load i32, ptr %11, align 4, !tbaa !9
  call void %110(i32 noundef %111, i32 noundef 2, i32 noundef 5126, i8 noundef zeroext 0, i32 noundef 8, ptr noundef null)
  %112 = load ptr, ptr @glad_glUseProgram, align 8, !tbaa !5
  %113 = load i32, ptr %9, align 4, !tbaa !9
  call void %112(i32 noundef %113)
  %114 = load ptr, ptr %3, align 8, !tbaa !5
  call void @glfwGetCursorPos(ptr noundef %114, ptr noundef @cursor_x, ptr noundef @cursor_y)
  %115 = load double, ptr @cursor_x, align 8, !tbaa !14
  %116 = load double, ptr @cursor_y, align 8, !tbaa !14
  %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %115, double noundef %116)
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  %119 = call ptr @glfwSetCursorPosCallback(ptr noundef %118, ptr noundef @cursor_position_callback)
  %120 = load ptr, ptr %3, align 8, !tbaa !5
  %121 = call ptr @glfwSetKeyCallback(ptr noundef %120, ptr noundef @key_callback)
  br label %122

122:                                              ; preds = %248, %74
  %123 = load ptr, ptr %3, align 8, !tbaa !5
  %124 = call i32 @glfwWindowShouldClose(ptr noundef %123)
  %125 = icmp ne i32 %124, 0
  %126 = xor i1 %125, true
  br i1 %126, label %127, label %251

127:                                              ; preds = %122
  %128 = load ptr, ptr @glad_glClear, align 8, !tbaa !5
  call void %128(i32 noundef 16384)
  %129 = load i32, ptr @track_cursor, align 4, !tbaa !9
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %131, label %211

131:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %19) #7
  %132 = load ptr, ptr %3, align 8, !tbaa !5
  call void @glfwGetWindowSize(ptr noundef %132, ptr noundef %13, ptr noundef %14)
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  call void @glfwGetFramebufferSize(ptr noundef %133, ptr noundef %15, ptr noundef %16)
  %134 = load ptr, ptr @glad_glViewport, align 8, !tbaa !5
  %135 = load i32, ptr %15, align 4, !tbaa !9
  %136 = load i32, ptr %16, align 4, !tbaa !9
  call void %134(i32 noundef 0, i32 noundef 0, i32 noundef %135, i32 noundef %136)
  %137 = load i32, ptr %15, align 4, !tbaa !9
  %138 = sitofp i32 %137 to float
  %139 = load i32, ptr %13, align 4, !tbaa !9
  %140 = sitofp i32 %139 to float
  %141 = fdiv float %138, %140
  store float %141, ptr %17, align 4, !tbaa !16
  %142 = getelementptr inbounds [4 x [2 x float]], ptr %18, i64 0, i64 0
  %143 = getelementptr inbounds [2 x float], ptr %142, i64 0, i64 0
  store float 5.000000e-01, ptr %143, align 16, !tbaa !16
  %144 = load i32, ptr %16, align 4, !tbaa !9
  %145 = sitofp i32 %144 to double
  %146 = load double, ptr @cursor_y, align 8, !tbaa !14
  %147 = load float, ptr %17, align 4, !tbaa !16
  %148 = fpext float %147 to double
  %149 = fmul double %146, %148
  %150 = call double @llvm.floor.f64(double %149)
  %151 = fsub double %145, %150
  %152 = fsub double %151, 1.000000e+00
  %153 = fadd double %152, 5.000000e-01
  %154 = fptrunc double %153 to float
  %155 = getelementptr inbounds [4 x [2 x float]], ptr %18, i64 0, i64 0
  %156 = getelementptr inbounds [2 x float], ptr %155, i64 0, i64 1
  store float %154, ptr %156, align 4, !tbaa !16
  %157 = load i32, ptr %15, align 4, !tbaa !9
  %158 = sitofp i32 %157 to float
  %159 = fadd float %158, 5.000000e-01
  %160 = getelementptr inbounds [4 x [2 x float]], ptr %18, i64 0, i64 1
  %161 = getelementptr inbounds [2 x float], ptr %160, i64 0, i64 0
  store float %159, ptr %161, align 8, !tbaa !16
  %162 = load i32, ptr %16, align 4, !tbaa !9
  %163 = sitofp i32 %162 to double
  %164 = load double, ptr @cursor_y, align 8, !tbaa !14
  %165 = load float, ptr %17, align 4, !tbaa !16
  %166 = fpext float %165 to double
  %167 = fmul double %164, %166
  %168 = call double @llvm.floor.f64(double %167)
  %169 = fsub double %163, %168
  %170 = fsub double %169, 1.000000e+00
  %171 = fadd double %170, 5.000000e-01
  %172 = fptrunc double %171 to float
  %173 = getelementptr inbounds [4 x [2 x float]], ptr %18, i64 0, i64 1
  %174 = getelementptr inbounds [2 x float], ptr %173, i64 0, i64 1
  store float %172, ptr %174, align 4, !tbaa !16
  %175 = load double, ptr @cursor_x, align 8, !tbaa !14
  %176 = load float, ptr %17, align 4, !tbaa !16
  %177 = fpext float %176 to double
  %178 = fmul double %175, %177
  %179 = call double @llvm.floor.f64(double %178)
  %180 = fptrunc double %179 to float
  %181 = fadd float %180, 5.000000e-01
  %182 = getelementptr inbounds [4 x [2 x float]], ptr %18, i64 0, i64 2
  %183 = getelementptr inbounds [2 x float], ptr %182, i64 0, i64 0
  store float %181, ptr %183, align 16, !tbaa !16
  %184 = getelementptr inbounds [4 x [2 x float]], ptr %18, i64 0, i64 2
  %185 = getelementptr inbounds [2 x float], ptr %184, i64 0, i64 1
  store float 5.000000e-01, ptr %185, align 4, !tbaa !16
  %186 = load double, ptr @cursor_x, align 8, !tbaa !14
  %187 = load float, ptr %17, align 4, !tbaa !16
  %188 = fpext float %187 to double
  %189 = fmul double %186, %188
  %190 = call double @llvm.floor.f64(double %189)
  %191 = fptrunc double %190 to float
  %192 = fadd float %191, 5.000000e-01
  %193 = getelementptr inbounds [4 x [2 x float]], ptr %18, i64 0, i64 3
  %194 = getelementptr inbounds [2 x float], ptr %193, i64 0, i64 0
  store float %192, ptr %194, align 8, !tbaa !16
  %195 = load i32, ptr %16, align 4, !tbaa !9
  %196 = sitofp i32 %195 to float
  %197 = fadd float %196, 5.000000e-01
  %198 = getelementptr inbounds [4 x [2 x float]], ptr %18, i64 0, i64 3
  %199 = getelementptr inbounds [2 x float], ptr %198, i64 0, i64 1
  store float %197, ptr %199, align 4, !tbaa !16
  %200 = load ptr, ptr @glad_glBufferData, align 8, !tbaa !5
  %201 = getelementptr inbounds [4 x [2 x float]], ptr %18, i64 0, i64 0
  call void %200(i32 noundef 34962, i64 noundef 32, ptr noundef %201, i32 noundef 35040)
  %202 = getelementptr inbounds [4 x [4 x float]], ptr %19, i64 0, i64 0
  %203 = load i32, ptr %15, align 4, !tbaa !9
  %204 = sitofp i32 %203 to float
  %205 = load i32, ptr %16, align 4, !tbaa !9
  %206 = sitofp i32 %205 to float
  call void @mat4x4_ortho(ptr noundef %202, float noundef 0.000000e+00, float noundef %204, float noundef 0.000000e+00, float noundef %206, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %207 = load ptr, ptr @glad_glUniformMatrix4fv, align 8, !tbaa !5
  %208 = load i32, ptr %10, align 4, !tbaa !9
  %209 = getelementptr inbounds [4 x [4 x float]], ptr %19, i64 0, i64 0
  call void %207(i32 noundef %208, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %209)
  %210 = load ptr, ptr @glad_glDrawArrays, align 8, !tbaa !5
  call void %210(i32 noundef 1, i32 noundef 0, i32 noundef 4)
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %211

211:                                              ; preds = %131, %127
  %212 = load ptr, ptr %3, align 8, !tbaa !5
  call void @glfwSwapBuffers(ptr noundef %212)
  %213 = load i32, ptr @animate_cursor, align 4, !tbaa !9
  %214 = icmp ne i32 %213, 0
  br i1 %214, label %215, label %237

215:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %216 = call double @glfwGetTime()
  %217 = fmul double %216, 3.000000e+01
  %218 = fptosi double %217 to i32
  %219 = srem i32 %218, 60
  store i32 %219, ptr %20, align 4, !tbaa !9
  %220 = load ptr, ptr %5, align 8, !tbaa !5
  %221 = load i32, ptr %20, align 4, !tbaa !9
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds [60 x ptr], ptr %4, i64 0, i64 %222
  %224 = load ptr, ptr %223, align 8, !tbaa !5
  %225 = icmp ne ptr %220, %224
  br i1 %225, label %226, label %236

226:                                              ; preds = %215
  %227 = load ptr, ptr %3, align 8, !tbaa !5
  %228 = load i32, ptr %20, align 4, !tbaa !9
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds [60 x ptr], ptr %4, i64 0, i64 %229
  %231 = load ptr, ptr %230, align 8, !tbaa !5
  call void @glfwSetCursor(ptr noundef %227, ptr noundef %231)
  %232 = load i32, ptr %20, align 4, !tbaa !9
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds [60 x ptr], ptr %4, i64 0, i64 %233
  %235 = load ptr, ptr %234, align 8, !tbaa !5
  store ptr %235, ptr %5, align 8, !tbaa !5
  br label %236

236:                                              ; preds = %226, %215
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %238

237:                                              ; preds = %211
  store ptr null, ptr %5, align 8, !tbaa !5
  br label %238

238:                                              ; preds = %237, %236
  %239 = load i32, ptr @wait_events, align 4, !tbaa !9
  %240 = icmp ne i32 %239, 0
  br i1 %240, label %241, label %247

241:                                              ; preds = %238
  %242 = load i32, ptr @animate_cursor, align 4, !tbaa !9
  %243 = icmp ne i32 %242, 0
  br i1 %243, label %244, label %245

244:                                              ; preds = %241
  call void @glfwWaitEventsTimeout(double noundef 0x3FA1111111111111)
  br label %246

245:                                              ; preds = %241
  call void @glfwWaitEvents()
  br label %246

246:                                              ; preds = %245, %244
  br label %248

247:                                              ; preds = %238
  call void @glfwPollEvents()
  br label %248

248:                                              ; preds = %247, %246
  %249 = load ptr, ptr @stdout, align 8, !tbaa !5
  %250 = call i32 @fflush(ptr noundef %249)
  br label %122, !llvm.loop !18

251:                                              ; preds = %122
  %252 = load ptr, ptr %3, align 8, !tbaa !5
  call void @glfwDestroyWindow(ptr noundef %252)
  store i32 0, ptr %2, align 4, !tbaa !9
  br label %253

253:                                              ; preds = %261, %251
  %254 = load i32, ptr %2, align 4, !tbaa !9
  %255 = icmp slt i32 %254, 60
  br i1 %255, label %256, label %264

256:                                              ; preds = %253
  %257 = load i32, ptr %2, align 4, !tbaa !9
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds [60 x ptr], ptr %4, i64 0, i64 %258
  %260 = load ptr, ptr %259, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %260)
  br label %261

261:                                              ; preds = %256
  %262 = load i32, ptr %2, align 4, !tbaa !9
  %263 = add nsw i32 %262, 1
  store i32 %263, ptr %2, align 4, !tbaa !9
  br label %253, !llvm.loop !19

264:                                              ; preds = %253
  store i32 0, ptr %2, align 4, !tbaa !9
  br label %265

265:                                              ; preds = %274, %264
  %266 = load i32, ptr %2, align 4, !tbaa !9
  %267 = sext i32 %266 to i64
  %268 = icmp ult i64 %267, 10
  br i1 %268, label %269, label %277

269:                                              ; preds = %265
  %270 = load i32, ptr %2, align 4, !tbaa !9
  %271 = sext i32 %270 to i64
  %272 = getelementptr inbounds [10 x ptr], ptr @standard_cursors, i64 0, i64 %271
  %273 = load ptr, ptr %272, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %273)
  br label %274

274:                                              ; preds = %269
  %275 = load i32, ptr %2, align 4, !tbaa !9
  %276 = add nsw i32 %275, 1
  store i32 %276, ptr %2, align 4, !tbaa !9
  br label %265, !llvm.loop !20

277:                                              ; preds = %265
  call void @glfwTerminate()
  call void @exit(i32 noundef 0) #8
  unreachable
}

declare ptr @glfwSetErrorCallback(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @error_callback(i32 noundef, ptr noundef) #1

declare i32 @glfwInit() #2

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

; Function Attrs: nounwind uwtable
declare hidden ptr @create_tracking_cursor() #1

declare void @glfwTerminate() #2

; Function Attrs: nounwind uwtable
declare hidden ptr @create_cursor_frame(float noundef) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

declare ptr @glfwCreateStandardCursor(i32 noundef) #2

declare void @glfwWindowHint(i32 noundef, i32 noundef) #2

declare ptr @glfwCreateWindow(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare void @glfwMakeContextCurrent(ptr noundef) #2

declare ptr @glfwGetProcAddress(ptr noundef) #2

declare void @glfwGetCursorPos(ptr noundef, ptr noundef, ptr noundef) #2

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

declare ptr @glfwSetCursorPosCallback(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @cursor_position_callback(ptr noundef, double noundef, double noundef) #1

declare ptr @glfwSetKeyCallback(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @key_callback(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

declare i32 @glfwWindowShouldClose(ptr noundef) #2

declare void @glfwGetWindowSize(ptr noundef, ptr noundef, ptr noundef) #2

declare void @glfwGetFramebufferSize(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @mat4x4_ortho(ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) #6

declare void @glfwSwapBuffers(ptr noundef) #2

declare double @glfwGetTime() #2

declare void @glfwSetCursor(ptr noundef, ptr noundef) #2

declare void @glfwWaitEventsTimeout(double noundef) #2

declare void @glfwWaitEvents() #2

declare void @glfwPollEvents() #2

declare i32 @fflush(ptr noundef) #2

declare void @glfwDestroyWindow(ptr noundef) #2

declare void @glfwDestroyCursor(ptr noundef) #2

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"float", !7, i64 0}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}


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

@glad_glAttachShader = external dso_local local_unnamed_addr global ptr, align 8
@glad_glBindBuffer = external dso_local local_unnamed_addr global ptr, align 8
@glad_glBufferData = external dso_local local_unnamed_addr global ptr, align 8
@glad_glClear = external dso_local local_unnamed_addr global ptr, align 8
@glad_glCompileShader = external dso_local local_unnamed_addr global ptr, align 8
@glad_glCreateProgram = external dso_local local_unnamed_addr global ptr, align 8
@glad_glCreateShader = external dso_local local_unnamed_addr global ptr, align 8
@glad_glDrawArrays = external dso_local local_unnamed_addr global ptr, align 8
@glad_glEnableVertexAttribArray = external dso_local local_unnamed_addr global ptr, align 8
@glad_glGenBuffers = external dso_local local_unnamed_addr global ptr, align 8
@glad_glGetAttribLocation = external dso_local local_unnamed_addr global ptr, align 8
@glad_glGetUniformLocation = external dso_local local_unnamed_addr global ptr, align 8
@glad_glLinkProgram = external dso_local local_unnamed_addr global ptr, align 8
@glad_glShaderSource = external dso_local local_unnamed_addr global ptr, align 8
@glad_glUniformMatrix4fv = external dso_local local_unnamed_addr global ptr, align 8
@glad_glUseProgram = external dso_local local_unnamed_addr global ptr, align 8
@glad_glVertexAttribPointer = external dso_local local_unnamed_addr global ptr, align 8
@glad_glViewport = external dso_local local_unnamed_addr global ptr, align 8
@tracking_cursor = external hidden local_unnamed_addr global ptr, align 8
@__const.main.shapes = external hidden unnamed_addr constant [10 x i32], align 16
@standard_cursors = external hidden local_unnamed_addr global [10 x ptr], align 16
@.str.1 = external hidden unnamed_addr constant [12 x i8], align 1
@vertex_shader_text = external hidden global ptr, align 8
@fragment_shader_text = external hidden global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@cursor_x = external hidden global double, align 8
@cursor_y = external hidden global double, align 8
@.str.4 = external hidden unnamed_addr constant [24 x i8], align 1
@track_cursor = external hidden local_unnamed_addr global i32, align 4
@animate_cursor = external hidden local_unnamed_addr global i32, align 4
@wait_events = external hidden local_unnamed_addr global i32, align 4
@stdout = external local_unnamed_addr global ptr, align 8

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

; Function Attrs: noreturn nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
  %1 = alloca [60 x ptr], align 16
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca [4 x [2 x float]], align 16
  %8 = alloca [4 x [4 x float]], align 16
  call void @llvm.lifetime.start.p0(i64 480, ptr nonnull %1) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #8
  %9 = tail call ptr @glfwSetErrorCallback(ptr noundef nonnull @error_callback) #8
  %10 = tail call i32 @glfwInit() #8
  %.not = icmp eq i32 %10, 0
  br i1 %.not, label %11, label %12

11:                                               ; preds = %0
  tail call void @exit(i32 noundef 1) #9
  unreachable

12:                                               ; preds = %0
  %13 = tail call ptr @create_tracking_cursor()
  store ptr %13, ptr @tracking_cursor, align 8, !tbaa !5
  %.not55 = icmp eq ptr %13, null
  br i1 %.not55, label %14, label %.preheader65

14:                                               ; preds = %12
  tail call void @glfwTerminate() #8
  tail call void @exit(i32 noundef 1) #9
  unreachable

15:                                               ; preds = %.preheader65
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 60
  br i1 %exitcond.not, label %.preheader64.preheader, label %.preheader65, !llvm.loop !9

.preheader64.preheader:                           ; preds = %15
  %16 = load i32, ptr @__const.main.shapes, align 16, !tbaa !11
  %17 = tail call ptr @glfwCreateStandardCursor(i32 noundef %16) #8
  store ptr %17, ptr @standard_cursors, align 16, !tbaa !5
  %18 = load i32, ptr getelementptr inbounds (i8, ptr @__const.main.shapes, i64 4), align 4, !tbaa !11
  %19 = tail call ptr @glfwCreateStandardCursor(i32 noundef %18) #8
  store ptr %19, ptr getelementptr inbounds (i8, ptr @standard_cursors, i64 8), align 8, !tbaa !5
  %20 = load i32, ptr getelementptr inbounds (i8, ptr @__const.main.shapes, i64 8), align 8, !tbaa !11
  %21 = tail call ptr @glfwCreateStandardCursor(i32 noundef %20) #8
  store ptr %21, ptr getelementptr inbounds (i8, ptr @standard_cursors, i64 16), align 16, !tbaa !5
  %22 = load i32, ptr getelementptr inbounds (i8, ptr @__const.main.shapes, i64 12), align 4, !tbaa !11
  %23 = tail call ptr @glfwCreateStandardCursor(i32 noundef %22) #8
  store ptr %23, ptr getelementptr inbounds (i8, ptr @standard_cursors, i64 24), align 8, !tbaa !5
  %24 = load i32, ptr getelementptr inbounds (i8, ptr @__const.main.shapes, i64 16), align 16, !tbaa !11
  %25 = tail call ptr @glfwCreateStandardCursor(i32 noundef %24) #8
  store ptr %25, ptr getelementptr inbounds (i8, ptr @standard_cursors, i64 32), align 16, !tbaa !5
  %26 = load i32, ptr getelementptr inbounds (i8, ptr @__const.main.shapes, i64 20), align 4, !tbaa !11
  %27 = tail call ptr @glfwCreateStandardCursor(i32 noundef %26) #8
  store ptr %27, ptr getelementptr inbounds (i8, ptr @standard_cursors, i64 40), align 8, !tbaa !5
  %28 = load i32, ptr getelementptr inbounds (i8, ptr @__const.main.shapes, i64 24), align 8, !tbaa !11
  %29 = tail call ptr @glfwCreateStandardCursor(i32 noundef %28) #8
  store ptr %29, ptr getelementptr inbounds (i8, ptr @standard_cursors, i64 48), align 16, !tbaa !5
  %30 = load i32, ptr getelementptr inbounds (i8, ptr @__const.main.shapes, i64 28), align 4, !tbaa !11
  %31 = tail call ptr @glfwCreateStandardCursor(i32 noundef %30) #8
  store ptr %31, ptr getelementptr inbounds (i8, ptr @standard_cursors, i64 56), align 8, !tbaa !5
  %32 = load i32, ptr getelementptr inbounds (i8, ptr @__const.main.shapes, i64 32), align 16, !tbaa !11
  %33 = tail call ptr @glfwCreateStandardCursor(i32 noundef %32) #8
  store ptr %33, ptr getelementptr inbounds (i8, ptr @standard_cursors, i64 64), align 16, !tbaa !5
  %34 = load i32, ptr getelementptr inbounds (i8, ptr @__const.main.shapes, i64 36), align 4, !tbaa !11
  %35 = tail call ptr @glfwCreateStandardCursor(i32 noundef %34) #8
  store ptr %35, ptr getelementptr inbounds (i8, ptr @standard_cursors, i64 72), align 8, !tbaa !5
  tail call void @glfwWindowHint(i32 noundef 139266, i32 noundef 2) #8
  tail call void @glfwWindowHint(i32 noundef 139267, i32 noundef 0) #8
  %36 = tail call ptr @glfwCreateWindow(i32 noundef 640, i32 noundef 480, ptr noundef nonnull @.str.1, ptr noundef null, ptr noundef null) #8
  %.not56 = icmp eq ptr %36, null
  br i1 %.not56, label %43, label %44

.preheader65:                                     ; preds = %12, %15
  %indvars.iv = phi i64 [ %indvars.iv.next, %15 ], [ 0, %12 ]
  %37 = trunc nuw nsw i64 %indvars.iv to i32
  %38 = uitofp nneg i32 %37 to float
  %39 = fdiv float %38, 6.000000e+01
  %40 = tail call ptr @create_cursor_frame(float noundef %39)
  %41 = getelementptr inbounds [60 x ptr], ptr %1, i64 0, i64 %indvars.iv
  store ptr %40, ptr %41, align 8, !tbaa !5
  %.not63 = icmp eq ptr %40, null
  br i1 %.not63, label %42, label %15

42:                                               ; preds = %.preheader65
  tail call void @glfwTerminate() #8
  tail call void @exit(i32 noundef 1) #9
  unreachable

43:                                               ; preds = %.preheader64.preheader
  tail call void @glfwTerminate() #8
  tail call void @exit(i32 noundef 1) #9
  unreachable

44:                                               ; preds = %.preheader64.preheader
  tail call void @glfwMakeContextCurrent(ptr noundef nonnull %36) #8
  %45 = tail call i32 @gladLoadGL(ptr noundef nonnull @glfwGetProcAddress)
  %46 = load ptr, ptr @glad_glGenBuffers, align 8, !tbaa !5
  call void %46(i32 noundef 1, ptr noundef nonnull %2) #8
  %47 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  %48 = load i32, ptr %2, align 4, !tbaa !11
  call void %47(i32 noundef 34962, i32 noundef %48) #8
  %49 = load ptr, ptr @glad_glCreateShader, align 8, !tbaa !5
  %50 = call i32 %49(i32 noundef 35633) #8
  %51 = load ptr, ptr @glad_glShaderSource, align 8, !tbaa !5
  call void %51(i32 noundef %50, i32 noundef 1, ptr noundef nonnull @vertex_shader_text, ptr noundef null) #8
  %52 = load ptr, ptr @glad_glCompileShader, align 8, !tbaa !5
  call void %52(i32 noundef %50) #8
  %53 = load ptr, ptr @glad_glCreateShader, align 8, !tbaa !5
  %54 = call i32 %53(i32 noundef 35632) #8
  %55 = load ptr, ptr @glad_glShaderSource, align 8, !tbaa !5
  call void %55(i32 noundef %54, i32 noundef 1, ptr noundef nonnull @fragment_shader_text, ptr noundef null) #8
  %56 = load ptr, ptr @glad_glCompileShader, align 8, !tbaa !5
  call void %56(i32 noundef %54) #8
  %57 = load ptr, ptr @glad_glCreateProgram, align 8, !tbaa !5
  %58 = call i32 %57() #8
  %59 = load ptr, ptr @glad_glAttachShader, align 8, !tbaa !5
  call void %59(i32 noundef %58, i32 noundef %50) #8
  %60 = load ptr, ptr @glad_glAttachShader, align 8, !tbaa !5
  call void %60(i32 noundef %58, i32 noundef %54) #8
  %61 = load ptr, ptr @glad_glLinkProgram, align 8, !tbaa !5
  call void %61(i32 noundef %58) #8
  %62 = load ptr, ptr @glad_glGetUniformLocation, align 8, !tbaa !5
  %63 = call i32 %62(i32 noundef %58, ptr noundef nonnull @.str.2) #8
  %64 = load ptr, ptr @glad_glGetAttribLocation, align 8, !tbaa !5
  %65 = call i32 %64(i32 noundef %58, ptr noundef nonnull @.str.3) #8
  %66 = load ptr, ptr @glad_glEnableVertexAttribArray, align 8, !tbaa !5
  call void %66(i32 noundef %65) #8
  %67 = load ptr, ptr @glad_glVertexAttribPointer, align 8, !tbaa !5
  call void %67(i32 noundef %65, i32 noundef 2, i32 noundef 5126, i8 noundef zeroext 0, i32 noundef 8, ptr noundef null) #8
  %68 = load ptr, ptr @glad_glUseProgram, align 8, !tbaa !5
  call void %68(i32 noundef %58) #8
  call void @glfwGetCursorPos(ptr noundef nonnull %36, ptr noundef nonnull @cursor_x, ptr noundef nonnull @cursor_y) #8
  %69 = load double, ptr @cursor_x, align 8, !tbaa !13
  %70 = load double, ptr @cursor_y, align 8, !tbaa !13
  %71 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, double noundef %69, double noundef %70)
  %72 = call ptr @glfwSetCursorPosCallback(ptr noundef nonnull %36, ptr noundef nonnull @cursor_position_callback) #8
  %73 = call ptr @glfwSetKeyCallback(ptr noundef nonnull %36, ptr noundef nonnull @key_callback) #8
  %74 = call i32 @glfwWindowShouldClose(ptr noundef nonnull %36) #8
  %.not5768 = icmp eq i32 %74, 0
  br i1 %.not5768, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %44
  %75 = getelementptr inbounds i8, ptr %7, i64 4
  %76 = getelementptr inbounds i8, ptr %7, i64 8
  %77 = getelementptr inbounds i8, ptr %7, i64 12
  %78 = getelementptr inbounds i8, ptr %7, i64 16
  %79 = getelementptr inbounds i8, ptr %7, i64 20
  %80 = getelementptr inbounds i8, ptr %7, i64 24
  br label %81

81:                                               ; preds = %.lr.ph, %138
  %.04869 = phi ptr [ null, %.lr.ph ], [ %.250, %138 ]
  %82 = load ptr, ptr @glad_glClear, align 8, !tbaa !5
  call void %82(i32 noundef 16384) #8
  %83 = load i32, ptr @track_cursor, align 4, !tbaa !11
  %.not58 = icmp eq i32 %83, 0
  br i1 %.not58, label %120, label %84

84:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #8
  call void @glfwGetWindowSize(ptr noundef nonnull %36, ptr noundef nonnull %3, ptr noundef nonnull %4) #8
  call void @glfwGetFramebufferSize(ptr noundef nonnull %36, ptr noundef nonnull %5, ptr noundef nonnull %6) #8
  %85 = load ptr, ptr @glad_glViewport, align 8, !tbaa !5
  %86 = load i32, ptr %5, align 4, !tbaa !11
  %87 = load i32, ptr %6, align 4, !tbaa !11
  call void %85(i32 noundef 0, i32 noundef 0, i32 noundef %86, i32 noundef %87) #8
  %88 = load i32, ptr %5, align 4, !tbaa !11
  %89 = sitofp i32 %88 to float
  %90 = load i32, ptr %3, align 4, !tbaa !11
  %91 = sitofp i32 %90 to float
  %92 = fdiv float %89, %91
  store float 5.000000e-01, ptr %7, align 16, !tbaa !15
  %93 = load i32, ptr %6, align 4, !tbaa !11
  %94 = sitofp i32 %93 to double
  %95 = load double, ptr @cursor_y, align 8, !tbaa !13
  %96 = fpext float %92 to double
  %97 = fmul double %95, %96
  %98 = call double @llvm.floor.f64(double %97)
  %99 = fsub double %94, %98
  %100 = fadd double %99, -1.000000e+00
  %101 = fadd double %100, 5.000000e-01
  %102 = fptrunc double %101 to float
  store float %102, ptr %75, align 4, !tbaa !15
  %103 = fadd float %89, 5.000000e-01
  store float %103, ptr %76, align 8, !tbaa !15
  store float %102, ptr %77, align 4, !tbaa !15
  %104 = load double, ptr @cursor_x, align 8, !tbaa !13
  %105 = fmul double %104, %96
  %106 = call double @llvm.floor.f64(double %105)
  %107 = fptrunc double %106 to float
  store float 5.000000e-01, ptr %79, align 4, !tbaa !15
  %108 = sitofp i32 %93 to float
  %109 = insertelement <2 x float> poison, float %107, i64 0
  %110 = insertelement <2 x float> %109, float %108, i64 1
  %111 = fadd <2 x float> %110, <float 5.000000e-01, float 5.000000e-01>
  %112 = extractelement <2 x float> %111, i64 0
  store float %112, ptr %78, align 16, !tbaa !15
  store <2 x float> %111, ptr %80, align 8, !tbaa !15
  %113 = load ptr, ptr @glad_glBufferData, align 8, !tbaa !5
  call void %113(i32 noundef 34962, i64 noundef 32, ptr noundef nonnull %7, i32 noundef 35040) #8
  %114 = load i32, ptr %5, align 4, !tbaa !11
  %115 = sitofp i32 %114 to float
  %116 = load i32, ptr %6, align 4, !tbaa !11
  %117 = sitofp i32 %116 to float
  call void @mat4x4_ortho(ptr noundef nonnull %8, float noundef 0.000000e+00, float noundef %115, float noundef 0.000000e+00, float noundef %117, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %118 = load ptr, ptr @glad_glUniformMatrix4fv, align 8, !tbaa !5
  call void %118(i32 noundef %63, i32 noundef 1, i8 noundef zeroext 0, ptr noundef nonnull %8) #8
  %119 = load ptr, ptr @glad_glDrawArrays, align 8, !tbaa !5
  call void %119(i32 noundef 1, i32 noundef 0, i32 noundef 4) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  br label %120

120:                                              ; preds = %84, %81
  call void @glfwSwapBuffers(ptr noundef nonnull %36) #8
  %121 = load i32, ptr @animate_cursor, align 4, !tbaa !11
  %.not59 = icmp eq i32 %121, 0
  br i1 %.not59, label %131, label %122

122:                                              ; preds = %120
  %123 = call double @glfwGetTime() #8
  %124 = fmul double %123, 3.000000e+01
  %125 = fptosi double %124 to i32
  %126 = srem i32 %125, 60
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [60 x ptr], ptr %1, i64 0, i64 %127
  %129 = load ptr, ptr %128, align 8, !tbaa !5
  %.not60 = icmp eq ptr %.04869, %129
  br i1 %.not60, label %131, label %130

130:                                              ; preds = %122
  call void @glfwSetCursor(ptr noundef nonnull %36, ptr noundef %129) #8
  br label %131

131:                                              ; preds = %120, %122, %130
  %.250 = phi ptr [ %129, %130 ], [ %.04869, %122 ], [ null, %120 ]
  %132 = load i32, ptr @wait_events, align 4, !tbaa !11
  %.not61 = icmp eq i32 %132, 0
  br i1 %.not61, label %137, label %133

133:                                              ; preds = %131
  %134 = load i32, ptr @animate_cursor, align 4, !tbaa !11
  %.not62 = icmp eq i32 %134, 0
  br i1 %.not62, label %136, label %135

135:                                              ; preds = %133
  call void @glfwWaitEventsTimeout(double noundef 0x3FA1111111111111) #8
  br label %138

136:                                              ; preds = %133
  call void @glfwWaitEvents() #8
  br label %138

137:                                              ; preds = %131
  call void @glfwPollEvents() #8
  br label %138

138:                                              ; preds = %135, %136, %137
  %139 = load ptr, ptr @stdout, align 8, !tbaa !5
  %140 = call i32 @fflush(ptr noundef %139)
  %141 = call i32 @glfwWindowShouldClose(ptr noundef nonnull %36) #8
  %.not57 = icmp eq i32 %141, 0
  br i1 %.not57, label %81, label %._crit_edge, !llvm.loop !17

._crit_edge:                                      ; preds = %138, %44
  call void @glfwDestroyWindow(ptr noundef nonnull %36) #8
  %142 = load ptr, ptr %1, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %142) #8
  %143 = getelementptr inbounds i8, ptr %1, i64 8
  %144 = load ptr, ptr %143, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %144) #8
  %145 = getelementptr inbounds i8, ptr %1, i64 16
  %146 = load ptr, ptr %145, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %146) #8
  %147 = getelementptr inbounds i8, ptr %1, i64 24
  %148 = load ptr, ptr %147, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %148) #8
  %149 = getelementptr inbounds i8, ptr %1, i64 32
  %150 = load ptr, ptr %149, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %150) #8
  %151 = getelementptr inbounds i8, ptr %1, i64 40
  %152 = load ptr, ptr %151, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %152) #8
  %153 = getelementptr inbounds i8, ptr %1, i64 48
  %154 = load ptr, ptr %153, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %154) #8
  %155 = getelementptr inbounds i8, ptr %1, i64 56
  %156 = load ptr, ptr %155, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %156) #8
  %157 = getelementptr inbounds i8, ptr %1, i64 64
  %158 = load ptr, ptr %157, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %158) #8
  %159 = getelementptr inbounds i8, ptr %1, i64 72
  %160 = load ptr, ptr %159, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %160) #8
  %161 = getelementptr inbounds i8, ptr %1, i64 80
  %162 = load ptr, ptr %161, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %162) #8
  %163 = getelementptr inbounds i8, ptr %1, i64 88
  %164 = load ptr, ptr %163, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %164) #8
  %165 = getelementptr inbounds i8, ptr %1, i64 96
  %166 = load ptr, ptr %165, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %166) #8
  %167 = getelementptr inbounds i8, ptr %1, i64 104
  %168 = load ptr, ptr %167, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %168) #8
  %169 = getelementptr inbounds i8, ptr %1, i64 112
  %170 = load ptr, ptr %169, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %170) #8
  %171 = getelementptr inbounds i8, ptr %1, i64 120
  %172 = load ptr, ptr %171, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %172) #8
  %173 = getelementptr inbounds i8, ptr %1, i64 128
  %174 = load ptr, ptr %173, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %174) #8
  %175 = getelementptr inbounds i8, ptr %1, i64 136
  %176 = load ptr, ptr %175, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %176) #8
  %177 = getelementptr inbounds i8, ptr %1, i64 144
  %178 = load ptr, ptr %177, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %178) #8
  %179 = getelementptr inbounds i8, ptr %1, i64 152
  %180 = load ptr, ptr %179, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %180) #8
  %181 = getelementptr inbounds i8, ptr %1, i64 160
  %182 = load ptr, ptr %181, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %182) #8
  %183 = getelementptr inbounds i8, ptr %1, i64 168
  %184 = load ptr, ptr %183, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %184) #8
  %185 = getelementptr inbounds i8, ptr %1, i64 176
  %186 = load ptr, ptr %185, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %186) #8
  %187 = getelementptr inbounds i8, ptr %1, i64 184
  %188 = load ptr, ptr %187, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %188) #8
  %189 = getelementptr inbounds i8, ptr %1, i64 192
  %190 = load ptr, ptr %189, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %190) #8
  %191 = getelementptr inbounds i8, ptr %1, i64 200
  %192 = load ptr, ptr %191, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %192) #8
  %193 = getelementptr inbounds i8, ptr %1, i64 208
  %194 = load ptr, ptr %193, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %194) #8
  %195 = getelementptr inbounds i8, ptr %1, i64 216
  %196 = load ptr, ptr %195, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %196) #8
  %197 = getelementptr inbounds i8, ptr %1, i64 224
  %198 = load ptr, ptr %197, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %198) #8
  %199 = getelementptr inbounds i8, ptr %1, i64 232
  %200 = load ptr, ptr %199, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %200) #8
  %201 = getelementptr inbounds i8, ptr %1, i64 240
  %202 = load ptr, ptr %201, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %202) #8
  %203 = getelementptr inbounds i8, ptr %1, i64 248
  %204 = load ptr, ptr %203, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %204) #8
  %205 = getelementptr inbounds i8, ptr %1, i64 256
  %206 = load ptr, ptr %205, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %206) #8
  %207 = getelementptr inbounds i8, ptr %1, i64 264
  %208 = load ptr, ptr %207, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %208) #8
  %209 = getelementptr inbounds i8, ptr %1, i64 272
  %210 = load ptr, ptr %209, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %210) #8
  %211 = getelementptr inbounds i8, ptr %1, i64 280
  %212 = load ptr, ptr %211, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %212) #8
  %213 = getelementptr inbounds i8, ptr %1, i64 288
  %214 = load ptr, ptr %213, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %214) #8
  %215 = getelementptr inbounds i8, ptr %1, i64 296
  %216 = load ptr, ptr %215, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %216) #8
  %217 = getelementptr inbounds i8, ptr %1, i64 304
  %218 = load ptr, ptr %217, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %218) #8
  %219 = getelementptr inbounds i8, ptr %1, i64 312
  %220 = load ptr, ptr %219, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %220) #8
  %221 = getelementptr inbounds i8, ptr %1, i64 320
  %222 = load ptr, ptr %221, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %222) #8
  %223 = getelementptr inbounds i8, ptr %1, i64 328
  %224 = load ptr, ptr %223, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %224) #8
  %225 = getelementptr inbounds i8, ptr %1, i64 336
  %226 = load ptr, ptr %225, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %226) #8
  %227 = getelementptr inbounds i8, ptr %1, i64 344
  %228 = load ptr, ptr %227, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %228) #8
  %229 = getelementptr inbounds i8, ptr %1, i64 352
  %230 = load ptr, ptr %229, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %230) #8
  %231 = getelementptr inbounds i8, ptr %1, i64 360
  %232 = load ptr, ptr %231, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %232) #8
  %233 = getelementptr inbounds i8, ptr %1, i64 368
  %234 = load ptr, ptr %233, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %234) #8
  %235 = getelementptr inbounds i8, ptr %1, i64 376
  %236 = load ptr, ptr %235, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %236) #8
  %237 = getelementptr inbounds i8, ptr %1, i64 384
  %238 = load ptr, ptr %237, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %238) #8
  %239 = getelementptr inbounds i8, ptr %1, i64 392
  %240 = load ptr, ptr %239, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %240) #8
  %241 = getelementptr inbounds i8, ptr %1, i64 400
  %242 = load ptr, ptr %241, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %242) #8
  %243 = getelementptr inbounds i8, ptr %1, i64 408
  %244 = load ptr, ptr %243, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %244) #8
  %245 = getelementptr inbounds i8, ptr %1, i64 416
  %246 = load ptr, ptr %245, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %246) #8
  %247 = getelementptr inbounds i8, ptr %1, i64 424
  %248 = load ptr, ptr %247, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %248) #8
  %249 = getelementptr inbounds i8, ptr %1, i64 432
  %250 = load ptr, ptr %249, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %250) #8
  %251 = getelementptr inbounds i8, ptr %1, i64 440
  %252 = load ptr, ptr %251, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %252) #8
  %253 = getelementptr inbounds i8, ptr %1, i64 448
  %254 = load ptr, ptr %253, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %254) #8
  %255 = getelementptr inbounds i8, ptr %1, i64 456
  %256 = load ptr, ptr %255, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %256) #8
  %257 = getelementptr inbounds i8, ptr %1, i64 464
  %258 = load ptr, ptr %257, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %258) #8
  %259 = getelementptr inbounds i8, ptr %1, i64 472
  %260 = load ptr, ptr %259, align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %260) #8
  %261 = load ptr, ptr @standard_cursors, align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %261) #8
  %262 = load ptr, ptr getelementptr inbounds (i8, ptr @standard_cursors, i64 8), align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %262) #8
  %263 = load ptr, ptr getelementptr inbounds (i8, ptr @standard_cursors, i64 16), align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %263) #8
  %264 = load ptr, ptr getelementptr inbounds (i8, ptr @standard_cursors, i64 24), align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %264) #8
  %265 = load ptr, ptr getelementptr inbounds (i8, ptr @standard_cursors, i64 32), align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %265) #8
  %266 = load ptr, ptr getelementptr inbounds (i8, ptr @standard_cursors, i64 40), align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %266) #8
  %267 = load ptr, ptr getelementptr inbounds (i8, ptr @standard_cursors, i64 48), align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %267) #8
  %268 = load ptr, ptr getelementptr inbounds (i8, ptr @standard_cursors, i64 56), align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %268) #8
  %269 = load ptr, ptr getelementptr inbounds (i8, ptr @standard_cursors, i64 64), align 16, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %269) #8
  %270 = load ptr, ptr getelementptr inbounds (i8, ptr @standard_cursors, i64 72), align 8, !tbaa !5
  call void @glfwDestroyCursor(ptr noundef %270) #8
  call void @glfwTerminate() #8
  call void @exit(i32 noundef 0) #9
  unreachable
}

declare ptr @glfwSetErrorCallback(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden void @error_callback(i32 noundef, ptr noundef) #1

declare i32 @glfwInit() local_unnamed_addr #3

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

; Function Attrs: nounwind uwtable
declare hidden ptr @create_tracking_cursor() local_unnamed_addr #1

declare void @glfwTerminate() local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden ptr @create_cursor_frame(float noundef) local_unnamed_addr #1

declare ptr @glfwCreateStandardCursor(i32 noundef) local_unnamed_addr #3

declare void @glfwWindowHint(i32 noundef, i32 noundef) local_unnamed_addr #3

declare ptr @glfwCreateWindow(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @glfwMakeContextCurrent(ptr noundef) local_unnamed_addr #3

declare ptr @glfwGetProcAddress(ptr noundef) #3

declare void @glfwGetCursorPos(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

declare ptr @glfwSetCursorPosCallback(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden void @cursor_position_callback(ptr noundef, double noundef, double noundef) #1

declare ptr @glfwSetKeyCallback(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden void @key_callback(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

declare i32 @glfwWindowShouldClose(ptr noundef) local_unnamed_addr #3

declare void @glfwGetWindowSize(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @glfwGetFramebufferSize(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #6

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @mat4x4_ortho(ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #7

declare void @glfwSwapBuffers(ptr noundef) local_unnamed_addr #3

declare double @glfwGetTime() local_unnamed_addr #3

declare void @glfwSetCursor(ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @glfwWaitEventsTimeout(double noundef) local_unnamed_addr #3

declare void @glfwWaitEvents() local_unnamed_addr #3

declare void @glfwPollEvents() local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #5

declare void @glfwDestroyWindow(ptr noundef) local_unnamed_addr #3

declare void @glfwDestroyCursor(ptr noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { noreturn 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { inlinehint 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 #8 = { nounwind }
attributes #9 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = distinct !{!17, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass