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

; 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

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AInterpreter0x3A0x3AsaveGenerator0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3APinnedHermesValue0x2A0x2C0x20hermes0x3A0x3Ainst0x3A0x3AInst0x20const0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #4 {
  %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 i64, align 8
  %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 i64, align 8
  %17 = alloca i64, 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) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  store i64 0, ptr %10, align 8, !tbaa !11
  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 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %18 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %18, ptr %11, align 4, !tbaa !9
  store i32 56, ptr %12, align 4, !tbaa !9
  %19 = load i32, ptr %12, align 4, !tbaa !9
  %20 = load i32, ptr %11, align 4, !tbaa !9
  %21 = sub i32 %20, %19
  store i32 %21, ptr %11, align 4, !tbaa !9
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.w2c_hermes, ptr %22, i32 0, i32 6
  %24 = load i32, ptr %11, align 4, !tbaa !9
  %25 = zext i32 %24 to i64
  %26 = call i64 @i64_load(ptr noundef %23, i64 noundef %25)
  store i64 %26, ptr %16, align 8, !tbaa !11
  %27 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %27, ptr %10, align 8, !tbaa !11
  store i64 -844424930131969, ptr %17, align 8, !tbaa !11
  %28 = load i64, ptr %16, align 8, !tbaa !11
  %29 = load i64, ptr %17, align 8, !tbaa !11
  %30 = icmp ugt i64 %28, %29
  %31 = zext i1 %30 to i32
  store i32 %31, ptr %11, align 4, !tbaa !9
  %32 = load i32, ptr %11, align 4, !tbaa !9
  %33 = icmp ne i32 %32, 0
  br i1 %33, label %34, label %196

34:                                               ; preds = %4
  %35 = load i64, ptr %10, align 8, !tbaa !11
  store i64 %35, ptr %16, align 8, !tbaa !11
  %36 = load i64, ptr %16, align 8, !tbaa !11
  %37 = trunc i64 %36 to i32
  store i32 %37, ptr %11, align 4, !tbaa !9
  %38 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %38, ptr %7, align 4, !tbaa !9
  %39 = load i32, ptr %11, align 4, !tbaa !9
  %40 = icmp ne i32 %39, 0
  %41 = xor i1 %40, true
  %42 = zext i1 %41 to i32
  store i32 %42, ptr %11, align 4, !tbaa !9
  %43 = load i32, ptr %11, align 4, !tbaa !9
  %44 = icmp ne i32 %43, 0
  br i1 %44, label %45, label %46

45:                                               ; preds = %34
  br label %214

46:                                               ; preds = %34
  %47 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %47, ptr %11, align 4, !tbaa !9
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.w2c_hermes, ptr %48, i32 0, i32 6
  %50 = load i32, ptr %11, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = call i32 @i32_load(ptr noundef %49, i64 noundef %51)
  store i32 %52, ptr %11, align 4, !tbaa !9
  %53 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %53, ptr %9, align 4, !tbaa !9
  store i32 1140850688, ptr %12, align 4, !tbaa !9
  %54 = load i32, ptr %12, align 4, !tbaa !9
  %55 = load i32, ptr %11, align 4, !tbaa !9
  %56 = sub i32 %55, %54
  store i32 %56, ptr %11, align 4, !tbaa !9
  store i32 150994944, ptr %12, align 4, !tbaa !9
  %57 = load i32, ptr %11, align 4, !tbaa !9
  %58 = load i32, ptr %12, align 4, !tbaa !9
  %59 = icmp uge i32 %57, %58
  %60 = zext i1 %59 to i32
  store i32 %60, ptr %11, align 4, !tbaa !9
  %61 = load i32, ptr %11, align 4, !tbaa !9
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %64

63:                                               ; preds = %46
  br label %232

64:                                               ; preds = %46
  %65 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %65, ptr %11, align 4, !tbaa !9
  store i32 -16777216, ptr %12, align 4, !tbaa !9
  %66 = load i32, ptr %12, align 4, !tbaa !9
  %67 = load i32, ptr %11, align 4, !tbaa !9
  %68 = and i32 %67, %66
  store i32 %68, ptr %11, align 4, !tbaa !9
  store i32 1241513984, ptr %12, align 4, !tbaa !9
  %69 = load i32, ptr %11, align 4, !tbaa !9
  %70 = load i32, ptr %12, align 4, !tbaa !9
  %71 = icmp ne i32 %69, %70
  %72 = zext i1 %71 to i32
  store i32 %72, ptr %11, align 4, !tbaa !9
  %73 = load i32, ptr %11, align 4, !tbaa !9
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %76

75:                                               ; preds = %64
  br label %250

76:                                               ; preds = %64
  %77 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %77, ptr %11, align 4, !tbaa !9
  %78 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %78, ptr %12, align 4, !tbaa !9
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = load i32, ptr %11, align 4, !tbaa !9
  %81 = load i32, ptr %12, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGeneratorInnerFunction0x3A0x3AsaveStack0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(ptr noundef %79, i32 noundef %80, i32 noundef %81)
  %82 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %82, ptr %11, align 4, !tbaa !9
  store i32 1320, ptr %12, align 4, !tbaa !9
  %83 = load i32, ptr %12, align 4, !tbaa !9
  %84 = load i32, ptr %11, align 4, !tbaa !9
  %85 = add i32 %84, %83
  store i32 %85, ptr %11, align 4, !tbaa !9
  %86 = load ptr, ptr %5, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.w2c_hermes, ptr %86, i32 0, i32 6
  %88 = load i32, ptr %11, align 4, !tbaa !9
  %89 = zext i32 %88 to i64
  %90 = call i32 @i32_load(ptr noundef %87, i64 noundef %89)
  store i32 %90, ptr %11, align 4, !tbaa !9
  %91 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %91, ptr %12, align 4, !tbaa !9
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.w2c_hermes, ptr %92, i32 0, i32 6
  %94 = load i32, ptr %12, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = add i64 %95, 32
  %97 = call i32 @i32_load(ptr noundef %93, i64 noundef %96)
  store i32 %97, ptr %12, align 4, !tbaa !9
  %98 = load i32, ptr %12, align 4, !tbaa !9
  %99 = load i32, ptr %11, align 4, !tbaa !9
  %100 = xor i32 %99, %98
  store i32 %100, ptr %11, align 4, !tbaa !9
  %101 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %101, ptr %9, align 4, !tbaa !9
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.w2c_hermes, ptr %102, i32 0, i32 6
  %104 = load i32, ptr %11, align 4, !tbaa !9
  %105 = zext i32 %104 to i64
  %106 = add i64 %105, 8
  %107 = call i32 @i32_load(ptr noundef %103, i64 noundef %106)
  store i32 %107, ptr %11, align 4, !tbaa !9
  %108 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %108, ptr %6, align 4, !tbaa !9
  %109 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %109, ptr %12, align 4, !tbaa !9
  %110 = load i32, ptr %11, align 4, !tbaa !9
  %111 = load i32, ptr %12, align 4, !tbaa !9
  %112 = icmp ugt i32 %110, %111
  %113 = zext i1 %112 to i32
  store i32 %113, ptr %11, align 4, !tbaa !9
  %114 = load i32, ptr %11, align 4, !tbaa !9
  %115 = icmp ne i32 %114, 0
  br i1 %115, label %116, label %117

116:                                              ; preds = %76
  br label %268

117:                                              ; preds = %76
  %118 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %118, ptr %11, align 4, !tbaa !9
  %119 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %119, ptr %12, align 4, !tbaa !9
  %120 = load i32, ptr %12, align 4, !tbaa !9
  %121 = load i32, ptr %11, align 4, !tbaa !9
  %122 = sub i32 %121, %120
  store i32 %122, ptr %11, align 4, !tbaa !9
  %123 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %123, ptr %6, align 4, !tbaa !9
  %124 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %124, ptr %12, align 4, !tbaa !9
  %125 = load ptr, ptr %5, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.w2c_hermes, ptr %125, i32 0, i32 6
  %127 = load i32, ptr %12, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = add i64 %128, 4
  %130 = call i32 @i32_load(ptr noundef %126, i64 noundef %129)
  store i32 %130, ptr %12, align 4, !tbaa !9
  %131 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %131, ptr %8, align 4, !tbaa !9
  store i32 1, ptr %13, align 4, !tbaa !9
  %132 = load i32, ptr %13, align 4, !tbaa !9
  %133 = load i32, ptr %12, align 4, !tbaa !9
  %134 = and i32 %133, %132
  store i32 %134, ptr %12, align 4, !tbaa !9
  %135 = load i32, ptr %12, align 4, !tbaa !9
  %136 = icmp ne i32 %135, 0
  br i1 %136, label %137, label %145

137:                                              ; preds = %117
  %138 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %138, ptr %12, align 4, !tbaa !9
  %139 = load ptr, ptr %5, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.w2c_hermes, ptr %139, i32 0, i32 6
  %141 = load i32, ptr %12, align 4, !tbaa !9
  %142 = zext i32 %141 to i64
  %143 = add i64 %142, 7
  %144 = call i32 @i32_load(ptr noundef %140, i64 noundef %143)
  store i32 %144, ptr %12, align 4, !tbaa !9
  br label %156

145:                                              ; preds = %117
  %146 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %146, ptr %12, align 4, !tbaa !9
  %147 = load ptr, ptr %5, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.w2c_hermes, ptr %147, i32 0, i32 6
  %149 = load i32, ptr %12, align 4, !tbaa !9
  %150 = zext i32 %149 to i64
  %151 = add i64 %150, 4
  %152 = call i32 @i32_load(ptr noundef %148, i64 noundef %151)
  store i32 %152, ptr %12, align 4, !tbaa !9
  store i32 32767, ptr %13, align 4, !tbaa !9
  %153 = load i32, ptr %13, align 4, !tbaa !9
  %154 = load i32, ptr %12, align 4, !tbaa !9
  %155 = and i32 %154, %153
  store i32 %155, ptr %12, align 4, !tbaa !9
  br label %156

156:                                              ; preds = %145, %137
  %157 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %157, ptr %8, align 4, !tbaa !9
  %158 = load i32, ptr %11, align 4, !tbaa !9
  %159 = load i32, ptr %12, align 4, !tbaa !9
  %160 = icmp sge i32 %158, %159
  %161 = zext i1 %160 to i32
  store i32 %161, ptr %11, align 4, !tbaa !9
  %162 = load i32, ptr %11, align 4, !tbaa !9
  %163 = icmp ne i32 %162, 0
  br i1 %163, label %164, label %165

164:                                              ; preds = %156
  br label %286

165:                                              ; preds = %156
  %166 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %166, ptr %11, align 4, !tbaa !9
  %167 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %167, ptr %12, align 4, !tbaa !9
  %168 = load ptr, ptr %5, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.w2c_hermes, ptr %168, i32 0, i32 6
  %170 = load i32, ptr %11, align 4, !tbaa !9
  %171 = zext i32 %170 to i64
  %172 = add i64 %171, 56
  %173 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %169, i64 noundef %172, i32 noundef %173)
  %174 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %174, ptr %11, align 4, !tbaa !9
  %175 = load ptr, ptr %5, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.w2c_hermes, ptr %175, i32 0, i32 6
  %177 = load i32, ptr %11, align 4, !tbaa !9
  %178 = zext i32 %177 to i64
  %179 = add i64 %178, 40
  %180 = call i32 @i32_load(ptr noundef %176, i64 noundef %179)
  store i32 %180, ptr %11, align 4, !tbaa !9
  store i32 3, ptr %12, align 4, !tbaa !9
  %181 = load i32, ptr %11, align 4, !tbaa !9
  %182 = load i32, ptr %12, align 4, !tbaa !9
  %183 = icmp eq i32 %181, %182
  %184 = zext i1 %183 to i32
  store i32 %184, ptr %11, align 4, !tbaa !9
  %185 = load i32, ptr %11, align 4, !tbaa !9
  %186 = icmp ne i32 %185, 0
  br i1 %186, label %187, label %188

187:                                              ; preds = %165
  br label %304

188:                                              ; preds = %165
  %189 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %189, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, 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 %11, align 4, !tbaa !9
  %193 = zext i32 %192 to i64
  %194 = add i64 %193, 40
  %195 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %191, i64 noundef %194, i32 noundef %195)
  br label %322

196:                                              ; preds = %4
  store i32 0, ptr %11, align 4, !tbaa !9
  %197 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %197, ptr %7, align 4, !tbaa !9
  store i32 146777, ptr %12, align 4, !tbaa !9
  %198 = load i32, ptr %12, align 4, !tbaa !9
  %199 = load i32, ptr %11, align 4, !tbaa !9
  %200 = add i32 %199, %198
  store i32 %200, ptr %11, align 4, !tbaa !9
  %201 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %201, ptr %12, align 4, !tbaa !9
  store i32 82692, ptr %13, align 4, !tbaa !9
  %202 = load i32, ptr %13, align 4, !tbaa !9
  %203 = load i32, ptr %12, align 4, !tbaa !9
  %204 = add i32 %203, %202
  store i32 %204, ptr %12, align 4, !tbaa !9
  store i32 43, ptr %13, align 4, !tbaa !9
  %205 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %205, ptr %14, align 4, !tbaa !9
  store i32 24718, ptr %15, align 4, !tbaa !9
  %206 = load i32, ptr %15, align 4, !tbaa !9
  %207 = load i32, ptr %14, align 4, !tbaa !9
  %208 = add i32 %207, %206
  store i32 %208, ptr %14, align 4, !tbaa !9
  %209 = load ptr, ptr %5, align 8, !tbaa !5
  %210 = load i32, ptr %11, align 4, !tbaa !9
  %211 = load i32, ptr %12, align 4, !tbaa !9
  %212 = load i32, ptr %13, align 4, !tbaa !9
  %213 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %209, i32 noundef %210, i32 noundef %211, i32 noundef %212, i32 noundef %213)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

214:                                              ; preds = %45
  store i32 0, ptr %11, align 4, !tbaa !9
  %215 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %215, ptr %7, align 4, !tbaa !9
  store i32 147142, ptr %12, align 4, !tbaa !9
  %216 = load i32, ptr %12, align 4, !tbaa !9
  %217 = load i32, ptr %11, align 4, !tbaa !9
  %218 = add i32 %217, %216
  store i32 %218, ptr %11, align 4, !tbaa !9
  %219 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %219, ptr %12, align 4, !tbaa !9
  store i32 82611, ptr %13, align 4, !tbaa !9
  %220 = load i32, ptr %13, align 4, !tbaa !9
  %221 = load i32, ptr %12, align 4, !tbaa !9
  %222 = add i32 %221, %220
  store i32 %222, ptr %12, align 4, !tbaa !9
  store i32 106, ptr %13, align 4, !tbaa !9
  %223 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %223, ptr %14, align 4, !tbaa !9
  store i32 28119, ptr %15, align 4, !tbaa !9
  %224 = load i32, ptr %15, align 4, !tbaa !9
  %225 = load i32, ptr %14, align 4, !tbaa !9
  %226 = add i32 %225, %224
  store i32 %226, ptr %14, align 4, !tbaa !9
  %227 = load ptr, ptr %5, align 8, !tbaa !5
  %228 = load i32, ptr %11, align 4, !tbaa !9
  %229 = load i32, ptr %12, align 4, !tbaa !9
  %230 = load i32, ptr %13, align 4, !tbaa !9
  %231 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %227, i32 noundef %228, i32 noundef %229, i32 noundef %230, i32 noundef %231)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

232:                                              ; preds = %63
  store i32 0, ptr %11, align 4, !tbaa !9
  %233 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %233, ptr %7, align 4, !tbaa !9
  store i32 205012, ptr %12, align 4, !tbaa !9
  %234 = load i32, ptr %12, align 4, !tbaa !9
  %235 = load i32, ptr %11, align 4, !tbaa !9
  %236 = add i32 %235, %234
  store i32 %236, ptr %11, align 4, !tbaa !9
  %237 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %237, ptr %12, align 4, !tbaa !9
  store i32 82611, ptr %13, align 4, !tbaa !9
  %238 = load i32, ptr %13, align 4, !tbaa !9
  %239 = load i32, ptr %12, align 4, !tbaa !9
  %240 = add i32 %239, %238
  store i32 %240, ptr %12, align 4, !tbaa !9
  store i32 255, ptr %13, align 4, !tbaa !9
  %241 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %241, ptr %14, align 4, !tbaa !9
  store i32 24720, ptr %15, align 4, !tbaa !9
  %242 = load i32, ptr %15, align 4, !tbaa !9
  %243 = load i32, ptr %14, align 4, !tbaa !9
  %244 = add i32 %243, %242
  store i32 %244, ptr %14, align 4, !tbaa !9
  %245 = load ptr, ptr %5, align 8, !tbaa !5
  %246 = load i32, ptr %11, align 4, !tbaa !9
  %247 = load i32, ptr %12, align 4, !tbaa !9
  %248 = load i32, ptr %13, align 4, !tbaa !9
  %249 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %245, i32 noundef %246, i32 noundef %247, i32 noundef %248, i32 noundef %249)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

250:                                              ; preds = %75
  store i32 0, ptr %11, align 4, !tbaa !9
  %251 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %251, ptr %7, align 4, !tbaa !9
  store i32 205012, ptr %12, align 4, !tbaa !9
  %252 = load i32, ptr %12, align 4, !tbaa !9
  %253 = load i32, ptr %11, align 4, !tbaa !9
  %254 = add i32 %253, %252
  store i32 %254, ptr %11, align 4, !tbaa !9
  %255 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %255, ptr %12, align 4, !tbaa !9
  store i32 82611, ptr %13, align 4, !tbaa !9
  %256 = load i32, ptr %13, align 4, !tbaa !9
  %257 = load i32, ptr %12, align 4, !tbaa !9
  %258 = add i32 %257, %256
  store i32 %258, ptr %12, align 4, !tbaa !9
  store i32 255, ptr %13, align 4, !tbaa !9
  %259 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %259, ptr %14, align 4, !tbaa !9
  store i32 24720, ptr %15, align 4, !tbaa !9
  %260 = load i32, ptr %15, align 4, !tbaa !9
  %261 = load i32, ptr %14, align 4, !tbaa !9
  %262 = add i32 %261, %260
  store i32 %262, ptr %14, align 4, !tbaa !9
  %263 = load ptr, ptr %5, align 8, !tbaa !5
  %264 = load i32, ptr %11, align 4, !tbaa !9
  %265 = load i32, ptr %12, align 4, !tbaa !9
  %266 = load i32, ptr %13, align 4, !tbaa !9
  %267 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %263, i32 noundef %264, i32 noundef %265, i32 noundef %266, i32 noundef %267)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

268:                                              ; preds = %116
  store i32 0, ptr %11, align 4, !tbaa !9
  %269 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %269, ptr %7, align 4, !tbaa !9
  store i32 160165, ptr %12, align 4, !tbaa !9
  %270 = load i32, ptr %12, align 4, !tbaa !9
  %271 = load i32, ptr %11, align 4, !tbaa !9
  %272 = add i32 %271, %270
  store i32 %272, ptr %11, align 4, !tbaa !9
  %273 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %273, ptr %12, align 4, !tbaa !9
  store i32 82545, ptr %13, align 4, !tbaa !9
  %274 = load i32, ptr %13, align 4, !tbaa !9
  %275 = load i32, ptr %12, align 4, !tbaa !9
  %276 = add i32 %275, %274
  store i32 %276, ptr %12, align 4, !tbaa !9
  store i32 225, ptr %13, align 4, !tbaa !9
  %277 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %277, ptr %14, align 4, !tbaa !9
  store i32 88188, ptr %15, align 4, !tbaa !9
  %278 = load i32, ptr %15, align 4, !tbaa !9
  %279 = load i32, ptr %14, align 4, !tbaa !9
  %280 = add i32 %279, %278
  store i32 %280, ptr %14, align 4, !tbaa !9
  %281 = load ptr, ptr %5, align 8, !tbaa !5
  %282 = load i32, ptr %11, align 4, !tbaa !9
  %283 = load i32, ptr %12, align 4, !tbaa !9
  %284 = load i32, ptr %13, align 4, !tbaa !9
  %285 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %281, i32 noundef %282, i32 noundef %283, i32 noundef %284, i32 noundef %285)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

286:                                              ; preds = %164
  store i32 0, ptr %11, align 4, !tbaa !9
  %287 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %287, ptr %7, align 4, !tbaa !9
  store i32 160248, ptr %12, align 4, !tbaa !9
  %288 = load i32, ptr %12, align 4, !tbaa !9
  %289 = load i32, ptr %11, align 4, !tbaa !9
  %290 = add i32 %289, %288
  store i32 %290, ptr %11, align 4, !tbaa !9
  %291 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %291, ptr %12, align 4, !tbaa !9
  store i32 82545, ptr %13, align 4, !tbaa !9
  %292 = load i32, ptr %13, align 4, !tbaa !9
  %293 = load i32, ptr %12, align 4, !tbaa !9
  %294 = add i32 %293, %292
  store i32 %294, ptr %12, align 4, !tbaa !9
  store i32 227, ptr %13, align 4, !tbaa !9
  %295 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %295, ptr %14, align 4, !tbaa !9
  store i32 88188, ptr %15, align 4, !tbaa !9
  %296 = load i32, ptr %15, align 4, !tbaa !9
  %297 = load i32, ptr %14, align 4, !tbaa !9
  %298 = add i32 %297, %296
  store i32 %298, ptr %14, align 4, !tbaa !9
  %299 = load ptr, ptr %5, align 8, !tbaa !5
  %300 = load i32, ptr %11, align 4, !tbaa !9
  %301 = load i32, ptr %12, align 4, !tbaa !9
  %302 = load i32, ptr %13, align 4, !tbaa !9
  %303 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %299, i32 noundef %300, i32 noundef %301, i32 noundef %302, i32 noundef %303)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

304:                                              ; preds = %187
  store i32 0, ptr %11, align 4, !tbaa !9
  %305 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %305, ptr %7, align 4, !tbaa !9
  store i32 165728, ptr %12, align 4, !tbaa !9
  %306 = load i32, ptr %12, align 4, !tbaa !9
  %307 = load i32, ptr %11, align 4, !tbaa !9
  %308 = add i32 %307, %306
  store i32 %308, ptr %11, align 4, !tbaa !9
  %309 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %309, ptr %12, align 4, !tbaa !9
  store i32 84637, ptr %13, align 4, !tbaa !9
  %310 = load i32, ptr %13, align 4, !tbaa !9
  %311 = load i32, ptr %12, align 4, !tbaa !9
  %312 = add i32 %311, %310
  store i32 %312, ptr %12, align 4, !tbaa !9
  store i32 1128, ptr %13, align 4, !tbaa !9
  %313 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %313, ptr %14, align 4, !tbaa !9
  store i32 91254, ptr %15, align 4, !tbaa !9
  %314 = load i32, ptr %15, align 4, !tbaa !9
  %315 = load i32, ptr %14, align 4, !tbaa !9
  %316 = add i32 %315, %314
  store i32 %316, ptr %14, align 4, !tbaa !9
  %317 = load ptr, ptr %5, align 8, !tbaa !5
  %318 = load i32, ptr %11, align 4, !tbaa !9
  %319 = load i32, ptr %12, align 4, !tbaa !9
  %320 = load i32, ptr %13, align 4, !tbaa !9
  %321 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %317, i32 noundef %318, i32 noundef %319, i32 noundef %320, i32 noundef %321)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

322:                                              ; preds = %188
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, 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 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret void
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #4 = { 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 #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}


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

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AInterpreter0x3A0x3AsaveGenerator0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3APinnedHermesValue0x2A0x2C0x20hermes0x3A0x3Ainst0x3A0x3AInst0x20const0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 {
  %5 = add i32 %2, -56
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  %7 = zext i32 %5 to i64
  %8 = tail call i64 @i64_load(ptr noundef nonnull %6, i64 noundef %7)
  %9 = icmp ugt i64 %8, -844424930131969
  br i1 %9, label %10, label %50

10:                                               ; preds = %4
  %11 = trunc i64 %8 to i32
  %.not = icmp eq i32 %11, 0
  br i1 %.not, label %51, label %12

12:                                               ; preds = %10
  %13 = and i64 %8, 4294967295
  %14 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %13)
  %15 = add i32 %14, -1291845632
  %16 = icmp ult i32 %15, -150994944
  br i1 %16, label %52, label %17

17:                                               ; preds = %12
  %18 = and i32 %14, 1325400064
  %.not192 = icmp eq i32 %18, 1241513984
  br i1 %.not192, label %19, label %53

19:                                               ; preds = %17
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGeneratorInnerFunction0x3A0x3AsaveStack0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(ptr noundef %0, i32 noundef %11, i32 noundef %1)
  %20 = add i32 %1, 1320
  %21 = zext i32 %20 to i64
  %22 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %21)
  %23 = add nuw nsw i64 %13, 32
  %24 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %23)
  %25 = xor i32 %24, %22
  %26 = zext i32 %25 to i64
  %27 = add nuw nsw i64 %26, 8
  %28 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %27)
  %29 = icmp ugt i32 %28, %3
  br i1 %29, label %54, label %30

30:                                               ; preds = %19
  %31 = sub i32 %3, %28
  %32 = add nuw nsw i64 %26, 4
  %33 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %32)
  %34 = and i32 %33, 1
  %.not193 = icmp eq i32 %34, 0
  %35 = zext i32 %33 to i64
  br i1 %.not193, label %39, label %36

36:                                               ; preds = %30
  %37 = add nuw nsw i64 %35, 7
  %38 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %37)
  br label %43

39:                                               ; preds = %30
  %40 = add nuw nsw i64 %35, 4
  %41 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %40)
  %42 = and i32 %41, 32767
  br label %43

43:                                               ; preds = %39, %36
  %.0 = phi i32 [ %38, %36 ], [ %42, %39 ]
  %.not194 = icmp slt i32 %31, %.0
  br i1 %.not194, label %44, label %55

44:                                               ; preds = %43
  %45 = add nuw nsw i64 %13, 56
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %45, i32 noundef %31)
  %46 = add nuw nsw i64 %13, 40
  %47 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %46)
  %48 = icmp eq i32 %47, 3
  br i1 %48, label %56, label %49

49:                                               ; preds = %44
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %46, i32 noundef 1)
  ret void

50:                                               ; preds = %4
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 146777, i32 noundef 82692, i32 noundef 43, i32 noundef 24718) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

51:                                               ; preds = %10
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 147142, i32 noundef 82611, i32 noundef 106, i32 noundef 28119) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

52:                                               ; preds = %12
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 205012, i32 noundef 82611, i32 noundef 255, i32 noundef 24720) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

53:                                               ; preds = %17
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 205012, i32 noundef 82611, i32 noundef 255, i32 noundef 24720) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

54:                                               ; preds = %19
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 160165, i32 noundef 82545, i32 noundef 225, i32 noundef 88188) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

55:                                               ; preds = %43
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 160248, i32 noundef 82545, i32 noundef 227, i32 noundef 88188) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

56:                                               ; preds = %44
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 165728, i32 noundef 84637, i32 noundef 1128, i32 noundef 91254) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

attributes #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 = { 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 #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 = { 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)"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass