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

; 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.nk_font_atlas = type { ptr, i32, i32, %struct.nk_allocator, %struct.nk_allocator, %struct.nk_recti, [7 x %struct.nk_cursor], i32, ptr, ptr, ptr, ptr, i32 }
%struct.nk_allocator = type { %union.nk_handle, ptr, ptr }
%union.nk_handle = type { ptr }
%struct.nk_recti = type { i16, i16, i16, i16 }
%struct.nk_cursor = type { %struct.nk_image, %struct.nk_vec2, %struct.nk_vec2 }
%struct.nk_image = type { %union.nk_handle, i16, i16, [4 x i16] }
%struct.nk_vec2 = type { float, float }
%struct.nk_font_config = type { ptr, ptr, i64, i8, i8, i8, i8, i8, [3 x i8], float, i32, %struct.nk_vec2, ptr, ptr, i32, ptr, ptr }
%struct.nk_font = type { ptr, %struct.nk_user_font, %struct.nk_baked_font, float, ptr, ptr, i32, %union.nk_handle, ptr }
%struct.nk_user_font = type { %union.nk_handle, float, ptr, ptr, %union.nk_handle }
%struct.nk_baked_font = type { float, float, float, i32, i32, ptr }

@.str.2 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [6 x i8], align 1
@__PRETTY_FUNCTION__.nk_font_atlas_add = external hidden unnamed_addr constant [89 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [14 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
declare hidden void @nk_zero(ptr noundef, i64 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden ptr @nk_memcopy(ptr noundef, ptr noundef, i64 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local ptr @nk_font_atlas_add(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  store ptr null, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = icmp ne ptr %13, null
  br i1 %14, label %15, label %16

15:                                               ; preds = %2
  br label %17

16:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.38, ptr noundef @.str.2, i32 noundef 13500, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add) #4
  unreachable

17:                                               ; preds = %15
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.nk_font_atlas, ptr %18, i32 0, i32 3
  %20 = getelementptr inbounds %struct.nk_allocator, ptr %19, i32 0, i32 1
  %21 = load ptr, ptr %20, align 8, !tbaa !9
  %22 = icmp ne ptr %21, null
  br i1 %22, label %23, label %24

23:                                               ; preds = %17
  br label %25

24:                                               ; preds = %17
  call void @__assert_fail(ptr noundef @.str.44, ptr noundef @.str.2, i32 noundef 13501, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add) #4
  unreachable

25:                                               ; preds = %23
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.nk_font_atlas, ptr %26, i32 0, i32 3
  %28 = getelementptr inbounds %struct.nk_allocator, ptr %27, i32 0, i32 2
  %29 = load ptr, ptr %28, align 8, !tbaa !15
  %30 = icmp ne ptr %29, null
  br i1 %30, label %31, label %32

31:                                               ; preds = %25
  br label %33

32:                                               ; preds = %25
  call void @__assert_fail(ptr noundef @.str.45, ptr noundef @.str.2, i32 noundef 13502, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add) #4
  unreachable

33:                                               ; preds = %31
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.nk_font_atlas, ptr %34, i32 0, i32 4
  %36 = getelementptr inbounds %struct.nk_allocator, ptr %35, i32 0, i32 1
  %37 = load ptr, ptr %36, align 8, !tbaa !16
  %38 = icmp ne ptr %37, null
  br i1 %38, label %39, label %40

39:                                               ; preds = %33
  br label %41

40:                                               ; preds = %33
  call void @__assert_fail(ptr noundef @.str.46, ptr noundef @.str.2, i32 noundef 13503, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add) #4
  unreachable

41:                                               ; preds = %39
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.nk_font_atlas, ptr %42, i32 0, i32 4
  %44 = getelementptr inbounds %struct.nk_allocator, ptr %43, i32 0, i32 2
  %45 = load ptr, ptr %44, align 8, !tbaa !17
  %46 = icmp ne ptr %45, null
  br i1 %46, label %47, label %48

47:                                               ; preds = %41
  br label %49

48:                                               ; preds = %41
  call void @__assert_fail(ptr noundef @.str.47, ptr noundef @.str.2, i32 noundef 13504, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add) #4
  unreachable

49:                                               ; preds = %47
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = icmp ne ptr %50, null
  br i1 %51, label %52, label %53

52:                                               ; preds = %49
  br label %54

53:                                               ; preds = %49
  call void @__assert_fail(ptr noundef @.str.28, ptr noundef @.str.2, i32 noundef 13506, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add) #4
  unreachable

54:                                               ; preds = %52
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.nk_font_config, ptr %55, i32 0, i32 1
  %57 = load ptr, ptr %56, align 8, !tbaa !18
  %58 = icmp ne ptr %57, null
  br i1 %58, label %59, label %60

59:                                               ; preds = %54
  br label %61

60:                                               ; preds = %54
  call void @__assert_fail(ptr noundef @.str.48, ptr noundef @.str.2, i32 noundef 13507, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add) #4
  unreachable

61:                                               ; preds = %59
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.nk_font_config, ptr %62, i32 0, i32 2
  %64 = load i64, ptr %63, align 8, !tbaa !23
  %65 = icmp ne i64 %64, 0
  br i1 %65, label %66, label %67

66:                                               ; preds = %61
  br label %68

67:                                               ; preds = %61
  call void @__assert_fail(ptr noundef @.str.49, ptr noundef @.str.2, i32 noundef 13508, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add) #4
  unreachable

68:                                               ; preds = %66
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.nk_font_config, ptr %69, i32 0, i32 9
  %71 = load float, ptr %70, align 8, !tbaa !24
  %72 = fcmp ogt float %71, 0.000000e+00
  br i1 %72, label %73, label %74

73:                                               ; preds = %68
  br label %75

74:                                               ; preds = %68
  call void @__assert_fail(ptr noundef @.str.50, ptr noundef @.str.2, i32 noundef 13509, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add) #4
  unreachable

75:                                               ; preds = %73
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = icmp ne ptr %76, null
  br i1 %77, label %78, label %120

78:                                               ; preds = %75
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = icmp ne ptr %79, null
  br i1 %80, label %81, label %120

81:                                               ; preds = %78
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.nk_font_config, ptr %82, i32 0, i32 1
  %84 = load ptr, ptr %83, align 8, !tbaa !18
  %85 = icmp ne ptr %84, null
  br i1 %85, label %86, label %120

86:                                               ; preds = %81
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.nk_font_config, ptr %87, i32 0, i32 2
  %89 = load i64, ptr %88, align 8, !tbaa !23
  %90 = icmp ne i64 %89, 0
  br i1 %90, label %91, label %120

91:                                               ; preds = %86
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.nk_font_config, ptr %92, i32 0, i32 9
  %94 = load float, ptr %93, align 8, !tbaa !24
  %95 = fcmp ole float %94, 0.000000e+00
  br i1 %95, label %120, label %96

96:                                               ; preds = %91
  %97 = load ptr, ptr %4, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.nk_font_atlas, ptr %97, i32 0, i32 3
  %99 = getelementptr inbounds %struct.nk_allocator, ptr %98, i32 0, i32 1
  %100 = load ptr, ptr %99, align 8, !tbaa !9
  %101 = icmp ne ptr %100, null
  br i1 %101, label %102, label %120

102:                                              ; preds = %96
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.nk_font_atlas, ptr %103, i32 0, i32 3
  %105 = getelementptr inbounds %struct.nk_allocator, ptr %104, i32 0, i32 2
  %106 = load ptr, ptr %105, align 8, !tbaa !15
  %107 = icmp ne ptr %106, null
  br i1 %107, label %108, label %120

108:                                              ; preds = %102
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.nk_font_atlas, ptr %109, i32 0, i32 4
  %111 = getelementptr inbounds %struct.nk_allocator, ptr %110, i32 0, i32 1
  %112 = load ptr, ptr %111, align 8, !tbaa !16
  %113 = icmp ne ptr %112, null
  br i1 %113, label %114, label %120

114:                                              ; preds = %108
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.nk_font_atlas, ptr %115, i32 0, i32 4
  %117 = getelementptr inbounds %struct.nk_allocator, ptr %116, i32 0, i32 2
  %118 = load ptr, ptr %117, align 8, !tbaa !17
  %119 = icmp ne ptr %118, null
  br i1 %119, label %121, label %120

120:                                              ; preds = %114, %108, %102, %96, %91, %86, %81, %78, %75
  store ptr null, ptr %3, align 8
  store i32 1, ptr %8, align 4
  br label %323

121:                                              ; preds = %114
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.nk_font_atlas, ptr %122, i32 0, i32 3
  %124 = getelementptr inbounds %struct.nk_allocator, ptr %123, i32 0, i32 1
  %125 = load ptr, ptr %124, align 8, !tbaa !9
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.nk_font_atlas, ptr %126, i32 0, i32 3
  %128 = getelementptr inbounds %struct.nk_allocator, ptr %127, i32 0, i32 0
  %129 = getelementptr inbounds %union.nk_handle, ptr %128, i32 0, i32 0
  %130 = load ptr, ptr %129, align 8
  %131 = call ptr %125(ptr %130, ptr noundef null, i64 noundef 88)
  store ptr %131, ptr %7, align 8, !tbaa !5
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = load ptr, ptr %5, align 8, !tbaa !5
  %134 = call ptr @nk_memcopy(ptr noundef %132, ptr noundef %133, i64 noundef 88)
  %135 = load ptr, ptr %7, align 8, !tbaa !5
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.nk_font_config, ptr %136, i32 0, i32 15
  store ptr %135, ptr %137, align 8, !tbaa !25
  %138 = load ptr, ptr %7, align 8, !tbaa !5
  %139 = load ptr, ptr %7, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.nk_font_config, ptr %139, i32 0, i32 16
  store ptr %138, ptr %140, align 8, !tbaa !26
  %141 = load ptr, ptr %5, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.nk_font_config, ptr %141, i32 0, i32 4
  %143 = load i8, ptr %142, align 1, !tbaa !27
  %144 = icmp ne i8 %143, 0
  br i1 %144, label %233, label %145

145:                                              ; preds = %121
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.nk_font_atlas, ptr %146, i32 0, i32 11
  %148 = load ptr, ptr %147, align 8, !tbaa !28
  %149 = icmp ne ptr %148, null
  br i1 %149, label %156, label %150

150:                                              ; preds = %145
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.nk_font_atlas, ptr %152, i32 0, i32 11
  store ptr %151, ptr %153, align 8, !tbaa !28
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.nk_font_config, ptr %154, i32 0, i32 0
  store ptr null, ptr %155, align 8, !tbaa !29
  br label %175

156:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %157 = load ptr, ptr %4, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.nk_font_atlas, ptr %157, i32 0, i32 11
  %159 = load ptr, ptr %158, align 8, !tbaa !28
  store ptr %159, ptr %9, align 8, !tbaa !5
  br label %160

160:                                              ; preds = %165, %156
  %161 = load ptr, ptr %9, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.nk_font_config, ptr %161, i32 0, i32 0
  %163 = load ptr, ptr %162, align 8, !tbaa !29
  %164 = icmp ne ptr %163, null
  br i1 %164, label %165, label %169

165:                                              ; preds = %160
  %166 = load ptr, ptr %9, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.nk_font_config, ptr %166, i32 0, i32 0
  %168 = load ptr, ptr %167, align 8, !tbaa !29
  store ptr %168, ptr %9, align 8, !tbaa !5
  br label %160, !llvm.loop !30

169:                                              ; preds = %160
  %170 = load ptr, ptr %7, align 8, !tbaa !5
  %171 = load ptr, ptr %9, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.nk_font_config, ptr %171, i32 0, i32 0
  store ptr %170, ptr %172, align 8, !tbaa !29
  %173 = load ptr, ptr %7, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.nk_font_config, ptr %173, i32 0, i32 0
  store ptr null, ptr %174, align 8, !tbaa !29
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  br label %175

175:                                              ; preds = %169, %150
  %176 = load ptr, ptr %4, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.nk_font_atlas, ptr %176, i32 0, i32 3
  %178 = getelementptr inbounds %struct.nk_allocator, ptr %177, i32 0, i32 1
  %179 = load ptr, ptr %178, align 8, !tbaa !9
  %180 = load ptr, ptr %4, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.nk_font_atlas, ptr %180, i32 0, i32 3
  %182 = getelementptr inbounds %struct.nk_allocator, ptr %181, i32 0, i32 0
  %183 = getelementptr inbounds %union.nk_handle, ptr %182, i32 0, i32 0
  %184 = load ptr, ptr %183, align 8
  %185 = call ptr %179(ptr %184, ptr noundef null, i64 noundef 128)
  store ptr %185, ptr %6, align 8, !tbaa !5
  %186 = load ptr, ptr %6, align 8, !tbaa !5
  %187 = icmp ne ptr %186, null
  br i1 %187, label %188, label %189

188:                                              ; preds = %175
  br label %190

189:                                              ; preds = %175
  call void @__assert_fail(ptr noundef @.str.25, ptr noundef @.str.2, i32 noundef 13537, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add) #4
  unreachable

190:                                              ; preds = %188
  %191 = load ptr, ptr %6, align 8, !tbaa !5
  call void @nk_zero(ptr noundef %191, i64 noundef 128)
  %192 = load ptr, ptr %6, align 8, !tbaa !5
  %193 = icmp ne ptr %192, null
  br i1 %193, label %195, label %194

194:                                              ; preds = %190
  store ptr null, ptr %3, align 8
  store i32 1, ptr %8, align 4
  br label %323

195:                                              ; preds = %190
  %196 = load ptr, ptr %7, align 8, !tbaa !5
  %197 = load ptr, ptr %6, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.nk_font, ptr %197, i32 0, i32 8
  store ptr %196, ptr %198, align 8, !tbaa !32
  %199 = load ptr, ptr %4, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.nk_font_atlas, ptr %199, i32 0, i32 10
  %201 = load ptr, ptr %200, align 8, !tbaa !36
  %202 = icmp ne ptr %201, null
  br i1 %202, label %209, label %203

203:                                              ; preds = %195
  %204 = load ptr, ptr %6, align 8, !tbaa !5
  %205 = load ptr, ptr %4, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.nk_font_atlas, ptr %205, i32 0, i32 10
  store ptr %204, ptr %206, align 8, !tbaa !36
  %207 = load ptr, ptr %6, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.nk_font, ptr %207, i32 0, i32 0
  store ptr null, ptr %208, align 8, !tbaa !37
  br label %228

209:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %210 = load ptr, ptr %4, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.nk_font_atlas, ptr %210, i32 0, i32 10
  %212 = load ptr, ptr %211, align 8, !tbaa !36
  store ptr %212, ptr %10, align 8, !tbaa !5
  br label %213

213:                                              ; preds = %218, %209
  %214 = load ptr, ptr %10, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.nk_font, ptr %214, i32 0, i32 0
  %216 = load ptr, ptr %215, align 8, !tbaa !37
  %217 = icmp ne ptr %216, null
  br i1 %217, label %218, label %222

218:                                              ; preds = %213
  %219 = load ptr, ptr %10, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.nk_font, ptr %219, i32 0, i32 0
  %221 = load ptr, ptr %220, align 8, !tbaa !37
  store ptr %221, ptr %10, align 8, !tbaa !5
  br label %213, !llvm.loop !38

222:                                              ; preds = %213
  %223 = load ptr, ptr %6, align 8, !tbaa !5
  %224 = load ptr, ptr %10, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.nk_font, ptr %224, i32 0, i32 0
  store ptr %223, ptr %225, align 8, !tbaa !37
  %226 = load ptr, ptr %6, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.nk_font, ptr %226, i32 0, i32 0
  store ptr null, ptr %227, align 8, !tbaa !37
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  br label %228

228:                                              ; preds = %222, %203
  %229 = load ptr, ptr %6, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.nk_font, ptr %229, i32 0, i32 2
  %231 = load ptr, ptr %7, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.nk_font_config, ptr %231, i32 0, i32 13
  store ptr %230, ptr %232, align 8, !tbaa !39
  br label %267

233:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  store ptr null, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  store ptr null, ptr %12, align 8, !tbaa !5
  %234 = load ptr, ptr %4, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.nk_font_atlas, ptr %234, i32 0, i32 12
  %236 = load i32, ptr %235, align 8, !tbaa !40
  %237 = icmp ne i32 %236, 0
  br i1 %237, label %238, label %239

238:                                              ; preds = %233
  br label %240

239:                                              ; preds = %233
  call void @__assert_fail(ptr noundef @.str.51, ptr noundef @.str.2, i32 noundef 13557, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add) #4
  unreachable

240:                                              ; preds = %238
  %241 = load ptr, ptr %4, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.nk_font_atlas, ptr %241, i32 0, i32 10
  %243 = load ptr, ptr %242, align 8, !tbaa !36
  store ptr %243, ptr %11, align 8, !tbaa !5
  %244 = load ptr, ptr %11, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.nk_font, ptr %244, i32 0, i32 8
  %246 = load ptr, ptr %245, align 8, !tbaa !32
  store ptr %246, ptr %12, align 8, !tbaa !5
  %247 = load ptr, ptr %11, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.nk_font, ptr %247, i32 0, i32 2
  %249 = load ptr, ptr %7, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.nk_font_config, ptr %249, i32 0, i32 13
  store ptr %248, ptr %250, align 8, !tbaa !39
  %251 = load ptr, ptr %12, align 8, !tbaa !5
  %252 = load ptr, ptr %7, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.nk_font_config, ptr %252, i32 0, i32 15
  store ptr %251, ptr %253, align 8, !tbaa !25
  %254 = load ptr, ptr %12, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.nk_font_config, ptr %254, i32 0, i32 16
  %256 = load ptr, ptr %255, align 8, !tbaa !26
  %257 = load ptr, ptr %7, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.nk_font_config, ptr %257, i32 0, i32 16
  store ptr %256, ptr %258, align 8, !tbaa !26
  %259 = load ptr, ptr %7, align 8, !tbaa !5
  %260 = load ptr, ptr %12, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.nk_font_config, ptr %260, i32 0, i32 16
  %262 = load ptr, ptr %261, align 8, !tbaa !26
  %263 = getelementptr inbounds %struct.nk_font_config, ptr %262, i32 0, i32 15
  store ptr %259, ptr %263, align 8, !tbaa !25
  %264 = load ptr, ptr %7, align 8, !tbaa !5
  %265 = load ptr, ptr %12, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.nk_font_config, ptr %265, i32 0, i32 16
  store ptr %264, ptr %266, align 8, !tbaa !26
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  br label %267

267:                                              ; preds = %240, %228
  %268 = load ptr, ptr %5, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.nk_font_config, ptr %268, i32 0, i32 3
  %270 = load i8, ptr %269, align 8, !tbaa !41
  %271 = icmp ne i8 %270, 0
  br i1 %271, label %317, label %272

272:                                              ; preds = %267
  %273 = load ptr, ptr %4, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.nk_font_atlas, ptr %273, i32 0, i32 3
  %275 = getelementptr inbounds %struct.nk_allocator, ptr %274, i32 0, i32 1
  %276 = load ptr, ptr %275, align 8, !tbaa !9
  %277 = load ptr, ptr %4, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.nk_font_atlas, ptr %277, i32 0, i32 3
  %279 = getelementptr inbounds %struct.nk_allocator, ptr %278, i32 0, i32 0
  %280 = load ptr, ptr %7, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.nk_font_config, ptr %280, i32 0, i32 2
  %282 = load i64, ptr %281, align 8, !tbaa !23
  %283 = getelementptr inbounds %union.nk_handle, ptr %279, i32 0, i32 0
  %284 = load ptr, ptr %283, align 8
  %285 = call ptr %276(ptr %284, ptr noundef null, i64 noundef %282)
  %286 = load ptr, ptr %7, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.nk_font_config, ptr %286, i32 0, i32 1
  store ptr %285, ptr %287, align 8, !tbaa !18
  %288 = load ptr, ptr %7, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.nk_font_config, ptr %288, i32 0, i32 1
  %290 = load ptr, ptr %289, align 8, !tbaa !18
  %291 = icmp ne ptr %290, null
  br i1 %291, label %292, label %293

292:                                              ; preds = %272
  br label %294

293:                                              ; preds = %272
  call void @__assert_fail(ptr noundef @.str.52, ptr noundef @.str.2, i32 noundef 13570, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add) #4
  unreachable

294:                                              ; preds = %292
  %295 = load ptr, ptr %7, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.nk_font_config, ptr %295, i32 0, i32 1
  %297 = load ptr, ptr %296, align 8, !tbaa !18
  %298 = icmp ne ptr %297, null
  br i1 %298, label %304, label %299

299:                                              ; preds = %294
  %300 = load ptr, ptr %4, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.nk_font_atlas, ptr %300, i32 0, i32 12
  %302 = load i32, ptr %301, align 8, !tbaa !40
  %303 = add nsw i32 %302, 1
  store i32 %303, ptr %301, align 8, !tbaa !40
  store ptr null, ptr %3, align 8
  store i32 1, ptr %8, align 4
  br label %323

304:                                              ; preds = %294
  %305 = load ptr, ptr %7, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.nk_font_config, ptr %305, i32 0, i32 1
  %307 = load ptr, ptr %306, align 8, !tbaa !18
  %308 = load ptr, ptr %5, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.nk_font_config, ptr %308, i32 0, i32 1
  %310 = load ptr, ptr %309, align 8, !tbaa !18
  %311 = load ptr, ptr %7, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.nk_font_config, ptr %311, i32 0, i32 2
  %313 = load i64, ptr %312, align 8, !tbaa !23
  %314 = call ptr @nk_memcopy(ptr noundef %307, ptr noundef %310, i64 noundef %313)
  %315 = load ptr, ptr %7, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.nk_font_config, ptr %315, i32 0, i32 3
  store i8 1, ptr %316, align 8, !tbaa !41
  br label %317

317:                                              ; preds = %304, %267
  %318 = load ptr, ptr %4, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.nk_font_atlas, ptr %318, i32 0, i32 12
  %320 = load i32, ptr %319, align 8, !tbaa !40
  %321 = add nsw i32 %320, 1
  store i32 %321, ptr %319, align 8, !tbaa !40
  %322 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %322, ptr %3, align 8
  store i32 1, ptr %8, align 4
  br label %323

323:                                              ; preds = %317, %299, %194, %120
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  %324 = load ptr, ptr %3, align 8
  ret ptr %324
}

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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 24}
!10 = !{!"nk_font_atlas", !6, i64 0, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 40, !13, i64 64, !7, i64 72, !11, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !11, i64 392}
!11 = !{!"int", !7, i64 0}
!12 = !{!"nk_allocator", !7, i64 0, !6, i64 8, !6, i64 16}
!13 = !{!"nk_recti", !14, i64 0, !14, i64 2, !14, i64 4, !14, i64 6}
!14 = !{!"short", !7, i64 0}
!15 = !{!10, !6, i64 32}
!16 = !{!10, !6, i64 48}
!17 = !{!10, !6, i64 56}
!18 = !{!19, !6, i64 8}
!19 = !{!"nk_font_config", !6, i64 0, !6, i64 8, !20, i64 16, !7, i64 24, !7, i64 25, !7, i64 26, !7, i64 27, !7, i64 28, !7, i64 29, !21, i64 32, !11, i64 36, !22, i64 40, !6, i64 48, !6, i64 56, !11, i64 64, !6, i64 72, !6, i64 80}
!20 = !{!"long", !7, i64 0}
!21 = !{!"float", !7, i64 0}
!22 = !{!"nk_vec2", !21, i64 0, !21, i64 4}
!23 = !{!19, !20, i64 16}
!24 = !{!19, !21, i64 32}
!25 = !{!19, !6, i64 72}
!26 = !{!19, !6, i64 80}
!27 = !{!19, !7, i64 25}
!28 = !{!10, !6, i64 384}
!29 = !{!19, !6, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!33, !6, i64 120}
!33 = !{!"nk_font", !6, i64 0, !34, i64 8, !35, i64 48, !21, i64 80, !6, i64 88, !6, i64 96, !11, i64 104, !7, i64 112, !6, i64 120}
!34 = !{!"nk_user_font", !7, i64 0, !21, i64 8, !6, i64 16, !6, i64 24, !7, i64 32}
!35 = !{!"nk_baked_font", !21, i64 0, !21, i64 4, !21, i64 8, !11, i64 12, !11, i64 16, !6, i64 24}
!36 = !{!10, !6, i64 376}
!37 = !{!33, !6, i64 0}
!38 = distinct !{!38, !31}
!39 = !{!19, !6, i64 56}
!40 = !{!10, !11, i64 392}
!41 = !{!19, !7, i64 24}


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

@.str.2 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [6 x i8], align 1
@__PRETTY_FUNCTION__.nk_font_atlas_add = external hidden unnamed_addr constant [89 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [14 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare hidden void @nk_zero(ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden ptr @nk_memcopy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local ptr @nk_font_atlas_add(ptr noundef %0, ptr noundef %1) local_unnamed_addr #1 {
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %3, label %4

3:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.38, ptr noundef nonnull @.str.2, i32 noundef 13500, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add) #2
  unreachable

4:                                                ; preds = %2
  %5 = getelementptr inbounds i8, ptr %0, i64 16
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %.not98 = icmp eq ptr %7, null
  br i1 %.not98, label %8, label %9

8:                                                ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.44, ptr noundef nonnull @.str.2, i32 noundef 13501, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add) #2
  unreachable

9:                                                ; preds = %4
  %10 = getelementptr inbounds i8, ptr %0, i64 32
  %11 = load ptr, ptr %10, align 8, !tbaa !14
  %.not99 = icmp eq ptr %11, null
  br i1 %.not99, label %12, label %13

12:                                               ; preds = %9
  tail call void @__assert_fail(ptr noundef nonnull @.str.45, ptr noundef nonnull @.str.2, i32 noundef 13502, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add) #2
  unreachable

13:                                               ; preds = %9
  %14 = getelementptr inbounds i8, ptr %0, i64 48
  %15 = load ptr, ptr %14, align 8, !tbaa !15
  %.not100 = icmp eq ptr %15, null
  br i1 %.not100, label %16, label %17

16:                                               ; preds = %13
  tail call void @__assert_fail(ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.2, i32 noundef 13503, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add) #2
  unreachable

17:                                               ; preds = %13
  %18 = getelementptr inbounds i8, ptr %0, i64 56
  %19 = load ptr, ptr %18, align 8, !tbaa !16
  %.not101 = icmp eq ptr %19, null
  br i1 %.not101, label %20, label %21

20:                                               ; preds = %17
  tail call void @__assert_fail(ptr noundef nonnull @.str.47, ptr noundef nonnull @.str.2, i32 noundef 13504, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add) #2
  unreachable

21:                                               ; preds = %17
  %.not102 = icmp eq ptr %1, null
  br i1 %.not102, label %22, label %23

22:                                               ; preds = %21
  tail call void @__assert_fail(ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.2, i32 noundef 13506, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add) #2
  unreachable

23:                                               ; preds = %21
  %24 = getelementptr inbounds i8, ptr %1, i64 8
  %25 = load ptr, ptr %24, align 8, !tbaa !17
  %.not103 = icmp eq ptr %25, null
  br i1 %.not103, label %26, label %27

26:                                               ; preds = %23
  tail call void @__assert_fail(ptr noundef nonnull @.str.48, ptr noundef nonnull @.str.2, i32 noundef 13507, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add) #2
  unreachable

27:                                               ; preds = %23
  %28 = getelementptr inbounds i8, ptr %1, i64 16
  %29 = load i64, ptr %28, align 8, !tbaa !22
  %.not104 = icmp eq i64 %29, 0
  br i1 %.not104, label %30, label %31

30:                                               ; preds = %27
  tail call void @__assert_fail(ptr noundef nonnull @.str.49, ptr noundef nonnull @.str.2, i32 noundef 13508, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add) #2
  unreachable

31:                                               ; preds = %27
  %32 = getelementptr inbounds i8, ptr %1, i64 32
  %33 = load float, ptr %32, align 8, !tbaa !23
  %34 = fcmp ogt float %33, 0.000000e+00
  br i1 %34, label %36, label %35

35:                                               ; preds = %31
  tail call void @__assert_fail(ptr noundef nonnull @.str.50, ptr noundef nonnull @.str.2, i32 noundef 13509, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add) #2
  unreachable

36:                                               ; preds = %31
  %37 = load ptr, ptr %5, align 8
  %38 = tail call ptr %7(ptr %37, ptr noundef null, i64 noundef 88) #3
  %39 = tail call ptr @nk_memcopy(ptr noundef %38, ptr noundef nonnull %1, i64 noundef 88)
  %40 = getelementptr inbounds i8, ptr %38, i64 72
  store ptr %38, ptr %40, align 8, !tbaa !24
  %41 = getelementptr inbounds i8, ptr %38, i64 80
  store ptr %38, ptr %41, align 8, !tbaa !25
  %42 = getelementptr inbounds i8, ptr %1, i64 25
  %43 = load i8, ptr %42, align 1, !tbaa !26
  %.not105 = icmp eq i8 %43, 0
  br i1 %.not105, label %44, label %59

44:                                               ; preds = %36
  %45 = getelementptr inbounds i8, ptr %0, i64 384
  %46 = load ptr, ptr %45, align 8, !tbaa !27
  %.not106 = icmp eq ptr %46, null
  br i1 %.not106, label %.loopexit115, label %.preheader114

.preheader114:                                    ; preds = %44, %.preheader114
  %.085 = phi ptr [ %47, %.preheader114 ], [ %46, %44 ]
  %47 = load ptr, ptr %.085, align 8, !tbaa !28
  %.not107 = icmp eq ptr %47, null
  br i1 %.not107, label %.loopexit115, label %.preheader114, !llvm.loop !29

.loopexit115:                                     ; preds = %.preheader114, %44
  %.085.lcssa.sink = phi ptr [ %45, %44 ], [ %.085, %.preheader114 ]
  store ptr %38, ptr %.085.lcssa.sink, align 8, !tbaa !31
  store ptr null, ptr %38, align 8, !tbaa !28
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = load ptr, ptr %5, align 8
  %50 = tail call ptr %48(ptr %49, ptr noundef null, i64 noundef 128) #3
  %.not108 = icmp eq ptr %50, null
  br i1 %.not108, label %51, label %52

51:                                               ; preds = %.loopexit115
  tail call void @__assert_fail(ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.2, i32 noundef 13537, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add) #2
  unreachable

52:                                               ; preds = %.loopexit115
  tail call void @nk_zero(ptr noundef nonnull %50, i64 noundef 128)
  %53 = getelementptr inbounds i8, ptr %50, i64 120
  store ptr %38, ptr %53, align 8, !tbaa !32
  %54 = getelementptr inbounds i8, ptr %0, i64 376
  %55 = load ptr, ptr %54, align 8, !tbaa !36
  %.not109 = icmp eq ptr %55, null
  br i1 %.not109, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %52, %.preheader
  %.0 = phi ptr [ %56, %.preheader ], [ %55, %52 ]
  %56 = load ptr, ptr %.0, align 8, !tbaa !37
  %.not110 = icmp eq ptr %56, null
  br i1 %.not110, label %.loopexit, label %.preheader, !llvm.loop !38

.loopexit:                                        ; preds = %.preheader, %52
  %.0.lcssa.sink = phi ptr [ %54, %52 ], [ %.0, %.preheader ]
  store ptr %50, ptr %.0.lcssa.sink, align 8, !tbaa !31
  store ptr null, ptr %50, align 8, !tbaa !37
  %57 = getelementptr inbounds i8, ptr %50, i64 48
  %58 = getelementptr inbounds i8, ptr %38, i64 56
  store ptr %57, ptr %58, align 8, !tbaa !39
  br label %73

59:                                               ; preds = %36
  %60 = getelementptr inbounds i8, ptr %0, i64 392
  %61 = load i32, ptr %60, align 8, !tbaa !40
  %.not111 = icmp eq i32 %61, 0
  br i1 %.not111, label %62, label %63

62:                                               ; preds = %59
  tail call void @__assert_fail(ptr noundef nonnull @.str.51, ptr noundef nonnull @.str.2, i32 noundef 13557, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add) #2
  unreachable

63:                                               ; preds = %59
  %64 = getelementptr inbounds i8, ptr %0, i64 376
  %65 = load ptr, ptr %64, align 8, !tbaa !36
  %66 = getelementptr inbounds i8, ptr %65, i64 120
  %67 = load ptr, ptr %66, align 8, !tbaa !32
  %68 = getelementptr inbounds i8, ptr %65, i64 48
  %69 = getelementptr inbounds i8, ptr %38, i64 56
  store ptr %68, ptr %69, align 8, !tbaa !39
  store ptr %67, ptr %40, align 8, !tbaa !24
  %70 = getelementptr inbounds i8, ptr %67, i64 80
  %71 = load ptr, ptr %70, align 8, !tbaa !25
  store ptr %71, ptr %41, align 8, !tbaa !25
  %72 = getelementptr inbounds i8, ptr %71, i64 72
  store ptr %38, ptr %72, align 8, !tbaa !24
  store ptr %38, ptr %70, align 8, !tbaa !25
  br label %73

73:                                               ; preds = %63, %.loopexit
  %.087 = phi ptr [ null, %63 ], [ %50, %.loopexit ]
  %74 = getelementptr inbounds i8, ptr %1, i64 24
  %75 = load i8, ptr %74, align 8, !tbaa !41
  %.not112 = icmp eq i8 %75, 0
  br i1 %.not112, label %76, label %89

76:                                               ; preds = %73
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = getelementptr inbounds i8, ptr %38, i64 16
  %79 = load i64, ptr %78, align 8, !tbaa !22
  %80 = load ptr, ptr %5, align 8
  %81 = tail call ptr %77(ptr %80, ptr noundef null, i64 noundef %79) #3
  %82 = getelementptr inbounds i8, ptr %38, i64 8
  store ptr %81, ptr %82, align 8, !tbaa !17
  %.not113 = icmp eq ptr %81, null
  br i1 %.not113, label %83, label %84

83:                                               ; preds = %76
  tail call void @__assert_fail(ptr noundef nonnull @.str.52, ptr noundef nonnull @.str.2, i32 noundef 13570, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add) #2
  unreachable

84:                                               ; preds = %76
  %85 = load ptr, ptr %24, align 8, !tbaa !17
  %86 = load i64, ptr %78, align 8, !tbaa !22
  %87 = tail call ptr @nk_memcopy(ptr noundef nonnull %81, ptr noundef %85, i64 noundef %86)
  %88 = getelementptr inbounds i8, ptr %38, i64 24
  store i8 1, ptr %88, align 8, !tbaa !41
  br label %89

89:                                               ; preds = %84, %73
  %90 = getelementptr inbounds i8, ptr %0, i64 392
  %91 = load i32, ptr %90, align 8, !tbaa !40
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %90, align 8, !tbaa !40
  ret ptr %.087
}

attributes #0 = { 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 #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn nounwind }
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, !7, i64 24}
!6 = !{!"nk_font_atlas", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 40, !12, i64 64, !8, i64 72, !10, i64 352, !7, i64 360, !7, i64 368, !7, i64 376, !7, i64 384, !10, i64 392}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"nk_allocator", !8, i64 0, !7, i64 8, !7, i64 16}
!12 = !{!"nk_recti", !13, i64 0, !13, i64 2, !13, i64 4, !13, i64 6}
!13 = !{!"short", !8, i64 0}
!14 = !{!6, !7, i64 32}
!15 = !{!6, !7, i64 48}
!16 = !{!6, !7, i64 56}
!17 = !{!18, !7, i64 8}
!18 = !{!"nk_font_config", !7, i64 0, !7, i64 8, !19, i64 16, !8, i64 24, !8, i64 25, !8, i64 26, !8, i64 27, !8, i64 28, !8, i64 29, !20, i64 32, !10, i64 36, !21, i64 40, !7, i64 48, !7, i64 56, !10, i64 64, !7, i64 72, !7, i64 80}
!19 = !{!"long", !8, i64 0}
!20 = !{!"float", !8, i64 0}
!21 = !{!"nk_vec2", !20, i64 0, !20, i64 4}
!22 = !{!18, !19, i64 16}
!23 = !{!18, !20, i64 32}
!24 = !{!18, !7, i64 72}
!25 = !{!18, !7, i64 80}
!26 = !{!18, !8, i64 25}
!27 = !{!6, !7, i64 384}
!28 = !{!18, !7, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!7, !7, i64 0}
!32 = !{!33, !7, i64 120}
!33 = !{!"nk_font", !7, i64 0, !34, i64 8, !35, i64 48, !20, i64 80, !7, i64 88, !7, i64 96, !10, i64 104, !8, i64 112, !7, i64 120}
!34 = !{!"nk_user_font", !8, i64 0, !20, i64 8, !7, i64 16, !7, i64 24, !8, i64 32}
!35 = !{!"nk_baked_font", !20, i64 0, !20, i64 4, !20, i64 8, !10, i64 12, !10, i64 16, !7, i64 24}
!36 = !{!6, !7, i64 376}
!37 = !{!33, !7, i64 0}
!38 = distinct !{!38, !30}
!39 = !{!18, !7, i64 56}
!40 = !{!6, !10, i64 392}
!41 = !{!18, !8, i64 24}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass