; 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: nounwind uwtable
define dso_local void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aiter_swap0x5Babi0x3Av150070x5D0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x3E0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %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 i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.w2c_hermes, ptr %14, i32 0, i32 3
  %16 = load i32, ptr %15, align 8, !tbaa !11
  store i32 %16, ptr %10, align 4, !tbaa !9
  store i32 -64, ptr %11, align 4, !tbaa !9
  %17 = load i32, ptr %11, align 4, !tbaa !9
  %18 = load i32, ptr %10, align 4, !tbaa !9
  %19 = add i32 %18, %17
  store i32 %19, ptr %10, align 4, !tbaa !9
  %20 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %20, ptr %7, align 4, !tbaa !9
  %21 = load i32, ptr %10, align 4, !tbaa !9
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.w2c_hermes, ptr %22, i32 0, i32 3
  store i32 %21, ptr %23, align 8, !tbaa !11
  %24 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %24, ptr %10, align 4, !tbaa !9
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.w2c_hermes, ptr %25, i32 0, i32 6
  %27 = load i32, ptr %10, align 4, !tbaa !9
  %28 = zext i32 %27 to i64
  %29 = call i32 @i32_load(ptr noundef %26, i64 noundef %28)
  store i32 %29, ptr %10, align 4, !tbaa !9
  %30 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %30, ptr %6, align 4, !tbaa !9
  %31 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %31, ptr %10, align 4, !tbaa !9
  %32 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %32, ptr %11, align 4, !tbaa !9
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.w2c_hermes, ptr %33, i32 0, i32 6
  %35 = load i32, ptr %11, align 4, !tbaa !9
  %36 = zext i32 %35 to i64
  %37 = call i32 @i32_load(ptr noundef %34, i64 noundef %36)
  store i32 %37, ptr %11, align 4, !tbaa !9
  %38 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %38, ptr %5, align 4, !tbaa !9
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.w2c_hermes, ptr %39, i32 0, i32 6
  %41 = load i32, ptr %11, align 4, !tbaa !9
  %42 = zext i32 %41 to i64
  %43 = add i64 %42, 24
  %44 = call i64 @i64_load(ptr noundef %40, i64 noundef %43)
  store i64 %44, ptr %13, align 8, !tbaa !17
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.w2c_hermes, ptr %45, i32 0, i32 6
  %47 = load i32, ptr %10, align 4, !tbaa !9
  %48 = zext i32 %47 to i64
  %49 = add i64 %48, 32
  %50 = load i64, ptr %13, align 8, !tbaa !17
  call void @i64_store(ptr noundef %46, i64 noundef %49, i64 noundef %50)
  %51 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %51, ptr %10, align 4, !tbaa !9
  %52 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %52, ptr %11, align 4, !tbaa !9
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.w2c_hermes, ptr %53, i32 0, i32 6
  %55 = load i32, ptr %11, align 4, !tbaa !9
  %56 = zext i32 %55 to i64
  %57 = add i64 %56, 16
  %58 = call i64 @i64_load(ptr noundef %54, i64 noundef %57)
  store i64 %58, ptr %13, align 8, !tbaa !17
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.w2c_hermes, ptr %59, i32 0, i32 6
  %61 = load i32, ptr %10, align 4, !tbaa !9
  %62 = zext i32 %61 to i64
  %63 = add i64 %62, 24
  %64 = load i64, ptr %13, align 8, !tbaa !17
  call void @i64_store(ptr noundef %60, i64 noundef %63, i64 noundef %64)
  %65 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %65, ptr %10, align 4, !tbaa !9
  %66 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %66, ptr %11, align 4, !tbaa !9
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.w2c_hermes, ptr %67, i32 0, i32 6
  %69 = load i32, ptr %11, align 4, !tbaa !9
  %70 = zext i32 %69 to i64
  %71 = add i64 %70, 8
  %72 = call i64 @i64_load(ptr noundef %68, i64 noundef %71)
  store i64 %72, ptr %13, align 8, !tbaa !17
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.w2c_hermes, ptr %73, i32 0, i32 6
  %75 = load i32, ptr %10, align 4, !tbaa !9
  %76 = zext i32 %75 to i64
  %77 = add i64 %76, 16
  %78 = load i64, ptr %13, align 8, !tbaa !17
  call void @i64_store(ptr noundef %74, i64 noundef %77, i64 noundef %78)
  %79 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %79, ptr %10, align 4, !tbaa !9
  %80 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %80, ptr %11, align 4, !tbaa !9
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.w2c_hermes, ptr %81, i32 0, i32 6
  %83 = load i32, ptr %11, align 4, !tbaa !9
  %84 = zext i32 %83 to i64
  %85 = call i64 @i64_load(ptr noundef %82, i64 noundef %84)
  store i64 %85, ptr %13, align 8, !tbaa !17
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.w2c_hermes, ptr %86, i32 0, i32 6
  %88 = load i32, ptr %10, align 4, !tbaa !9
  %89 = zext i32 %88 to i64
  %90 = add i64 %89, 8
  %91 = load i64, ptr %13, align 8, !tbaa !17
  call void @i64_store(ptr noundef %87, i64 noundef %90, i64 noundef %91)
  %92 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %92, ptr %10, align 4, !tbaa !9
  store i32 40, ptr %11, align 4, !tbaa !9
  %93 = load i32, ptr %11, align 4, !tbaa !9
  %94 = load i32, ptr %10, align 4, !tbaa !9
  %95 = add i32 %94, %93
  store i32 %95, ptr %10, align 4, !tbaa !9
  %96 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %96, ptr %8, align 4, !tbaa !9
  %97 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %97, ptr %10, align 4, !tbaa !9
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.w2c_hermes, ptr %98, i32 0, i32 6
  %100 = load i32, ptr %10, align 4, !tbaa !9
  %101 = zext i32 %100 to i64
  %102 = add i64 %101, 43
  %103 = call i32 @i32_load8_s(ptr noundef %99, i64 noundef %102)
  store i32 %103, ptr %10, align 4, !tbaa !9
  store i32 0, ptr %11, align 4, !tbaa !9
  %104 = load i32, ptr %10, align 4, !tbaa !9
  %105 = load i32, ptr %11, align 4, !tbaa !9
  %106 = icmp sge i32 %104, %105
  %107 = zext i1 %106 to i32
  store i32 %107, ptr %10, align 4, !tbaa !9
  %108 = load i32, ptr %10, align 4, !tbaa !9
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %110, label %141

110:                                              ; preds = %3
  %111 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %111, ptr %10, align 4, !tbaa !9
  %112 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %112, ptr %11, align 4, !tbaa !9
  store i32 32, ptr %12, align 4, !tbaa !9
  %113 = load i32, ptr %12, align 4, !tbaa !9
  %114 = load i32, ptr %11, align 4, !tbaa !9
  %115 = add i32 %114, %113
  store i32 %115, ptr %11, align 4, !tbaa !9
  %116 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %116, ptr %9, align 4, !tbaa !9
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.w2c_hermes, ptr %117, i32 0, i32 6
  %119 = load i32, ptr %11, align 4, !tbaa !9
  %120 = zext i32 %119 to i64
  %121 = call i64 @i64_load(ptr noundef %118, i64 noundef %120)
  store i64 %121, ptr %13, align 8, !tbaa !17
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.w2c_hermes, ptr %122, i32 0, i32 6
  %124 = load i32, ptr %10, align 4, !tbaa !9
  %125 = zext i32 %124 to i64
  %126 = load i64, ptr %13, align 8, !tbaa !17
  call void @i64_store(ptr noundef %123, i64 noundef %125, i64 noundef %126)
  %127 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %127, ptr %10, align 4, !tbaa !9
  %128 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %128, ptr %11, align 4, !tbaa !9
  %129 = load ptr, ptr %4, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.w2c_hermes, ptr %129, i32 0, i32 6
  %131 = load i32, ptr %11, align 4, !tbaa !9
  %132 = zext i32 %131 to i64
  %133 = add i64 %132, 8
  %134 = call i32 @i32_load(ptr noundef %130, i64 noundef %133)
  store i32 %134, ptr %11, align 4, !tbaa !9
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.w2c_hermes, ptr %135, i32 0, i32 6
  %137 = load i32, ptr %10, align 4, !tbaa !9
  %138 = zext i32 %137 to i64
  %139 = add i64 %138, 8
  %140 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %136, i64 noundef %139, i32 noundef %140)
  br label %161

141:                                              ; preds = %3
  %142 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %142, ptr %10, align 4, !tbaa !9
  %143 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %143, ptr %11, align 4, !tbaa !9
  %144 = load ptr, ptr %4, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.w2c_hermes, ptr %144, i32 0, i32 6
  %146 = load i32, ptr %11, align 4, !tbaa !9
  %147 = zext i32 %146 to i64
  %148 = add i64 %147, 32
  %149 = call i32 @i32_load(ptr noundef %145, i64 noundef %148)
  store i32 %149, ptr %11, align 4, !tbaa !9
  %150 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %150, ptr %12, align 4, !tbaa !9
  %151 = load ptr, ptr %4, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.w2c_hermes, ptr %151, i32 0, i32 6
  %153 = load i32, ptr %12, align 4, !tbaa !9
  %154 = zext i32 %153 to i64
  %155 = add i64 %154, 36
  %156 = call i32 @i32_load(ptr noundef %152, i64 noundef %155)
  store i32 %156, ptr %12, align 4, !tbaa !9
  %157 = load ptr, ptr %4, align 8, !tbaa !5
  %158 = load i32, ptr %10, align 4, !tbaa !9
  %159 = load i32, ptr %11, align 4, !tbaa !9
  %160 = load i32, ptr %12, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %157, i32 noundef %158, i32 noundef %159, i32 noundef %160)
  br label %161

161:                                              ; preds = %141, %110
  %162 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %162, ptr %10, align 4, !tbaa !9
  store i32 52, ptr %11, align 4, !tbaa !9
  %163 = load i32, ptr %11, align 4, !tbaa !9
  %164 = load i32, ptr %10, align 4, !tbaa !9
  %165 = add i32 %164, %163
  store i32 %165, ptr %10, align 4, !tbaa !9
  %166 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %166, ptr %8, align 4, !tbaa !9
  %167 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %167, ptr %10, align 4, !tbaa !9
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.w2c_hermes, ptr %168, i32 0, i32 6
  %170 = load i32, ptr %10, align 4, !tbaa !9
  %171 = zext i32 %170 to i64
  %172 = add i64 %171, 55
  %173 = call i32 @i32_load8_s(ptr noundef %169, i64 noundef %172)
  store i32 %173, ptr %10, align 4, !tbaa !9
  store i32 0, ptr %11, align 4, !tbaa !9
  %174 = load i32, ptr %10, align 4, !tbaa !9
  %175 = load i32, ptr %11, align 4, !tbaa !9
  %176 = icmp sge i32 %174, %175
  %177 = zext i1 %176 to i32
  store i32 %177, ptr %10, align 4, !tbaa !9
  %178 = load i32, ptr %10, align 4, !tbaa !9
  %179 = icmp ne i32 %178, 0
  br i1 %179, label %180, label %211

180:                                              ; preds = %161
  %181 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %181, ptr %10, align 4, !tbaa !9
  %182 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %182, ptr %11, align 4, !tbaa !9
  store i32 44, ptr %12, align 4, !tbaa !9
  %183 = load i32, ptr %12, align 4, !tbaa !9
  %184 = load i32, ptr %11, align 4, !tbaa !9
  %185 = add i32 %184, %183
  store i32 %185, ptr %11, align 4, !tbaa !9
  %186 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %186, ptr %9, align 4, !tbaa !9
  %187 = load ptr, ptr %4, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.w2c_hermes, ptr %187, i32 0, i32 6
  %189 = load i32, ptr %11, align 4, !tbaa !9
  %190 = zext i32 %189 to i64
  %191 = call i64 @i64_load(ptr noundef %188, i64 noundef %190)
  store i64 %191, ptr %13, align 8, !tbaa !17
  %192 = load ptr, ptr %4, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.w2c_hermes, ptr %192, i32 0, i32 6
  %194 = load i32, ptr %10, align 4, !tbaa !9
  %195 = zext i32 %194 to i64
  %196 = load i64, ptr %13, align 8, !tbaa !17
  call void @i64_store(ptr noundef %193, i64 noundef %195, i64 noundef %196)
  %197 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %197, ptr %10, align 4, !tbaa !9
  %198 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %198, ptr %11, align 4, !tbaa !9
  %199 = load ptr, ptr %4, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.w2c_hermes, ptr %199, i32 0, i32 6
  %201 = load i32, ptr %11, align 4, !tbaa !9
  %202 = zext i32 %201 to i64
  %203 = add i64 %202, 8
  %204 = call i32 @i32_load(ptr noundef %200, i64 noundef %203)
  store i32 %204, ptr %11, align 4, !tbaa !9
  %205 = load ptr, ptr %4, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.w2c_hermes, ptr %205, i32 0, i32 6
  %207 = load i32, ptr %10, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = add i64 %208, 8
  %210 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %206, i64 noundef %209, i32 noundef %210)
  br label %231

211:                                              ; preds = %161
  %212 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %212, ptr %10, align 4, !tbaa !9
  %213 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %213, ptr %11, align 4, !tbaa !9
  %214 = load ptr, ptr %4, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.w2c_hermes, ptr %214, i32 0, i32 6
  %216 = load i32, ptr %11, align 4, !tbaa !9
  %217 = zext i32 %216 to i64
  %218 = add i64 %217, 44
  %219 = call i32 @i32_load(ptr noundef %215, i64 noundef %218)
  store i32 %219, ptr %11, align 4, !tbaa !9
  %220 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %220, ptr %12, align 4, !tbaa !9
  %221 = load ptr, ptr %4, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.w2c_hermes, ptr %221, i32 0, i32 6
  %223 = load i32, ptr %12, align 4, !tbaa !9
  %224 = zext i32 %223 to i64
  %225 = add i64 %224, 48
  %226 = call i32 @i32_load(ptr noundef %222, i64 noundef %225)
  store i32 %226, ptr %12, align 4, !tbaa !9
  %227 = load ptr, ptr %4, align 8, !tbaa !5
  %228 = load i32, ptr %10, align 4, !tbaa !9
  %229 = load i32, ptr %11, align 4, !tbaa !9
  %230 = load i32, ptr %12, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %227, i32 noundef %228, i32 noundef %229, i32 noundef %230)
  br label %231

231:                                              ; preds = %211, %180
  %232 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %232, ptr %10, align 4, !tbaa !9
  %233 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %233, ptr %11, align 4, !tbaa !9
  %234 = load ptr, ptr %4, align 8, !tbaa !5
  %235 = load i32, ptr %10, align 4, !tbaa !9
  %236 = load i32, ptr %11, align 4, !tbaa !9
  %237 = call i32 @w2c_hermes_llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x20const0x260x29(ptr noundef %234, i32 noundef %235, i32 noundef %236)
  store i32 %237, ptr %10, align 4, !tbaa !9
  %238 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %238, ptr %10, align 4, !tbaa !9
  %239 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %239, ptr %11, align 4, !tbaa !9
  store i32 8, ptr %12, align 4, !tbaa !9
  %240 = load i32, ptr %12, align 4, !tbaa !9
  %241 = load i32, ptr %11, align 4, !tbaa !9
  %242 = add i32 %241, %240
  store i32 %242, ptr %11, align 4, !tbaa !9
  %243 = load ptr, ptr %4, align 8, !tbaa !5
  %244 = load i32, ptr %10, align 4, !tbaa !9
  %245 = load i32, ptr %11, align 4, !tbaa !9
  %246 = call i32 @w2c_hermes_llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x20const0x260x29(ptr noundef %243, i32 noundef %244, i32 noundef %245)
  store i32 %246, ptr %10, align 4, !tbaa !9
  %247 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %247, ptr %10, align 4, !tbaa !9
  %248 = load ptr, ptr %4, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.w2c_hermes, ptr %248, i32 0, i32 6
  %250 = load i32, ptr %10, align 4, !tbaa !9
  %251 = zext i32 %250 to i64
  %252 = add i64 %251, 63
  %253 = call i32 @i32_load8_s(ptr noundef %249, i64 noundef %252)
  store i32 %253, ptr %10, align 4, !tbaa !9
  store i32 0, ptr %11, align 4, !tbaa !9
  %254 = load i32, ptr %10, align 4, !tbaa !9
  %255 = load i32, ptr %11, align 4, !tbaa !9
  %256 = icmp slt i32 %254, %255
  %257 = zext i1 %256 to i32
  store i32 %257, ptr %10, align 4, !tbaa !9
  %258 = load i32, ptr %10, align 4, !tbaa !9
  %259 = icmp ne i32 %258, 0
  br i1 %259, label %260, label %270

260:                                              ; preds = %231
  %261 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %261, ptr %10, align 4, !tbaa !9
  %262 = load ptr, ptr %4, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.w2c_hermes, ptr %262, i32 0, i32 6
  %264 = load i32, ptr %10, align 4, !tbaa !9
  %265 = zext i32 %264 to i64
  %266 = add i64 %265, 52
  %267 = call i32 @i32_load(ptr noundef %263, i64 noundef %266)
  store i32 %267, ptr %10, align 4, !tbaa !9
  %268 = load ptr, ptr %4, align 8, !tbaa !5
  %269 = load i32, ptr %10, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %268, i32 noundef %269)
  br label %270

270:                                              ; preds = %260, %231
  %271 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %271, ptr %10, align 4, !tbaa !9
  %272 = load ptr, ptr %4, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.w2c_hermes, ptr %272, i32 0, i32 6
  %274 = load i32, ptr %10, align 4, !tbaa !9
  %275 = zext i32 %274 to i64
  %276 = add i64 %275, 51
  %277 = call i32 @i32_load8_s(ptr noundef %273, i64 noundef %276)
  store i32 %277, ptr %10, align 4, !tbaa !9
  store i32 0, ptr %11, align 4, !tbaa !9
  %278 = load i32, ptr %10, align 4, !tbaa !9
  %279 = load i32, ptr %11, align 4, !tbaa !9
  %280 = icmp slt i32 %278, %279
  %281 = zext i1 %280 to i32
  store i32 %281, ptr %10, align 4, !tbaa !9
  %282 = load i32, ptr %10, align 4, !tbaa !9
  %283 = icmp ne i32 %282, 0
  br i1 %283, label %284, label %294

284:                                              ; preds = %270
  %285 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %285, ptr %10, align 4, !tbaa !9
  %286 = load ptr, ptr %4, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.w2c_hermes, ptr %286, i32 0, i32 6
  %288 = load i32, ptr %10, align 4, !tbaa !9
  %289 = zext i32 %288 to i64
  %290 = add i64 %289, 40
  %291 = call i32 @i32_load(ptr noundef %287, i64 noundef %290)
  store i32 %291, ptr %10, align 4, !tbaa !9
  %292 = load ptr, ptr %4, align 8, !tbaa !5
  %293 = load i32, ptr %10, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %292, i32 noundef %293)
  br label %294

294:                                              ; preds = %284, %270
  %295 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %295, ptr %10, align 4, !tbaa !9
  store i32 -64, ptr %11, align 4, !tbaa !9
  %296 = load i32, ptr %11, align 4, !tbaa !9
  %297 = load i32, ptr %10, align 4, !tbaa !9
  %298 = sub i32 %297, %296
  store i32 %298, ptr %10, align 4, !tbaa !9
  %299 = load i32, ptr %10, align 4, !tbaa !9
  %300 = load ptr, ptr %4, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.w2c_hermes, ptr %300, i32 0, i32 3
  store i32 %299, ptr %301, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  ret void
}

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

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 = !{!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: nounwind uwtable
define dso_local void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aiter_swap0x5Babi0x3Av150070x5D0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x3E0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #1 {
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = add i32 %5, -64
  store i32 %6, ptr %4, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  %8 = zext i32 %2 to i64
  %9 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %8)
  %10 = zext i32 %1 to i64
  %11 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %10)
  %12 = zext i32 %11 to i64
  %13 = add nuw nsw i64 %12, 24
  %14 = tail call i64 @i64_load(ptr noundef nonnull %7, i64 noundef %13)
  %15 = zext i32 %6 to i64
  %16 = add nuw nsw i64 %15, 32
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %16, i64 noundef %14)
  %17 = add nuw nsw i64 %12, 16
  %18 = tail call i64 @i64_load(ptr noundef nonnull %7, i64 noundef %17)
  %19 = add nuw nsw i64 %15, 24
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %19, i64 noundef %18)
  %20 = add nuw nsw i64 %12, 8
  %21 = tail call i64 @i64_load(ptr noundef nonnull %7, i64 noundef %20)
  %22 = add nuw nsw i64 %15, 16
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %22, i64 noundef %21)
  %23 = tail call i64 @i64_load(ptr noundef nonnull %7, i64 noundef %12)
  %24 = add nuw nsw i64 %15, 8
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %24, i64 noundef %23)
  %25 = add i32 %5, -24
  %26 = add nuw nsw i64 %12, 43
  %27 = tail call i32 @i32_load8_s(ptr noundef nonnull %7, i64 noundef %26)
  %28 = icmp sgt i32 %27, -1
  br i1 %28, label %29, label %37

29:                                               ; preds = %3
  %30 = add i32 %11, 32
  %31 = zext i32 %30 to i64
  %32 = tail call i64 @i64_load(ptr noundef nonnull %7, i64 noundef %31)
  %33 = zext i32 %25 to i64
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %33, i64 noundef %32)
  %34 = add nuw nsw i64 %31, 8
  %35 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %34)
  %36 = add nuw nsw i64 %33, 8
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %36, i32 noundef %35)
  br label %42

37:                                               ; preds = %3
  %38 = add nuw nsw i64 %12, 32
  %39 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %38)
  %40 = add nuw nsw i64 %12, 36
  %41 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %40)
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %25, i32 noundef %39, i32 noundef %41)
  br label %42

42:                                               ; preds = %37, %29
  %43 = add i32 %5, -12
  %44 = add nuw nsw i64 %12, 55
  %45 = tail call i32 @i32_load8_s(ptr noundef nonnull %7, i64 noundef %44)
  %46 = icmp sgt i32 %45, -1
  br i1 %46, label %47, label %55

47:                                               ; preds = %42
  %48 = add i32 %11, 44
  %49 = zext i32 %48 to i64
  %50 = tail call i64 @i64_load(ptr noundef nonnull %7, i64 noundef %49)
  %51 = zext i32 %43 to i64
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %51, i64 noundef %50)
  %52 = add nuw nsw i64 %49, 8
  %53 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %52)
  %54 = add nuw nsw i64 %51, 8
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %54, i32 noundef %53)
  br label %60

55:                                               ; preds = %42
  %56 = add nuw nsw i64 %12, 44
  %57 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %56)
  %58 = add nuw nsw i64 %12, 48
  %59 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %58)
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %43, i32 noundef %57, i32 noundef %59)
  br label %60

60:                                               ; preds = %55, %47
  %61 = tail call i32 @w2c_hermes_llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x20const0x260x29(ptr noundef nonnull %0, i32 noundef %11, i32 noundef %9) #3
  %62 = add i32 %5, -56
  %63 = tail call i32 @w2c_hermes_llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x20const0x260x29(ptr noundef nonnull %0, i32 noundef %9, i32 noundef %62) #3
  %64 = add nuw nsw i64 %15, 63
  %65 = tail call i32 @i32_load8_s(ptr noundef nonnull %7, i64 noundef %64)
  %66 = icmp slt i32 %65, 0
  br i1 %66, label %67, label %70

67:                                               ; preds = %60
  %68 = add nuw nsw i64 %15, 52
  %69 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %68)
  tail call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef nonnull %0, i32 noundef %69) #3
  br label %70

70:                                               ; preds = %67, %60
  %71 = add nuw nsw i64 %15, 51
  %72 = tail call i32 @i32_load8_s(ptr noundef nonnull %7, i64 noundef %71)
  %73 = icmp slt i32 %72, 0
  br i1 %73, label %74, label %77

74:                                               ; preds = %70
  %75 = add nuw nsw i64 %15, 40
  %76 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %75)
  tail call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef nonnull %0, i32 noundef %76) #3
  br label %77

77:                                               ; preds = %74, %70
  store i32 %5, ptr %4, align 8, !tbaa !5
  ret void
}

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

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,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,TailCallElimPass