; LLVM IR from erwincoumans/tiny-differentiable-simulator :: src/visualizer/opengl/tiny_x11_opengl_window.ll (ZN19TinyX11OpenGLWindow12pump_messageEv)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%union._XEvent = type { [24 x i64] }
%class.TinyX11OpenGLWindow = type <{ %class.TinyWindowInterface, ptr, i8, i8, [6 x i8] }>
%class.TinyWindowInterface = type { ptr }
%struct.InternalData2 = type { ptr, i64, ptr, i64, %struct.XSetWindowAttributes, i64, ptr, %struct.XWindowAttributes, %union._XEvent, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr }
%struct.XSetWindowAttributes = type { i64, i64, i64, i64, i32, i32, i32, i64, i64, i32, i64, i64, i32, i64, i64 }
%struct.XWindowAttributes = type { i32, i32, i32, i32, i32, i32, ptr, i64, i32, i32, i32, i32, i64, i64, i32, i64, i32, i32, i64, i64, i64, i32, ptr }
%struct.XKeyEvent = type { i32, i64, i32, ptr, i64, i64, i64, i64, i32, i32, i32, i32, i32, i32, i32 }
%struct.XButtonEvent = type { i32, i64, i32, ptr, i64, i64, i64, i64, i32, i32, i32, i32, i32, i32, i32 }
%struct.XMotionEvent = type { i32, i64, i32, ptr, i64, i64, i64, i64, i32, i32, i32, i32, i32, i8, i32 }
%struct.XConfigureEvent = type { i32, i64, i32, ptr, i64, i64, i32, i32, i32, i32, i32, i64, i32 }

; 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: mustprogress uwtable
declare dso_local noundef i32 @_ZN19TinyX11OpenGLWindow35get_ascii_code_from_virtual_keycodeEi(ptr noundef nonnull align 8 dereferenceable(18), i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN19TinyX11OpenGLWindow12pump_messageEv(ptr noundef nonnull align 8 dereferenceable(18) %0) #1 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i16, align 2
  %8 = alloca %union._XEvent, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %15 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  store i32 1, ptr %3, align 4, !tbaa !9
  br label %16

16:                                               ; preds = %300, %1
  %17 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %18 = load ptr, ptr %17, align 8, !tbaa !11
  %19 = getelementptr inbounds %struct.InternalData2, ptr %18, i32 0, i32 0
  %20 = load ptr, ptr %19, align 8, !tbaa !15
  %21 = call i32 @XPending(ptr noundef %20)
  %22 = icmp ne i32 %21, 0
  br i1 %22, label %23, label %301

23:                                               ; preds = %16
  %24 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %25 = load ptr, ptr %24, align 8, !tbaa !11
  %26 = getelementptr inbounds %struct.InternalData2, ptr %25, i32 0, i32 0
  %27 = load ptr, ptr %26, align 8, !tbaa !15
  %28 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %29 = load ptr, ptr %28, align 8, !tbaa !11
  %30 = getelementptr inbounds %struct.InternalData2, ptr %29, i32 0, i32 8
  %31 = call i32 @XNextEvent(ptr noundef %27, ptr noundef %30)
  %32 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %33 = load ptr, ptr %32, align 8, !tbaa !11
  %34 = getelementptr inbounds %struct.InternalData2, ptr %33, i32 0, i32 8
  %35 = load i32, ptr %34, align 8, !tbaa !20
  switch i32 %35, label %299 [
    i32 2, label %36
    i32 3, label %77
    i32 5, label %165
    i32 4, label %166
    i32 6, label %230
    i32 22, label %256
    i32 33, label %296
    i32 12, label %297
    i32 17, label %298
  ]

36:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  %37 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %38 = load ptr, ptr %37, align 8, !tbaa !11
  %39 = getelementptr inbounds %struct.InternalData2, ptr %38, i32 0, i32 8
  %40 = getelementptr inbounds %struct.XKeyEvent, ptr %39, i32 0, i32 13
  %41 = load i32, ptr %40, align 4, !tbaa !20
  %42 = call noundef i32 @_ZN19TinyX11OpenGLWindow35get_ascii_code_from_virtual_keycodeEi(ptr noundef nonnull align 8 dereferenceable(18) %15, i32 noundef %41)
  store i32 %42, ptr %4, align 4, !tbaa !9
  %43 = load i32, ptr %4, align 4, !tbaa !9
  switch i32 %43, label %62 [
    i32 156, label %44
    i32 154, label %50
    i32 155, label %56
  ]

44:                                               ; preds = %36
  %45 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %46 = load ptr, ptr %45, align 8, !tbaa !11
  %47 = getelementptr inbounds %struct.InternalData2, ptr %46, i32 0, i32 10
  %48 = load i32, ptr %47, align 8, !tbaa !21
  %49 = or i32 %48, 1
  store i32 %49, ptr %47, align 8, !tbaa !21
  br label %63

50:                                               ; preds = %36
  %51 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %52 = load ptr, ptr %51, align 8, !tbaa !11
  %53 = getelementptr inbounds %struct.InternalData2, ptr %52, i32 0, i32 10
  %54 = load i32, ptr %53, align 8, !tbaa !21
  %55 = or i32 %54, 2
  store i32 %55, ptr %53, align 8, !tbaa !21
  br label %63

56:                                               ; preds = %36
  %57 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %58 = load ptr, ptr %57, align 8, !tbaa !11
  %59 = getelementptr inbounds %struct.InternalData2, ptr %58, i32 0, i32 10
  %60 = load i32, ptr %59, align 8, !tbaa !21
  %61 = or i32 %60, 4
  store i32 %61, ptr %59, align 8, !tbaa !21
  br label %63

62:                                               ; preds = %36
  br label %63

63:                                               ; preds = %62, %56, %50, %44
  %64 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %65 = load ptr, ptr %64, align 8, !tbaa !11
  %66 = getelementptr inbounds %struct.InternalData2, ptr %65, i32 0, i32 17
  %67 = load ptr, ptr %66, align 8, !tbaa !22
  %68 = icmp ne ptr %67, null
  br i1 %68, label %69, label %76

69:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  store i32 1, ptr %5, align 4, !tbaa !9
  %70 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %71 = load ptr, ptr %70, align 8, !tbaa !11
  %72 = getelementptr inbounds %struct.InternalData2, ptr %71, i32 0, i32 17
  %73 = load ptr, ptr %72, align 8, !tbaa !22
  %74 = load i32, ptr %4, align 4, !tbaa !9
  %75 = load i32, ptr %5, align 4, !tbaa !9
  call void %73(i32 noundef %74, i32 noundef %75)
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  br label %76

76:                                               ; preds = %69, %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  br label %300

77:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  %78 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %79 = load ptr, ptr %78, align 8, !tbaa !11
  %80 = getelementptr inbounds %struct.InternalData2, ptr %79, i32 0, i32 8
  %81 = getelementptr inbounds %struct.XKeyEvent, ptr %80, i32 0, i32 13
  %82 = load i32, ptr %81, align 4, !tbaa !20
  %83 = call noundef i32 @_ZN19TinyX11OpenGLWindow35get_ascii_code_from_virtual_keycodeEi(ptr noundef nonnull align 8 dereferenceable(18) %15, i32 noundef %82)
  store i32 %83, ptr %6, align 4, !tbaa !9
  %84 = load i32, ptr %6, align 4, !tbaa !9
  switch i32 %84, label %103 [
    i32 156, label %85
    i32 154, label %91
    i32 155, label %97
  ]

85:                                               ; preds = %77
  %86 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %87 = load ptr, ptr %86, align 8, !tbaa !11
  %88 = getelementptr inbounds %struct.InternalData2, ptr %87, i32 0, i32 10
  %89 = load i32, ptr %88, align 8, !tbaa !21
  %90 = and i32 %89, -2
  store i32 %90, ptr %88, align 8, !tbaa !21
  br label %104

91:                                               ; preds = %77
  %92 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %93 = load ptr, ptr %92, align 8, !tbaa !11
  %94 = getelementptr inbounds %struct.InternalData2, ptr %93, i32 0, i32 10
  %95 = load i32, ptr %94, align 8, !tbaa !21
  %96 = and i32 %95, -3
  store i32 %96, ptr %94, align 8, !tbaa !21
  br label %104

97:                                               ; preds = %77
  %98 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %99 = load ptr, ptr %98, align 8, !tbaa !11
  %100 = getelementptr inbounds %struct.InternalData2, ptr %99, i32 0, i32 10
  %101 = load i32, ptr %100, align 8, !tbaa !21
  %102 = and i32 %101, -5
  store i32 %102, ptr %100, align 8, !tbaa !21
  br label %104

103:                                              ; preds = %77
  br label %104

104:                                              ; preds = %103, %97, %91, %85
  %105 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %106 = load ptr, ptr %105, align 8, !tbaa !11
  %107 = getelementptr inbounds %struct.InternalData2, ptr %106, i32 0, i32 17
  %108 = load ptr, ptr %107, align 8, !tbaa !22
  %109 = icmp ne ptr %108, null
  br i1 %109, label %110, label %164

110:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 2, ptr %7) #3
  store i16 0, ptr %7, align 2, !tbaa !23
  %111 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %112 = load ptr, ptr %111, align 8, !tbaa !11
  %113 = getelementptr inbounds %struct.InternalData2, ptr %112, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8, !tbaa !15
  %115 = call i32 @XEventsQueued(ptr noundef %114, i32 noundef 1)
  %116 = icmp ne i32 %115, 0
  br i1 %116, label %117, label %153

117:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 192, ptr %8) #3
  %118 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %119 = load ptr, ptr %118, align 8, !tbaa !11
  %120 = getelementptr inbounds %struct.InternalData2, ptr %119, i32 0, i32 0
  %121 = load ptr, ptr %120, align 8, !tbaa !15
  %122 = call i32 @XPeekEvent(ptr noundef %121, ptr noundef %8)
  %123 = load i32, ptr %8, align 8, !tbaa !20
  %124 = icmp eq i32 %123, 2
  br i1 %124, label %125, label %152

125:                                              ; preds = %117
  %126 = getelementptr inbounds %struct.XKeyEvent, ptr %8, i32 0, i32 7
  %127 = load i64, ptr %126, align 8, !tbaa !20
  %128 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %129 = load ptr, ptr %128, align 8, !tbaa !11
  %130 = getelementptr inbounds %struct.InternalData2, ptr %129, i32 0, i32 8
  %131 = getelementptr inbounds %struct.XKeyEvent, ptr %130, i32 0, i32 7
  %132 = load i64, ptr %131, align 8, !tbaa !20
  %133 = icmp eq i64 %127, %132
  br i1 %133, label %134, label %152

134:                                              ; preds = %125
  %135 = getelementptr inbounds %struct.XKeyEvent, ptr %8, i32 0, i32 13
  %136 = load i32, ptr %135, align 4, !tbaa !20
  %137 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %138 = load ptr, ptr %137, align 8, !tbaa !11
  %139 = getelementptr inbounds %struct.InternalData2, ptr %138, i32 0, i32 8
  %140 = getelementptr inbounds %struct.XKeyEvent, ptr %139, i32 0, i32 13
  %141 = load i32, ptr %140, align 4, !tbaa !20
  %142 = icmp eq i32 %136, %141
  br i1 %142, label %143, label %152

143:                                              ; preds = %134
  %144 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %145 = load ptr, ptr %144, align 8, !tbaa !11
  %146 = getelementptr inbounds %struct.InternalData2, ptr %145, i32 0, i32 0
  %147 = load ptr, ptr %146, align 8, !tbaa !15
  %148 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %149 = load ptr, ptr %148, align 8, !tbaa !11
  %150 = getelementptr inbounds %struct.InternalData2, ptr %149, i32 0, i32 8
  %151 = call i32 @XNextEvent(ptr noundef %147, ptr noundef %150)
  store i16 1, ptr %7, align 2, !tbaa !23
  br label %152

152:                                              ; preds = %143, %134, %125, %117
  call void @llvm.lifetime.end.p0(i64 192, ptr %8) #3
  br label %153

153:                                              ; preds = %152, %110
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  store i32 0, ptr %9, align 4, !tbaa !9
  %154 = load i16, ptr %7, align 2, !tbaa !23
  %155 = icmp ne i16 %154, 0
  br i1 %155, label %163, label %156

156:                                              ; preds = %153
  %157 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %158 = load ptr, ptr %157, align 8, !tbaa !11
  %159 = getelementptr inbounds %struct.InternalData2, ptr %158, i32 0, i32 17
  %160 = load ptr, ptr %159, align 8, !tbaa !22
  %161 = load i32, ptr %6, align 4, !tbaa !9
  %162 = load i32, ptr %9, align 4, !tbaa !9
  call void %160(i32 noundef %161, i32 noundef %162)
  br label %163

163:                                              ; preds = %156, %153
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 2, ptr %7) #3
  br label %164

164:                                              ; preds = %163, %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  br label %300

165:                                              ; preds = %23
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %166

166:                                              ; preds = %165, %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 -1, ptr %10, align 4, !tbaa !9
  %167 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %168 = load ptr, ptr %167, align 8, !tbaa !11
  %169 = getelementptr inbounds %struct.InternalData2, ptr %168, i32 0, i32 8
  %170 = getelementptr inbounds %struct.XButtonEvent, ptr %169, i32 0, i32 13
  %171 = load i32, ptr %170, align 4, !tbaa !20
  switch i32 %171, label %199 [
    i32 1, label %172
    i32 2, label %173
    i32 3, label %174
    i32 4, label %175
    i32 5, label %187
  ]

172:                                              ; preds = %166
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %199

173:                                              ; preds = %166
  store i32 1, ptr %10, align 4, !tbaa !9
  br label %199

174:                                              ; preds = %166
  store i32 2, ptr %10, align 4, !tbaa !9
  br label %199

175:                                              ; preds = %166
  %176 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %177 = load ptr, ptr %176, align 8, !tbaa !11
  %178 = getelementptr inbounds %struct.InternalData2, ptr %177, i32 0, i32 13
  %179 = load ptr, ptr %178, align 8, !tbaa !25
  %180 = icmp ne ptr %179, null
  br i1 %180, label %181, label %186

181:                                              ; preds = %175
  %182 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %183 = load ptr, ptr %182, align 8, !tbaa !11
  %184 = getelementptr inbounds %struct.InternalData2, ptr %183, i32 0, i32 13
  %185 = load ptr, ptr %184, align 8, !tbaa !25
  call void %185(float noundef 0.000000e+00, float noundef 1.000000e+01)
  br label %186

186:                                              ; preds = %181, %175
  br label %199

187:                                              ; preds = %166
  %188 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %189 = load ptr, ptr %188, align 8, !tbaa !11
  %190 = getelementptr inbounds %struct.InternalData2, ptr %189, i32 0, i32 13
  %191 = load ptr, ptr %190, align 8, !tbaa !25
  %192 = icmp ne ptr %191, null
  br i1 %192, label %193, label %198

193:                                              ; preds = %187
  %194 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %195 = load ptr, ptr %194, align 8, !tbaa !11
  %196 = getelementptr inbounds %struct.InternalData2, ptr %195, i32 0, i32 13
  %197 = load ptr, ptr %196, align 8, !tbaa !25
  call void %197(float noundef 0.000000e+00, float noundef -1.000000e+01)
  br label %198

198:                                              ; preds = %193, %187
  br label %199

199:                                              ; preds = %198, %186, %174, %173, %172, %166
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  %200 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %201 = load ptr, ptr %200, align 8, !tbaa !11
  %202 = getelementptr inbounds %struct.InternalData2, ptr %201, i32 0, i32 8
  %203 = getelementptr inbounds %struct.XMotionEvent, ptr %202, i32 0, i32 8
  %204 = load i32, ptr %203, align 8, !tbaa !20
  store i32 %204, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  %205 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %206 = load ptr, ptr %205, align 8, !tbaa !11
  %207 = getelementptr inbounds %struct.InternalData2, ptr %206, i32 0, i32 8
  %208 = getelementptr inbounds %struct.XMotionEvent, ptr %207, i32 0, i32 9
  %209 = load i32, ptr %208, align 4, !tbaa !20
  store i32 %209, ptr %12, align 4, !tbaa !9
  %210 = load i32, ptr %10, align 4, !tbaa !9
  %211 = icmp sge i32 %210, 0
  br i1 %211, label %212, label %229

212:                                              ; preds = %199
  %213 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %214 = load ptr, ptr %213, align 8, !tbaa !11
  %215 = getelementptr inbounds %struct.InternalData2, ptr %214, i32 0, i32 15
  %216 = load ptr, ptr %215, align 8, !tbaa !26
  %217 = icmp ne ptr %216, null
  br i1 %217, label %218, label %229

218:                                              ; preds = %212
  %219 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %220 = load ptr, ptr %219, align 8, !tbaa !11
  %221 = getelementptr inbounds %struct.InternalData2, ptr %220, i32 0, i32 15
  %222 = load ptr, ptr %221, align 8, !tbaa !26
  %223 = load i32, ptr %10, align 4, !tbaa !9
  %224 = load i32, ptr %3, align 4, !tbaa !9
  %225 = load i32, ptr %11, align 4, !tbaa !9
  %226 = sitofp i32 %225 to float
  %227 = load i32, ptr %12, align 4, !tbaa !9
  %228 = sitofp i32 %227 to float
  call void %222(i32 noundef %223, i32 noundef %224, float noundef %226, float noundef %228)
  br label %229

229:                                              ; preds = %218, %212, %199
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %300

230:                                              ; preds = %23
  %231 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %232 = load ptr, ptr %231, align 8, !tbaa !11
  %233 = getelementptr inbounds %struct.InternalData2, ptr %232, i32 0, i32 14
  %234 = load ptr, ptr %233, align 8, !tbaa !27
  %235 = icmp ne ptr %234, null
  br i1 %235, label %236, label %255

236:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  %237 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %238 = load ptr, ptr %237, align 8, !tbaa !11
  %239 = getelementptr inbounds %struct.InternalData2, ptr %238, i32 0, i32 8
  %240 = getelementptr inbounds %struct.XMotionEvent, ptr %239, i32 0, i32 8
  %241 = load i32, ptr %240, align 8, !tbaa !20
  store i32 %241, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  %242 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %243 = load ptr, ptr %242, align 8, !tbaa !11
  %244 = getelementptr inbounds %struct.InternalData2, ptr %243, i32 0, i32 8
  %245 = getelementptr inbounds %struct.XMotionEvent, ptr %244, i32 0, i32 9
  %246 = load i32, ptr %245, align 4, !tbaa !20
  store i32 %246, ptr %14, align 4, !tbaa !9
  %247 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %248 = load ptr, ptr %247, align 8, !tbaa !11
  %249 = getelementptr inbounds %struct.InternalData2, ptr %248, i32 0, i32 14
  %250 = load ptr, ptr %249, align 8, !tbaa !27
  %251 = load i32, ptr %13, align 4, !tbaa !9
  %252 = sitofp i32 %251 to float
  %253 = load i32, ptr %14, align 4, !tbaa !9
  %254 = sitofp i32 %253 to float
  call void %250(float noundef %252, float noundef %254)
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  br label %255

255:                                              ; preds = %236, %230
  br label %300

256:                                              ; preds = %23
  %257 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %258 = load ptr, ptr %257, align 8, !tbaa !11
  %259 = getelementptr inbounds %struct.InternalData2, ptr %258, i32 0, i32 8
  %260 = getelementptr inbounds %struct.XConfigureEvent, ptr %259, i32 0, i32 8
  %261 = load i32, ptr %260, align 8, !tbaa !20
  %262 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %263 = load ptr, ptr %262, align 8, !tbaa !11
  %264 = getelementptr inbounds %struct.InternalData2, ptr %263, i32 0, i32 11
  store i32 %261, ptr %264, align 4, !tbaa !28
  %265 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %266 = load ptr, ptr %265, align 8, !tbaa !11
  %267 = getelementptr inbounds %struct.InternalData2, ptr %266, i32 0, i32 8
  %268 = getelementptr inbounds %struct.XConfigureEvent, ptr %267, i32 0, i32 9
  %269 = load i32, ptr %268, align 4, !tbaa !20
  %270 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %271 = load ptr, ptr %270, align 8, !tbaa !11
  %272 = getelementptr inbounds %struct.InternalData2, ptr %271, i32 0, i32 12
  store i32 %269, ptr %272, align 8, !tbaa !29
  %273 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %274 = load ptr, ptr %273, align 8, !tbaa !11
  %275 = getelementptr inbounds %struct.InternalData2, ptr %274, i32 0, i32 16
  %276 = load ptr, ptr %275, align 8, !tbaa !30
  %277 = icmp ne ptr %276, null
  br i1 %277, label %278, label %295

278:                                              ; preds = %256
  %279 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %280 = load ptr, ptr %279, align 8, !tbaa !11
  %281 = getelementptr inbounds %struct.InternalData2, ptr %280, i32 0, i32 16
  %282 = load ptr, ptr %281, align 8, !tbaa !30
  %283 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %284 = load ptr, ptr %283, align 8, !tbaa !11
  %285 = getelementptr inbounds %struct.InternalData2, ptr %284, i32 0, i32 8
  %286 = getelementptr inbounds %struct.XConfigureEvent, ptr %285, i32 0, i32 8
  %287 = load i32, ptr %286, align 8, !tbaa !20
  %288 = sitofp i32 %287 to float
  %289 = getelementptr inbounds %class.TinyX11OpenGLWindow, ptr %15, i32 0, i32 1
  %290 = load ptr, ptr %289, align 8, !tbaa !11
  %291 = getelementptr inbounds %struct.InternalData2, ptr %290, i32 0, i32 8
  %292 = getelementptr inbounds %struct.XConfigureEvent, ptr %291, i32 0, i32 9
  %293 = load i32, ptr %292, align 4, !tbaa !20
  %294 = sitofp i32 %293 to float
  call void %282(float noundef %288, float noundef %294)
  br label %295

295:                                              ; preds = %278, %256
  br label %300

296:                                              ; preds = %23
  br label %300

297:                                              ; preds = %23
  br label %300

298:                                              ; preds = %23
  br label %300

299:                                              ; preds = %23
  br label %300

300:                                              ; preds = %299, %298, %297, %296, %295, %255, %229, %164, %76
  br label %16, !llvm.loop !31

301:                                              ; preds = %16
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  ret void
}

declare i32 @XPending(ptr noundef) #2

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

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

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

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

!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}
!11 = !{!12, !6, i64 8}
!12 = !{!"_ZTS19TinyX11OpenGLWindow", !13, i64 0, !6, i64 8, !14, i64 16, !14, i64 17}
!13 = !{!"_ZTS19TinyWindowInterface"}
!14 = !{!"bool", !7, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTS13InternalData2", !6, i64 0, !17, i64 8, !6, i64 16, !17, i64 24, !18, i64 32, !17, i64 144, !6, i64 152, !19, i64 160, !7, i64 296, !6, i64 488, !10, i64 496, !10, i64 500, !10, i64 504, !6, i64 512, !6, i64 520, !6, i64 528, !6, i64 536, !6, i64 544}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTS20XSetWindowAttributes", !17, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !17, i64 48, !17, i64 56, !10, i64 64, !17, i64 72, !17, i64 80, !10, i64 88, !17, i64 96, !17, i64 104}
!19 = !{!"_ZTS17XWindowAttributes", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !6, i64 24, !17, i64 32, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !17, i64 56, !17, i64 64, !10, i64 72, !17, i64 80, !10, i64 88, !10, i64 92, !17, i64 96, !17, i64 104, !17, i64 112, !10, i64 120, !6, i64 128}
!20 = !{!7, !7, i64 0}
!21 = !{!16, !10, i64 496}
!22 = !{!16, !6, i64 544}
!23 = !{!24, !24, i64 0}
!24 = !{!"short", !7, i64 0}
!25 = !{!16, !6, i64 512}
!26 = !{!16, !6, i64 528}
!27 = !{!16, !6, i64 520}
!28 = !{!16, !10, i64 500}
!29 = !{!16, !10, i64 504}
!30 = !{!16, !6, i64 536}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%union._XEvent = type { [24 x i64] }

@switch.table._ZN19TinyX11OpenGLWindow12pump_messageEv = private unnamed_addr constant [3 x i32] [i32 2, i32 4, i32 1], align 4
@switch.table._ZN19TinyX11OpenGLWindow12pump_messageEv.1 = private unnamed_addr constant [3 x i32] [i32 -3, i32 -5, i32 -2], 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN19TinyX11OpenGLWindow35get_ascii_code_from_virtual_keycodeEi(ptr noundef nonnull align 8 dereferenceable(18), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN19TinyX11OpenGLWindow12pump_messageEv(ptr noundef nonnull align 8 dereferenceable(18) %0) local_unnamed_addr #1 align 2 {
  %2 = alloca %union._XEvent, align 8
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = load ptr, ptr %4, align 8, !tbaa !12
  %6 = tail call i32 @XPending(ptr noundef %5)
  %.not40 = icmp eq i32 %6, 0
  br i1 %.not40, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %1
  %7 = getelementptr inbounds i8, ptr %2, i64 56
  %8 = getelementptr inbounds i8, ptr %2, i64 84
  br label %9

9:                                                ; preds = %.lr.ph, %.thread38
  %.041 = phi i32 [ 1, %.lr.ph ], [ %.2, %.thread38 ]
  %10 = load ptr, ptr %3, align 8, !tbaa !5
  %11 = load ptr, ptr %10, align 8, !tbaa !12
  %12 = getelementptr inbounds i8, ptr %10, i64 296
  %13 = call i32 @XNextEvent(ptr noundef %11, ptr noundef nonnull %12)
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %14, i64 296
  %16 = load i32, ptr %15, align 8, !tbaa !18
  switch i32 %16, label %.thread38 [
    i32 2, label %17
    i32 3, label %29
    i32 5, label %65
    i32 4, label %66
    i32 6, label %89
    i32 22, label %99
  ]

17:                                               ; preds = %9
  %18 = getelementptr inbounds i8, ptr %14, i64 380
  %19 = load i32, ptr %18, align 4, !tbaa !18
  %20 = call noundef i32 @_ZN19TinyX11OpenGLWindow35get_ascii_code_from_virtual_keycodeEi(ptr noundef nonnull align 8 dereferenceable(18) %0, i32 noundef %19)
  %.pre46 = load ptr, ptr %3, align 8, !tbaa !5
  %switch.tableidx = add i32 %20, -154
  %21 = icmp ult i32 %switch.tableidx, 3
  br i1 %21, label %switch.lookup, label %._crit_edge45

switch.lookup:                                    ; preds = %17
  %22 = zext nneg i32 %switch.tableidx to i64
  %switch.gep = getelementptr inbounds [3 x i32], ptr @switch.table._ZN19TinyX11OpenGLWindow12pump_messageEv, i64 0, i64 %22
  %switch.load = load i32, ptr %switch.gep, align 4
  %23 = getelementptr inbounds i8, ptr %.pre46, i64 496
  %24 = load i32, ptr %23, align 8, !tbaa !19
  %25 = or i32 %24, %switch.load
  store i32 %25, ptr %23, align 8, !tbaa !19
  br label %._crit_edge45

._crit_edge45:                                    ; preds = %17, %switch.lookup
  %26 = getelementptr inbounds i8, ptr %.pre46, i64 544
  %27 = load ptr, ptr %26, align 8, !tbaa !20
  %.not31 = icmp eq ptr %27, null
  br i1 %.not31, label %.thread38, label %28

28:                                               ; preds = %._crit_edge45
  call void %27(i32 noundef %20, i32 noundef 1)
  br label %.thread38

29:                                               ; preds = %9
  %30 = getelementptr inbounds i8, ptr %14, i64 380
  %31 = load i32, ptr %30, align 4, !tbaa !18
  %32 = call noundef i32 @_ZN19TinyX11OpenGLWindow35get_ascii_code_from_virtual_keycodeEi(ptr noundef nonnull align 8 dereferenceable(18) %0, i32 noundef %31)
  %.pre = load ptr, ptr %3, align 8, !tbaa !5
  %switch.tableidx54 = add i32 %32, -154
  %33 = icmp ult i32 %switch.tableidx54, 3
  br i1 %33, label %switch.lookup53, label %._crit_edge42

switch.lookup53:                                  ; preds = %29
  %34 = zext nneg i32 %switch.tableidx54 to i64
  %switch.gep55 = getelementptr inbounds [3 x i32], ptr @switch.table._ZN19TinyX11OpenGLWindow12pump_messageEv.1, i64 0, i64 %34
  %switch.load56 = load i32, ptr %switch.gep55, align 4
  %35 = getelementptr inbounds i8, ptr %.pre, i64 496
  %36 = load i32, ptr %35, align 8, !tbaa !19
  %37 = and i32 %36, %switch.load56
  store i32 %37, ptr %35, align 8, !tbaa !19
  br label %._crit_edge42

._crit_edge42:                                    ; preds = %29, %switch.lookup53
  %38 = getelementptr inbounds i8, ptr %.pre, i64 544
  %39 = load ptr, ptr %38, align 8, !tbaa !20
  %.not28 = icmp eq ptr %39, null
  br i1 %.not28, label %.thread38, label %40

40:                                               ; preds = %._crit_edge42
  %41 = load ptr, ptr %.pre, align 8, !tbaa !12
  %42 = call i32 @XEventsQueued(ptr noundef %41, i32 noundef 1)
  %.not29 = icmp eq i32 %42, 0
  %.pre44 = load ptr, ptr %3, align 8, !tbaa !5
  br i1 %.not29, label %.thread, label %43

43:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %2) #3
  %44 = load ptr, ptr %.pre44, align 8, !tbaa !12
  %45 = call i32 @XPeekEvent(ptr noundef %44, ptr noundef nonnull %2)
  %46 = load i32, ptr %2, align 8, !tbaa !18
  %47 = icmp eq i32 %46, 2
  %.pre43.pre = load ptr, ptr %3, align 8, !tbaa !5
  br i1 %47, label %48, label %.thread34

48:                                               ; preds = %43
  %49 = load i64, ptr %7, align 8, !tbaa !18
  %50 = getelementptr inbounds i8, ptr %.pre43.pre, i64 296
  %51 = getelementptr inbounds i8, ptr %.pre43.pre, i64 352
  %52 = load i64, ptr %51, align 8, !tbaa !18
  %53 = icmp eq i64 %49, %52
  br i1 %53, label %54, label %.thread34

54:                                               ; preds = %48
  %55 = load i32, ptr %8, align 4, !tbaa !18
  %56 = getelementptr inbounds i8, ptr %.pre43.pre, i64 380
  %57 = load i32, ptr %56, align 4, !tbaa !18
  %58 = icmp eq i32 %55, %57
  br i1 %58, label %59, label %.thread34

.thread34:                                        ; preds = %54, %48, %43
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %2) #3
  br label %.thread

59:                                               ; preds = %54
  %60 = load ptr, ptr %.pre43.pre, align 8, !tbaa !12
  %61 = call i32 @XNextEvent(ptr noundef %60, ptr noundef nonnull %50)
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %2) #3
  br label %.thread38

.thread:                                          ; preds = %40, %.thread34
  %62 = phi ptr [ %.pre44, %40 ], [ %.pre43.pre, %.thread34 ]
  %63 = getelementptr inbounds i8, ptr %62, i64 544
  %64 = load ptr, ptr %63, align 8, !tbaa !20
  call void %64(i32 noundef %32, i32 noundef 0)
  br label %.thread38

65:                                               ; preds = %9
  br label %66

66:                                               ; preds = %65, %9
  %.1 = phi i32 [ %.041, %9 ], [ 0, %65 ]
  %67 = getelementptr inbounds i8, ptr %14, i64 380
  %68 = load i32, ptr %67, align 4, !tbaa !18
  switch i32 %68, label %.thread38 [
    i32 1, label %79
    i32 2, label %69
    i32 3, label %70
    i32 4, label %71
    i32 5, label %75
  ]

69:                                               ; preds = %66
  br label %79

70:                                               ; preds = %66
  br label %79

71:                                               ; preds = %66
  %72 = getelementptr inbounds i8, ptr %14, i64 512
  %73 = load ptr, ptr %72, align 8, !tbaa !21
  %.not26 = icmp eq ptr %73, null
  br i1 %.not26, label %.thread38, label %74

74:                                               ; preds = %71
  call void %73(float noundef 0.000000e+00, float noundef 1.000000e+01)
  br label %.thread38

75:                                               ; preds = %66
  %76 = getelementptr inbounds i8, ptr %14, i64 512
  %77 = load ptr, ptr %76, align 8, !tbaa !21
  %.not25 = icmp eq ptr %77, null
  br i1 %.not25, label %.thread38, label %78

78:                                               ; preds = %75
  call void %77(float noundef 0.000000e+00, float noundef -1.000000e+01)
  br label %.thread38

79:                                               ; preds = %66, %69, %70
  %.016 = phi i32 [ 2, %70 ], [ 1, %69 ], [ 0, %66 ]
  %80 = getelementptr inbounds i8, ptr %14, i64 528
  %81 = load ptr, ptr %80, align 8, !tbaa !22
  %.not27 = icmp eq ptr %81, null
  br i1 %.not27, label %.thread38, label %82

82:                                               ; preds = %79
  %83 = getelementptr inbounds i8, ptr %14, i64 364
  %84 = load i32, ptr %83, align 4, !tbaa !18
  %85 = getelementptr inbounds i8, ptr %14, i64 360
  %86 = load i32, ptr %85, align 8, !tbaa !18
  %87 = sitofp i32 %86 to float
  %88 = sitofp i32 %84 to float
  call void %81(i32 noundef %.016, i32 noundef %.1, float noundef %87, float noundef %88)
  br label %.thread38

89:                                               ; preds = %9
  %90 = getelementptr inbounds i8, ptr %14, i64 520
  %91 = load ptr, ptr %90, align 8, !tbaa !23
  %.not24 = icmp eq ptr %91, null
  br i1 %.not24, label %.thread38, label %92

92:                                               ; preds = %89
  %93 = getelementptr inbounds i8, ptr %14, i64 360
  %94 = load i32, ptr %93, align 8, !tbaa !18
  %95 = getelementptr inbounds i8, ptr %14, i64 364
  %96 = load i32, ptr %95, align 4, !tbaa !18
  %97 = sitofp i32 %94 to float
  %98 = sitofp i32 %96 to float
  call void %91(float noundef %97, float noundef %98)
  br label %.thread38

99:                                               ; preds = %9
  %100 = getelementptr inbounds i8, ptr %14, i64 352
  %101 = load i32, ptr %100, align 8, !tbaa !18
  %102 = getelementptr inbounds i8, ptr %14, i64 500
  store i32 %101, ptr %102, align 4, !tbaa !24
  %103 = getelementptr inbounds i8, ptr %14, i64 356
  %104 = load i32, ptr %103, align 4, !tbaa !18
  %105 = getelementptr inbounds i8, ptr %14, i64 504
  store i32 %104, ptr %105, align 8, !tbaa !25
  %106 = getelementptr inbounds i8, ptr %14, i64 536
  %107 = load ptr, ptr %106, align 8, !tbaa !26
  %.not23 = icmp eq ptr %107, null
  br i1 %.not23, label %.thread38, label %108

108:                                              ; preds = %99
  %109 = sitofp i32 %101 to float
  %110 = sitofp i32 %104 to float
  call void %107(float noundef %109, float noundef %110)
  br label %.thread38

.thread38:                                        ; preds = %71, %74, %75, %78, %66, %59, %79, %82, %._crit_edge42, %.thread, %._crit_edge45, %28, %9, %99, %108, %89, %92
  %.2 = phi i32 [ %.041, %9 ], [ %.041, %108 ], [ %.041, %99 ], [ %.041, %92 ], [ %.041, %89 ], [ %.041, %28 ], [ %.041, %._crit_edge45 ], [ %.041, %59 ], [ %.041, %.thread ], [ %.041, %._crit_edge42 ], [ %.1, %82 ], [ %.1, %79 ], [ %.1, %66 ], [ %.1, %78 ], [ %.1, %75 ], [ %.1, %74 ], [ %.1, %71 ]
  %111 = load ptr, ptr %3, align 8, !tbaa !5
  %112 = load ptr, ptr %111, align 8, !tbaa !12
  %113 = call i32 @XPending(ptr noundef %112)
  %.not = icmp eq i32 %113, 0
  br i1 %.not, label %._crit_edge, label %9, !llvm.loop !27

._crit_edge:                                      ; preds = %.thread38, %1
  ret void
}

declare i32 @XPending(ptr noundef) local_unnamed_addr #2

declare i32 @XNextEvent(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @XEventsQueued(ptr noundef, i32 noundef) local_unnamed_addr #2

declare i32 @XPeekEvent(ptr noundef, ptr noundef) local_unnamed_addr #2

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

!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, !8, i64 8}
!6 = !{!"_ZTS19TinyX11OpenGLWindow", !7, i64 0, !8, i64 8, !11, i64 16, !11, i64 17}
!7 = !{!"_ZTS19TinyWindowInterface"}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"bool", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"_ZTS13InternalData2", !8, i64 0, !14, i64 8, !8, i64 16, !14, i64 24, !15, i64 32, !14, i64 144, !8, i64 152, !17, i64 160, !9, i64 296, !8, i64 488, !16, i64 496, !16, i64 500, !16, i64 504, !8, i64 512, !8, i64 520, !8, i64 528, !8, i64 536, !8, i64 544}
!14 = !{!"long", !9, i64 0}
!15 = !{!"_ZTS20XSetWindowAttributes", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !16, i64 32, !16, i64 36, !16, i64 40, !14, i64 48, !14, i64 56, !16, i64 64, !14, i64 72, !14, i64 80, !16, i64 88, !14, i64 96, !14, i64 104}
!16 = !{!"int", !9, i64 0}
!17 = !{!"_ZTS17XWindowAttributes", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !8, i64 24, !14, i64 32, !16, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !14, i64 56, !14, i64 64, !16, i64 72, !14, i64 80, !16, i64 88, !16, i64 92, !14, i64 96, !14, i64 104, !14, i64 112, !16, i64 120, !8, i64 128}
!18 = !{!9, !9, i64 0}
!19 = !{!13, !16, i64 496}
!20 = !{!13, !8, i64 544}
!21 = !{!13, !8, i64 512}
!22 = !{!13, !8, i64 528}
!23 = !{!13, !8, i64 520}
!24 = !{!13, !16, i64 500}
!25 = !{!13, !16, i64 504}
!26 = !{!13, !8, i64 536}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}


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