; LLVM IR from erwincoumans/tiny-differentiable-simulator :: third_party/dear_imgui/opengl3 (imgui_impl_opengl3)

; 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_glGetIntegerv = external global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [130 x i8], align 1
@_ZL19g_GlslVersionString = external hidden global [32 x i8], align 16
@_ZL14g_ShaderHandle = external hidden global i32, align 4
@glad_glBindTexture = external global ptr, align 8
@glad_glBindVertexArray = external global ptr, align 8
@glad_glBindBuffer = external global ptr, align 8
@glad_glGetError = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [28 x i8], align 1
@__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv = external hidden unnamed_addr constant [45 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [245 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [216 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [307 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [282 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [204 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [160 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [207 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [182 x i8], align 1
@glad_glCreateShader = external global ptr, align 8
@_ZL12g_VertHandle = external hidden global i32, align 4
@glad_glShaderSource = external global ptr, align 8
@glad_glCompileShader = external global ptr, align 8
@.str.17 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZL12g_FragHandle = external hidden global i32, align 4
@.str.18 = external hidden unnamed_addr constant [16 x i8], align 1
@glad_glCreateProgram = external global ptr, align 8
@glad_glAttachShader = external global ptr, align 8
@glad_glLinkProgram = external global ptr, align 8
@.str.19 = external hidden unnamed_addr constant [15 x i8], align 1
@glad_glGetUniformLocation = external global ptr, align 8
@.str.20 = external hidden unnamed_addr constant [8 x i8], align 1
@_ZL19g_AttribLocationTex = external hidden global i32, align 4
@.str.21 = external hidden unnamed_addr constant [8 x i8], align 1
@_ZL23g_AttribLocationProjMtx = external hidden global i32, align 4
@glad_glGetAttribLocation = external global ptr, align 8
@.str.22 = external hidden unnamed_addr constant [9 x i8], align 1
@_ZL22g_AttribLocationVtxPos = external hidden global i32, align 4
@.str.23 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZL21g_AttribLocationVtxUV = external hidden global i32, align 4
@.str.24 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZL24g_AttribLocationVtxColor = external hidden global i32, align 4
@glad_glGenBuffers = external global ptr, align 8
@_ZL11g_VboHandle = external hidden global i32, align 4
@_ZL16g_ElementsHandle = external hidden global i32, align 4

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca [2 x ptr], align 16
  %16 = alloca [2 x ptr], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  %17 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  call void %17(i32 noundef 32873, ptr noundef %1)
  %18 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  call void %18(i32 noundef 34964, ptr noundef %2)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  %19 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  call void %19(i32 noundef 34229, ptr noundef %3)
  %20 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %21 = call i32 %20()
  %22 = icmp eq i32 %21, 0
  br i1 %22, label %23, label %24

23:                                               ; preds = %0
  br label %26

24:                                               ; preds = %0
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 497, ptr noundef @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

25:                                               ; No predecessors!
  br label %26

26:                                               ; preds = %25, %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 130, ptr %4, align 4, !tbaa !9
  %27 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef @_ZL19g_GlslVersionString, ptr noundef @.str.8, ptr noundef %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  store ptr @.str.9, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store ptr @.str.10, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store ptr @.str.11, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  store ptr @.str.12, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  store ptr @.str.13, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store ptr @.str.14, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store ptr @.str.15, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  store ptr @.str.16, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  store ptr null, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  store ptr null, ptr %14, align 8, !tbaa !5
  %28 = load i32, ptr %4, align 4, !tbaa !9
  %29 = icmp slt i32 %28, 130
  br i1 %29, label %30, label %33

30:                                               ; preds = %26
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %31, ptr %13, align 8, !tbaa !5
  %32 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %32, ptr %14, align 8, !tbaa !5
  br label %50

33:                                               ; preds = %26
  %34 = load i32, ptr %4, align 4, !tbaa !9
  %35 = icmp sge i32 %34, 410
  br i1 %35, label %36, label %39

36:                                               ; preds = %33
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %37, ptr %13, align 8, !tbaa !5
  %38 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %38, ptr %14, align 8, !tbaa !5
  br label %49

39:                                               ; preds = %33
  %40 = load i32, ptr %4, align 4, !tbaa !9
  %41 = icmp eq i32 %40, 300
  br i1 %41, label %42, label %45

42:                                               ; preds = %39
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %43, ptr %13, align 8, !tbaa !5
  %44 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %44, ptr %14, align 8, !tbaa !5
  br label %48

45:                                               ; preds = %39
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %46, ptr %13, align 8, !tbaa !5
  %47 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %47, ptr %14, align 8, !tbaa !5
  br label %48

48:                                               ; preds = %45, %42
  br label %49

49:                                               ; preds = %48, %36
  br label %50

50:                                               ; preds = %49, %30
  %51 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %52 = call i32 %51()
  %53 = icmp eq i32 %52, 0
  br i1 %53, label %54, label %55

54:                                               ; preds = %50
  br label %57

55:                                               ; preds = %50
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 625, ptr noundef @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

56:                                               ; No predecessors!
  br label %57

57:                                               ; preds = %56, %54
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #4
  store ptr @_ZL19g_GlslVersionString, ptr %15, align 8, !tbaa !5
  %58 = getelementptr inbounds ptr, ptr %15, i64 1
  %59 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %59, ptr %58, align 8, !tbaa !5
  %60 = load ptr, ptr @glad_glCreateShader, align 8, !tbaa !5
  %61 = call i32 %60(i32 noundef 35633)
  store i32 %61, ptr @_ZL12g_VertHandle, align 4, !tbaa !9
  %62 = load ptr, ptr @glad_glShaderSource, align 8, !tbaa !5
  %63 = load i32, ptr @_ZL12g_VertHandle, align 4, !tbaa !9
  %64 = getelementptr inbounds [2 x ptr], ptr %15, i64 0, i64 0
  call void %62(i32 noundef %63, i32 noundef 2, ptr noundef %64, ptr noundef null)
  %65 = load ptr, ptr @glad_glCompileShader, align 8, !tbaa !5
  %66 = load i32, ptr @_ZL12g_VertHandle, align 4, !tbaa !9
  call void %65(i32 noundef %66)
  %67 = load i32, ptr @_ZL12g_VertHandle, align 4, !tbaa !9
  %68 = call noundef zeroext i1 @_ZL11CheckShaderjPKc(i32 noundef %67, ptr noundef @.str.17)
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #4
  store ptr @_ZL19g_GlslVersionString, ptr %16, align 8, !tbaa !5
  %69 = getelementptr inbounds ptr, ptr %16, i64 1
  %70 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %70, ptr %69, align 8, !tbaa !5
  %71 = load ptr, ptr @glad_glCreateShader, align 8, !tbaa !5
  %72 = call i32 %71(i32 noundef 35632)
  store i32 %72, ptr @_ZL12g_FragHandle, align 4, !tbaa !9
  %73 = load ptr, ptr @glad_glShaderSource, align 8, !tbaa !5
  %74 = load i32, ptr @_ZL12g_FragHandle, align 4, !tbaa !9
  %75 = getelementptr inbounds [2 x ptr], ptr %16, i64 0, i64 0
  call void %73(i32 noundef %74, i32 noundef 2, ptr noundef %75, ptr noundef null)
  %76 = load ptr, ptr @glad_glCompileShader, align 8, !tbaa !5
  %77 = load i32, ptr @_ZL12g_FragHandle, align 4, !tbaa !9
  call void %76(i32 noundef %77)
  %78 = load i32, ptr @_ZL12g_FragHandle, align 4, !tbaa !9
  %79 = call noundef zeroext i1 @_ZL11CheckShaderjPKc(i32 noundef %78, ptr noundef @.str.18)
  %80 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %81 = call i32 %80()
  %82 = icmp eq i32 %81, 0
  br i1 %82, label %83, label %84

83:                                               ; preds = %57
  br label %86

84:                                               ; preds = %57
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 638, ptr noundef @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

85:                                               ; No predecessors!
  br label %86

86:                                               ; preds = %85, %83
  %87 = load ptr, ptr @glad_glCreateProgram, align 8, !tbaa !5
  %88 = call i32 %87()
  store i32 %88, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  %89 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %90 = call i32 %89()
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %92, label %93

92:                                               ; preds = %86
  br label %95

93:                                               ; preds = %86
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 640, ptr noundef @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

94:                                               ; No predecessors!
  br label %95

95:                                               ; preds = %94, %92
  %96 = load ptr, ptr @glad_glAttachShader, align 8, !tbaa !5
  %97 = load i32, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  %98 = load i32, ptr @_ZL12g_VertHandle, align 4, !tbaa !9
  call void %96(i32 noundef %97, i32 noundef %98)
  %99 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %100 = call i32 %99()
  %101 = icmp eq i32 %100, 0
  br i1 %101, label %102, label %103

102:                                              ; preds = %95
  br label %105

103:                                              ; preds = %95
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 642, ptr noundef @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

104:                                              ; No predecessors!
  br label %105

105:                                              ; preds = %104, %102
  %106 = load ptr, ptr @glad_glAttachShader, align 8, !tbaa !5
  %107 = load i32, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  %108 = load i32, ptr @_ZL12g_FragHandle, align 4, !tbaa !9
  call void %106(i32 noundef %107, i32 noundef %108)
  %109 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %110 = call i32 %109()
  %111 = icmp eq i32 %110, 0
  br i1 %111, label %112, label %113

112:                                              ; preds = %105
  br label %115

113:                                              ; preds = %105
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 644, ptr noundef @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

114:                                              ; No predecessors!
  br label %115

115:                                              ; preds = %114, %112
  %116 = load ptr, ptr @glad_glLinkProgram, align 8, !tbaa !5
  %117 = load i32, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  call void %116(i32 noundef %117)
  %118 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %119 = call i32 %118()
  %120 = icmp eq i32 %119, 0
  br i1 %120, label %121, label %122

121:                                              ; preds = %115
  br label %124

122:                                              ; preds = %115
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 646, ptr noundef @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

123:                                              ; No predecessors!
  br label %124

124:                                              ; preds = %123, %121
  %125 = load i32, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  %126 = call noundef zeroext i1 @_ZL12CheckProgramjPKc(i32 noundef %125, ptr noundef @.str.19)
  %127 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %128 = call i32 %127()
  %129 = icmp eq i32 %128, 0
  br i1 %129, label %130, label %131

130:                                              ; preds = %124
  br label %133

131:                                              ; preds = %124
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 648, ptr noundef @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

132:                                              ; No predecessors!
  br label %133

133:                                              ; preds = %132, %130
  %134 = load ptr, ptr @glad_glGetUniformLocation, align 8, !tbaa !5
  %135 = load i32, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  %136 = call i32 %134(i32 noundef %135, ptr noundef @.str.20)
  store i32 %136, ptr @_ZL19g_AttribLocationTex, align 4, !tbaa !9
  %137 = load ptr, ptr @glad_glGetUniformLocation, align 8, !tbaa !5
  %138 = load i32, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  %139 = call i32 %137(i32 noundef %138, ptr noundef @.str.21)
  store i32 %139, ptr @_ZL23g_AttribLocationProjMtx, align 4, !tbaa !9
  %140 = load ptr, ptr @glad_glGetAttribLocation, align 8, !tbaa !5
  %141 = load i32, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  %142 = call i32 %140(i32 noundef %141, ptr noundef @.str.22)
  store i32 %142, ptr @_ZL22g_AttribLocationVtxPos, align 4, !tbaa !9
  %143 = load ptr, ptr @glad_glGetAttribLocation, align 8, !tbaa !5
  %144 = load i32, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  %145 = call i32 %143(i32 noundef %144, ptr noundef @.str.23)
  store i32 %145, ptr @_ZL21g_AttribLocationVtxUV, align 4, !tbaa !9
  %146 = load ptr, ptr @glad_glGetAttribLocation, align 8, !tbaa !5
  %147 = load i32, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  %148 = call i32 %146(i32 noundef %147, ptr noundef @.str.24)
  store i32 %148, ptr @_ZL24g_AttribLocationVtxColor, align 4, !tbaa !9
  %149 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %150 = call i32 %149()
  %151 = icmp eq i32 %150, 0
  br i1 %151, label %152, label %153

152:                                              ; preds = %133
  br label %155

153:                                              ; preds = %133
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 654, ptr noundef @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

154:                                              ; No predecessors!
  br label %155

155:                                              ; preds = %154, %152
  %156 = load ptr, ptr @glad_glGenBuffers, align 8, !tbaa !5
  call void %156(i32 noundef 1, ptr noundef @_ZL11g_VboHandle)
  %157 = load ptr, ptr @glad_glGenBuffers, align 8, !tbaa !5
  call void %157(i32 noundef 1, ptr noundef @_ZL16g_ElementsHandle)
  %158 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %159 = call i32 %158()
  %160 = icmp eq i32 %159, 0
  br i1 %160, label %161, label %162

161:                                              ; preds = %155
  br label %164

162:                                              ; preds = %155
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 658, ptr noundef @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

163:                                              ; No predecessors!
  br label %164

164:                                              ; preds = %163, %161
  %165 = call noundef zeroext i1 @_Z36ImGui_ImplOpenGL3_CreateFontsTexturev()
  %166 = load ptr, ptr @glad_glBindTexture, align 8, !tbaa !5
  %167 = load i32, ptr %1, align 4, !tbaa !9
  call void %166(i32 noundef 3553, i32 noundef %167)
  %168 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  %169 = load i32, ptr %2, align 4, !tbaa !9
  call void %168(i32 noundef 34962, i32 noundef %169)
  %170 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !5
  %171 = load i32, ptr %3, align 4, !tbaa !9
  call void %170(i32 noundef %171)
  %172 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %173 = call i32 %172()
  %174 = icmp eq i32 %173, 0
  br i1 %174, label %175, label %176

175:                                              ; preds = %164
  br label %178

176:                                              ; preds = %164
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 668, ptr noundef @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

177:                                              ; No predecessors!
  br label %178

178:                                              ; preds = %177, %175
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #4
  ret i1 true
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z36ImGui_ImplOpenGL3_CreateFontsTexturev() #2

; Function Attrs: nounwind
declare i32 @__isoc99_sscanf(ptr noundef, ptr noundef, ...) #3

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL11CheckShaderjPKc(i32 noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL12CheckProgramjPKc(i32 noundef, ptr noundef) #2

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


; 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_glGetIntegerv = external local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [130 x i8], align 1
@_ZL19g_GlslVersionString = external hidden global [32 x i8], align 16
@_ZL14g_ShaderHandle = external hidden local_unnamed_addr global i32, align 4
@glad_glBindTexture = external local_unnamed_addr global ptr, align 8
@glad_glBindVertexArray = external local_unnamed_addr global ptr, align 8
@glad_glBindBuffer = external local_unnamed_addr global ptr, align 8
@glad_glGetError = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [28 x i8], align 1
@__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv = external hidden unnamed_addr constant [45 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [245 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [216 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [307 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [282 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [204 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [160 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [207 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [182 x i8], align 1
@glad_glCreateShader = external local_unnamed_addr global ptr, align 8
@_ZL12g_VertHandle = external hidden local_unnamed_addr global i32, align 4
@glad_glShaderSource = external local_unnamed_addr global ptr, align 8
@glad_glCompileShader = external local_unnamed_addr global ptr, align 8
@.str.17 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZL12g_FragHandle = external hidden local_unnamed_addr global i32, align 4
@.str.18 = external hidden unnamed_addr constant [16 x i8], align 1
@glad_glCreateProgram = external local_unnamed_addr global ptr, align 8
@glad_glAttachShader = external local_unnamed_addr global ptr, align 8
@glad_glLinkProgram = external local_unnamed_addr global ptr, align 8
@.str.19 = external hidden unnamed_addr constant [15 x i8], align 1
@glad_glGetUniformLocation = external local_unnamed_addr global ptr, align 8
@.str.20 = external hidden unnamed_addr constant [8 x i8], align 1
@_ZL19g_AttribLocationTex = external hidden local_unnamed_addr global i32, align 4
@.str.21 = external hidden unnamed_addr constant [8 x i8], align 1
@_ZL23g_AttribLocationProjMtx = external hidden local_unnamed_addr global i32, align 4
@glad_glGetAttribLocation = external local_unnamed_addr global ptr, align 8
@.str.22 = external hidden unnamed_addr constant [9 x i8], align 1
@_ZL22g_AttribLocationVtxPos = external hidden local_unnamed_addr global i32, align 4
@.str.23 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZL21g_AttribLocationVtxUV = external hidden local_unnamed_addr global i32, align 4
@.str.24 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZL24g_AttribLocationVtxColor = external hidden local_unnamed_addr global i32, align 4
@glad_glGenBuffers = external local_unnamed_addr global ptr, align 8
@_ZL11g_VboHandle = external hidden global i32, align 4
@_ZL16g_ElementsHandle = external hidden global i32, align 4

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv() local_unnamed_addr #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca [2 x ptr], align 16
  %6 = alloca [2 x ptr], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  %7 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  call void %7(i32 noundef 32873, ptr noundef nonnull %1)
  %8 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  call void %8(i32 noundef 34964, ptr noundef nonnull %2)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  %9 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  call void %9(i32 noundef 34229, ptr noundef nonnull %3)
  %10 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %11 = call i32 %10()
  %12 = icmp eq i32 %11, 0
  br i1 %12, label %14, label %13

13:                                               ; preds = %0
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 497, ptr noundef nonnull @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

14:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  store i32 130, ptr %4, align 4, !tbaa !9
  %15 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull @_ZL19g_GlslVersionString, ptr noundef nonnull @.str.8, ptr noundef nonnull %4) #4
  %16 = load i32, ptr %4, align 4, !tbaa !9
  %17 = icmp slt i32 %16, 130
  br i1 %17, label %22, label %18

18:                                               ; preds = %14
  %19 = icmp ugt i32 %16, 409
  br i1 %19, label %22, label %20

20:                                               ; preds = %18
  %21 = icmp eq i32 %16, 300
  %.str.11..str.10 = select i1 %21, ptr @.str.11, ptr @.str.10
  %.str.15..str.14 = select i1 %21, ptr @.str.15, ptr @.str.14
  br label %22

22:                                               ; preds = %20, %18, %14
  %.010 = phi ptr [ @.str.9, %14 ], [ @.str.12, %18 ], [ %.str.11..str.10, %20 ]
  %.0 = phi ptr [ @.str.13, %14 ], [ @.str.16, %18 ], [ %.str.15..str.14, %20 ]
  %23 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %24 = call i32 %23()
  %25 = icmp eq i32 %24, 0
  br i1 %25, label %27, label %26

26:                                               ; preds = %22
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 625, ptr noundef nonnull @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

27:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
  store ptr @_ZL19g_GlslVersionString, ptr %5, align 16, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %5, i64 8
  store ptr %.010, ptr %28, align 8, !tbaa !5
  %29 = load ptr, ptr @glad_glCreateShader, align 8, !tbaa !5
  %30 = call i32 %29(i32 noundef 35633)
  store i32 %30, ptr @_ZL12g_VertHandle, align 4, !tbaa !9
  %31 = load ptr, ptr @glad_glShaderSource, align 8, !tbaa !5
  call void %31(i32 noundef %30, i32 noundef 2, ptr noundef nonnull %5, ptr noundef null)
  %32 = load ptr, ptr @glad_glCompileShader, align 8, !tbaa !5
  %33 = load i32, ptr @_ZL12g_VertHandle, align 4, !tbaa !9
  call void %32(i32 noundef %33)
  %34 = load i32, ptr @_ZL12g_VertHandle, align 4, !tbaa !9
  %35 = call noundef zeroext i1 @_ZL11CheckShaderjPKc(i32 noundef %34, ptr noundef nonnull @.str.17)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
  store ptr @_ZL19g_GlslVersionString, ptr %6, align 16, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %6, i64 8
  store ptr %.0, ptr %36, align 8, !tbaa !5
  %37 = load ptr, ptr @glad_glCreateShader, align 8, !tbaa !5
  %38 = call i32 %37(i32 noundef 35632)
  store i32 %38, ptr @_ZL12g_FragHandle, align 4, !tbaa !9
  %39 = load ptr, ptr @glad_glShaderSource, align 8, !tbaa !5
  call void %39(i32 noundef %38, i32 noundef 2, ptr noundef nonnull %6, ptr noundef null)
  %40 = load ptr, ptr @glad_glCompileShader, align 8, !tbaa !5
  %41 = load i32, ptr @_ZL12g_FragHandle, align 4, !tbaa !9
  call void %40(i32 noundef %41)
  %42 = load i32, ptr @_ZL12g_FragHandle, align 4, !tbaa !9
  %43 = call noundef zeroext i1 @_ZL11CheckShaderjPKc(i32 noundef %42, ptr noundef nonnull @.str.18)
  %44 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %45 = call i32 %44()
  %46 = icmp eq i32 %45, 0
  br i1 %46, label %48, label %47

47:                                               ; preds = %27
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 638, ptr noundef nonnull @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

48:                                               ; preds = %27
  %49 = load ptr, ptr @glad_glCreateProgram, align 8, !tbaa !5
  %50 = call i32 %49()
  store i32 %50, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  %51 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %52 = call i32 %51()
  %53 = icmp eq i32 %52, 0
  br i1 %53, label %55, label %54

54:                                               ; preds = %48
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 640, ptr noundef nonnull @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

55:                                               ; preds = %48
  %56 = load ptr, ptr @glad_glAttachShader, align 8, !tbaa !5
  %57 = load i32, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  %58 = load i32, ptr @_ZL12g_VertHandle, align 4, !tbaa !9
  call void %56(i32 noundef %57, i32 noundef %58)
  %59 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %60 = call i32 %59()
  %61 = icmp eq i32 %60, 0
  br i1 %61, label %63, label %62

62:                                               ; preds = %55
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 642, ptr noundef nonnull @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

63:                                               ; preds = %55
  %64 = load ptr, ptr @glad_glAttachShader, align 8, !tbaa !5
  %65 = load i32, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  %66 = load i32, ptr @_ZL12g_FragHandle, align 4, !tbaa !9
  call void %64(i32 noundef %65, i32 noundef %66)
  %67 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %68 = call i32 %67()
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %71, label %70

70:                                               ; preds = %63
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 644, ptr noundef nonnull @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

71:                                               ; preds = %63
  %72 = load ptr, ptr @glad_glLinkProgram, align 8, !tbaa !5
  %73 = load i32, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  call void %72(i32 noundef %73)
  %74 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %75 = call i32 %74()
  %76 = icmp eq i32 %75, 0
  br i1 %76, label %78, label %77

77:                                               ; preds = %71
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 646, ptr noundef nonnull @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

78:                                               ; preds = %71
  %79 = load i32, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  %80 = call noundef zeroext i1 @_ZL12CheckProgramjPKc(i32 noundef %79, ptr noundef nonnull @.str.19)
  %81 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %82 = call i32 %81()
  %83 = icmp eq i32 %82, 0
  br i1 %83, label %85, label %84

84:                                               ; preds = %78
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 648, ptr noundef nonnull @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

85:                                               ; preds = %78
  %86 = load ptr, ptr @glad_glGetUniformLocation, align 8, !tbaa !5
  %87 = load i32, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  %88 = call i32 %86(i32 noundef %87, ptr noundef nonnull @.str.20)
  store i32 %88, ptr @_ZL19g_AttribLocationTex, align 4, !tbaa !9
  %89 = load ptr, ptr @glad_glGetUniformLocation, align 8, !tbaa !5
  %90 = load i32, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  %91 = call i32 %89(i32 noundef %90, ptr noundef nonnull @.str.21)
  store i32 %91, ptr @_ZL23g_AttribLocationProjMtx, align 4, !tbaa !9
  %92 = load ptr, ptr @glad_glGetAttribLocation, align 8, !tbaa !5
  %93 = load i32, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  %94 = call i32 %92(i32 noundef %93, ptr noundef nonnull @.str.22)
  store i32 %94, ptr @_ZL22g_AttribLocationVtxPos, align 4, !tbaa !9
  %95 = load ptr, ptr @glad_glGetAttribLocation, align 8, !tbaa !5
  %96 = load i32, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  %97 = call i32 %95(i32 noundef %96, ptr noundef nonnull @.str.23)
  store i32 %97, ptr @_ZL21g_AttribLocationVtxUV, align 4, !tbaa !9
  %98 = load ptr, ptr @glad_glGetAttribLocation, align 8, !tbaa !5
  %99 = load i32, ptr @_ZL14g_ShaderHandle, align 4, !tbaa !9
  %100 = call i32 %98(i32 noundef %99, ptr noundef nonnull @.str.24)
  store i32 %100, ptr @_ZL24g_AttribLocationVtxColor, align 4, !tbaa !9
  %101 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %102 = call i32 %101()
  %103 = icmp eq i32 %102, 0
  br i1 %103, label %105, label %104

104:                                              ; preds = %85
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 654, ptr noundef nonnull @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

105:                                              ; preds = %85
  %106 = load ptr, ptr @glad_glGenBuffers, align 8, !tbaa !5
  call void %106(i32 noundef 1, ptr noundef nonnull @_ZL11g_VboHandle)
  %107 = load ptr, ptr @glad_glGenBuffers, align 8, !tbaa !5
  call void %107(i32 noundef 1, ptr noundef nonnull @_ZL16g_ElementsHandle)
  %108 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %109 = call i32 %108()
  %110 = icmp eq i32 %109, 0
  br i1 %110, label %112, label %111

111:                                              ; preds = %105
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 658, ptr noundef nonnull @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

112:                                              ; preds = %105
  %113 = call noundef zeroext i1 @_Z36ImGui_ImplOpenGL3_CreateFontsTexturev()
  %114 = load ptr, ptr @glad_glBindTexture, align 8, !tbaa !5
  %115 = load i32, ptr %1, align 4, !tbaa !9
  call void %114(i32 noundef 3553, i32 noundef %115)
  %116 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  %117 = load i32, ptr %2, align 4, !tbaa !9
  call void %116(i32 noundef 34962, i32 noundef %117)
  %118 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !5
  %119 = load i32, ptr %3, align 4, !tbaa !9
  call void %118(i32 noundef %119)
  %120 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %121 = call i32 %120()
  %122 = icmp eq i32 %121, 0
  br i1 %122, label %124, label %123

123:                                              ; preds = %112
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 668, ptr noundef nonnull @__PRETTY_FUNCTION__._Z37ImGui_ImplOpenGL3_CreateDeviceObjectsv) #5
  unreachable

124:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
  ret i1 true
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z36ImGui_ImplOpenGL3_CreateFontsTexturev() local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL11CheckShaderjPKc(i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL12CheckProgramjPKc(i32 noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress 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 = { 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 #4 = { nounwind }
attributes #5 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass