; LLVM IR from 0intro/wmii :: lib/libstuff/x11/drawing (drawstring)

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

%struct.Rectangle = type { %struct.Point, %struct.Point }
%struct.Point = type { i32, i32 }
%struct.Font = type { i32, %union.anon, %struct.Rectangle, i32, i32, i32, ptr }
%union.anon = type { ptr }
%struct.Window = type { i32, i64, ptr, ptr, ptr, i64, ptr, %struct.Rectangle, i32, ptr, ptr, ptr, ptr, ptr, ptr, %struct.Ewmh, i64, ptr, ptr, i8, i32, i32 }
%struct.Ewmh = type { i64, i64, i64 }
%struct.Xft = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.XFontStruct = type { ptr, i64, i32, i32, i32, i32, i32, i32, i32, i32, ptr, %struct.XCharStruct, %struct.XCharStruct, ptr, i32, i32 }
%struct.XCharStruct = type { i16, i16, i16, i16, i16, i16 }

@ZR = external constant %struct.Rectangle, align 4
@display = external global ptr, align 8
@xft = external global ptr, align 8
@.str = external hidden unnamed_addr constant [83 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @drawstring(ptr noundef %0, ptr noundef %1, i64 %2, i64 %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 {
  %8 = alloca %struct.Rectangle, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %struct.Rectangle, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %struct.Rectangle, align 4
  %23 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 0
  store i64 %2, ptr %23, align 4
  %24 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 1
  store i64 %3, ptr %24, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store i32 %4, ptr %11, align 4, !tbaa !9
  store ptr %5, ptr %12, align 8, !tbaa !5
  store ptr %6, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !9
  %25 = load ptr, ptr %12, align 8, !tbaa !5
  %26 = call i64 @strlen(ptr noundef %25) #7
  %27 = trunc i64 %26 to i32
  store i32 %27, ptr %20, align 4, !tbaa !9
  %28 = load i32, ptr %20, align 4, !tbaa !9
  %29 = add i32 %28, 1
  %30 = call ptr @emalloc(i32 noundef %29)
  store ptr %30, ptr %15, align 8, !tbaa !5
  %31 = load ptr, ptr %15, align 8, !tbaa !5
  %32 = load ptr, ptr %12, align 8, !tbaa !5
  %33 = load i32, ptr %20, align 4, !tbaa !9
  %34 = add i32 %33, 1
  %35 = zext i32 %34 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %31, ptr align 1 %32, i64 %35, i1 false)
  %36 = load ptr, ptr %10, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.Font, ptr %36, i32 0, i32 2
  %38 = getelementptr inbounds %struct.Rectangle, ptr %37, i32 0, i32 0
  %39 = getelementptr inbounds %struct.Point, ptr %38, i32 0, i32 1
  %40 = load i32, ptr %39, align 4, !tbaa !11
  %41 = getelementptr inbounds %struct.Rectangle, ptr %8, i32 0, i32 1
  %42 = getelementptr inbounds %struct.Point, ptr %41, i32 0, i32 1
  %43 = load i32, ptr %42, align 4, !tbaa !15
  %44 = sub nsw i32 %43, %40
  store i32 %44, ptr %42, align 4, !tbaa !15
  %45 = load ptr, ptr %10, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.Font, ptr %45, i32 0, i32 2
  %47 = getelementptr inbounds %struct.Rectangle, ptr %46, i32 0, i32 1
  %48 = getelementptr inbounds %struct.Point, ptr %47, i32 0, i32 1
  %49 = load i32, ptr %48, align 4, !tbaa !16
  %50 = getelementptr inbounds %struct.Rectangle, ptr %8, i32 0, i32 0
  %51 = getelementptr inbounds %struct.Point, ptr %50, i32 0, i32 1
  %52 = load i32, ptr %51, align 4, !tbaa !17
  %53 = add nsw i32 %52, %49
  store i32 %53, ptr %51, align 4, !tbaa !17
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.Font, ptr %54, i32 0, i32 3
  %56 = load i32, ptr %55, align 8, !tbaa !18
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.Font, ptr %57, i32 0, i32 4
  %59 = load i32, ptr %58, align 4, !tbaa !19
  %60 = add nsw i32 %56, %59
  store i32 %60, ptr %19, align 4, !tbaa !9
  %61 = getelementptr inbounds %struct.Rectangle, ptr %8, i32 0, i32 0
  %62 = getelementptr inbounds %struct.Point, ptr %61, i32 0, i32 1
  %63 = load i32, ptr %62, align 4, !tbaa !17
  %64 = getelementptr inbounds %struct.Rectangle, ptr %8, i32 0, i32 1
  %65 = getelementptr inbounds %struct.Point, ptr %64, i32 0, i32 1
  %66 = load i32, ptr %65, align 4, !tbaa !15
  %67 = getelementptr inbounds %struct.Rectangle, ptr %8, i32 0, i32 0
  %68 = getelementptr inbounds %struct.Point, ptr %67, i32 0, i32 1
  %69 = load i32, ptr %68, align 4, !tbaa !17
  %70 = sub nsw i32 %66, %69
  %71 = sdiv i32 %70, 2
  %72 = add nsw i32 %63, %71
  %73 = load i32, ptr %19, align 4, !tbaa !9
  %74 = udiv i32 %73, 2
  %75 = sub i32 %72, %74
  %76 = load ptr, ptr %10, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.Font, ptr %76, i32 0, i32 3
  %78 = load i32, ptr %77, align 8, !tbaa !18
  %79 = add i32 %75, %78
  store i32 %79, ptr %17, align 4, !tbaa !9
  %80 = getelementptr inbounds %struct.Rectangle, ptr %8, i32 0, i32 1
  %81 = getelementptr inbounds %struct.Point, ptr %80, i32 0, i32 0
  %82 = load i32, ptr %81, align 4, !tbaa !20
  %83 = getelementptr inbounds %struct.Rectangle, ptr %8, i32 0, i32 0
  %84 = getelementptr inbounds %struct.Point, ptr %83, i32 0, i32 0
  %85 = load i32, ptr %84, align 4, !tbaa !21
  %86 = sub nsw i32 %82, %85
  %87 = load ptr, ptr %10, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.Font, ptr %87, i32 0, i32 2
  %89 = getelementptr inbounds %struct.Rectangle, ptr %88, i32 0, i32 0
  %90 = getelementptr inbounds %struct.Point, ptr %89, i32 0, i32 0
  %91 = load i32, ptr %90, align 8, !tbaa !22
  %92 = sub nsw i32 %86, %91
  %93 = load ptr, ptr %10, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.Font, ptr %93, i32 0, i32 2
  %95 = getelementptr inbounds %struct.Rectangle, ptr %94, i32 0, i32 1
  %96 = getelementptr inbounds %struct.Point, ptr %95, i32 0, i32 0
  %97 = load i32, ptr %96, align 8, !tbaa !23
  %98 = sub nsw i32 %92, %97
  %99 = load ptr, ptr %10, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.Font, ptr %99, i32 0, i32 5
  %101 = load i32, ptr %100, align 8, !tbaa !24
  %102 = and i32 %101, -2
  %103 = sub i32 %98, %102
  store i32 %103, ptr %18, align 4, !tbaa !9
  %104 = load ptr, ptr %10, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.Font, ptr %104, i32 0, i32 2
  %106 = getelementptr inbounds %struct.Rectangle, ptr %105, i32 0, i32 0
  %107 = getelementptr inbounds %struct.Point, ptr %106, i32 0, i32 0
  %108 = load i32, ptr %107, align 8, !tbaa !22
  %109 = getelementptr inbounds %struct.Rectangle, ptr %8, i32 0, i32 0
  %110 = getelementptr inbounds %struct.Point, ptr %109, i32 0, i32 0
  %111 = load i32, ptr %110, align 4, !tbaa !21
  %112 = add nsw i32 %111, %108
  store i32 %112, ptr %110, align 4, !tbaa !21
  %113 = load ptr, ptr %10, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.Font, ptr %113, i32 0, i32 2
  %115 = getelementptr inbounds %struct.Rectangle, ptr %114, i32 0, i32 1
  %116 = getelementptr inbounds %struct.Point, ptr %115, i32 0, i32 0
  %117 = load i32, ptr %116, align 8, !tbaa !23
  %118 = getelementptr inbounds %struct.Rectangle, ptr %8, i32 0, i32 1
  %119 = getelementptr inbounds %struct.Point, ptr %118, i32 0, i32 0
  %120 = load i32, ptr %119, align 4, !tbaa !20
  %121 = sub nsw i32 %120, %117
  store i32 %121, ptr %119, align 4, !tbaa !20
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 @ZR, i64 16, i1 false), !tbaa.struct !25
  br label %122

122:                                              ; preds = %168, %7
  %123 = load i32, ptr %20, align 4, !tbaa !9
  %124 = icmp ugt i32 %123, 0
  br i1 %124, label %125, label %175

125:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #6
  %126 = load ptr, ptr %10, align 8, !tbaa !5
  %127 = load ptr, ptr %15, align 8, !tbaa !5
  %128 = load i32, ptr %20, align 4, !tbaa !9
  %129 = load i32, ptr %21, align 4, !tbaa !9
  %130 = call i32 @min(i32 noundef %129, i32 noundef 3)
  %131 = add i32 %128, %130
  %132 = call { i64, i64 } @textextents_l(ptr noundef %126, ptr noundef %127, i32 noundef %131, ptr noundef null)
  %133 = getelementptr inbounds { i64, i64 }, ptr %22, i32 0, i32 0
  %134 = extractvalue { i64, i64 } %132, 0
  store i64 %134, ptr %133, align 4
  %135 = getelementptr inbounds { i64, i64 }, ptr %22, i32 0, i32 1
  %136 = extractvalue { i64, i64 } %132, 1
  store i64 %136, ptr %135, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %22, i64 16, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  %137 = getelementptr inbounds %struct.Rectangle, ptr %14, i32 0, i32 1
  %138 = getelementptr inbounds %struct.Point, ptr %137, i32 0, i32 0
  %139 = load i32, ptr %138, align 4, !tbaa !20
  %140 = getelementptr inbounds %struct.Rectangle, ptr %14, i32 0, i32 0
  %141 = getelementptr inbounds %struct.Point, ptr %140, i32 0, i32 0
  %142 = load i32, ptr %141, align 4, !tbaa !21
  %143 = sub nsw i32 %139, %142
  %144 = load i32, ptr %18, align 4, !tbaa !9
  %145 = icmp ule i32 %143, %144
  br i1 %145, label %146, label %147

146:                                              ; preds = %125
  br label %175

147:                                              ; preds = %125
  br label %148

148:                                              ; preds = %163, %147
  %149 = load i32, ptr %20, align 4, !tbaa !9
  %150 = icmp ugt i32 %149, 0
  br i1 %150, label %151, label %161

151:                                              ; preds = %148
  %152 = load ptr, ptr %15, align 8, !tbaa !5
  %153 = load i32, ptr %20, align 4, !tbaa !9
  %154 = add i32 %153, -1
  store i32 %154, ptr %20, align 4, !tbaa !9
  %155 = zext i32 %154 to i64
  %156 = getelementptr inbounds i8, ptr %152, i64 %155
  %157 = load i8, ptr %156, align 1, !tbaa !26
  %158 = sext i8 %157 to i32
  %159 = and i32 %158, 192
  %160 = icmp eq i32 %159, 128
  br label %161

161:                                              ; preds = %151, %148
  %162 = phi i1 [ false, %148 ], [ %160, %151 ]
  br i1 %162, label %163, label %168

163:                                              ; preds = %161
  %164 = load ptr, ptr %15, align 8, !tbaa !5
  %165 = load i32, ptr %20, align 4, !tbaa !9
  %166 = zext i32 %165 to i64
  %167 = getelementptr inbounds i8, ptr %164, i64 %166
  store i8 46, ptr %167, align 1, !tbaa !26
  br label %148, !llvm.loop !27

168:                                              ; preds = %161
  %169 = load ptr, ptr %15, align 8, !tbaa !5
  %170 = load i32, ptr %20, align 4, !tbaa !9
  %171 = zext i32 %170 to i64
  %172 = getelementptr inbounds i8, ptr %169, i64 %171
  store i8 46, ptr %172, align 1, !tbaa !26
  %173 = load i32, ptr %21, align 4, !tbaa !9
  %174 = add nsw i32 %173, 1
  store i32 %174, ptr %21, align 4, !tbaa !9
  br label %122, !llvm.loop !29

175:                                              ; preds = %146, %122
  %176 = load i32, ptr %20, align 4, !tbaa !9
  %177 = icmp eq i32 %176, 0
  br i1 %177, label %188, label %178

178:                                              ; preds = %175
  %179 = getelementptr inbounds %struct.Rectangle, ptr %14, i32 0, i32 1
  %180 = getelementptr inbounds %struct.Point, ptr %179, i32 0, i32 0
  %181 = load i32, ptr %180, align 4, !tbaa !20
  %182 = getelementptr inbounds %struct.Rectangle, ptr %14, i32 0, i32 0
  %183 = getelementptr inbounds %struct.Point, ptr %182, i32 0, i32 0
  %184 = load i32, ptr %183, align 4, !tbaa !21
  %185 = sub nsw i32 %181, %184
  %186 = load i32, ptr %18, align 4, !tbaa !9
  %187 = icmp ugt i32 %185, %186
  br i1 %187, label %188, label %189

188:                                              ; preds = %178, %175
  br label %312

189:                                              ; preds = %178
  %190 = load i32, ptr %21, align 4, !tbaa !9
  %191 = icmp ne i32 %190, 0
  br i1 %191, label %192, label %197

192:                                              ; preds = %189
  %193 = load i32, ptr %21, align 4, !tbaa !9
  %194 = call i32 @min(i32 noundef %193, i32 noundef 3)
  %195 = load i32, ptr %20, align 4, !tbaa !9
  %196 = add i32 %195, %194
  store i32 %196, ptr %20, align 4, !tbaa !9
  br label %197

197:                                              ; preds = %192, %189
  %198 = load i32, ptr %11, align 4, !tbaa !9
  switch i32 %198, label %237 [
    i32 2, label %199
    i32 15, label %212
  ]

199:                                              ; preds = %197
  %200 = getelementptr inbounds %struct.Rectangle, ptr %8, i32 0, i32 1
  %201 = getelementptr inbounds %struct.Point, ptr %200, i32 0, i32 0
  %202 = load i32, ptr %201, align 4, !tbaa !20
  %203 = getelementptr inbounds %struct.Rectangle, ptr %14, i32 0, i32 1
  %204 = getelementptr inbounds %struct.Point, ptr %203, i32 0, i32 0
  %205 = load i32, ptr %204, align 4, !tbaa !20
  %206 = load ptr, ptr %10, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.Font, ptr %206, i32 0, i32 5
  %208 = load i32, ptr %207, align 8, !tbaa !24
  %209 = udiv i32 %208, 2
  %210 = add i32 %205, %209
  %211 = sub i32 %202, %210
  store i32 %211, ptr %16, align 4, !tbaa !9
  br label %250

212:                                              ; preds = %197
  %213 = getelementptr inbounds %struct.Rectangle, ptr %8, i32 0, i32 0
  %214 = getelementptr inbounds %struct.Point, ptr %213, i32 0, i32 0
  %215 = load i32, ptr %214, align 4, !tbaa !21
  %216 = getelementptr inbounds %struct.Rectangle, ptr %8, i32 0, i32 1
  %217 = getelementptr inbounds %struct.Point, ptr %216, i32 0, i32 0
  %218 = load i32, ptr %217, align 4, !tbaa !20
  %219 = getelementptr inbounds %struct.Rectangle, ptr %8, i32 0, i32 0
  %220 = getelementptr inbounds %struct.Point, ptr %219, i32 0, i32 0
  %221 = load i32, ptr %220, align 4, !tbaa !21
  %222 = sub nsw i32 %218, %221
  %223 = getelementptr inbounds %struct.Rectangle, ptr %14, i32 0, i32 1
  %224 = getelementptr inbounds %struct.Point, ptr %223, i32 0, i32 0
  %225 = load i32, ptr %224, align 4, !tbaa !20
  %226 = getelementptr inbounds %struct.Rectangle, ptr %14, i32 0, i32 0
  %227 = getelementptr inbounds %struct.Point, ptr %226, i32 0, i32 0
  %228 = load i32, ptr %227, align 4, !tbaa !21
  %229 = sub nsw i32 %225, %228
  %230 = sub nsw i32 %222, %229
  %231 = sdiv i32 %230, 2
  %232 = add nsw i32 %215, %231
  %233 = getelementptr inbounds %struct.Rectangle, ptr %14, i32 0, i32 0
  %234 = getelementptr inbounds %struct.Point, ptr %233, i32 0, i32 0
  %235 = load i32, ptr %234, align 4, !tbaa !21
  %236 = sub nsw i32 %232, %235
  store i32 %236, ptr %16, align 4, !tbaa !9
  br label %250

237:                                              ; preds = %197
  %238 = getelementptr inbounds %struct.Rectangle, ptr %8, i32 0, i32 0
  %239 = getelementptr inbounds %struct.Point, ptr %238, i32 0, i32 0
  %240 = load i32, ptr %239, align 4, !tbaa !21
  %241 = load ptr, ptr %10, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.Font, ptr %241, i32 0, i32 5
  %243 = load i32, ptr %242, align 8, !tbaa !24
  %244 = udiv i32 %243, 2
  %245 = add i32 %240, %244
  %246 = getelementptr inbounds %struct.Rectangle, ptr %14, i32 0, i32 0
  %247 = getelementptr inbounds %struct.Point, ptr %246, i32 0, i32 0
  %248 = load i32, ptr %247, align 4, !tbaa !21
  %249 = sub i32 %245, %248
  store i32 %249, ptr %16, align 4, !tbaa !9
  br label %250

250:                                              ; preds = %237, %212, %199
  %251 = load ptr, ptr %9, align 8, !tbaa !5
  %252 = load ptr, ptr %13, align 8, !tbaa !5
  call void @setgccol(ptr noundef %251, ptr noundef %252)
  %253 = load ptr, ptr %10, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.Font, ptr %253, i32 0, i32 0
  %255 = load i32, ptr %254, align 8, !tbaa !30
  switch i32 %255, label %310 [
    i32 2, label %256
    i32 3, label %271
    i32 1, label %287
  ]

256:                                              ; preds = %250
  %257 = load ptr, ptr @display, align 8, !tbaa !5
  %258 = load ptr, ptr %9, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.Window, ptr %258, i32 0, i32 1
  %260 = load i64, ptr %259, align 8, !tbaa !31
  %261 = load ptr, ptr %10, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.Font, ptr %261, i32 0, i32 1
  %263 = load ptr, ptr %262, align 8, !tbaa !26
  %264 = load ptr, ptr %9, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.Window, ptr %264, i32 0, i32 3
  %266 = load ptr, ptr %265, align 8, !tbaa !36
  %267 = load i32, ptr %16, align 4, !tbaa !9
  %268 = load i32, ptr %17, align 4, !tbaa !9
  %269 = load ptr, ptr %15, align 8, !tbaa !5
  %270 = load i32, ptr %20, align 4, !tbaa !9
  call void @Xutf8DrawString(ptr noundef %257, i64 noundef %260, ptr noundef %263, ptr noundef %266, i32 noundef %267, i32 noundef %268, ptr noundef %269, i32 noundef %270)
  br label %311

271:                                              ; preds = %250
  %272 = load ptr, ptr @xft, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.Xft, ptr %272, i32 0, i32 6
  %274 = load ptr, ptr %273, align 8, !tbaa !37
  %275 = load ptr, ptr %9, align 8, !tbaa !5
  %276 = call ptr @xftdrawable(ptr noundef %275)
  %277 = load ptr, ptr %9, align 8, !tbaa !5
  %278 = load ptr, ptr %13, align 8, !tbaa !5
  %279 = call ptr @xftcolor(ptr noundef %277, ptr noundef %278)
  %280 = load ptr, ptr %10, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.Font, ptr %280, i32 0, i32 1
  %282 = load ptr, ptr %281, align 8, !tbaa !26
  %283 = load i32, ptr %16, align 4, !tbaa !9
  %284 = load i32, ptr %17, align 4, !tbaa !9
  %285 = load ptr, ptr %15, align 8, !tbaa !5
  %286 = load i32, ptr %20, align 4, !tbaa !9
  call void %274(ptr noundef %276, ptr noundef %279, ptr noundef %282, i32 noundef %283, i32 noundef %284, ptr noundef %285, i32 noundef %286)
  br label %311

287:                                              ; preds = %250
  %288 = load ptr, ptr @display, align 8, !tbaa !5
  %289 = load ptr, ptr %9, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.Window, ptr %289, i32 0, i32 3
  %291 = load ptr, ptr %290, align 8, !tbaa !36
  %292 = load ptr, ptr %10, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.Font, ptr %292, i32 0, i32 1
  %294 = load ptr, ptr %293, align 8, !tbaa !26
  %295 = getelementptr inbounds %struct.XFontStruct, ptr %294, i32 0, i32 1
  %296 = load i64, ptr %295, align 8, !tbaa !39
  %297 = call i32 @XSetFont(ptr noundef %288, ptr noundef %291, i64 noundef %296)
  %298 = load ptr, ptr @display, align 8, !tbaa !5
  %299 = load ptr, ptr %9, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.Window, ptr %299, i32 0, i32 1
  %301 = load i64, ptr %300, align 8, !tbaa !31
  %302 = load ptr, ptr %9, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.Window, ptr %302, i32 0, i32 3
  %304 = load ptr, ptr %303, align 8, !tbaa !36
  %305 = load i32, ptr %16, align 4, !tbaa !9
  %306 = load i32, ptr %17, align 4, !tbaa !9
  %307 = load ptr, ptr %15, align 8, !tbaa !5
  %308 = load i32, ptr %20, align 4, !tbaa !9
  %309 = call i32 @XDrawString(ptr noundef %298, i64 noundef %301, ptr noundef %304, i32 noundef %305, i32 noundef %306, ptr noundef %307, i32 noundef %308)
  br label %311

310:                                              ; preds = %250
  call void (ptr, i32, ptr, ...) @_die(ptr noundef @.str, i32 noundef 94, ptr noundef @.str.1)
  br label %311

311:                                              ; preds = %310, %287, %271, %256
  br label %312

312:                                              ; preds = %311, %188
  %313 = load ptr, ptr %15, align 8, !tbaa !5
  call void @free(ptr noundef %313) #6
  %314 = getelementptr inbounds %struct.Rectangle, ptr %14, i32 0, i32 1
  %315 = getelementptr inbounds %struct.Point, ptr %314, i32 0, i32 0
  %316 = load i32, ptr %315, align 4, !tbaa !20
  %317 = getelementptr inbounds %struct.Rectangle, ptr %14, i32 0, i32 0
  %318 = getelementptr inbounds %struct.Point, ptr %317, i32 0, i32 0
  %319 = load i32, ptr %318, align 4, !tbaa !21
  %320 = sub nsw i32 %316, %319
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  ret i32 %320
}

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

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #2

declare ptr @emalloc(i32 noundef) #3

; 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 { i64, i64 } @textextents_l(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

declare i32 @min(i32 noundef, i32 noundef) #3

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

declare void @setgccol(ptr noundef, ptr noundef) #3

declare void @Xutf8DrawString(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #3

declare ptr @xftdrawable(ptr noundef) #3

declare ptr @xftcolor(ptr noundef, ptr noundef) #3

declare i32 @XSetFont(ptr noundef, ptr noundef, i64 noundef) #3

declare i32 @XDrawString(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #3

declare void @_die(ptr noundef, i32 noundef, ptr noundef, ...) #3

; Function Attrs: nounwind
declare void @free(ptr noundef) #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 20}
!12 = !{!"Font", !10, i64 0, !7, i64 8, !13, i64 16, !10, i64 32, !10, i64 36, !10, i64 40, !6, i64 48}
!13 = !{!"Rectangle", !14, i64 0, !14, i64 8}
!14 = !{!"Point", !10, i64 0, !10, i64 4}
!15 = !{!13, !10, i64 12}
!16 = !{!12, !10, i64 28}
!17 = !{!13, !10, i64 4}
!18 = !{!12, !10, i64 32}
!19 = !{!12, !10, i64 36}
!20 = !{!13, !10, i64 8}
!21 = !{!13, !10, i64 0}
!22 = !{!12, !10, i64 16}
!23 = !{!12, !10, i64 24}
!24 = !{!12, !10, i64 40}
!25 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9, i64 12, i64 4, !9}
!26 = !{!7, !7, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = distinct !{!29, !28}
!30 = !{!12, !10, i64 0}
!31 = !{!32, !33, i64 8}
!32 = !{!"Window", !10, i64 0, !33, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !33, i64 40, !6, i64 48, !13, i64 56, !10, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !34, i64 128, !33, i64 152, !6, i64 160, !6, i64 168, !35, i64 176, !10, i64 180, !10, i64 184}
!33 = !{!"long", !7, i64 0}
!34 = !{!"Ewmh", !33, i64 0, !33, i64 8, !33, i64 16}
!35 = !{!"_Bool", !7, i64 0}
!36 = !{!32, !6, i64 24}
!37 = !{!38, !6, i64 48}
!38 = !{!"Xft", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!39 = !{!40, !33, i64 8}
!40 = !{!"", !6, i64 0, !33, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !6, i64 48, !41, i64 56, !41, i64 68, !6, i64 80, !10, i64 88, !10, i64 92}
!41 = !{!"", !42, i64 0, !42, i64 2, !42, i64 4, !42, i64 6, !42, i64 8, !42, i64 10}
!42 = !{!"short", !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"

%struct.Rectangle = type { %struct.Point, %struct.Point }
%struct.Point = type { i32, i32 }

@ZR = external local_unnamed_addr constant %struct.Rectangle, align 4
@display = external local_unnamed_addr global ptr, align 8
@xft = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [83 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @drawstring(ptr noundef %0, ptr noundef %1, i64 %2, i64 %3, i32 noundef %4, ptr nocapture noundef readonly %5, ptr noundef %6) local_unnamed_addr #0 {
  %.sroa.081.0.extract.trunc = trunc i64 %2 to i32
  %.sroa.7.0.extract.shift = lshr i64 %2, 32
  %.sroa.7.0.extract.trunc = trunc nuw i64 %.sroa.7.0.extract.shift to i32
  %.sroa.11.8.extract.trunc = trunc i64 %3 to i32
  %.sroa.17.8.extract.shift = lshr i64 %3, 32
  %.sroa.17.8.extract.trunc = trunc nuw i64 %.sroa.17.8.extract.shift to i32
  %8 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %5) #5
  %9 = trunc i64 %8 to i32
  %10 = add i32 %9, 1
  %11 = tail call ptr @emalloc(i32 noundef %10) #6
  %12 = zext i32 %10 to i64
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 %5, i64 %12, i1 false)
  %13 = getelementptr inbounds i8, ptr %1, i64 16
  %14 = getelementptr inbounds i8, ptr %1, i64 20
  %15 = load i32, ptr %14, align 4, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %1, i64 24
  %17 = getelementptr inbounds i8, ptr %1, i64 28
  %18 = load i32, ptr %17, align 4, !tbaa !13
  %19 = add nsw i32 %18, %.sroa.7.0.extract.trunc
  %20 = getelementptr inbounds i8, ptr %1, i64 32
  %21 = load i32, ptr %20, align 8, !tbaa !14
  %22 = getelementptr inbounds i8, ptr %1, i64 36
  %23 = load i32, ptr %22, align 4, !tbaa !15
  %24 = add nsw i32 %23, %21
  %25 = add i32 %15, %19
  %26 = sub i32 %.sroa.17.8.extract.trunc, %25
  %27 = sdiv i32 %26, 2
  %28 = lshr i32 %24, 1
  %29 = add i32 %21, %19
  %30 = add i32 %29, %27
  %31 = sub i32 %30, %28
  %32 = load i32, ptr %13, align 8, !tbaa !16
  %33 = add i32 %32, %.sroa.081.0.extract.trunc
  %34 = load i32, ptr %16, align 8, !tbaa !17
  %35 = getelementptr inbounds i8, ptr %1, i64 40
  %36 = load i32, ptr %35, align 8, !tbaa !18
  %37 = and i32 %36, -2
  %38 = add i32 %34, %33
  %39 = add i32 %38, %37
  %40 = sub i32 %.sroa.11.8.extract.trunc, %39
  %41 = sub nsw i32 %.sroa.11.8.extract.trunc, %34
  %.sroa.034.0.copyload = load i64, ptr @ZR, align 4
  %.sroa.034.sroa.0.0.extract.trunc48 = trunc i64 %.sroa.034.0.copyload to i32
  %.sroa.10.0.copyload = load i64, ptr getelementptr inbounds (i8, ptr @ZR, i64 8), align 4
  %.not120 = icmp eq i32 %9, 0
  br i1 %.not120, label %.thread, label %.lr.ph

.lr.ph:                                           ; preds = %7, %.critedge
  %.0122 = phi i32 [ %57, %.critedge ], [ 0, %7 ]
  %.092121 = phi i32 [ %48, %.critedge ], [ %9, %7 ]
  %42 = tail call i32 @min(i32 noundef %.0122, i32 noundef 3) #6
  %43 = add i32 %42, %.092121
  %44 = tail call { i64, i64 } @textextents_l(ptr noundef %1, ptr noundef %11, i32 noundef %43, ptr noundef null) #6
  %45 = extractvalue { i64, i64 } %44, 0
  %46 = extractvalue { i64, i64 } %44, 1
  %.sroa.034.sroa.0.0.extract.trunc = trunc i64 %45 to i32
  %.sroa.10.8.extract.trunc = trunc i64 %46 to i32
  %47 = sub nsw i32 %.sroa.10.8.extract.trunc, %.sroa.034.sroa.0.0.extract.trunc
  %.not95 = icmp ugt i32 %47, %40
  br i1 %.not95, label %.preheader, label %58

.preheader:                                       ; preds = %.lr.ph, %54
  %.1118 = phi i32 [ %48, %54 ], [ %.092121, %.lr.ph ]
  %48 = add i32 %.1118, -1
  %49 = zext i32 %48 to i64
  %50 = getelementptr inbounds i8, ptr %11, i64 %49
  %51 = load i8, ptr %50, align 1, !tbaa !19
  %52 = and i8 %51, -64
  %53 = icmp eq i8 %52, -128
  br i1 %53, label %54, label %.critedge

54:                                               ; preds = %.preheader
  store i8 46, ptr %50, align 1, !tbaa !19
  %.not96 = icmp eq i32 %48, 0
  br i1 %.not96, label %.thread, label %.preheader, !llvm.loop !20

.critedge:                                        ; preds = %.preheader
  %55 = zext i32 %48 to i64
  %56 = getelementptr inbounds i8, ptr %11, i64 %55
  store i8 46, ptr %56, align 1, !tbaa !19
  %57 = add nuw nsw i32 %.0122, 1
  %.not = icmp eq i32 %48, 0
  br i1 %.not, label %.thread, label %.lr.ph, !llvm.loop !22

58:                                               ; preds = %.lr.ph
  %.not97 = icmp eq i32 %.0122, 0
  br i1 %.not97, label %62, label %59

59:                                               ; preds = %58
  %60 = tail call i32 @min(i32 noundef %.0122, i32 noundef 3) #6
  %61 = add i32 %60, %.092121
  br label %62

62:                                               ; preds = %59, %58
  %.3 = phi i32 [ %61, %59 ], [ %.092121, %58 ]
  switch i32 %4, label %74 [
    i32 2, label %63
    i32 15, label %68
  ]

63:                                               ; preds = %62
  %64 = load i32, ptr %35, align 8, !tbaa !18
  %65 = lshr i32 %64, 1
  %66 = add i32 %65, %.sroa.10.8.extract.trunc
  %67 = sub i32 %41, %66
  br label %79

68:                                               ; preds = %62
  %69 = add i32 %33, %47
  %70 = sub i32 %41, %69
  %71 = sdiv i32 %70, 2
  %72 = sub i32 %33, %.sroa.034.sroa.0.0.extract.trunc
  %73 = add i32 %72, %71
  br label %79

74:                                               ; preds = %62
  %75 = load i32, ptr %35, align 8, !tbaa !18
  %76 = lshr i32 %75, 1
  %77 = sub i32 %33, %.sroa.034.sroa.0.0.extract.trunc
  %78 = add i32 %77, %76
  br label %79

79:                                               ; preds = %74, %68, %63
  %.093 = phi i32 [ %78, %74 ], [ %73, %68 ], [ %67, %63 ]
  tail call void @setgccol(ptr noundef %0, ptr noundef %6) #6
  %80 = load i32, ptr %1, align 8, !tbaa !23
  switch i32 %80, label %111 [
    i32 2, label %81
    i32 3, label %89
    i32 1, label %97
  ]

81:                                               ; preds = %79
  %82 = load ptr, ptr @display, align 8, !tbaa !24
  %83 = getelementptr inbounds i8, ptr %0, i64 8
  %84 = load i64, ptr %83, align 8, !tbaa !25
  %85 = getelementptr inbounds i8, ptr %1, i64 8
  %86 = load ptr, ptr %85, align 8, !tbaa !19
  %87 = getelementptr inbounds i8, ptr %0, i64 24
  %88 = load ptr, ptr %87, align 8, !tbaa !30
  tail call void @Xutf8DrawString(ptr noundef %82, i64 noundef %84, ptr noundef %86, ptr noundef %88, i32 noundef %.093, i32 noundef %31, ptr noundef %11, i32 noundef %.3) #6
  br label %.thread

89:                                               ; preds = %79
  %90 = load ptr, ptr @xft, align 8, !tbaa !24
  %91 = getelementptr inbounds i8, ptr %90, i64 48
  %92 = load ptr, ptr %91, align 8, !tbaa !31
  %93 = tail call ptr @xftdrawable(ptr noundef %0) #6
  %94 = tail call ptr @xftcolor(ptr noundef %0, ptr noundef %6) #6
  %95 = getelementptr inbounds i8, ptr %1, i64 8
  %96 = load ptr, ptr %95, align 8, !tbaa !19
  tail call void %92(ptr noundef %93, ptr noundef %94, ptr noundef %96, i32 noundef %.093, i32 noundef %31, ptr noundef %11, i32 noundef %.3) #6
  br label %.thread

97:                                               ; preds = %79
  %98 = load ptr, ptr @display, align 8, !tbaa !24
  %99 = getelementptr inbounds i8, ptr %0, i64 24
  %100 = load ptr, ptr %99, align 8, !tbaa !30
  %101 = getelementptr inbounds i8, ptr %1, i64 8
  %102 = load ptr, ptr %101, align 8, !tbaa !19
  %103 = getelementptr inbounds i8, ptr %102, i64 8
  %104 = load i64, ptr %103, align 8, !tbaa !33
  %105 = tail call i32 @XSetFont(ptr noundef %98, ptr noundef %100, i64 noundef %104) #6
  %106 = load ptr, ptr @display, align 8, !tbaa !24
  %107 = getelementptr inbounds i8, ptr %0, i64 8
  %108 = load i64, ptr %107, align 8, !tbaa !25
  %109 = load ptr, ptr %99, align 8, !tbaa !30
  %110 = tail call i32 @XDrawString(ptr noundef %106, i64 noundef %108, ptr noundef %109, i32 noundef %.093, i32 noundef %31, ptr noundef %11, i32 noundef %.3) #6
  br label %.thread

111:                                              ; preds = %79
  tail call void (ptr, i32, ptr, ...) @_die(ptr noundef nonnull @.str, i32 noundef 94, ptr noundef nonnull @.str.1) #6
  br label %.thread

.thread:                                          ; preds = %.critedge, %54, %7, %81, %89, %97, %111
  %.sroa.034.sroa.0.1101 = phi i32 [ %.sroa.034.sroa.0.0.extract.trunc, %81 ], [ %.sroa.034.sroa.0.0.extract.trunc, %89 ], [ %.sroa.034.sroa.0.0.extract.trunc, %97 ], [ %.sroa.034.sroa.0.0.extract.trunc, %111 ], [ %.sroa.034.sroa.0.0.extract.trunc48, %7 ], [ %.sroa.034.sroa.0.0.extract.trunc, %54 ], [ %.sroa.034.sroa.0.0.extract.trunc, %.critedge ]
  %.sroa.10.1100 = phi i64 [ %46, %81 ], [ %46, %89 ], [ %46, %97 ], [ %46, %111 ], [ %.sroa.10.0.copyload, %7 ], [ %46, %54 ], [ %46, %.critedge ]
  tail call void @free(ptr noundef %11) #6
  %.sroa.10.8.extract.trunc47 = trunc i64 %.sroa.10.1100 to i32
  %112 = sub nsw i32 %.sroa.10.8.extract.trunc47, %.sroa.034.sroa.0.1101
  ret i32 %112
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1

declare ptr @emalloc(i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress 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) #3

declare { i64, i64 } @textextents_l(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @setgccol(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @Xutf8DrawString(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare ptr @xftdrawable(ptr noundef) local_unnamed_addr #2

declare ptr @xftcolor(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @XSetFont(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare i32 @XDrawString(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @_die(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #4

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind willreturn memory(read) }
attributes #6 = { 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, !7, i64 20}
!6 = !{!"Font", !7, i64 0, !8, i64 8, !10, i64 16, !7, i64 32, !7, i64 36, !7, i64 40, !12, i64 48}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"Rectangle", !11, i64 0, !11, i64 8}
!11 = !{!"Point", !7, i64 0, !7, i64 4}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !7, i64 28}
!14 = !{!6, !7, i64 32}
!15 = !{!6, !7, i64 36}
!16 = !{!6, !7, i64 16}
!17 = !{!6, !7, i64 24}
!18 = !{!6, !7, i64 40}
!19 = !{!8, !8, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = !{!6, !7, i64 0}
!24 = !{!12, !12, i64 0}
!25 = !{!26, !27, i64 8}
!26 = !{!"Window", !7, i64 0, !27, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !27, i64 40, !12, i64 48, !10, i64 56, !7, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !28, i64 128, !27, i64 152, !12, i64 160, !12, i64 168, !29, i64 176, !7, i64 180, !7, i64 184}
!27 = !{!"long", !8, i64 0}
!28 = !{!"Ewmh", !27, i64 0, !27, i64 8, !27, i64 16}
!29 = !{!"_Bool", !8, i64 0}
!30 = !{!26, !12, i64 24}
!31 = !{!32, !12, i64 48}
!32 = !{!"Xft", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48}
!33 = !{!34, !27, i64 8}
!34 = !{!"", !12, i64 0, !27, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !12, i64 48, !35, i64 56, !35, i64 68, !12, i64 80, !7, i64 88, !7, i64 92}
!35 = !{!"", !36, i64 0, !36, i64 2, !36, i64 4, !36, i64 6, !36, i64 8, !36, i64 10}
!36 = !{!"short", !8, i64 0}


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