; 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: inlinehint nounwind uwtable
declare hidden double @f64_load(ptr noundef, i64 noundef) #1

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

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

94:                                               ; preds = %6
  br label %201

95:                                               ; preds = %6
  %96 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %96, ptr %14, align 4, !tbaa !9
  store i32 4, ptr %15, align 4, !tbaa !9
  %97 = load i32, ptr %15, align 4, !tbaa !9
  %98 = load i32, ptr %14, align 4, !tbaa !9
  %99 = add i32 %98, %97
  store i32 %99, ptr %14, align 4, !tbaa !9
  %100 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %100, ptr %15, align 4, !tbaa !9
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = load i32, ptr %14, align 4, !tbaa !9
  %103 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aiter_swap0x5Babi0x3Av150070x5D0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x3E0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x29(ptr noundef %101, i32 noundef %102, i32 noundef %103)
  %104 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %104, ptr %14, align 4, !tbaa !9
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.w2c_hermes, ptr %105, i32 0, i32 6
  %107 = load i32, ptr %14, align 4, !tbaa !9
  %108 = zext i32 %107 to i64
  %109 = add i64 %108, 4
  %110 = call i32 @i32_load(ptr noundef %106, i64 noundef %109)
  store i32 %110, ptr %14, align 4, !tbaa !9
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.w2c_hermes, ptr %111, i32 0, i32 6
  %113 = load i32, ptr %14, align 4, !tbaa !9
  %114 = zext i32 %113 to i64
  %115 = call double @f64_load(ptr noundef %112, i64 noundef %114)
  store double %115, ptr %18, align 8, !tbaa !17
  %116 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %116, ptr %15, align 4, !tbaa !9
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.w2c_hermes, ptr %117, i32 0, i32 6
  %119 = load i32, ptr %15, align 4, !tbaa !9
  %120 = zext i32 %119 to i64
  %121 = call double @f64_load(ptr noundef %118, i64 noundef %120)
  store double %121, ptr %19, align 8, !tbaa !17
  %122 = load double, ptr %18, align 8, !tbaa !17
  %123 = load double, ptr %19, align 8, !tbaa !17
  %124 = fcmp olt double %122, %123
  %125 = zext i1 %124 to i32
  store i32 %125, ptr %14, align 4, !tbaa !9
  %126 = load i32, ptr %14, align 4, !tbaa !9
  %127 = icmp ne i32 %126, 0
  %128 = xor i1 %127, true
  %129 = zext i1 %128 to i32
  store i32 %129, ptr %14, align 4, !tbaa !9
  %130 = load i32, ptr %14, align 4, !tbaa !9
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %132, label %138

132:                                              ; preds = %95
  %133 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %133, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %134 = load i32, ptr %15, align 4, !tbaa !9
  %135 = load i32, ptr %14, align 4, !tbaa !9
  %136 = add i32 %135, %134
  store i32 %136, ptr %14, align 4, !tbaa !9
  %137 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %137, ptr %12, align 4, !tbaa !9
  br label %201

138:                                              ; preds = %95
  %139 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %139, ptr %14, align 4, !tbaa !9
  store i32 8, ptr %15, align 4, !tbaa !9
  %140 = load i32, ptr %15, align 4, !tbaa !9
  %141 = load i32, ptr %14, align 4, !tbaa !9
  %142 = add i32 %141, %140
  store i32 %142, ptr %14, align 4, !tbaa !9
  %143 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %143, ptr %15, align 4, !tbaa !9
  store i32 4, ptr %16, align 4, !tbaa !9
  %144 = load i32, ptr %16, align 4, !tbaa !9
  %145 = load i32, ptr %15, align 4, !tbaa !9
  %146 = add i32 %145, %144
  store i32 %146, ptr %15, align 4, !tbaa !9
  %147 = load ptr, ptr %7, align 8, !tbaa !5
  %148 = load i32, ptr %14, align 4, !tbaa !9
  %149 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aiter_swap0x5Babi0x3Av150070x5D0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x3E0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x29(ptr noundef %147, i32 noundef %148, i32 noundef %149)
  %150 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %150, ptr %14, align 4, !tbaa !9
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.w2c_hermes, ptr %151, i32 0, i32 6
  %153 = load i32, ptr %14, align 4, !tbaa !9
  %154 = zext i32 %153 to i64
  %155 = add i64 %154, 8
  %156 = call i32 @i32_load(ptr noundef %152, i64 noundef %155)
  store i32 %156, ptr %14, align 4, !tbaa !9
  %157 = load ptr, ptr %7, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.w2c_hermes, ptr %157, i32 0, i32 6
  %159 = load i32, ptr %14, align 4, !tbaa !9
  %160 = zext i32 %159 to i64
  %161 = call double @f64_load(ptr noundef %158, i64 noundef %160)
  store double %161, ptr %18, align 8, !tbaa !17
  %162 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %162, ptr %15, align 4, !tbaa !9
  %163 = load ptr, ptr %7, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.w2c_hermes, ptr %163, i32 0, i32 6
  %165 = load i32, ptr %15, align 4, !tbaa !9
  %166 = zext i32 %165 to i64
  %167 = call double @f64_load(ptr noundef %164, i64 noundef %166)
  store double %167, ptr %19, align 8, !tbaa !17
  %168 = load double, ptr %18, align 8, !tbaa !17
  %169 = load double, ptr %19, align 8, !tbaa !17
  %170 = fcmp olt double %168, %169
  %171 = zext i1 %170 to i32
  store i32 %171, ptr %14, align 4, !tbaa !9
  %172 = load i32, ptr %14, align 4, !tbaa !9
  %173 = icmp ne i32 %172, 0
  %174 = xor i1 %173, true
  %175 = zext i1 %174 to i32
  store i32 %175, ptr %14, align 4, !tbaa !9
  %176 = load i32, ptr %14, align 4, !tbaa !9
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %184

178:                                              ; preds = %138
  %179 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %179, ptr %14, align 4, !tbaa !9
  store i32 2, ptr %15, align 4, !tbaa !9
  %180 = load i32, ptr %15, align 4, !tbaa !9
  %181 = load i32, ptr %14, align 4, !tbaa !9
  %182 = add i32 %181, %180
  store i32 %182, ptr %14, align 4, !tbaa !9
  %183 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %183, ptr %12, align 4, !tbaa !9
  br label %201

184:                                              ; preds = %138
  %185 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %185, ptr %14, align 4, !tbaa !9
  store i32 3, ptr %15, align 4, !tbaa !9
  %186 = load i32, ptr %15, align 4, !tbaa !9
  %187 = load i32, ptr %14, align 4, !tbaa !9
  %188 = add i32 %187, %186
  store i32 %188, ptr %14, align 4, !tbaa !9
  %189 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %189, ptr %12, align 4, !tbaa !9
  %190 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %190, ptr %14, align 4, !tbaa !9
  store i32 12, ptr %15, align 4, !tbaa !9
  %191 = load i32, ptr %15, align 4, !tbaa !9
  %192 = load i32, ptr %14, align 4, !tbaa !9
  %193 = add i32 %192, %191
  store i32 %193, ptr %14, align 4, !tbaa !9
  %194 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %194, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %195 = load i32, ptr %16, align 4, !tbaa !9
  %196 = load i32, ptr %15, align 4, !tbaa !9
  %197 = add i32 %196, %195
  store i32 %197, ptr %15, align 4, !tbaa !9
  %198 = load ptr, ptr %7, align 8, !tbaa !5
  %199 = load i32, ptr %14, align 4, !tbaa !9
  %200 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aiter_swap0x5Babi0x3Av150070x5D0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x3E0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x29(ptr noundef %198, i32 noundef %199, i32 noundef %200)
  br label %201

201:                                              ; preds = %184, %178, %132, %94
  %202 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %202, ptr %14, align 4, !tbaa !9
  store i32 16, ptr %15, align 4, !tbaa !9
  %203 = load i32, ptr %15, align 4, !tbaa !9
  %204 = load i32, ptr %14, align 4, !tbaa !9
  %205 = add i32 %204, %203
  store i32 %205, ptr %14, align 4, !tbaa !9
  %206 = load i32, ptr %14, align 4, !tbaa !9
  %207 = load ptr, ptr %7, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.w2c_hermes, ptr %207, i32 0, i32 3
  store i32 %206, ptr %208, align 8, !tbaa !11
  %209 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %209, ptr %14, align 4, !tbaa !9
  %210 = load i32, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  ret i32 %210
}

; 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

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


; 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: inlinehint nounwind uwtable
declare hidden double @f64_load(ptr noundef, i64 noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort40x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3E0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x3E0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #1 {
  %7 = getelementptr inbounds i8, ptr %0, i64 24
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = add i32 %8, -16
  store i32 %9, ptr %7, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = zext i32 %9 to i64
  %12 = add nuw nsw i64 %11, 8
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %12, i32 noundef %2)
  %13 = add nuw nsw i64 %11, 12
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %13, i32 noundef %1)
  %14 = add nuw nsw i64 %11, 4
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %14, i32 noundef %3)
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %11, i32 noundef %4)
  %15 = tail call i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort30x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3E0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x3E0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %5)
  %16 = zext i32 %4 to i64
  %17 = tail call double @f64_load(ptr noundef nonnull %10, i64 noundef %16)
  %18 = zext i32 %3 to i64
  %19 = tail call double @f64_load(ptr noundef nonnull %10, i64 noundef %18)
  %20 = fcmp uge double %17, %19
  br i1 %20, label %44, label %21

21:                                               ; preds = %6
  %22 = add i32 %8, -12
  tail call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aiter_swap0x5Babi0x3Av150070x5D0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x3E0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x29(ptr noundef nonnull %0, i32 noundef %22, i32 noundef %9)
  %23 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %14)
  %24 = zext i32 %23 to i64
  %25 = tail call double @f64_load(ptr noundef nonnull %10, i64 noundef %24)
  %26 = zext i32 %2 to i64
  %27 = tail call double @f64_load(ptr noundef nonnull %10, i64 noundef %26)
  %28 = fcmp uge double %25, %27
  br i1 %28, label %29, label %31

29:                                               ; preds = %21
  %30 = add i32 %15, 1
  br label %44

31:                                               ; preds = %21
  %32 = add i32 %8, -8
  tail call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aiter_swap0x5Babi0x3Av150070x5D0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x3E0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x29(ptr noundef nonnull %0, i32 noundef %32, i32 noundef %22)
  %33 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %12)
  %34 = zext i32 %33 to i64
  %35 = tail call double @f64_load(ptr noundef nonnull %10, i64 noundef %34)
  %36 = zext i32 %1 to i64
  %37 = tail call double @f64_load(ptr noundef nonnull %10, i64 noundef %36)
  %38 = fcmp uge double %35, %37
  br i1 %38, label %39, label %41

39:                                               ; preds = %31
  %40 = add i32 %15, 2
  br label %44

41:                                               ; preds = %31
  %42 = add i32 %15, 3
  %43 = add i32 %8, -4
  tail call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aiter_swap0x5Babi0x3Av150070x5D0x3Cllvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x3E0x28llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x2C0x20llvh0x3A0x3ATimerGroup0x3A0x3APrintRecord0x2A0x260x29(ptr noundef nonnull %0, i32 noundef %43, i32 noundef %32)
  br label %44

44:                                               ; preds = %6, %41, %39, %29
  %.0 = phi i32 [ %15, %6 ], [ %30, %29 ], [ %40, %39 ], [ %42, %41 ]
  store i32 %8, ptr %7, align 8, !tbaa !5
  ret i32 %.0
}

; 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

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

!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,SimplifyCFGPass,TailCallElimPass