; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_compiled_7)

; 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.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

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

declare void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef, i32 noundef) #3

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_s(ptr noundef, i64 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @f64_load(ptr noundef, i64 noundef) #1

declare i32 @w2c_hermes_llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsift_up0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3E0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x3E0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Aiterator_traits0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x3E0x3A0x3Adifference_type0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i64, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.w2c_hermes, ptr %23, i32 0, i32 3
  %25 = load i32, ptr %24, align 8, !tbaa !11
  store i32 %25, ptr %16, align 4, !tbaa !9
  store i32 -64, ptr %17, align 4, !tbaa !9
  %26 = load i32, ptr %17, align 4, !tbaa !9
  %27 = load i32, ptr %16, align 4, !tbaa !9
  %28 = add i32 %27, %26
  store i32 %28, ptr %16, align 4, !tbaa !9
  %29 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %29, ptr %11, align 4, !tbaa !9
  %30 = load i32, ptr %16, align 4, !tbaa !9
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.w2c_hermes, ptr %31, i32 0, i32 3
  store i32 %30, ptr %32, align 8, !tbaa !11
  %33 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %33, ptr %16, align 4, !tbaa !9
  store i32 2, ptr %17, align 4, !tbaa !9
  %34 = load i32, ptr %16, align 4, !tbaa !9
  %35 = load i32, ptr %17, align 4, !tbaa !9
  %36 = icmp slt i32 %34, %35
  %37 = zext i1 %36 to i32
  store i32 %37, ptr %16, align 4, !tbaa !9
  %38 = load i32, ptr %16, align 4, !tbaa !9
  %39 = icmp ne i32 %38, 0
  br i1 %39, label %40, label %41

40:                                               ; preds = %5
  br label %403

41:                                               ; preds = %5
  %42 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %42, ptr %16, align 4, !tbaa !9
  %43 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %43, ptr %17, align 4, !tbaa !9
  store i32 2, ptr %18, align 4, !tbaa !9
  %44 = load i32, ptr %18, align 4, !tbaa !9
  %45 = load i32, ptr %17, align 4, !tbaa !9
  %46 = sub i32 %45, %44
  store i32 %46, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %47 = load i32, ptr %18, align 4, !tbaa !9
  %48 = and i32 %47, 31
  %49 = load i32, ptr %17, align 4, !tbaa !9
  %50 = lshr i32 %49, %48
  store i32 %50, ptr %17, align 4, !tbaa !9
  %51 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %51, ptr %10, align 4, !tbaa !9
  store i32 56, ptr %18, align 4, !tbaa !9
  %52 = load i32, ptr %18, align 4, !tbaa !9
  %53 = load i32, ptr %17, align 4, !tbaa !9
  %54 = mul i32 %53, %52
  store i32 %54, ptr %17, align 4, !tbaa !9
  %55 = load i32, ptr %17, align 4, !tbaa !9
  %56 = load i32, ptr %16, align 4, !tbaa !9
  %57 = add i32 %56, %55
  store i32 %57, ptr %16, align 4, !tbaa !9
  %58 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %58, ptr %15, align 4, !tbaa !9
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.w2c_hermes, ptr %59, i32 0, i32 6
  %61 = load i32, ptr %16, align 4, !tbaa !9
  %62 = zext i32 %61 to i64
  %63 = call double @f64_load(ptr noundef %60, i64 noundef %62)
  store double %63, ptr %21, align 8, !tbaa !17
  %64 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %64, ptr %17, align 4, !tbaa !9
  store i32 56, ptr %18, align 4, !tbaa !9
  %65 = load i32, ptr %18, align 4, !tbaa !9
  %66 = load i32, ptr %17, align 4, !tbaa !9
  %67 = sub i32 %66, %65
  store i32 %67, ptr %17, align 4, !tbaa !9
  %68 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %68, ptr %14, align 4, !tbaa !9
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.w2c_hermes, ptr %69, i32 0, i32 6
  %71 = load i32, ptr %17, align 4, !tbaa !9
  %72 = zext i32 %71 to i64
  %73 = call double @f64_load(ptr noundef %70, i64 noundef %72)
  store double %73, ptr %22, align 8, !tbaa !17
  %74 = load double, ptr %21, align 8, !tbaa !17
  %75 = load double, ptr %22, align 8, !tbaa !17
  %76 = fcmp olt double %74, %75
  %77 = zext i1 %76 to i32
  store i32 %77, ptr %16, align 4, !tbaa !9
  %78 = load i32, ptr %16, align 4, !tbaa !9
  %79 = icmp ne i32 %78, 0
  %80 = xor i1 %79, true
  %81 = zext i1 %80 to i32
  store i32 %81, ptr %16, align 4, !tbaa !9
  %82 = load i32, ptr %16, align 4, !tbaa !9
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %85

84:                                               ; preds = %41
  br label %403

85:                                               ; preds = %41
  %86 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %86, ptr %16, align 4, !tbaa !9
  %87 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %87, ptr %17, align 4, !tbaa !9
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.w2c_hermes, ptr %88, i32 0, i32 6
  %90 = load i32, ptr %17, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = add i64 %91, 24
  %93 = call i64 @i64_load(ptr noundef %89, i64 noundef %92)
  store i64 %93, ptr %20, align 8, !tbaa !19
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.w2c_hermes, ptr %94, i32 0, i32 6
  %96 = load i32, ptr %16, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = add i64 %97, 32
  %99 = load i64, ptr %20, align 8, !tbaa !19
  call void @i64_store(ptr noundef %95, i64 noundef %98, i64 noundef %99)
  %100 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %100, ptr %16, align 4, !tbaa !9
  %101 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %101, ptr %17, align 4, !tbaa !9
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.w2c_hermes, ptr %102, i32 0, i32 6
  %104 = load i32, ptr %17, align 4, !tbaa !9
  %105 = zext i32 %104 to i64
  %106 = add i64 %105, 16
  %107 = call i64 @i64_load(ptr noundef %103, i64 noundef %106)
  store i64 %107, ptr %20, align 8, !tbaa !19
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.w2c_hermes, ptr %108, i32 0, i32 6
  %110 = load i32, ptr %16, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  %112 = add i64 %111, 24
  %113 = load i64, ptr %20, align 8, !tbaa !19
  call void @i64_store(ptr noundef %109, i64 noundef %112, i64 noundef %113)
  %114 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %114, ptr %16, align 4, !tbaa !9
  %115 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %115, ptr %17, align 4, !tbaa !9
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.w2c_hermes, ptr %116, i32 0, i32 6
  %118 = load i32, ptr %17, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  %120 = add i64 %119, 8
  %121 = call i64 @i64_load(ptr noundef %117, i64 noundef %120)
  store i64 %121, ptr %20, align 8, !tbaa !19
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.w2c_hermes, ptr %122, i32 0, i32 6
  %124 = load i32, ptr %16, align 4, !tbaa !9
  %125 = zext i32 %124 to i64
  %126 = add i64 %125, 16
  %127 = load i64, ptr %20, align 8, !tbaa !19
  call void @i64_store(ptr noundef %123, i64 noundef %126, i64 noundef %127)
  %128 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %128, ptr %16, align 4, !tbaa !9
  %129 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %129, ptr %17, align 4, !tbaa !9
  %130 = load ptr, ptr %6, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.w2c_hermes, ptr %130, i32 0, i32 6
  %132 = load i32, ptr %17, align 4, !tbaa !9
  %133 = zext i32 %132 to i64
  %134 = call i64 @i64_load(ptr noundef %131, i64 noundef %133)
  store i64 %134, ptr %20, align 8, !tbaa !19
  %135 = load ptr, ptr %6, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.w2c_hermes, ptr %135, i32 0, i32 6
  %137 = load i32, ptr %16, align 4, !tbaa !9
  %138 = zext i32 %137 to i64
  %139 = add i64 %138, 8
  %140 = load i64, ptr %20, align 8, !tbaa !19
  call void @i64_store(ptr noundef %136, i64 noundef %139, i64 noundef %140)
  %141 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %141, ptr %16, align 4, !tbaa !9
  store i32 24, ptr %17, align 4, !tbaa !9
  %142 = load i32, ptr %17, align 4, !tbaa !9
  %143 = load i32, ptr %16, align 4, !tbaa !9
  %144 = sub i32 %143, %142
  store i32 %144, ptr %16, align 4, !tbaa !9
  %145 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %145, ptr %12, align 4, !tbaa !9
  %146 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %146, ptr %16, align 4, !tbaa !9
  store i32 40, ptr %17, align 4, !tbaa !9
  %147 = load i32, ptr %17, align 4, !tbaa !9
  %148 = load i32, ptr %16, align 4, !tbaa !9
  %149 = add i32 %148, %147
  store i32 %149, ptr %16, align 4, !tbaa !9
  %150 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %150, ptr %13, align 4, !tbaa !9
  %151 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %151, ptr %16, align 4, !tbaa !9
  store i32 13, ptr %17, align 4, !tbaa !9
  %152 = load i32, ptr %17, align 4, !tbaa !9
  %153 = load i32, ptr %16, align 4, !tbaa !9
  %154 = sub i32 %153, %152
  store i32 %154, ptr %16, align 4, !tbaa !9
  %155 = load ptr, ptr %6, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.w2c_hermes, ptr %155, i32 0, i32 6
  %157 = load i32, ptr %16, align 4, !tbaa !9
  %158 = zext i32 %157 to i64
  %159 = call i32 @i32_load8_s(ptr noundef %156, i64 noundef %158)
  store i32 %159, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %160 = load i32, ptr %16, align 4, !tbaa !9
  %161 = load i32, ptr %17, align 4, !tbaa !9
  %162 = icmp sge i32 %160, %161
  %163 = zext i1 %162 to i32
  store i32 %163, ptr %16, align 4, !tbaa !9
  %164 = load i32, ptr %16, align 4, !tbaa !9
  %165 = icmp ne i32 %164, 0
  br i1 %165, label %166, label %193

166:                                              ; preds = %85
  %167 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %167, ptr %16, align 4, !tbaa !9
  %168 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %168, ptr %17, align 4, !tbaa !9
  %169 = load ptr, ptr %6, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.w2c_hermes, ptr %169, i32 0, i32 6
  %171 = load i32, ptr %17, align 4, !tbaa !9
  %172 = zext i32 %171 to i64
  %173 = call i64 @i64_load(ptr noundef %170, i64 noundef %172)
  store i64 %173, ptr %20, align 8, !tbaa !19
  %174 = load ptr, ptr %6, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.w2c_hermes, ptr %174, i32 0, i32 6
  %176 = load i32, ptr %16, align 4, !tbaa !9
  %177 = zext i32 %176 to i64
  %178 = load i64, ptr %20, align 8, !tbaa !19
  call void @i64_store(ptr noundef %175, i64 noundef %177, i64 noundef %178)
  %179 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %179, ptr %16, align 4, !tbaa !9
  %180 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %180, ptr %17, align 4, !tbaa !9
  %181 = load ptr, ptr %6, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.w2c_hermes, ptr %181, i32 0, i32 6
  %183 = load i32, ptr %17, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  %185 = add i64 %184, 8
  %186 = call i32 @i32_load(ptr noundef %182, i64 noundef %185)
  store i32 %186, ptr %17, align 4, !tbaa !9
  %187 = load ptr, ptr %6, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.w2c_hermes, ptr %187, i32 0, i32 6
  %189 = load i32, ptr %16, align 4, !tbaa !9
  %190 = zext i32 %189 to i64
  %191 = add i64 %190, 8
  %192 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %188, i64 noundef %191, i32 noundef %192)
  br label %214

193:                                              ; preds = %85
  %194 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %194, ptr %16, align 4, !tbaa !9
  %195 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %195, ptr %17, align 4, !tbaa !9
  %196 = load ptr, ptr %6, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.w2c_hermes, ptr %196, i32 0, i32 6
  %198 = load i32, ptr %17, align 4, !tbaa !9
  %199 = zext i32 %198 to i64
  %200 = call i32 @i32_load(ptr noundef %197, i64 noundef %199)
  store i32 %200, ptr %17, align 4, !tbaa !9
  %201 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %201, ptr %18, align 4, !tbaa !9
  store i32 20, ptr %19, align 4, !tbaa !9
  %202 = load i32, ptr %19, align 4, !tbaa !9
  %203 = load i32, ptr %18, align 4, !tbaa !9
  %204 = sub i32 %203, %202
  store i32 %204, ptr %18, align 4, !tbaa !9
  %205 = load ptr, ptr %6, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.w2c_hermes, ptr %205, i32 0, i32 6
  %207 = load i32, ptr %18, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = call i32 @i32_load(ptr noundef %206, i64 noundef %208)
  store i32 %209, ptr %18, align 4, !tbaa !9
  %210 = load ptr, ptr %6, align 8, !tbaa !5
  %211 = load i32, ptr %16, align 4, !tbaa !9
  %212 = load i32, ptr %17, align 4, !tbaa !9
  %213 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %210, i32 noundef %211, i32 noundef %212, i32 noundef %213)
  br label %214

214:                                              ; preds = %193, %166
  %215 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %215, ptr %16, align 4, !tbaa !9
  store i32 12, ptr %17, align 4, !tbaa !9
  %216 = load i32, ptr %17, align 4, !tbaa !9
  %217 = load i32, ptr %16, align 4, !tbaa !9
  %218 = sub i32 %217, %216
  store i32 %218, ptr %16, align 4, !tbaa !9
  %219 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %219, ptr %12, align 4, !tbaa !9
  %220 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %220, ptr %16, align 4, !tbaa !9
  store i32 52, ptr %17, align 4, !tbaa !9
  %221 = load i32, ptr %17, align 4, !tbaa !9
  %222 = load i32, ptr %16, align 4, !tbaa !9
  %223 = add i32 %222, %221
  store i32 %223, ptr %16, align 4, !tbaa !9
  %224 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %224, ptr %13, align 4, !tbaa !9
  %225 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %225, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %226 = load i32, ptr %17, align 4, !tbaa !9
  %227 = load i32, ptr %16, align 4, !tbaa !9
  %228 = sub i32 %227, %226
  store i32 %228, ptr %16, align 4, !tbaa !9
  %229 = load ptr, ptr %6, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.w2c_hermes, ptr %229, i32 0, i32 6
  %231 = load i32, ptr %16, align 4, !tbaa !9
  %232 = zext i32 %231 to i64
  %233 = call i32 @i32_load8_s(ptr noundef %230, i64 noundef %232)
  store i32 %233, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %234 = load i32, ptr %16, align 4, !tbaa !9
  %235 = load i32, ptr %17, align 4, !tbaa !9
  %236 = icmp sge i32 %234, %235
  %237 = zext i1 %236 to i32
  store i32 %237, ptr %16, align 4, !tbaa !9
  %238 = load i32, ptr %16, align 4, !tbaa !9
  %239 = icmp ne i32 %238, 0
  br i1 %239, label %240, label %267

240:                                              ; preds = %214
  %241 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %241, ptr %16, align 4, !tbaa !9
  %242 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %242, ptr %17, align 4, !tbaa !9
  %243 = load ptr, ptr %6, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.w2c_hermes, ptr %243, i32 0, i32 6
  %245 = load i32, ptr %17, align 4, !tbaa !9
  %246 = zext i32 %245 to i64
  %247 = call i64 @i64_load(ptr noundef %244, i64 noundef %246)
  store i64 %247, ptr %20, align 8, !tbaa !19
  %248 = load ptr, ptr %6, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.w2c_hermes, ptr %248, i32 0, i32 6
  %250 = load i32, ptr %16, align 4, !tbaa !9
  %251 = zext i32 %250 to i64
  %252 = load i64, ptr %20, align 8, !tbaa !19
  call void @i64_store(ptr noundef %249, i64 noundef %251, i64 noundef %252)
  %253 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %253, ptr %16, align 4, !tbaa !9
  %254 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %254, ptr %17, align 4, !tbaa !9
  %255 = load ptr, ptr %6, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.w2c_hermes, ptr %255, i32 0, i32 6
  %257 = load i32, ptr %17, align 4, !tbaa !9
  %258 = zext i32 %257 to i64
  %259 = add i64 %258, 8
  %260 = call i32 @i32_load(ptr noundef %256, i64 noundef %259)
  store i32 %260, ptr %17, align 4, !tbaa !9
  %261 = load ptr, ptr %6, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.w2c_hermes, ptr %261, i32 0, i32 6
  %263 = load i32, ptr %16, align 4, !tbaa !9
  %264 = zext i32 %263 to i64
  %265 = add i64 %264, 8
  %266 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %262, i64 noundef %265, i32 noundef %266)
  br label %288

267:                                              ; preds = %214
  %268 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %268, ptr %16, align 4, !tbaa !9
  %269 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %269, ptr %17, align 4, !tbaa !9
  %270 = load ptr, ptr %6, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.w2c_hermes, ptr %270, i32 0, i32 6
  %272 = load i32, ptr %17, align 4, !tbaa !9
  %273 = zext i32 %272 to i64
  %274 = call i32 @i32_load(ptr noundef %271, i64 noundef %273)
  store i32 %274, ptr %17, align 4, !tbaa !9
  %275 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %275, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %276 = load i32, ptr %19, align 4, !tbaa !9
  %277 = load i32, ptr %18, align 4, !tbaa !9
  %278 = sub i32 %277, %276
  store i32 %278, ptr %18, align 4, !tbaa !9
  %279 = load ptr, ptr %6, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.w2c_hermes, ptr %279, i32 0, i32 6
  %281 = load i32, ptr %18, align 4, !tbaa !9
  %282 = zext i32 %281 to i64
  %283 = call i32 @i32_load(ptr noundef %280, i64 noundef %282)
  store i32 %283, ptr %18, align 4, !tbaa !9
  %284 = load ptr, ptr %6, align 8, !tbaa !5
  %285 = load i32, ptr %16, align 4, !tbaa !9
  %286 = load i32, ptr %17, align 4, !tbaa !9
  %287 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %284, i32 noundef %285, i32 noundef %286, i32 noundef %287)
  br label %288

288:                                              ; preds = %267, %240
  br label %289

289:                                              ; preds = %343, %288
  %290 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %290, ptr %16, align 4, !tbaa !9
  %291 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %291, ptr %17, align 4, !tbaa !9
  %292 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %292, ptr %8, align 4, !tbaa !9
  %293 = load ptr, ptr %6, align 8, !tbaa !5
  %294 = load i32, ptr %16, align 4, !tbaa !9
  %295 = load i32, ptr %17, align 4, !tbaa !9
  %296 = call i32 @w2c_hermes_llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x20const0x260x29(ptr noundef %293, i32 noundef %294, i32 noundef %295)
  store i32 %296, ptr %16, align 4, !tbaa !9
  %297 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %297, ptr %16, align 4, !tbaa !9
  %298 = load i32, ptr %16, align 4, !tbaa !9
  %299 = icmp ne i32 %298, 0
  %300 = xor i1 %299, true
  %301 = zext i1 %300 to i32
  store i32 %301, ptr %16, align 4, !tbaa !9
  %302 = load i32, ptr %16, align 4, !tbaa !9
  %303 = icmp ne i32 %302, 0
  br i1 %303, label %304, label %305

304:                                              ; preds = %289
  br label %345

305:                                              ; preds = %289
  %306 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %306, ptr %16, align 4, !tbaa !9
  %307 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %307, ptr %14, align 4, !tbaa !9
  %308 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %308, ptr %16, align 4, !tbaa !9
  %309 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %309, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %310 = load i32, ptr %18, align 4, !tbaa !9
  %311 = load i32, ptr %17, align 4, !tbaa !9
  %312 = sub i32 %311, %310
  store i32 %312, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %313 = load i32, ptr %18, align 4, !tbaa !9
  %314 = and i32 %313, 31
  %315 = load i32, ptr %17, align 4, !tbaa !9
  %316 = lshr i32 %315, %314
  store i32 %316, ptr %17, align 4, !tbaa !9
  %317 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %317, ptr %10, align 4, !tbaa !9
  store i32 56, ptr %18, align 4, !tbaa !9
  %318 = load i32, ptr %18, align 4, !tbaa !9
  %319 = load i32, ptr %17, align 4, !tbaa !9
  %320 = mul i32 %319, %318
  store i32 %320, ptr %17, align 4, !tbaa !9
  %321 = load i32, ptr %17, align 4, !tbaa !9
  %322 = load i32, ptr %16, align 4, !tbaa !9
  %323 = add i32 %322, %321
  store i32 %323, ptr %16, align 4, !tbaa !9
  %324 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %324, ptr %15, align 4, !tbaa !9
  %325 = load ptr, ptr %6, align 8, !tbaa !5
  %326 = getelementptr inbounds %struct.w2c_hermes, ptr %325, i32 0, i32 6
  %327 = load i32, ptr %16, align 4, !tbaa !9
  %328 = zext i32 %327 to i64
  %329 = call double @f64_load(ptr noundef %326, i64 noundef %328)
  store double %329, ptr %21, align 8, !tbaa !17
  %330 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %330, ptr %17, align 4, !tbaa !9
  %331 = load ptr, ptr %6, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.w2c_hermes, ptr %331, i32 0, i32 6
  %333 = load i32, ptr %17, align 4, !tbaa !9
  %334 = zext i32 %333 to i64
  %335 = add i64 %334, 8
  %336 = call double @f64_load(ptr noundef %332, i64 noundef %335)
  store double %336, ptr %22, align 8, !tbaa !17
  %337 = load double, ptr %21, align 8, !tbaa !17
  %338 = load double, ptr %22, align 8, !tbaa !17
  %339 = fcmp olt double %337, %338
  %340 = zext i1 %339 to i32
  store i32 %340, ptr %16, align 4, !tbaa !9
  %341 = load i32, ptr %16, align 4, !tbaa !9
  %342 = icmp ne i32 %341, 0
  br i1 %342, label %343, label %344

343:                                              ; preds = %305
  br label %289

344:                                              ; preds = %305
  br label %345

345:                                              ; preds = %344, %304
  %346 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %346, ptr %16, align 4, !tbaa !9
  %347 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %347, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %348 = load i32, ptr %18, align 4, !tbaa !9
  %349 = load i32, ptr %17, align 4, !tbaa !9
  %350 = add i32 %349, %348
  store i32 %350, ptr %17, align 4, !tbaa !9
  %351 = load ptr, ptr %6, align 8, !tbaa !5
  %352 = load i32, ptr %16, align 4, !tbaa !9
  %353 = load i32, ptr %17, align 4, !tbaa !9
  %354 = call i32 @w2c_hermes_llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x20const0x260x29(ptr noundef %351, i32 noundef %352, i32 noundef %353)
  store i32 %354, ptr %16, align 4, !tbaa !9
  %355 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %355, ptr %16, align 4, !tbaa !9
  %356 = load ptr, ptr %6, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.w2c_hermes, ptr %356, i32 0, i32 6
  %358 = load i32, ptr %16, align 4, !tbaa !9
  %359 = zext i32 %358 to i64
  %360 = add i64 %359, 63
  %361 = call i32 @i32_load8_s(ptr noundef %357, i64 noundef %360)
  store i32 %361, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %362 = load i32, ptr %16, align 4, !tbaa !9
  %363 = load i32, ptr %17, align 4, !tbaa !9
  %364 = icmp slt i32 %362, %363
  %365 = zext i1 %364 to i32
  store i32 %365, ptr %16, align 4, !tbaa !9
  %366 = load i32, ptr %16, align 4, !tbaa !9
  %367 = icmp ne i32 %366, 0
  br i1 %367, label %368, label %378

368:                                              ; preds = %345
  %369 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %369, ptr %16, align 4, !tbaa !9
  %370 = load ptr, ptr %6, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.w2c_hermes, ptr %370, i32 0, i32 6
  %372 = load i32, ptr %16, align 4, !tbaa !9
  %373 = zext i32 %372 to i64
  %374 = add i64 %373, 52
  %375 = call i32 @i32_load(ptr noundef %371, i64 noundef %374)
  store i32 %375, ptr %16, align 4, !tbaa !9
  %376 = load ptr, ptr %6, align 8, !tbaa !5
  %377 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %376, i32 noundef %377)
  br label %378

378:                                              ; preds = %368, %345
  %379 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %379, ptr %16, align 4, !tbaa !9
  %380 = load ptr, ptr %6, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.w2c_hermes, ptr %380, i32 0, i32 6
  %382 = load i32, ptr %16, align 4, !tbaa !9
  %383 = zext i32 %382 to i64
  %384 = add i64 %383, 51
  %385 = call i32 @i32_load8_s(ptr noundef %381, i64 noundef %384)
  store i32 %385, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %386 = load i32, ptr %16, align 4, !tbaa !9
  %387 = load i32, ptr %17, align 4, !tbaa !9
  %388 = icmp sge i32 %386, %387
  %389 = zext i1 %388 to i32
  store i32 %389, ptr %16, align 4, !tbaa !9
  %390 = load i32, ptr %16, align 4, !tbaa !9
  %391 = icmp ne i32 %390, 0
  br i1 %391, label %392, label %393

392:                                              ; preds = %378
  br label %403

393:                                              ; preds = %378
  %394 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %394, ptr %16, align 4, !tbaa !9
  %395 = load ptr, ptr %6, align 8, !tbaa !5
  %396 = getelementptr inbounds %struct.w2c_hermes, ptr %395, i32 0, i32 6
  %397 = load i32, ptr %16, align 4, !tbaa !9
  %398 = zext i32 %397 to i64
  %399 = add i64 %398, 40
  %400 = call i32 @i32_load(ptr noundef %396, i64 noundef %399)
  store i32 %400, ptr %16, align 4, !tbaa !9
  %401 = load ptr, ptr %6, align 8, !tbaa !5
  %402 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %401, i32 noundef %402)
  br label %403

403:                                              ; preds = %393, %392, %84, %40
  %404 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %404, ptr %16, align 4, !tbaa !9
  store i32 -64, ptr %17, align 4, !tbaa !9
  %405 = load i32, ptr %17, align 4, !tbaa !9
  %406 = load i32, ptr %16, align 4, !tbaa !9
  %407 = sub i32 %406, %405
  store i32 %407, ptr %16, align 4, !tbaa !9
  %408 = load i32, ptr %16, align 4, !tbaa !9
  %409 = load ptr, ptr %6, align 8, !tbaa !5
  %410 = getelementptr inbounds %struct.w2c_hermes, ptr %409, i32 0, i32 3
  store i32 %408, ptr %410, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  ret void
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 24}
!12 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !16, i64 80}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !7, i64 0}
!19 = !{!14, !14, i64 0}


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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_s(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @f64_load(ptr noundef, i64 noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsift_up0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3E0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x3E0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Aiterator_traits0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x3E0x3A0x3Adifference_type0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #1 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -64
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = icmp slt i32 %4, 2
  br i1 %9, label %99, label %10

10:                                               ; preds = %5
  %11 = add nsw i32 %4, -2
  %12 = lshr i32 %11, 1
  %13 = mul i32 %12, 56
  %14 = add i32 %13, %1
  %15 = getelementptr inbounds i8, ptr %0, i64 40
  %16 = zext i32 %14 to i64
  %17 = tail call double @f64_load(ptr noundef nonnull %15, i64 noundef %16)
  %18 = add i32 %2, -56
  %19 = zext i32 %18 to i64
  %20 = tail call double @f64_load(ptr noundef nonnull %15, i64 noundef %19)
  %21 = fcmp uge double %17, %20
  br i1 %21, label %99, label %22

22:                                               ; preds = %10
  %23 = add nuw nsw i64 %19, 24
  %24 = tail call i64 @i64_load(ptr noundef nonnull %15, i64 noundef %23)
  %25 = zext i32 %8 to i64
  %26 = add nuw nsw i64 %25, 32
  tail call void @i64_store(ptr noundef nonnull %15, i64 noundef %26, i64 noundef %24)
  %27 = add nuw nsw i64 %19, 16
  %28 = tail call i64 @i64_load(ptr noundef nonnull %15, i64 noundef %27)
  %29 = add nuw nsw i64 %25, 24
  tail call void @i64_store(ptr noundef nonnull %15, i64 noundef %29, i64 noundef %28)
  %30 = add nuw nsw i64 %19, 8
  %31 = tail call i64 @i64_load(ptr noundef nonnull %15, i64 noundef %30)
  %32 = add nuw nsw i64 %25, 16
  tail call void @i64_store(ptr noundef nonnull %15, i64 noundef %32, i64 noundef %31)
  %33 = tail call i64 @i64_load(ptr noundef nonnull %15, i64 noundef %19)
  %34 = add nuw nsw i64 %25, 8
  tail call void @i64_store(ptr noundef nonnull %15, i64 noundef %34, i64 noundef %33)
  %35 = add i32 %2, -24
  %36 = add i32 %7, -24
  %37 = add i32 %2, -13
  %38 = zext i32 %37 to i64
  %39 = tail call i32 @i32_load8_s(ptr noundef nonnull %15, i64 noundef %38)
  %40 = icmp sgt i32 %39, -1
  %41 = zext i32 %35 to i64
  br i1 %40, label %42, label %48

42:                                               ; preds = %22
  %43 = tail call i64 @i64_load(ptr noundef nonnull %15, i64 noundef %41)
  %44 = zext i32 %36 to i64
  tail call void @i64_store(ptr noundef nonnull %15, i64 noundef %44, i64 noundef %43)
  %45 = add nuw nsw i64 %41, 8
  %46 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %45)
  %47 = add nuw nsw i64 %44, 8
  tail call void @i32_store(ptr noundef nonnull %15, i64 noundef %47, i32 noundef %46)
  br label %53

48:                                               ; preds = %22
  %49 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %41)
  %50 = add i32 %2, -20
  %51 = zext i32 %50 to i64
  %52 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %51)
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %36, i32 noundef %49, i32 noundef %52)
  br label %53

53:                                               ; preds = %48, %42
  %54 = add i32 %2, -12
  %55 = add i32 %7, -12
  %56 = add i32 %2, -1
  %57 = zext i32 %56 to i64
  %58 = tail call i32 @i32_load8_s(ptr noundef nonnull %15, i64 noundef %57)
  %59 = icmp sgt i32 %58, -1
  %60 = zext i32 %54 to i64
  br i1 %59, label %61, label %67

61:                                               ; preds = %53
  %62 = tail call i64 @i64_load(ptr noundef nonnull %15, i64 noundef %60)
  %63 = zext i32 %55 to i64
  tail call void @i64_store(ptr noundef nonnull %15, i64 noundef %63, i64 noundef %62)
  %64 = add nuw nsw i64 %60, 8
  %65 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %64)
  %66 = add nuw nsw i64 %63, 8
  tail call void @i32_store(ptr noundef nonnull %15, i64 noundef %66, i32 noundef %65)
  br label %.preheader

67:                                               ; preds = %53
  %68 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %60)
  %69 = add i32 %2, -8
  %70 = zext i32 %69 to i64
  %71 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %70)
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %55, i32 noundef %68, i32 noundef %71)
  br label %.preheader

.preheader:                                       ; preds = %67, %61
  br label %72

72:                                               ; preds = %.preheader, %74
  %.0213 = phi i32 [ %76, %74 ], [ %12, %.preheader ]
  %.0212 = phi i32 [ %.0, %74 ], [ %18, %.preheader ]
  %.0 = phi i32 [ %78, %74 ], [ %14, %.preheader ]
  %73 = tail call i32 @w2c_hermes_llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x20const0x260x29(ptr noundef %0, i32 noundef %.0212, i32 noundef %.0) #3
  %.not = icmp eq i32 %.0213, 0
  br i1 %.not, label %83, label %74

74:                                               ; preds = %72
  %75 = add nsw i32 %.0213, -1
  %76 = lshr i32 %75, 1
  %77 = mul i32 %76, 56
  %78 = add i32 %77, %1
  %79 = zext i32 %78 to i64
  %80 = tail call double @f64_load(ptr noundef nonnull %15, i64 noundef %79)
  %81 = tail call double @f64_load(ptr noundef nonnull %15, i64 noundef %34)
  %82 = fcmp olt double %80, %81
  br i1 %82, label %72, label %83

83:                                               ; preds = %74, %72
  %84 = add i32 %7, -56
  %85 = tail call i32 @w2c_hermes_llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x20const0x260x29(ptr noundef %0, i32 noundef %.0, i32 noundef %84) #3
  %86 = add nuw nsw i64 %25, 63
  %87 = tail call i32 @i32_load8_s(ptr noundef nonnull %15, i64 noundef %86)
  %88 = icmp slt i32 %87, 0
  br i1 %88, label %89, label %92

89:                                               ; preds = %83
  %90 = add nuw nsw i64 %25, 52
  %91 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %90)
  tail call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %0, i32 noundef %91) #3
  br label %92

92:                                               ; preds = %89, %83
  %93 = add nuw nsw i64 %25, 51
  %94 = tail call i32 @i32_load8_s(ptr noundef nonnull %15, i64 noundef %93)
  %95 = icmp sgt i32 %94, -1
  br i1 %95, label %99, label %96

96:                                               ; preds = %92
  %97 = add nuw nsw i64 %25, 40
  %98 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %97)
  tail call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %0, i32 noundef %98) #3
  br label %99

99:                                               ; preds = %92, %10, %5, %96
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}


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