; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_opt_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: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) #1

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) #2

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

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

36:                                               ; preds = %1
  store i32 120240, ptr %10, align 4, !tbaa !9
  %37 = load ptr, ptr %2, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.w2c_hermes, ptr %37, i32 0, i32 6
  %39 = load i32, ptr %10, align 4, !tbaa !9
  %40 = zext i32 %39 to i64
  %41 = call i32 @i32_load(ptr noundef %38, i64 noundef %40)
  store i32 %41, ptr %10, align 4, !tbaa !9
  store i32 54817, ptr %11, align 4, !tbaa !9
  %42 = load ptr, ptr %2, align 8, !tbaa !5
  %43 = load i32, ptr %10, align 4, !tbaa !9
  %44 = load i32, ptr %11, align 4, !tbaa !9
  call void @w2c_hermes_abort_message(ptr noundef %42, i32 noundef %43, i32 noundef %44)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

45:                                               ; preds = %1
  %46 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %46, ptr %10, align 4, !tbaa !9
  store i32 8, ptr %11, align 4, !tbaa !9
  %47 = load i32, ptr %11, align 4, !tbaa !9
  %48 = load i32, ptr %10, align 4, !tbaa !9
  %49 = add i32 %48, %47
  store i32 %49, ptr %10, align 4, !tbaa !9
  %50 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %50, ptr %7, align 4, !tbaa !9
  %51 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %51, ptr %11, align 4, !tbaa !9
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.w2c_hermes, ptr %52, i32 0, i32 6
  %54 = load i32, ptr %11, align 4, !tbaa !9
  %55 = zext i32 %54 to i64
  %56 = add i64 %55, 24
  %57 = call i64 @i64_load(ptr noundef %53, i64 noundef %56)
  store i64 %57, ptr %14, align 8, !tbaa !11
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.w2c_hermes, ptr %58, i32 0, i32 6
  %60 = load i32, ptr %10, align 4, !tbaa !9
  %61 = zext i32 %60 to i64
  %62 = load i64, ptr %14, align 8, !tbaa !11
  call void @i64_store(ptr noundef %59, i64 noundef %61, i64 noundef %62)
  %63 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %63, ptr %10, align 4, !tbaa !9
  %64 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %64, ptr %11, align 4, !tbaa !9
  %65 = load ptr, ptr %2, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.w2c_hermes, ptr %65, i32 0, i32 6
  %67 = load i32, ptr %11, align 4, !tbaa !9
  %68 = zext i32 %67 to i64
  %69 = add i64 %68, 32
  %70 = call i64 @i64_load32_s(ptr noundef %66, i64 noundef %69)
  store i64 %70, ptr %14, align 8, !tbaa !11
  %71 = load ptr, ptr %2, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.w2c_hermes, ptr %71, i32 0, i32 6
  %73 = load i32, ptr %10, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = load i64, ptr %14, align 8, !tbaa !11
  call void @i64_store(ptr noundef %72, i64 noundef %74, i64 noundef %75)
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.w2c_hermes, ptr %76, i32 0, i32 3
  %78 = load i32, ptr %77, align 8, !tbaa !13
  store i32 %78, ptr %10, align 4, !tbaa !9
  store i32 32, ptr %11, align 4, !tbaa !9
  %79 = load i32, ptr %11, align 4, !tbaa !9
  %80 = load i32, ptr %10, align 4, !tbaa !9
  %81 = sub i32 %80, %79
  store i32 %81, ptr %10, align 4, !tbaa !9
  %82 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %82, ptr %4, align 4, !tbaa !9
  %83 = load i32, ptr %10, align 4, !tbaa !9
  %84 = load ptr, ptr %2, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.w2c_hermes, ptr %84, i32 0, i32 3
  store i32 %83, ptr %85, align 8, !tbaa !13
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.w2c_hermes, ptr %86, i32 0, i32 3
  %88 = load i32, ptr %87, align 8, !tbaa !13
  store i32 %88, ptr %10, align 4, !tbaa !9
  store i32 16, ptr %11, align 4, !tbaa !9
  %89 = load i32, ptr %11, align 4, !tbaa !9
  %90 = load i32, ptr %10, align 4, !tbaa !9
  %91 = sub i32 %90, %89
  store i32 %91, ptr %10, align 4, !tbaa !9
  %92 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %92, ptr %6, align 4, !tbaa !9
  %93 = load i32, ptr %10, align 4, !tbaa !9
  %94 = load ptr, ptr %2, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.w2c_hermes, ptr %94, i32 0, i32 3
  store i32 %93, ptr %95, align 8, !tbaa !13
  %96 = load ptr, ptr %2, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.w2c_hermes, ptr %96, i32 0, i32 3
  %98 = load i32, ptr %97, align 8, !tbaa !13
  store i32 %98, ptr %10, align 4, !tbaa !9
  store i32 16, ptr %11, align 4, !tbaa !9
  %99 = load i32, ptr %11, align 4, !tbaa !9
  %100 = load i32, ptr %10, align 4, !tbaa !9
  %101 = sub i32 %100, %99
  store i32 %101, ptr %10, align 4, !tbaa !9
  %102 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %102, ptr %8, align 4, !tbaa !9
  %103 = load i32, ptr %10, align 4, !tbaa !9
  %104 = load ptr, ptr %2, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.w2c_hermes, ptr %104, i32 0, i32 3
  store i32 %103, ptr %105, align 8, !tbaa !13
  %106 = load ptr, ptr %2, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.w2c_hermes, ptr %106, i32 0, i32 3
  %108 = load i32, ptr %107, align 8, !tbaa !13
  store i32 %108, ptr %10, align 4, !tbaa !9
  store i32 16, ptr %11, align 4, !tbaa !9
  %109 = load i32, ptr %11, align 4, !tbaa !9
  %110 = load i32, ptr %10, align 4, !tbaa !9
  %111 = sub i32 %110, %109
  store i32 %111, ptr %10, align 4, !tbaa !9
  %112 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %112, ptr %5, align 4, !tbaa !9
  %113 = load i32, ptr %10, align 4, !tbaa !9
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.w2c_hermes, ptr %114, i32 0, i32 3
  store i32 %113, ptr %115, align 8, !tbaa !13
  %116 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %116, ptr %10, align 4, !tbaa !9
  %117 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %117, ptr %11, align 4, !tbaa !9
  %118 = load ptr, ptr %2, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.w2c_hermes, ptr %118, i32 0, i32 6
  %120 = load i32, ptr %11, align 4, !tbaa !9
  %121 = zext i32 %120 to i64
  %122 = call i64 @i64_load(ptr noundef %119, i64 noundef %121)
  store i64 %122, ptr %14, align 8, !tbaa !11
  store i64 1000000000, ptr %15, align 8, !tbaa !11
  %123 = load i64, ptr %15, align 8, !tbaa !11
  %124 = load i64, ptr %14, align 8, !tbaa !11
  %125 = mul i64 %124, %123
  store i64 %125, ptr %14, align 8, !tbaa !11
  %126 = load ptr, ptr %2, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.w2c_hermes, ptr %126, i32 0, i32 6
  %128 = load i32, ptr %10, align 4, !tbaa !9
  %129 = zext i32 %128 to i64
  %130 = load i64, ptr %14, align 8, !tbaa !11
  call void @i64_store(ptr noundef %127, i64 noundef %129, i64 noundef %130)
  %131 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %131, ptr %10, align 4, !tbaa !9
  %132 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %132, ptr %11, align 4, !tbaa !9
  %133 = load ptr, ptr %2, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.w2c_hermes, ptr %133, i32 0, i32 6
  %135 = load i32, ptr %11, align 4, !tbaa !9
  %136 = zext i32 %135 to i64
  %137 = call i64 @i64_load(ptr noundef %134, i64 noundef %136)
  store i64 %137, ptr %14, align 8, !tbaa !11
  %138 = load ptr, ptr %2, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.w2c_hermes, ptr %138, i32 0, i32 6
  %140 = load i32, ptr %10, align 4, !tbaa !9
  %141 = zext i32 %140 to i64
  %142 = add i64 %141, 8
  %143 = load i64, ptr %14, align 8, !tbaa !11
  call void @i64_store(ptr noundef %139, i64 noundef %142, i64 noundef %143)
  %144 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %144, ptr %10, align 4, !tbaa !9
  %145 = load ptr, ptr %2, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.w2c_hermes, ptr %145, i32 0, i32 6
  %147 = load i32, ptr %10, align 4, !tbaa !9
  %148 = zext i32 %147 to i64
  %149 = add i64 %148, 8
  %150 = call i64 @i64_load(ptr noundef %146, i64 noundef %149)
  store i64 %150, ptr %13, align 8, !tbaa !11
  %151 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %151, ptr %9, align 8, !tbaa !11
  %152 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %152, ptr %10, align 4, !tbaa !9
  store i32 16, ptr %11, align 4, !tbaa !9
  %153 = load i32, ptr %11, align 4, !tbaa !9
  %154 = load i32, ptr %10, align 4, !tbaa !9
  %155 = add i32 %154, %153
  store i32 %155, ptr %10, align 4, !tbaa !9
  %156 = load i32, ptr %10, align 4, !tbaa !9
  %157 = load ptr, ptr %2, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.w2c_hermes, ptr %157, i32 0, i32 3
  store i32 %156, ptr %158, align 8, !tbaa !13
  %159 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %159, ptr %10, align 4, !tbaa !9
  store i32 16, ptr %11, align 4, !tbaa !9
  %160 = load i32, ptr %11, align 4, !tbaa !9
  %161 = load i32, ptr %10, align 4, !tbaa !9
  %162 = add i32 %161, %160
  store i32 %162, ptr %10, align 4, !tbaa !9
  %163 = load i32, ptr %10, align 4, !tbaa !9
  %164 = load ptr, ptr %2, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.w2c_hermes, ptr %164, i32 0, i32 3
  store i32 %163, ptr %165, align 8, !tbaa !13
  %166 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %166, ptr %10, align 4, !tbaa !9
  %167 = load i64, ptr %9, align 8, !tbaa !11
  store i64 %167, ptr %14, align 8, !tbaa !11
  %168 = load ptr, ptr %2, 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, 8
  %173 = load i64, ptr %14, align 8, !tbaa !11
  call void @i64_store(ptr noundef %169, i64 noundef %172, i64 noundef %173)
  %174 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %174, ptr %10, align 4, !tbaa !9
  store i32 8, ptr %11, align 4, !tbaa !9
  %175 = load i32, ptr %11, align 4, !tbaa !9
  %176 = load i32, ptr %10, align 4, !tbaa !9
  %177 = add i32 %176, %175
  store i32 %177, ptr %10, align 4, !tbaa !9
  %178 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %178, ptr %5, align 4, !tbaa !9
  %179 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %179, ptr %11, align 4, !tbaa !9
  %180 = load ptr, ptr %2, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.w2c_hermes, ptr %180, i32 0, i32 6
  %182 = load i32, ptr %11, align 4, !tbaa !9
  %183 = zext i32 %182 to i64
  %184 = add i64 %183, 8
  %185 = call i64 @i64_load(ptr noundef %181, i64 noundef %184)
  store i64 %185, ptr %14, align 8, !tbaa !11
  %186 = load ptr, ptr %2, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.w2c_hermes, ptr %186, i32 0, i32 6
  %188 = load i32, ptr %10, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = load i64, ptr %14, align 8, !tbaa !11
  call void @i64_store(ptr noundef %187, i64 noundef %189, i64 noundef %190)
  %191 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %191, ptr %10, align 4, !tbaa !9
  store i32 16, ptr %11, align 4, !tbaa !9
  %192 = load i32, ptr %11, align 4, !tbaa !9
  %193 = load i32, ptr %10, align 4, !tbaa !9
  %194 = add i32 %193, %192
  store i32 %194, ptr %10, align 4, !tbaa !9
  %195 = load i32, ptr %10, align 4, !tbaa !9
  %196 = load ptr, ptr %2, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.w2c_hermes, ptr %196, i32 0, i32 3
  store i32 %195, ptr %197, align 8, !tbaa !13
  %198 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %198, ptr %10, align 4, !tbaa !9
  %199 = load ptr, ptr %2, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.w2c_hermes, ptr %199, i32 0, i32 6
  %201 = load i32, ptr %10, align 4, !tbaa !9
  %202 = zext i32 %201 to i64
  %203 = call i64 @i64_load(ptr noundef %200, i64 noundef %202)
  store i64 %203, ptr %13, align 8, !tbaa !11
  %204 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %204, ptr %9, align 8, !tbaa !11
  %205 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %205, ptr %10, align 4, !tbaa !9
  %206 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %206, ptr %11, align 4, !tbaa !9
  %207 = load ptr, ptr %2, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.w2c_hermes, ptr %207, i32 0, i32 6
  %209 = load i32, ptr %11, align 4, !tbaa !9
  %210 = zext i32 %209 to i64
  %211 = call i64 @i64_load(ptr noundef %208, i64 noundef %210)
  store i64 %211, ptr %14, align 8, !tbaa !11
  %212 = load ptr, ptr %2, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.w2c_hermes, ptr %212, i32 0, i32 6
  %214 = load i32, ptr %10, align 4, !tbaa !9
  %215 = zext i32 %214 to i64
  %216 = load i64, ptr %14, align 8, !tbaa !11
  call void @i64_store(ptr noundef %213, i64 noundef %215, i64 noundef %216)
  %217 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %217, ptr %10, align 4, !tbaa !9
  %218 = load i64, ptr %9, align 8, !tbaa !11
  store i64 %218, ptr %14, align 8, !tbaa !11
  %219 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %219, ptr %12, align 4, !tbaa !9
  %220 = load ptr, ptr %2, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.w2c_hermes, ptr %220, i32 0, i32 6
  %222 = load i32, ptr %12, align 4, !tbaa !9
  %223 = zext i32 %222 to i64
  %224 = call i64 @i64_load(ptr noundef %221, i64 noundef %223)
  store i64 %224, ptr %15, align 8, !tbaa !11
  %225 = load i64, ptr %15, align 8, !tbaa !11
  %226 = load i64, ptr %14, align 8, !tbaa !11
  %227 = add i64 %226, %225
  store i64 %227, ptr %14, align 8, !tbaa !11
  %228 = load ptr, ptr %2, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.w2c_hermes, ptr %228, i32 0, i32 6
  %230 = load i32, ptr %10, align 4, !tbaa !9
  %231 = zext i32 %230 to i64
  %232 = add i64 %231, 16
  %233 = load i64, ptr %14, align 8, !tbaa !11
  call void @i64_store(ptr noundef %229, i64 noundef %232, i64 noundef %233)
  %234 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %234, ptr %10, align 4, !tbaa !9
  %235 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %235, ptr %11, align 4, !tbaa !9
  %236 = load ptr, ptr %2, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.w2c_hermes, ptr %236, i32 0, i32 6
  %238 = load i32, ptr %11, align 4, !tbaa !9
  %239 = zext i32 %238 to i64
  %240 = add i64 %239, 16
  %241 = call i64 @i64_load(ptr noundef %237, i64 noundef %240)
  store i64 %241, ptr %14, align 8, !tbaa !11
  %242 = load ptr, ptr %2, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.w2c_hermes, ptr %242, i32 0, i32 6
  %244 = load i32, ptr %10, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  %246 = add i64 %245, 24
  %247 = load i64, ptr %14, align 8, !tbaa !11
  call void @i64_store(ptr noundef %243, i64 noundef %246, i64 noundef %247)
  %248 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %248, ptr %10, align 4, !tbaa !9
  %249 = load ptr, ptr %2, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.w2c_hermes, ptr %249, i32 0, i32 6
  %251 = load i32, ptr %10, align 4, !tbaa !9
  %252 = zext i32 %251 to i64
  %253 = add i64 %252, 24
  %254 = call i64 @i64_load(ptr noundef %250, i64 noundef %253)
  store i64 %254, ptr %13, align 8, !tbaa !11
  %255 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %255, ptr %9, align 8, !tbaa !11
  %256 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %256, ptr %10, align 4, !tbaa !9
  store i32 32, ptr %11, align 4, !tbaa !9
  %257 = load i32, ptr %11, align 4, !tbaa !9
  %258 = load i32, ptr %10, align 4, !tbaa !9
  %259 = add i32 %258, %257
  store i32 %259, ptr %10, align 4, !tbaa !9
  %260 = load i32, ptr %10, align 4, !tbaa !9
  %261 = load ptr, ptr %2, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.w2c_hermes, ptr %261, i32 0, i32 3
  store i32 %260, ptr %262, align 8, !tbaa !13
  %263 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %263, ptr %10, align 4, !tbaa !9
  %264 = load i64, ptr %9, align 8, !tbaa !11
  store i64 %264, ptr %14, align 8, !tbaa !11
  %265 = load ptr, ptr %2, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.w2c_hermes, ptr %265, i32 0, i32 6
  %267 = load i32, ptr %10, align 4, !tbaa !9
  %268 = zext i32 %267 to i64
  %269 = add i64 %268, 16
  %270 = load i64, ptr %14, align 8, !tbaa !11
  call void @i64_store(ptr noundef %266, i64 noundef %269, i64 noundef %270)
  %271 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %271, ptr %10, align 4, !tbaa !9
  %272 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %272, ptr %11, align 4, !tbaa !9
  %273 = load ptr, ptr %2, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.w2c_hermes, ptr %273, i32 0, i32 6
  %275 = load i32, ptr %11, align 4, !tbaa !9
  %276 = zext i32 %275 to i64
  %277 = add i64 %276, 16
  %278 = call i64 @i64_load(ptr noundef %274, i64 noundef %277)
  store i64 %278, ptr %14, align 8, !tbaa !11
  %279 = load ptr, ptr %2, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.w2c_hermes, ptr %279, i32 0, i32 6
  %281 = load i32, ptr %10, align 4, !tbaa !9
  %282 = zext i32 %281 to i64
  %283 = add i64 %282, 40
  %284 = load i64, ptr %14, align 8, !tbaa !11
  call void @i64_store(ptr noundef %280, i64 noundef %283, i64 noundef %284)
  %285 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %285, ptr %10, align 4, !tbaa !9
  %286 = load ptr, ptr %2, 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 i64 @i64_load(ptr noundef %287, i64 noundef %290)
  store i64 %291, ptr %13, align 8, !tbaa !11
  %292 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %292, ptr %9, align 8, !tbaa !11
  %293 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %293, ptr %10, align 4, !tbaa !9
  store i32 48, ptr %11, align 4, !tbaa !9
  %294 = load i32, ptr %11, align 4, !tbaa !9
  %295 = load i32, ptr %10, align 4, !tbaa !9
  %296 = add i32 %295, %294
  store i32 %296, ptr %10, align 4, !tbaa !9
  %297 = load i32, ptr %10, align 4, !tbaa !9
  %298 = load ptr, ptr %2, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.w2c_hermes, ptr %298, i32 0, i32 3
  store i32 %297, ptr %299, align 8, !tbaa !13
  %300 = load i64, ptr %9, align 8, !tbaa !11
  store i64 %300, ptr %13, align 8, !tbaa !11
  %301 = load i64, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  ret i64 %301
}

declare i32 @w2c_hermes_0x5F_clock_gettime(ptr noundef, i32 noundef, i32 noundef) #4

declare void @w2c_hermes_abort_message(ptr noundef, i32 noundef, i32 noundef) #4

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

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

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

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 = { noreturn "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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

!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, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 24}
!14 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !15, i64 40, !17, i64 80}
!15 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !16, i64 32}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}


; 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: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i64 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Achrono0x3A0x3Asteady_clock0x3A0x3Anow0x280x29(ptr noundef %0) local_unnamed_addr #2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 24
  %3 = load i32, ptr %2, align 8, !tbaa !5
  %4 = add i32 %3, -48
  store i32 %4, ptr %2, align 8, !tbaa !5
  %5 = add i32 %3, -24
  %6 = tail call i32 @w2c_hermes_0x5F_clock_gettime(ptr noundef %0, i32 noundef 1, i32 noundef %5) #4
  %.not = icmp eq i32 %6, 0
  br i1 %.not, label %10, label %7

7:                                                ; preds = %1
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef 120240)
  tail call void @w2c_hermes_abort_message(ptr noundef nonnull %0, i32 noundef %9, i32 noundef 54817) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

10:                                               ; preds = %1
  %11 = add i32 %3, -40
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  %13 = zext i32 %4 to i64
  %14 = add nuw nsw i64 %13, 24
  %15 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %14)
  %16 = zext i32 %11 to i64
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %16, i64 noundef %15)
  %17 = add nuw nsw i64 %13, 32
  %18 = tail call i64 @i64_load32_s(ptr noundef nonnull %12, i64 noundef %17)
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %13, i64 noundef %18)
  %19 = load i32, ptr %2, align 8, !tbaa !5
  %20 = add i32 %19, -32
  %21 = add i32 %19, -48
  %22 = add i32 %19, -80
  store i32 %22, ptr %2, align 8, !tbaa !5
  %23 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %16)
  %24 = mul i64 %23, 1000000000
  %25 = zext i32 %22 to i64
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %25, i64 noundef %24)
  %26 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %25)
  %27 = add nuw nsw i64 %25, 8
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %27, i64 noundef %26)
  %28 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %27)
  store i32 %21, ptr %2, align 8, !tbaa !5
  %29 = zext i32 %21 to i64
  %30 = add nuw nsw i64 %29, 8
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %30, i64 noundef %28)
  %31 = add i32 %19, -24
  %32 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %30)
  %33 = zext i32 %31 to i64
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %33, i64 noundef %32)
  store i32 %20, ptr %2, align 8, !tbaa !5
  %34 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %33)
  %35 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %13)
  %36 = zext i32 %20 to i64
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %36, i64 noundef %35)
  %37 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %36)
  %38 = add i64 %37, %34
  %39 = add nuw nsw i64 %36, 16
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %39, i64 noundef %38)
  %40 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %39)
  %41 = add nuw nsw i64 %36, 24
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %41, i64 noundef %40)
  %42 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %41)
  store i32 %19, ptr %2, align 8, !tbaa !5
  %43 = add nuw nsw i64 %13, 16
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %43, i64 noundef %42)
  %44 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %43)
  %45 = add nuw nsw i64 %13, 40
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %45, i64 noundef %44)
  %46 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %45)
  store i32 %3, ptr %2, align 8, !tbaa !5
  ret i64 %46
}

declare i32 @w2c_hermes_0x5F_clock_gettime(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare void @w2c_hermes_abort_message(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; 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 void @i64_store(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

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

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 = { noreturn "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 }
attributes #5 = { noreturn 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,ReassociatePass,SROAPass,TailCallElimPass