; 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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Finsertion_sort_30x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3E0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x3E0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #2 {
  %5 = alloca ptr, align 8
  %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 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 i64, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, 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
  store i32 0, 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
  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 8, 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
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.w2c_hermes, ptr %22, i32 0, i32 3
  %24 = load i32, ptr %23, align 8, !tbaa !11
  store i32 %24, ptr %15, align 4, !tbaa !9
  store i32 -64, ptr %16, align 4, !tbaa !9
  %25 = load i32, ptr %16, align 4, !tbaa !9
  %26 = load i32, ptr %15, align 4, !tbaa !9
  %27 = add i32 %26, %25
  store i32 %27, ptr %15, align 4, !tbaa !9
  %28 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %28, ptr %10, align 4, !tbaa !9
  %29 = load i32, ptr %15, align 4, !tbaa !9
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.w2c_hermes, ptr %30, i32 0, i32 3
  store i32 %29, ptr %31, align 8, !tbaa !11
  %32 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %32, ptr %15, align 4, !tbaa !9
  %33 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %33, ptr %16, align 4, !tbaa !9
  store i32 56, ptr %17, align 4, !tbaa !9
  %34 = load i32, ptr %17, align 4, !tbaa !9
  %35 = load i32, ptr %16, align 4, !tbaa !9
  %36 = add i32 %35, %34
  store i32 %36, ptr %16, align 4, !tbaa !9
  %37 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %37, ptr %17, align 4, !tbaa !9
  store i32 112, ptr %18, align 4, !tbaa !9
  %38 = load i32, ptr %18, align 4, !tbaa !9
  %39 = load i32, ptr %17, align 4, !tbaa !9
  %40 = add i32 %39, %38
  store i32 %40, ptr %17, align 4, !tbaa !9
  %41 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %41, ptr %11, align 4, !tbaa !9
  %42 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %42, ptr %18, align 4, !tbaa !9
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = load i32, ptr %15, align 4, !tbaa !9
  %45 = load i32, ptr %16, align 4, !tbaa !9
  %46 = load i32, ptr %17, align 4, !tbaa !9
  %47 = load i32, ptr %18, align 4, !tbaa !9
  %48 = call i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort30x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3E0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x3E0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3E0x260x29(ptr noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef %47)
  store i32 %48, ptr %15, align 4, !tbaa !9
  %49 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %49, ptr %15, align 4, !tbaa !9
  %50 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %50, ptr %16, align 4, !tbaa !9
  store i32 168, ptr %17, align 4, !tbaa !9
  %51 = load i32, ptr %17, align 4, !tbaa !9
  %52 = load i32, ptr %16, align 4, !tbaa !9
  %53 = add i32 %52, %51
  store i32 %53, ptr %16, align 4, !tbaa !9
  %54 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %54, ptr %9, align 4, !tbaa !9
  %55 = load i32, ptr %15, align 4, !tbaa !9
  %56 = load i32, ptr %16, align 4, !tbaa !9
  %57 = icmp ne i32 %55, %56
  %58 = zext i1 %57 to i32
  store i32 %58, ptr %15, align 4, !tbaa !9
  %59 = load i32, ptr %15, align 4, !tbaa !9
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %61, label %408

61:                                               ; preds = %4
  %62 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %62, ptr %15, align 4, !tbaa !9
  store i32 52, ptr %16, align 4, !tbaa !9
  %63 = load i32, ptr %16, align 4, !tbaa !9
  %64 = load i32, ptr %15, align 4, !tbaa !9
  %65 = add i32 %64, %63
  store i32 %65, ptr %15, align 4, !tbaa !9
  %66 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %66, ptr %12, align 4, !tbaa !9
  %67 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %67, ptr %15, align 4, !tbaa !9
  store i32 40, ptr %16, align 4, !tbaa !9
  %68 = load i32, ptr %16, align 4, !tbaa !9
  %69 = load i32, ptr %15, align 4, !tbaa !9
  %70 = add i32 %69, %68
  store i32 %70, ptr %15, align 4, !tbaa !9
  %71 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %71, ptr %13, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %406, %61
  %73 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %73, ptr %15, align 4, !tbaa !9
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.w2c_hermes, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %15, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = call double @f64_load(ptr noundef %75, i64 noundef %77)
  store double %78, ptr %20, align 8, !tbaa !17
  %79 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %79, ptr %16, align 4, !tbaa !9
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.w2c_hermes, ptr %80, i32 0, i32 6
  %82 = load i32, ptr %16, align 4, !tbaa !9
  %83 = zext i32 %82 to i64
  %84 = call double @f64_load(ptr noundef %81, i64 noundef %83)
  store double %84, ptr %21, align 8, !tbaa !17
  %85 = load double, ptr %20, align 8, !tbaa !17
  %86 = load double, ptr %21, align 8, !tbaa !17
  %87 = fcmp olt double %85, %86
  %88 = zext i1 %87 to i32
  store i32 %88, ptr %15, align 4, !tbaa !9
  %89 = load i32, ptr %15, align 4, !tbaa !9
  %90 = icmp ne i32 %89, 0
  %91 = xor i1 %90, true
  %92 = zext i1 %91 to i32
  store i32 %92, ptr %15, align 4, !tbaa !9
  %93 = load i32, ptr %15, align 4, !tbaa !9
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %95, label %96

95:                                               ; preds = %72
  br label %389

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

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

196:                                              ; preds = %96
  %197 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %197, ptr %15, align 4, !tbaa !9
  %198 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %198, ptr %16, align 4, !tbaa !9
  %199 = load ptr, ptr %5, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.w2c_hermes, ptr %199, i32 0, i32 6
  %201 = load i32, ptr %16, align 4, !tbaa !9
  %202 = zext i32 %201 to i64
  %203 = add i64 %202, 32
  %204 = call i32 @i32_load(ptr noundef %200, i64 noundef %203)
  store i32 %204, ptr %16, align 4, !tbaa !9
  %205 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %205, ptr %17, align 4, !tbaa !9
  %206 = load ptr, ptr %5, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.w2c_hermes, ptr %206, i32 0, i32 6
  %208 = load i32, ptr %17, align 4, !tbaa !9
  %209 = zext i32 %208 to i64
  %210 = add i64 %209, 36
  %211 = call i32 @i32_load(ptr noundef %207, i64 noundef %210)
  store i32 %211, ptr %17, align 4, !tbaa !9
  %212 = load ptr, ptr %5, align 8, !tbaa !5
  %213 = load i32, ptr %15, align 4, !tbaa !9
  %214 = load i32, ptr %16, align 4, !tbaa !9
  %215 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %212, i32 noundef %213, i32 noundef %214, i32 noundef %215)
  br label %216

216:                                              ; preds = %196, %165
  %217 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %217, ptr %15, align 4, !tbaa !9
  %218 = load ptr, ptr %5, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.w2c_hermes, ptr %218, i32 0, i32 6
  %220 = load i32, ptr %15, align 4, !tbaa !9
  %221 = zext i32 %220 to i64
  %222 = add i64 %221, 55
  %223 = call i32 @i32_load8_s(ptr noundef %219, i64 noundef %222)
  store i32 %223, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %224 = load i32, ptr %15, align 4, !tbaa !9
  %225 = load i32, ptr %16, align 4, !tbaa !9
  %226 = icmp sge i32 %224, %225
  %227 = zext i1 %226 to i32
  store i32 %227, ptr %15, align 4, !tbaa !9
  %228 = load i32, ptr %15, align 4, !tbaa !9
  %229 = icmp ne i32 %228, 0
  br i1 %229, label %230, label %261

230:                                              ; preds = %216
  %231 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %231, ptr %15, align 4, !tbaa !9
  %232 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %232, ptr %16, align 4, !tbaa !9
  store i32 44, ptr %17, align 4, !tbaa !9
  %233 = load i32, ptr %17, align 4, !tbaa !9
  %234 = load i32, ptr %16, align 4, !tbaa !9
  %235 = add i32 %234, %233
  store i32 %235, ptr %16, align 4, !tbaa !9
  %236 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %236, ptr %8, align 4, !tbaa !9
  %237 = load ptr, ptr %5, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.w2c_hermes, ptr %237, i32 0, i32 6
  %239 = load i32, ptr %16, align 4, !tbaa !9
  %240 = zext i32 %239 to i64
  %241 = call i64 @i64_load(ptr noundef %238, i64 noundef %240)
  store i64 %241, ptr %19, align 8, !tbaa !19
  %242 = load ptr, ptr %5, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.w2c_hermes, ptr %242, i32 0, i32 6
  %244 = load i32, ptr %15, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  %246 = load i64, ptr %19, align 8, !tbaa !19
  call void @i64_store(ptr noundef %243, i64 noundef %245, i64 noundef %246)
  %247 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %247, ptr %15, align 4, !tbaa !9
  %248 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %248, ptr %16, align 4, !tbaa !9
  %249 = load ptr, ptr %5, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.w2c_hermes, ptr %249, i32 0, i32 6
  %251 = load i32, ptr %16, align 4, !tbaa !9
  %252 = zext i32 %251 to i64
  %253 = add i64 %252, 8
  %254 = call i32 @i32_load(ptr noundef %250, i64 noundef %253)
  store i32 %254, ptr %16, align 4, !tbaa !9
  %255 = load ptr, ptr %5, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.w2c_hermes, ptr %255, i32 0, i32 6
  %257 = load i32, ptr %15, align 4, !tbaa !9
  %258 = zext i32 %257 to i64
  %259 = add i64 %258, 8
  %260 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %256, i64 noundef %259, i32 noundef %260)
  br label %281

261:                                              ; preds = %216
  %262 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %262, ptr %15, align 4, !tbaa !9
  %263 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %263, ptr %16, align 4, !tbaa !9
  %264 = load ptr, ptr %5, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.w2c_hermes, ptr %264, i32 0, i32 6
  %266 = load i32, ptr %16, align 4, !tbaa !9
  %267 = zext i32 %266 to i64
  %268 = add i64 %267, 44
  %269 = call i32 @i32_load(ptr noundef %265, i64 noundef %268)
  store i32 %269, ptr %16, align 4, !tbaa !9
  %270 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %270, ptr %17, align 4, !tbaa !9
  %271 = load ptr, ptr %5, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.w2c_hermes, ptr %271, i32 0, i32 6
  %273 = load i32, ptr %17, align 4, !tbaa !9
  %274 = zext i32 %273 to i64
  %275 = add i64 %274, 48
  %276 = call i32 @i32_load(ptr noundef %272, i64 noundef %275)
  store i32 %276, ptr %17, align 4, !tbaa !9
  %277 = load ptr, ptr %5, align 8, !tbaa !5
  %278 = load i32, ptr %15, align 4, !tbaa !9
  %279 = load i32, ptr %16, align 4, !tbaa !9
  %280 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %277, i32 noundef %278, i32 noundef %279, i32 noundef %280)
  br label %281

281:                                              ; preds = %261, %230
  %282 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %282, ptr %15, align 4, !tbaa !9
  %283 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %283, ptr %14, align 4, !tbaa !9
  br label %284

284:                                              ; preds = %329, %281
  %285 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %285, ptr %15, align 4, !tbaa !9
  %286 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %286, ptr %16, align 4, !tbaa !9
  %287 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %287, ptr %8, align 4, !tbaa !9
  %288 = load ptr, ptr %5, align 8, !tbaa !5
  %289 = load i32, ptr %15, align 4, !tbaa !9
  %290 = load i32, ptr %16, align 4, !tbaa !9
  %291 = call i32 @w2c_hermes_llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x20const0x260x29(ptr noundef %288, i32 noundef %289, i32 noundef %290)
  store i32 %291, ptr %15, align 4, !tbaa !9
  %292 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %292, ptr %15, align 4, !tbaa !9
  %293 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %293, ptr %16, align 4, !tbaa !9
  %294 = load i32, ptr %15, align 4, !tbaa !9
  %295 = load i32, ptr %16, align 4, !tbaa !9
  %296 = icmp eq i32 %294, %295
  %297 = zext i1 %296 to i32
  store i32 %297, ptr %15, align 4, !tbaa !9
  %298 = load i32, ptr %15, align 4, !tbaa !9
  %299 = icmp ne i32 %298, 0
  br i1 %299, label %300, label %303

300:                                              ; preds = %284
  %301 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %301, ptr %15, align 4, !tbaa !9
  %302 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %302, ptr %8, align 4, !tbaa !9
  br label %331

303:                                              ; preds = %284
  %304 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %304, ptr %15, align 4, !tbaa !9
  %305 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %305, ptr %14, align 4, !tbaa !9
  %306 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %306, ptr %15, align 4, !tbaa !9
  %307 = load ptr, ptr %5, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.w2c_hermes, ptr %307, i32 0, i32 6
  %309 = load i32, ptr %15, align 4, !tbaa !9
  %310 = zext i32 %309 to i64
  %311 = add i64 %310, 8
  %312 = call double @f64_load(ptr noundef %308, i64 noundef %311)
  store double %312, ptr %20, align 8, !tbaa !17
  %313 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %313, ptr %16, align 4, !tbaa !9
  store i32 56, ptr %17, align 4, !tbaa !9
  %314 = load i32, ptr %17, align 4, !tbaa !9
  %315 = load i32, ptr %16, align 4, !tbaa !9
  %316 = sub i32 %315, %314
  store i32 %316, ptr %16, align 4, !tbaa !9
  %317 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %317, ptr %11, align 4, !tbaa !9
  %318 = load ptr, ptr %5, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.w2c_hermes, ptr %318, i32 0, i32 6
  %320 = load i32, ptr %16, align 4, !tbaa !9
  %321 = zext i32 %320 to i64
  %322 = call double @f64_load(ptr noundef %319, i64 noundef %321)
  store double %322, ptr %21, align 8, !tbaa !17
  %323 = load double, ptr %20, align 8, !tbaa !17
  %324 = load double, ptr %21, align 8, !tbaa !17
  %325 = fcmp olt double %323, %324
  %326 = zext i1 %325 to i32
  store i32 %326, ptr %15, align 4, !tbaa !9
  %327 = load i32, ptr %15, align 4, !tbaa !9
  %328 = icmp ne i32 %327, 0
  br i1 %328, label %329, label %330

329:                                              ; preds = %303
  br label %284

330:                                              ; preds = %303
  br label %331

331:                                              ; preds = %330, %300
  %332 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %332, ptr %15, align 4, !tbaa !9
  %333 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %333, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %334 = load i32, ptr %17, align 4, !tbaa !9
  %335 = load i32, ptr %16, align 4, !tbaa !9
  %336 = add i32 %335, %334
  store i32 %336, ptr %16, align 4, !tbaa !9
  %337 = load ptr, ptr %5, align 8, !tbaa !5
  %338 = load i32, ptr %15, align 4, !tbaa !9
  %339 = load i32, ptr %16, align 4, !tbaa !9
  %340 = call i32 @w2c_hermes_llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x20const0x260x29(ptr noundef %337, i32 noundef %338, i32 noundef %339)
  store i32 %340, ptr %15, align 4, !tbaa !9
  %341 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %341, ptr %15, align 4, !tbaa !9
  %342 = load ptr, ptr %5, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.w2c_hermes, ptr %342, i32 0, i32 6
  %344 = load i32, ptr %15, align 4, !tbaa !9
  %345 = zext i32 %344 to i64
  %346 = add i64 %345, 63
  %347 = call i32 @i32_load8_s(ptr noundef %343, i64 noundef %346)
  store i32 %347, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %348 = load i32, ptr %15, align 4, !tbaa !9
  %349 = load i32, ptr %16, align 4, !tbaa !9
  %350 = icmp slt i32 %348, %349
  %351 = zext i1 %350 to i32
  store i32 %351, ptr %15, align 4, !tbaa !9
  %352 = load i32, ptr %15, align 4, !tbaa !9
  %353 = icmp ne i32 %352, 0
  br i1 %353, label %354, label %364

354:                                              ; preds = %331
  %355 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %355, ptr %15, align 4, !tbaa !9
  %356 = load ptr, ptr %5, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.w2c_hermes, ptr %356, i32 0, i32 6
  %358 = load i32, ptr %15, align 4, !tbaa !9
  %359 = zext i32 %358 to i64
  %360 = add i64 %359, 52
  %361 = call i32 @i32_load(ptr noundef %357, i64 noundef %360)
  store i32 %361, ptr %15, align 4, !tbaa !9
  %362 = load ptr, ptr %5, align 8, !tbaa !5
  %363 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %362, i32 noundef %363)
  br label %364

364:                                              ; preds = %354, %331
  %365 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %365, ptr %15, align 4, !tbaa !9
  %366 = load ptr, ptr %5, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.w2c_hermes, ptr %366, i32 0, i32 6
  %368 = load i32, ptr %15, align 4, !tbaa !9
  %369 = zext i32 %368 to i64
  %370 = add i64 %369, 51
  %371 = call i32 @i32_load8_s(ptr noundef %367, i64 noundef %370)
  store i32 %371, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %372 = load i32, ptr %15, align 4, !tbaa !9
  %373 = load i32, ptr %16, align 4, !tbaa !9
  %374 = icmp sge i32 %372, %373
  %375 = zext i1 %374 to i32
  store i32 %375, ptr %15, align 4, !tbaa !9
  %376 = load i32, ptr %15, align 4, !tbaa !9
  %377 = icmp ne i32 %376, 0
  br i1 %377, label %378, label %379

378:                                              ; preds = %364
  br label %389

379:                                              ; preds = %364
  %380 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %380, ptr %15, align 4, !tbaa !9
  %381 = load ptr, ptr %5, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.w2c_hermes, ptr %381, i32 0, i32 6
  %383 = load i32, ptr %15, align 4, !tbaa !9
  %384 = zext i32 %383 to i64
  %385 = add i64 %384, 40
  %386 = call i32 @i32_load(ptr noundef %382, i64 noundef %385)
  store i32 %386, ptr %15, align 4, !tbaa !9
  %387 = load ptr, ptr %5, align 8, !tbaa !5
  %388 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %387, i32 noundef %388)
  br label %389

389:                                              ; preds = %379, %378, %95
  %390 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %390, ptr %15, align 4, !tbaa !9
  %391 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %391, ptr %11, align 4, !tbaa !9
  %392 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %392, ptr %15, align 4, !tbaa !9
  store i32 56, ptr %16, align 4, !tbaa !9
  %393 = load i32, ptr %16, align 4, !tbaa !9
  %394 = load i32, ptr %15, align 4, !tbaa !9
  %395 = add i32 %394, %393
  store i32 %395, ptr %15, align 4, !tbaa !9
  %396 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %396, ptr %8, align 4, !tbaa !9
  %397 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %397, ptr %9, align 4, !tbaa !9
  %398 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %398, ptr %15, align 4, !tbaa !9
  %399 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %399, ptr %16, align 4, !tbaa !9
  %400 = load i32, ptr %15, align 4, !tbaa !9
  %401 = load i32, ptr %16, align 4, !tbaa !9
  %402 = icmp ne i32 %400, %401
  %403 = zext i1 %402 to i32
  store i32 %403, ptr %15, align 4, !tbaa !9
  %404 = load i32, ptr %15, align 4, !tbaa !9
  %405 = icmp ne i32 %404, 0
  br i1 %405, label %406, label %407

406:                                              ; preds = %389
  br label %72

407:                                              ; preds = %389
  br label %408

408:                                              ; preds = %407, %4
  %409 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %409, ptr %15, align 4, !tbaa !9
  store i32 -64, ptr %16, align 4, !tbaa !9
  %410 = load i32, ptr %16, align 4, !tbaa !9
  %411 = load i32, ptr %15, align 4, !tbaa !9
  %412 = sub i32 %411, %410
  store i32 %412, ptr %15, align 4, !tbaa !9
  %413 = load i32, ptr %15, align 4, !tbaa !9
  %414 = load ptr, ptr %5, align 8, !tbaa !5
  %415 = getelementptr inbounds %struct.w2c_hermes, ptr %414, i32 0, i32 3
  store i32 %413, ptr %415, align 8, !tbaa !11
  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 8, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  ret void
}

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

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 = !{!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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Finsertion_sort_30x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3E0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x3E0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #1 {
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = add i32 %6, -64
  store i32 %7, ptr %5, align 8, !tbaa !5
  %8 = add i32 %1, 56
  %9 = add i32 %1, 112
  %10 = tail call i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort30x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3E0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x3E0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %8, i32 noundef %9, i32 noundef %3)
  %11 = add i32 %1, 168
  %.not = icmp eq i32 %11, %2
  br i1 %.not, label %.loopexit, label %12

12:                                               ; preds = %4
  %13 = add i32 %6, -12
  %14 = add i32 %6, -24
  %15 = getelementptr inbounds i8, ptr %0, i64 40
  %16 = zext i32 %7 to i64
  %17 = add nuw nsw i64 %16, 32
  %18 = add nuw nsw i64 %16, 24
  %19 = add nuw nsw i64 %16, 16
  %20 = add nuw nsw i64 %16, 8
  %21 = zext i32 %14 to i64
  %22 = add nuw nsw i64 %21, 8
  %23 = zext i32 %13 to i64
  %24 = add nuw nsw i64 %23, 8
  %25 = add i32 %6, -56
  %26 = add nuw nsw i64 %16, 63
  %27 = add nuw nsw i64 %16, 52
  %28 = add nuw nsw i64 %16, 51
  %29 = add nuw nsw i64 %16, 40
  br label %30

30:                                               ; preds = %93, %12
  %.0218 = phi i32 [ %11, %12 ], [ %94, %93 ]
  %.0217 = phi i32 [ %9, %12 ], [ %.0218, %93 ]
  %31 = zext i32 %.0218 to i64
  %32 = tail call double @f64_load(ptr noundef nonnull %15, i64 noundef %31)
  %33 = zext i32 %.0217 to i64
  %34 = tail call double @f64_load(ptr noundef nonnull %15, i64 noundef %33)
  %35 = fcmp uge double %32, %34
  br i1 %35, label %93, label %36

36:                                               ; preds = %30
  %37 = add nuw nsw i64 %31, 24
  %38 = tail call i64 @i64_load(ptr noundef nonnull %15, i64 noundef %37)
  tail call void @i64_store(ptr noundef nonnull %15, i64 noundef %17, i64 noundef %38)
  %39 = add nuw nsw i64 %31, 16
  %40 = tail call i64 @i64_load(ptr noundef nonnull %15, i64 noundef %39)
  tail call void @i64_store(ptr noundef nonnull %15, i64 noundef %18, i64 noundef %40)
  %41 = add nuw nsw i64 %31, 8
  %42 = tail call i64 @i64_load(ptr noundef nonnull %15, i64 noundef %41)
  tail call void @i64_store(ptr noundef nonnull %15, i64 noundef %19, i64 noundef %42)
  %43 = tail call i64 @i64_load(ptr noundef nonnull %15, i64 noundef %31)
  tail call void @i64_store(ptr noundef nonnull %15, i64 noundef %20, i64 noundef %43)
  %44 = add nuw nsw i64 %31, 43
  %45 = tail call i32 @i32_load8_s(ptr noundef nonnull %15, i64 noundef %44)
  %46 = icmp sgt i32 %45, -1
  br i1 %46, label %47, label %53

47:                                               ; preds = %36
  %48 = add i32 %.0218, 32
  %49 = zext i32 %48 to i64
  %50 = tail call i64 @i64_load(ptr noundef nonnull %15, i64 noundef %49)
  tail call void @i64_store(ptr noundef nonnull %15, i64 noundef %21, i64 noundef %50)
  %51 = add nuw nsw i64 %49, 8
  %52 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %51)
  tail call void @i32_store(ptr noundef nonnull %15, i64 noundef %22, i32 noundef %52)
  br label %58

53:                                               ; preds = %36
  %54 = add nuw nsw i64 %31, 32
  %55 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %54)
  %56 = add nuw nsw i64 %31, 36
  %57 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %56)
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %0, i32 noundef %14, i32 noundef %55, i32 noundef %57)
  br label %58

58:                                               ; preds = %53, %47
  %59 = add nuw nsw i64 %31, 55
  %60 = tail call i32 @i32_load8_s(ptr noundef nonnull %15, i64 noundef %59)
  %61 = icmp sgt i32 %60, -1
  br i1 %61, label %62, label %68

62:                                               ; preds = %58
  %63 = add i32 %.0218, 44
  %64 = zext i32 %63 to i64
  %65 = tail call i64 @i64_load(ptr noundef nonnull %15, i64 noundef %64)
  tail call void @i64_store(ptr noundef nonnull %15, i64 noundef %23, i64 noundef %65)
  %66 = add nuw nsw i64 %64, 8
  %67 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %66)
  tail call void @i32_store(ptr noundef nonnull %15, i64 noundef %24, i32 noundef %67)
  br label %.preheader

68:                                               ; preds = %58
  %69 = add nuw nsw i64 %31, 44
  %70 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %69)
  %71 = add nuw nsw i64 %31, 48
  %72 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %71)
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %0, i32 noundef %13, i32 noundef %70, i32 noundef %72)
  br label %.preheader

.preheader:                                       ; preds = %68, %62
  br label %73

73:                                               ; preds = %.preheader, %76
  %.1 = phi i32 [ %78, %76 ], [ %.0217, %.preheader ]
  %.0216 = phi i32 [ %.1, %76 ], [ %.0218, %.preheader ]
  %74 = tail call i32 @w2c_hermes_llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x20const0x260x29(ptr noundef %0, i32 noundef %.0216, i32 noundef %.1) #3
  %75 = icmp eq i32 %.1, %1
  br i1 %75, label %82, label %76

76:                                               ; preds = %73
  %77 = tail call double @f64_load(ptr noundef nonnull %15, i64 noundef %20)
  %78 = add i32 %.1, -56
  %79 = zext i32 %78 to i64
  %80 = tail call double @f64_load(ptr noundef nonnull %15, i64 noundef %79)
  %81 = fcmp olt double %77, %80
  br i1 %81, label %73, label %82

82:                                               ; preds = %73, %76
  %.0 = phi i32 [ %.1, %76 ], [ %1, %73 ]
  %83 = tail call i32 @w2c_hermes_llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x20const0x260x29(ptr noundef %0, i32 noundef %.0, i32 noundef %25) #3
  %84 = tail call i32 @i32_load8_s(ptr noundef nonnull %15, i64 noundef %26)
  %85 = icmp slt i32 %84, 0
  br i1 %85, label %86, label %88

86:                                               ; preds = %82
  %87 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %27)
  tail call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %0, i32 noundef %87) #3
  br label %88

88:                                               ; preds = %86, %82
  %89 = tail call i32 @i32_load8_s(ptr noundef nonnull %15, i64 noundef %28)
  %90 = icmp sgt i32 %89, -1
  br i1 %90, label %93, label %91

91:                                               ; preds = %88
  %92 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %29)
  tail call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %0, i32 noundef %92) #3
  br label %93

93:                                               ; preds = %88, %30, %91
  %94 = add i32 %.0218, 56
  %.not223 = icmp eq i32 %94, %2
  br i1 %.not223, label %.loopexit, label %30

.loopexit:                                        ; preds = %93, %4
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void
}

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

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: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass