; LLVM IR from DarrenSweeney/3D-Physics-Engine :: Physics Engine/Imgui/imgui.ll (ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi)

; 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.ImVec2 = type { float, float }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #0 align 2

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMinff(float noundef, float noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %2, i32 noundef %3, float noundef %4, i32 noundef %5) #4 align 2 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca float, align 4
  %12 = alloca i32, align 4
  %13 = alloca float, align 4
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImVec2, align 4
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca %struct.ImVec2, align 4
  %21 = alloca %struct.ImVec2, align 4
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca %struct.ImVec2, align 4
  %24 = alloca %struct.ImVec2, align 4
  %25 = alloca %struct.ImVec2, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca %struct.ImVec2, align 4
  %29 = alloca %struct.ImVec2, align 4
  %30 = alloca %struct.ImVec2, align 4
  %31 = alloca %struct.ImVec2, align 4
  %32 = alloca %struct.ImVec2, align 4
  %33 = alloca %struct.ImVec2, align 4
  %34 = alloca %struct.ImVec2, align 4
  %35 = alloca %struct.ImVec2, align 4
  %36 = alloca %struct.ImVec2, align 4
  %37 = alloca %struct.ImVec2, align 4
  %38 = alloca %struct.ImVec2, align 4
  %39 = alloca %struct.ImVec2, align 4
  %40 = alloca %struct.ImVec2, align 4
  %41 = alloca %struct.ImVec2, align 4
  %42 = alloca %struct.ImVec2, align 4
  %43 = alloca %struct.ImVec2, align 4
  %44 = alloca %struct.ImVec2, align 4
  %45 = alloca %struct.ImVec2, align 4
  %46 = alloca %struct.ImVec2, align 4
  %47 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store i32 %3, ptr %10, align 4, !tbaa !9
  store float %4, ptr %11, align 4, !tbaa !11
  store i32 %5, ptr %12, align 4, !tbaa !9
  %48 = load ptr, ptr %7, align 8
  %49 = load i32, ptr %10, align 4, !tbaa !9
  %50 = lshr i32 %49, 24
  %51 = icmp eq i32 %50, 0
  br i1 %51, label %52, label %53

52:                                               ; preds = %6
  br label %403

53:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %54 = load float, ptr %11, align 4, !tbaa !11
  store float %54, ptr %13, align 4, !tbaa !11
  %55 = load float, ptr %13, align 4, !tbaa !11
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ImVec2, ptr %56, i32 0, i32 0
  %58 = load float, ptr %57, align 4, !tbaa !13
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.ImVec2, ptr %59, i32 0, i32 0
  %61 = load float, ptr %60, align 4, !tbaa !13
  %62 = fsub float %58, %61
  %63 = call float @llvm.fabs.f32(float %62)
  %64 = load i32, ptr %12, align 4, !tbaa !9
  %65 = and i32 %64, 3
  %66 = icmp eq i32 %65, 3
  br i1 %66, label %71, label %67

67:                                               ; preds = %53
  %68 = load i32, ptr %12, align 4, !tbaa !9
  %69 = and i32 %68, 12
  %70 = icmp eq i32 %69, 12
  br label %71

71:                                               ; preds = %67, %53
  %72 = phi i1 [ true, %53 ], [ %70, %67 ]
  %73 = zext i1 %72 to i64
  %74 = select i1 %72, float 5.000000e-01, float 1.000000e+00
  %75 = fmul float %63, %74
  %76 = call noundef float @_ZL5ImMinff(float noundef %55, float noundef %75)
  store float %76, ptr %13, align 4, !tbaa !11
  %77 = load float, ptr %13, align 4, !tbaa !11
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.ImVec2, ptr %78, i32 0, i32 1
  %80 = load float, ptr %79, align 4, !tbaa !15
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.ImVec2, ptr %81, i32 0, i32 1
  %83 = load float, ptr %82, align 4, !tbaa !15
  %84 = fsub float %80, %83
  %85 = call float @llvm.fabs.f32(float %84)
  %86 = load i32, ptr %12, align 4, !tbaa !9
  %87 = and i32 %86, 9
  %88 = icmp eq i32 %87, 9
  br i1 %88, label %93, label %89

89:                                               ; preds = %71
  %90 = load i32, ptr %12, align 4, !tbaa !9
  %91 = and i32 %90, 6
  %92 = icmp eq i32 %91, 6
  br label %93

93:                                               ; preds = %89, %71
  %94 = phi i1 [ true, %71 ], [ %92, %89 ]
  %95 = zext i1 %94 to i64
  %96 = select i1 %94, float 5.000000e-01, float 1.000000e+00
  %97 = fmul float %85, %96
  %98 = call noundef float @_ZL5ImMinff(float noundef %77, float noundef %97)
  store float %98, ptr %13, align 4, !tbaa !11
  %99 = load float, ptr %13, align 4, !tbaa !11
  %100 = fcmp oeq float %99, 0.000000e+00
  br i1 %100, label %104, label %101

101:                                              ; preds = %93
  %102 = load i32, ptr %12, align 4, !tbaa !9
  %103 = icmp eq i32 %102, 0
  br i1 %103, label %104, label %147

104:                                              ; preds = %101, %93
  call void @_ZN10ImDrawList15ReserveVerticesEj(ptr noundef nonnull align 8 dereferenceable(104) %48, i32 noundef 6)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.ImVec2, ptr %105, i32 0, i32 0
  %107 = load float, ptr %106, align 4, !tbaa !13
  %108 = load ptr, ptr %8, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ImVec2, ptr %108, i32 0, i32 1
  %110 = load float, ptr %109, align 4, !tbaa !15
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %107, float noundef %110)
  %111 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %14, i32 noundef %111)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %112 = load ptr, ptr %9, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.ImVec2, ptr %112, i32 0, i32 0
  %114 = load float, ptr %113, align 4, !tbaa !13
  %115 = load ptr, ptr %8, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.ImVec2, ptr %115, i32 0, i32 1
  %117 = load float, ptr %116, align 4, !tbaa !15
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %114, float noundef %117)
  %118 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %15, i32 noundef %118)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %119 = load ptr, ptr %9, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.ImVec2, ptr %119, i32 0, i32 0
  %121 = load float, ptr %120, align 4, !tbaa !13
  %122 = load ptr, ptr %9, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.ImVec2, ptr %122, i32 0, i32 1
  %124 = load float, ptr %123, align 4, !tbaa !15
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %121, float noundef %124)
  %125 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %16, i32 noundef %125)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.ImVec2, ptr %126, i32 0, i32 0
  %128 = load float, ptr %127, align 4, !tbaa !13
  %129 = load ptr, ptr %8, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ImVec2, ptr %129, i32 0, i32 1
  %131 = load float, ptr %130, align 4, !tbaa !15
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef %128, float noundef %131)
  %132 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %17, i32 noundef %132)
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %133 = load ptr, ptr %9, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.ImVec2, ptr %133, i32 0, i32 0
  %135 = load float, ptr %134, align 4, !tbaa !13
  %136 = load ptr, ptr %9, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ImVec2, ptr %136, i32 0, i32 1
  %138 = load float, ptr %137, align 4, !tbaa !15
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef %135, float noundef %138)
  %139 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %18, i32 noundef %139)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %140 = load ptr, ptr %8, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.ImVec2, ptr %140, i32 0, i32 0
  %142 = load float, ptr %141, align 4, !tbaa !13
  %143 = load ptr, ptr %9, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.ImVec2, ptr %143, i32 0, i32 1
  %145 = load float, ptr %144, align 4, !tbaa !15
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef %142, float noundef %145)
  %146 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %19, i32 noundef %146)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %402

147:                                              ; preds = %101
  call void @_ZN10ImDrawList15ReserveVerticesEj(ptr noundef nonnull align 8 dereferenceable(104) %48, i32 noundef 18)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %148 = load ptr, ptr %8, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.ImVec2, ptr %148, i32 0, i32 0
  %150 = load float, ptr %149, align 4, !tbaa !13
  %151 = load float, ptr %13, align 4, !tbaa !11
  %152 = fadd float %150, %151
  %153 = load ptr, ptr %8, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.ImVec2, ptr %153, i32 0, i32 1
  %155 = load float, ptr %154, align 4, !tbaa !15
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef %152, float noundef %155)
  %156 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %20, i32 noundef %156)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %157 = load ptr, ptr %9, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.ImVec2, ptr %157, i32 0, i32 0
  %159 = load float, ptr %158, align 4, !tbaa !13
  %160 = load float, ptr %13, align 4, !tbaa !11
  %161 = fsub float %159, %160
  %162 = load ptr, ptr %8, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.ImVec2, ptr %162, i32 0, i32 1
  %164 = load float, ptr %163, align 4, !tbaa !15
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef %161, float noundef %164)
  %165 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %21, i32 noundef %165)
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %166 = load ptr, ptr %9, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.ImVec2, ptr %166, i32 0, i32 0
  %168 = load float, ptr %167, align 4, !tbaa !13
  %169 = load float, ptr %13, align 4, !tbaa !11
  %170 = fsub float %168, %169
  %171 = load ptr, ptr %9, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImVec2, ptr %171, i32 0, i32 1
  %173 = load float, ptr %172, align 4, !tbaa !15
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %170, float noundef %173)
  %174 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %22, i32 noundef %174)
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %175 = load ptr, ptr %8, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.ImVec2, ptr %175, i32 0, i32 0
  %177 = load float, ptr %176, align 4, !tbaa !13
  %178 = load float, ptr %13, align 4, !tbaa !11
  %179 = fadd float %177, %178
  %180 = load ptr, ptr %8, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.ImVec2, ptr %180, i32 0, i32 1
  %182 = load float, ptr %181, align 4, !tbaa !15
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %23, float noundef %179, float noundef %182)
  %183 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %23, i32 noundef %183)
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %184 = load ptr, ptr %9, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.ImVec2, ptr %184, i32 0, i32 0
  %186 = load float, ptr %185, align 4, !tbaa !13
  %187 = load float, ptr %13, align 4, !tbaa !11
  %188 = fsub float %186, %187
  %189 = load ptr, ptr %9, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.ImVec2, ptr %189, i32 0, i32 1
  %191 = load float, ptr %190, align 4, !tbaa !15
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef %188, float noundef %191)
  %192 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %24, i32 noundef %192)
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %193 = load ptr, ptr %8, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.ImVec2, ptr %193, i32 0, i32 0
  %195 = load float, ptr %194, align 4, !tbaa !13
  %196 = load float, ptr %13, align 4, !tbaa !11
  %197 = fadd float %195, %196
  %198 = load ptr, ptr %9, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.ImVec2, ptr %198, i32 0, i32 1
  %200 = load float, ptr %199, align 4, !tbaa !15
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %25, float noundef %197, float noundef %200)
  %201 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %25, i32 noundef %201)
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  %202 = load i32, ptr %12, align 4, !tbaa !9
  %203 = and i32 %202, 1
  %204 = icmp ne i32 %203, 0
  br i1 %204, label %205, label %211

205:                                              ; preds = %147
  %206 = load ptr, ptr %8, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.ImVec2, ptr %206, i32 0, i32 1
  %208 = load float, ptr %207, align 4, !tbaa !15
  %209 = load float, ptr %13, align 4, !tbaa !11
  %210 = fadd float %208, %209
  br label %215

211:                                              ; preds = %147
  %212 = load ptr, ptr %8, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.ImVec2, ptr %212, i32 0, i32 1
  %214 = load float, ptr %213, align 4, !tbaa !15
  br label %215

215:                                              ; preds = %211, %205
  %216 = phi float [ %210, %205 ], [ %214, %211 ]
  store float %216, ptr %26, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  %217 = load i32, ptr %12, align 4, !tbaa !9
  %218 = and i32 %217, 8
  %219 = icmp ne i32 %218, 0
  br i1 %219, label %220, label %226

220:                                              ; preds = %215
  %221 = load ptr, ptr %9, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.ImVec2, ptr %221, i32 0, i32 1
  %223 = load float, ptr %222, align 4, !tbaa !15
  %224 = load float, ptr %13, align 4, !tbaa !11
  %225 = fsub float %223, %224
  br label %230

226:                                              ; preds = %215
  %227 = load ptr, ptr %9, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.ImVec2, ptr %227, i32 0, i32 1
  %229 = load float, ptr %228, align 4, !tbaa !15
  br label %230

230:                                              ; preds = %226, %220
  %231 = phi float [ %225, %220 ], [ %229, %226 ]
  store float %231, ptr %27, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %232 = load ptr, ptr %8, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.ImVec2, ptr %232, i32 0, i32 0
  %234 = load float, ptr %233, align 4, !tbaa !13
  %235 = load float, ptr %26, align 4, !tbaa !11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %28, float noundef %234, float noundef %235)
  %236 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %28, i32 noundef %236)
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %237 = load ptr, ptr %8, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.ImVec2, ptr %237, i32 0, i32 0
  %239 = load float, ptr %238, align 4, !tbaa !13
  %240 = load float, ptr %13, align 4, !tbaa !11
  %241 = fadd float %239, %240
  %242 = load float, ptr %26, align 4, !tbaa !11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef %241, float noundef %242)
  %243 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %29, i32 noundef %243)
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %244 = load ptr, ptr %8, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.ImVec2, ptr %244, i32 0, i32 0
  %246 = load float, ptr %245, align 4, !tbaa !13
  %247 = load float, ptr %13, align 4, !tbaa !11
  %248 = fadd float %246, %247
  %249 = load float, ptr %27, align 4, !tbaa !11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef %248, float noundef %249)
  %250 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %30, i32 noundef %250)
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %251 = load ptr, ptr %8, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.ImVec2, ptr %251, i32 0, i32 0
  %253 = load float, ptr %252, align 4, !tbaa !13
  %254 = load float, ptr %26, align 4, !tbaa !11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %31, float noundef %253, float noundef %254)
  %255 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %31, i32 noundef %255)
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %256 = load ptr, ptr %8, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.ImVec2, ptr %256, i32 0, i32 0
  %258 = load float, ptr %257, align 4, !tbaa !13
  %259 = load float, ptr %13, align 4, !tbaa !11
  %260 = fadd float %258, %259
  %261 = load float, ptr %27, align 4, !tbaa !11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef %260, float noundef %261)
  %262 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %32, i32 noundef %262)
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %263 = load ptr, ptr %8, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.ImVec2, ptr %263, i32 0, i32 0
  %265 = load float, ptr %264, align 4, !tbaa !13
  %266 = load float, ptr %27, align 4, !tbaa !11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %33, float noundef %265, float noundef %266)
  %267 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %33, i32 noundef %267)
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  %268 = load i32, ptr %12, align 4, !tbaa !9
  %269 = and i32 %268, 2
  %270 = icmp ne i32 %269, 0
  br i1 %270, label %271, label %277

271:                                              ; preds = %230
  %272 = load ptr, ptr %8, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.ImVec2, ptr %272, i32 0, i32 1
  %274 = load float, ptr %273, align 4, !tbaa !15
  %275 = load float, ptr %13, align 4, !tbaa !11
  %276 = fadd float %274, %275
  br label %281

277:                                              ; preds = %230
  %278 = load ptr, ptr %8, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.ImVec2, ptr %278, i32 0, i32 1
  %280 = load float, ptr %279, align 4, !tbaa !15
  br label %281

281:                                              ; preds = %277, %271
  %282 = phi float [ %276, %271 ], [ %280, %277 ]
  store float %282, ptr %26, align 4, !tbaa !11
  %283 = load i32, ptr %12, align 4, !tbaa !9
  %284 = and i32 %283, 4
  %285 = icmp ne i32 %284, 0
  br i1 %285, label %286, label %292

286:                                              ; preds = %281
  %287 = load ptr, ptr %9, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.ImVec2, ptr %287, i32 0, i32 1
  %289 = load float, ptr %288, align 4, !tbaa !15
  %290 = load float, ptr %13, align 4, !tbaa !11
  %291 = fsub float %289, %290
  br label %296

292:                                              ; preds = %281
  %293 = load ptr, ptr %9, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.ImVec2, ptr %293, i32 0, i32 1
  %295 = load float, ptr %294, align 4, !tbaa !15
  br label %296

296:                                              ; preds = %292, %286
  %297 = phi float [ %291, %286 ], [ %295, %292 ]
  store float %297, ptr %27, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %298 = load ptr, ptr %9, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.ImVec2, ptr %298, i32 0, i32 0
  %300 = load float, ptr %299, align 4, !tbaa !13
  %301 = load float, ptr %13, align 4, !tbaa !11
  %302 = fsub float %300, %301
  %303 = load float, ptr %26, align 4, !tbaa !11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %34, float noundef %302, float noundef %303)
  %304 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %34, i32 noundef %304)
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  %305 = load ptr, ptr %9, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.ImVec2, ptr %305, i32 0, i32 0
  %307 = load float, ptr %306, align 4, !tbaa !13
  %308 = load float, ptr %26, align 4, !tbaa !11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef %307, float noundef %308)
  %309 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %35, i32 noundef %309)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  %310 = load ptr, ptr %9, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.ImVec2, ptr %310, i32 0, i32 0
  %312 = load float, ptr %311, align 4, !tbaa !13
  %313 = load float, ptr %27, align 4, !tbaa !11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %36, float noundef %312, float noundef %313)
  %314 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %36, i32 noundef %314)
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  %315 = load ptr, ptr %9, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.ImVec2, ptr %315, i32 0, i32 0
  %317 = load float, ptr %316, align 4, !tbaa !13
  %318 = load float, ptr %13, align 4, !tbaa !11
  %319 = fsub float %317, %318
  %320 = load float, ptr %26, align 4, !tbaa !11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef %319, float noundef %320)
  %321 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %37, i32 noundef %321)
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  %322 = load ptr, ptr %9, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.ImVec2, ptr %322, i32 0, i32 0
  %324 = load float, ptr %323, align 4, !tbaa !13
  %325 = load float, ptr %27, align 4, !tbaa !11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %38, float noundef %324, float noundef %325)
  %326 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %38, i32 noundef %326)
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #6
  %327 = load ptr, ptr %9, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.ImVec2, ptr %327, i32 0, i32 0
  %329 = load float, ptr %328, align 4, !tbaa !13
  %330 = load float, ptr %13, align 4, !tbaa !11
  %331 = fsub float %329, %330
  %332 = load float, ptr %27, align 4, !tbaa !11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %39, float noundef %331, float noundef %332)
  %333 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %39, i32 noundef %333)
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  %334 = load i32, ptr %12, align 4, !tbaa !9
  %335 = and i32 %334, 1
  %336 = icmp ne i32 %335, 0
  br i1 %336, label %337, label %350

337:                                              ; preds = %296
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #6
  %338 = load ptr, ptr %8, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.ImVec2, ptr %338, i32 0, i32 0
  %340 = load float, ptr %339, align 4, !tbaa !13
  %341 = load float, ptr %13, align 4, !tbaa !11
  %342 = fadd float %340, %341
  %343 = load ptr, ptr %8, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.ImVec2, ptr %343, i32 0, i32 1
  %345 = load float, ptr %344, align 4, !tbaa !15
  %346 = load float, ptr %13, align 4, !tbaa !11
  %347 = fadd float %345, %346
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %40, float noundef %342, float noundef %347)
  %348 = load float, ptr %13, align 4, !tbaa !11
  %349 = load i32, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #6
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %41, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN10ImDrawList6AddArcERK6ImVec2fjiibS2_(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %40, float noundef %348, i32 noundef %349, i32 noundef 0, i32 noundef 3, i1 noundef zeroext true, ptr noundef nonnull align 4 dereferenceable(8) %41)
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  br label %350

350:                                              ; preds = %337, %296
  %351 = load i32, ptr %12, align 4, !tbaa !9
  %352 = and i32 %351, 2
  %353 = icmp ne i32 %352, 0
  br i1 %353, label %354, label %367

354:                                              ; preds = %350
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #6
  %355 = load ptr, ptr %9, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.ImVec2, ptr %355, i32 0, i32 0
  %357 = load float, ptr %356, align 4, !tbaa !13
  %358 = load float, ptr %13, align 4, !tbaa !11
  %359 = fsub float %357, %358
  %360 = load ptr, ptr %8, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.ImVec2, ptr %360, i32 0, i32 1
  %362 = load float, ptr %361, align 4, !tbaa !15
  %363 = load float, ptr %13, align 4, !tbaa !11
  %364 = fadd float %362, %363
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %42, float noundef %359, float noundef %364)
  %365 = load float, ptr %13, align 4, !tbaa !11
  %366 = load i32, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #6
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %43, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN10ImDrawList6AddArcERK6ImVec2fjiibS2_(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %42, float noundef %365, i32 noundef %366, i32 noundef 3, i32 noundef 6, i1 noundef zeroext true, ptr noundef nonnull align 4 dereferenceable(8) %43)
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  br label %367

367:                                              ; preds = %354, %350
  %368 = load i32, ptr %12, align 4, !tbaa !9
  %369 = and i32 %368, 4
  %370 = icmp ne i32 %369, 0
  br i1 %370, label %371, label %384

371:                                              ; preds = %367
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #6
  %372 = load ptr, ptr %9, align 8, !tbaa !5
  %373 = getelementptr inbounds %struct.ImVec2, ptr %372, i32 0, i32 0
  %374 = load float, ptr %373, align 4, !tbaa !13
  %375 = load float, ptr %13, align 4, !tbaa !11
  %376 = fsub float %374, %375
  %377 = load ptr, ptr %9, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct.ImVec2, ptr %377, i32 0, i32 1
  %379 = load float, ptr %378, align 4, !tbaa !15
  %380 = load float, ptr %13, align 4, !tbaa !11
  %381 = fsub float %379, %380
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %44, float noundef %376, float noundef %381)
  %382 = load float, ptr %13, align 4, !tbaa !11
  %383 = load i32, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #6
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %45, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN10ImDrawList6AddArcERK6ImVec2fjiibS2_(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %44, float noundef %382, i32 noundef %383, i32 noundef 6, i32 noundef 9, i1 noundef zeroext true, ptr noundef nonnull align 4 dereferenceable(8) %45)
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #6
  br label %384

384:                                              ; preds = %371, %367
  %385 = load i32, ptr %12, align 4, !tbaa !9
  %386 = and i32 %385, 8
  %387 = icmp ne i32 %386, 0
  br i1 %387, label %388, label %401

388:                                              ; preds = %384
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #6
  %389 = load ptr, ptr %8, align 8, !tbaa !5
  %390 = getelementptr inbounds %struct.ImVec2, ptr %389, i32 0, i32 0
  %391 = load float, ptr %390, align 4, !tbaa !13
  %392 = load float, ptr %13, align 4, !tbaa !11
  %393 = fadd float %391, %392
  %394 = load ptr, ptr %9, align 8, !tbaa !5
  %395 = getelementptr inbounds %struct.ImVec2, ptr %394, i32 0, i32 1
  %396 = load float, ptr %395, align 4, !tbaa !15
  %397 = load float, ptr %13, align 4, !tbaa !11
  %398 = fsub float %396, %397
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %46, float noundef %393, float noundef %398)
  %399 = load float, ptr %13, align 4, !tbaa !11
  %400 = load i32, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #6
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %47, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN10ImDrawList6AddArcERK6ImVec2fjiibS2_(ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(8) %46, float noundef %399, i32 noundef %400, i32 noundef 9, i32 noundef 12, i1 noundef zeroext true, ptr noundef nonnull align 4 dereferenceable(8) %47)
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #6
  br label %401

401:                                              ; preds = %388, %384
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %402

402:                                              ; preds = %401, %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %403

403:                                              ; preds = %402, %52
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ImDrawList6AddArcERK6ImVec2fjiibS2_(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 4 dereferenceable(8), float noundef, i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef nonnull align 4 dereferenceable(8)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ImDrawList15ReserveVerticesEj(ptr noundef nonnull align 8 dereferenceable(104), i32 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) #0 align 2

attributes #0 = { mustprogress 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { inlinehint mustprogress 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 #4 = { 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 #5 = { mustprogress uwtable "min-legal-vector-width"="64" "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 }

!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, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!15 = !{!14, !12, i64 4}


; 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.ImVec2 = type { float, float }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMinff(float noundef, float noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr nocapture noundef nonnull readonly align 4 dereferenceable(8) %1, ptr nocapture noundef nonnull readonly align 4 dereferenceable(8) %2, i32 noundef %3, float noundef %4, i32 noundef %5) local_unnamed_addr #4 align 2 {
  %7 = alloca %struct.ImVec2, align 4
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca %struct.ImVec2, align 4
  %13 = alloca %struct.ImVec2, align 4
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImVec2, align 4
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca %struct.ImVec2, align 4
  %21 = alloca %struct.ImVec2, align 4
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca %struct.ImVec2, align 4
  %24 = alloca %struct.ImVec2, align 4
  %25 = alloca %struct.ImVec2, align 4
  %26 = alloca %struct.ImVec2, align 4
  %27 = alloca %struct.ImVec2, align 4
  %28 = alloca %struct.ImVec2, align 4
  %29 = alloca %struct.ImVec2, align 4
  %30 = alloca %struct.ImVec2, align 4
  %31 = alloca %struct.ImVec2, align 4
  %32 = alloca %struct.ImVec2, align 4
  %33 = alloca %struct.ImVec2, align 4
  %34 = alloca %struct.ImVec2, align 4
  %35 = alloca %struct.ImVec2, align 4
  %36 = alloca %struct.ImVec2, align 4
  %37 = alloca %struct.ImVec2, align 4
  %38 = alloca %struct.ImVec2, align 4
  %39 = icmp ult i32 %3, 16777216
  br i1 %39, label %158, label %40

40:                                               ; preds = %6
  %41 = load float, ptr %2, align 4, !tbaa !5
  %42 = load float, ptr %1, align 4, !tbaa !5
  %43 = fsub float %41, %42
  %44 = tail call float @llvm.fabs.f32(float %43)
  %45 = and i32 %5, 3
  %46 = icmp eq i32 %45, 3
  %47 = and i32 %5, 12
  %48 = icmp eq i32 %47, 12
  %49 = or i1 %46, %48
  %50 = select i1 %49, float 5.000000e-01, float 1.000000e+00
  %51 = fmul float %50, %44
  %52 = tail call noundef float @_ZL5ImMinff(float noundef %4, float noundef %51)
  %53 = getelementptr inbounds i8, ptr %2, i64 4
  %54 = load float, ptr %53, align 4, !tbaa !10
  %55 = getelementptr inbounds i8, ptr %1, i64 4
  %56 = load float, ptr %55, align 4, !tbaa !10
  %57 = fsub float %54, %56
  %58 = tail call float @llvm.fabs.f32(float %57)
  %59 = and i32 %5, 9
  %60 = icmp eq i32 %59, 9
  %61 = and i32 %5, 6
  %62 = icmp eq i32 %61, 6
  %63 = or i1 %60, %62
  %64 = select i1 %63, float 5.000000e-01, float 1.000000e+00
  %65 = fmul float %64, %58
  %66 = tail call noundef float @_ZL5ImMinff(float noundef %52, float noundef %65)
  %67 = fcmp oeq float %66, 0.000000e+00
  %68 = icmp eq i32 %5, 0
  %or.cond = or i1 %68, %67
  br i1 %or.cond, label %69, label %82

69:                                               ; preds = %40
  tail call void @_ZN10ImDrawList15ReserveVerticesEj(ptr noundef nonnull align 8 dereferenceable(104) %0, i32 noundef 6)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %70 = load float, ptr %1, align 4, !tbaa !5
  %71 = load float, ptr %55, align 4, !tbaa !10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef %70, float noundef %71)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %7, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %72 = load float, ptr %2, align 4, !tbaa !5
  %73 = load float, ptr %55, align 4, !tbaa !10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %72, float noundef %73)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %8, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %74 = load float, ptr %2, align 4, !tbaa !5
  %75 = load float, ptr %53, align 4, !tbaa !10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %74, float noundef %75)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %9, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %76 = load float, ptr %1, align 4, !tbaa !5
  %77 = load float, ptr %55, align 4, !tbaa !10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %76, float noundef %77)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %10, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %78 = load float, ptr %2, align 4, !tbaa !5
  %79 = load float, ptr %53, align 4, !tbaa !10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %78, float noundef %79)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %11, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %80 = load float, ptr %1, align 4, !tbaa !5
  %81 = load float, ptr %53, align 4, !tbaa !10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef %80, float noundef %81)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %12, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  br label %158

82:                                               ; preds = %40
  tail call void @_ZN10ImDrawList15ReserveVerticesEj(ptr noundef nonnull align 8 dereferenceable(104) %0, i32 noundef 18)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %83 = load float, ptr %1, align 4, !tbaa !5
  %84 = fadd float %66, %83
  %85 = load float, ptr %55, align 4, !tbaa !10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %84, float noundef %85)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %13, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %86 = load float, ptr %2, align 4, !tbaa !5
  %87 = fsub float %86, %66
  %88 = load float, ptr %55, align 4, !tbaa !10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %87, float noundef %88)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %14, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %89 = load float, ptr %2, align 4, !tbaa !5
  %90 = fsub float %89, %66
  %91 = load float, ptr %53, align 4, !tbaa !10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %90, float noundef %91)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %15, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  %92 = load float, ptr %1, align 4, !tbaa !5
  %93 = fadd float %66, %92
  %94 = load float, ptr %55, align 4, !tbaa !10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %93, float noundef %94)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %16, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  %95 = load float, ptr %2, align 4, !tbaa !5
  %96 = fsub float %95, %66
  %97 = load float, ptr %53, align 4, !tbaa !10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef %96, float noundef %97)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %17, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  %98 = load float, ptr %1, align 4, !tbaa !5
  %99 = fadd float %66, %98
  %100 = load float, ptr %53, align 4, !tbaa !10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef %99, float noundef %100)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %18, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  %101 = and i32 %5, 1
  %.not = icmp eq i32 %101, 0
  %102 = load float, ptr %55, align 4
  %103 = fadd float %66, %102
  %104 = select i1 %.not, float %102, float %103
  %105 = and i32 %5, 8
  %.not144 = icmp eq i32 %105, 0
  %106 = load float, ptr %53, align 4
  %107 = fsub float %106, %66
  %108 = select i1 %.not144, float %106, float %107
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  %109 = load float, ptr %1, align 4, !tbaa !5
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef %109, float noundef %104)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %19, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %110 = load float, ptr %1, align 4, !tbaa !5
  %111 = fadd float %66, %110
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef %111, float noundef %104)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %20, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  %112 = load float, ptr %1, align 4, !tbaa !5
  %113 = fadd float %66, %112
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef %113, float noundef %108)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %21, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #6
  %114 = load float, ptr %1, align 4, !tbaa !5
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %114, float noundef %104)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %22, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #6
  %115 = load float, ptr %1, align 4, !tbaa !5
  %116 = fadd float %66, %115
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %23, float noundef %116, float noundef %108)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %23, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #6
  %117 = load float, ptr %1, align 4, !tbaa !5
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef %117, float noundef %108)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %24, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  %118 = and i32 %5, 2
  %.not145 = icmp eq i32 %118, 0
  %119 = load float, ptr %55, align 4
  %120 = fadd float %66, %119
  %121 = select i1 %.not145, float %119, float %120
  %122 = and i32 %5, 4
  %.not146 = icmp eq i32 %122, 0
  %123 = load float, ptr %53, align 4
  %124 = fsub float %123, %66
  %125 = select i1 %.not146, float %123, float %124
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #6
  %126 = load float, ptr %2, align 4, !tbaa !5
  %127 = fsub float %126, %66
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %25, float noundef %127, float noundef %121)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %25, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #6
  %128 = load float, ptr %2, align 4, !tbaa !5
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %26, float noundef %128, float noundef %121)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %26, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #6
  %129 = load float, ptr %2, align 4, !tbaa !5
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef %129, float noundef %125)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %27, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #6
  %130 = load float, ptr %2, align 4, !tbaa !5
  %131 = fsub float %130, %66
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %28, float noundef %131, float noundef %121)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %28, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #6
  %132 = load float, ptr %2, align 4, !tbaa !5
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef %132, float noundef %125)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %29, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #6
  %133 = load float, ptr %2, align 4, !tbaa !5
  %134 = fsub float %133, %66
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef %134, float noundef %125)
  call void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %30, i32 noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #6
  br i1 %.not, label %140, label %135

135:                                              ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #6
  %136 = load float, ptr %1, align 4, !tbaa !5
  %137 = fadd float %66, %136
  %138 = load float, ptr %55, align 4, !tbaa !10
  %139 = fadd float %66, %138
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %31, float noundef %137, float noundef %139)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #6
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN10ImDrawList6AddArcERK6ImVec2fjiibS2_(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %31, float noundef %66, i32 noundef %3, i32 noundef 0, i32 noundef 3, i1 noundef zeroext true, ptr noundef nonnull align 4 dereferenceable(8) %32)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #6
  br label %140

140:                                              ; preds = %135, %82
  br i1 %.not145, label %146, label %141

141:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #6
  %142 = load float, ptr %2, align 4, !tbaa !5
  %143 = fsub float %142, %66
  %144 = load float, ptr %55, align 4, !tbaa !10
  %145 = fadd float %66, %144
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %33, float noundef %143, float noundef %145)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #6
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %34, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN10ImDrawList6AddArcERK6ImVec2fjiibS2_(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %33, float noundef %66, i32 noundef %3, i32 noundef 3, i32 noundef 6, i1 noundef zeroext true, ptr noundef nonnull align 4 dereferenceable(8) %34)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #6
  br label %146

146:                                              ; preds = %141, %140
  br i1 %.not146, label %152, label %147

147:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #6
  %148 = load float, ptr %2, align 4, !tbaa !5
  %149 = fsub float %148, %66
  %150 = load float, ptr %53, align 4, !tbaa !10
  %151 = fsub float %150, %66
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef %149, float noundef %151)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #6
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %36, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN10ImDrawList6AddArcERK6ImVec2fjiibS2_(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef %66, i32 noundef %3, i32 noundef 6, i32 noundef 9, i1 noundef zeroext true, ptr noundef nonnull align 4 dereferenceable(8) %36)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #6
  br label %152

152:                                              ; preds = %147, %146
  br i1 %.not144, label %158, label %153

153:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #6
  %154 = load float, ptr %1, align 4, !tbaa !5
  %155 = fadd float %66, %154
  %156 = load float, ptr %53, align 4, !tbaa !10
  %157 = fsub float %156, %66
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef %155, float noundef %157)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %38) #6
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %38, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN10ImDrawList6AddArcERK6ImVec2fjiibS2_(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef %66, i32 noundef %3, i32 noundef 9, i32 noundef 12, i1 noundef zeroext true, ptr noundef nonnull align 4 dereferenceable(8) %38)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #6
  br label %158

158:                                              ; preds = %69, %153, %152, %6
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ImDrawList6AddArcERK6ImVec2fjiibS2_(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 4 dereferenceable(8), float noundef, i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ImDrawList15ReserveVerticesEj(ptr noundef nonnull align 8 dereferenceable(104), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10ImDrawList6AddVtxERK6ImVec2j(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) local_unnamed_addr #0 align 2

attributes #0 = { mustprogress 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { inlinehint mustprogress 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 #4 = { 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 #5 = { mustprogress uwtable "min-legal-vector-width"="64" "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 }

!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 0}
!6 = !{!"_ZTS6ImVec2", !7, i64 0, !7, i64 4}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 4}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass