; 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 i32 @i32_load8_u(ptr noundef, i64 noundef) #3

; 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: inlinehint nounwind uwtable
declare hidden void @i32_store16(ptr noundef, i64 noundef, i32 noundef) #3

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHiddenClass0x3A0x3AreserveSlot0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(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 i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca 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 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store i64 0, ptr %12, align 8, !tbaa !11
  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 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.w2c_hermes, ptr %21, i32 0, i32 3
  %23 = load i32, ptr %22, align 8, !tbaa !13
  store i32 %23, ptr %13, align 4, !tbaa !9
  store i32 16, ptr %14, align 4, !tbaa !9
  %24 = load i32, ptr %14, align 4, !tbaa !9
  %25 = load i32, ptr %13, align 4, !tbaa !9
  %26 = sub i32 %25, %24
  store i32 %26, ptr %13, align 4, !tbaa !9
  %27 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %27, ptr %9, align 4, !tbaa !9
  %28 = load i32, ptr %13, align 4, !tbaa !9
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.w2c_hermes, ptr %29, i32 0, i32 3
  store i32 %28, ptr %30, align 8, !tbaa !13
  %31 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %31, ptr %13, align 4, !tbaa !9
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.w2c_hermes, ptr %32, i32 0, i32 6
  %34 = load i32, ptr %13, align 4, !tbaa !9
  %35 = zext i32 %34 to i64
  %36 = add i64 %35, 4
  %37 = call i32 @i32_load(ptr noundef %33, i64 noundef %36)
  store i32 %37, ptr %13, align 4, !tbaa !9
  %38 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %38, ptr %11, align 4, !tbaa !9
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.w2c_hermes, ptr %39, i32 0, i32 6
  %41 = load i32, ptr %13, align 4, !tbaa !9
  %42 = zext i32 %41 to i64
  %43 = call i64 @i64_load(ptr noundef %40, i64 noundef %42)
  store i64 %43, ptr %19, align 8, !tbaa !11
  %44 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %44, ptr %12, align 8, !tbaa !11
  store i64 48, ptr %20, align 8, !tbaa !11
  %45 = load i64, ptr %19, align 8, !tbaa !11
  %46 = load i64, ptr %20, align 8, !tbaa !11
  %47 = and i64 %46, 63
  %48 = ashr i64 %45, %47
  store i64 %48, ptr %19, align 8, !tbaa !11
  %49 = load i64, ptr %19, align 8, !tbaa !11
  %50 = trunc i64 %49 to i32
  store i32 %50, ptr %13, align 4, !tbaa !9
  store i32 -1, ptr %14, align 4, !tbaa !9
  %51 = load i32, ptr %13, align 4, !tbaa !9
  %52 = load i32, ptr %14, align 4, !tbaa !9
  %53 = icmp eq i32 %51, %52
  %54 = zext i1 %53 to i32
  store i32 %54, ptr %13, align 4, !tbaa !9
  %55 = load i32, ptr %13, align 4, !tbaa !9
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %219

57:                                               ; preds = %4
  %58 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %58, ptr %19, align 8, !tbaa !11
  store i64 -844424930131969, ptr %20, align 8, !tbaa !11
  %59 = load i64, ptr %19, align 8, !tbaa !11
  %60 = load i64, ptr %20, align 8, !tbaa !11
  %61 = icmp ule i64 %59, %60
  %62 = zext i1 %61 to i32
  store i32 %62, ptr %13, align 4, !tbaa !9
  %63 = load i32, ptr %13, align 4, !tbaa !9
  %64 = icmp ne i32 %63, 0
  br i1 %64, label %65, label %66

65:                                               ; preds = %57
  br label %237

66:                                               ; preds = %57
  %67 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %67, ptr %19, align 8, !tbaa !11
  %68 = load i64, ptr %19, align 8, !tbaa !11
  %69 = trunc i64 %68 to i32
  store i32 %69, ptr %13, align 4, !tbaa !9
  %70 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %70, ptr %10, align 4, !tbaa !9
  %71 = load i32, ptr %13, align 4, !tbaa !9
  %72 = icmp ne i32 %71, 0
  %73 = xor i1 %72, true
  %74 = zext i1 %73 to i32
  store i32 %74, ptr %13, align 4, !tbaa !9
  %75 = load i32, ptr %13, align 4, !tbaa !9
  %76 = icmp ne i32 %75, 0
  br i1 %76, label %77, label %78

77:                                               ; preds = %66
  br label %255

78:                                               ; preds = %66
  %79 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %79, ptr %13, align 4, !tbaa !9
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.w2c_hermes, ptr %80, i32 0, i32 6
  %82 = load i32, ptr %13, align 4, !tbaa !9
  %83 = zext i32 %82 to i64
  %84 = add i64 %83, 18
  %85 = call i32 @i32_load8_u(ptr noundef %81, i64 noundef %84)
  store i32 %85, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %14, align 4, !tbaa !9
  %86 = load i32, ptr %14, align 4, !tbaa !9
  %87 = load i32, ptr %13, align 4, !tbaa !9
  %88 = and i32 %87, %86
  store i32 %88, ptr %13, align 4, !tbaa !9
  %89 = load i32, ptr %13, align 4, !tbaa !9
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %92

91:                                               ; preds = %78
  br label %273

92:                                               ; preds = %78
  %93 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %93, ptr %13, align 4, !tbaa !9
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.w2c_hermes, ptr %94, i32 0, i32 6
  %96 = load i32, ptr %13, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = add i64 %97, 20
  %99 = call i32 @i32_load(ptr noundef %95, i64 noundef %98)
  store i32 %99, ptr %13, align 4, !tbaa !9
  %100 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %100, ptr %10, align 4, !tbaa !9
  store i32 7, ptr %14, align 4, !tbaa !9
  %101 = load i32, ptr %13, align 4, !tbaa !9
  %102 = load i32, ptr %14, align 4, !tbaa !9
  %103 = icmp uge i32 %101, %102
  %104 = zext i1 %103 to i32
  store i32 %104, ptr %13, align 4, !tbaa !9
  %105 = load i32, ptr %13, align 4, !tbaa !9
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %108

107:                                              ; preds = %92
  br label %291

108:                                              ; preds = %92
  %109 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %109, ptr %13, align 4, !tbaa !9
  %110 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %110, ptr %14, align 4, !tbaa !9
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.w2c_hermes, ptr %111, i32 0, i32 6
  %113 = load i32, ptr %13, align 4, !tbaa !9
  %114 = zext i32 %113 to i64
  %115 = add i64 %114, 12
  %116 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %112, i64 noundef %115, i32 noundef %116)
  %117 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %117, ptr %13, align 4, !tbaa !9
  %118 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %118, ptr %14, align 4, !tbaa !9
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.w2c_hermes, ptr %119, i32 0, i32 6
  %121 = load i32, ptr %14, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = call i32 @i32_load(ptr noundef %120, i64 noundef %122)
  store i32 %123, ptr %14, align 4, !tbaa !9
  %124 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %124, ptr %7, 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 %13, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = add i64 %128, 8
  %130 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %126, i64 noundef %129, i32 noundef %130)
  %131 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %131, ptr %13, align 4, !tbaa !9
  %132 = load i32, ptr %13, align 4, !tbaa !9
  %133 = icmp ne i32 %132, 0
  br i1 %133, label %134, label %150

134:                                              ; preds = %108
  %135 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %135, ptr %13, align 4, !tbaa !9
  %136 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %136, ptr %14, align 4, !tbaa !9
  %137 = load ptr, ptr %5, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.w2c_hermes, ptr %137, i32 0, i32 6
  %139 = load i32, ptr %14, align 4, !tbaa !9
  %140 = zext i32 %139 to i64
  %141 = call i32 @i32_load(ptr noundef %138, i64 noundef %140)
  store i32 %141, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %142 = load i32, ptr %15, align 4, !tbaa !9
  %143 = load i32, ptr %14, align 4, !tbaa !9
  %144 = add i32 %143, %142
  store i32 %144, ptr %14, align 4, !tbaa !9
  %145 = load ptr, ptr %5, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.w2c_hermes, ptr %145, i32 0, i32 6
  %147 = load i32, ptr %13, align 4, !tbaa !9
  %148 = zext i32 %147 to i64
  %149 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %146, i64 noundef %148, i32 noundef %149)
  br label %150

150:                                              ; preds = %134, %108
  %151 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %151, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  %152 = load ptr, ptr %5, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.w2c_hermes, ptr %152, i32 0, i32 6
  %154 = load i32, ptr %13, align 4, !tbaa !9
  %155 = zext i32 %154 to i64
  %156 = add i64 %155, 4
  %157 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %153, i64 noundef %156, i32 noundef %157)
  %158 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %158, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  %159 = load ptr, ptr %5, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.w2c_hermes, ptr %159, i32 0, i32 6
  %161 = load i32, ptr %13, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = add i64 %162, 6
  %164 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %160, i64 noundef %163, i32 noundef %164)
  %165 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %165, ptr %13, align 4, !tbaa !9
  %166 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %166, ptr %14, align 4, !tbaa !9
  store i32 8, ptr %15, align 4, !tbaa !9
  %167 = load i32, ptr %15, align 4, !tbaa !9
  %168 = load i32, ptr %14, align 4, !tbaa !9
  %169 = add i32 %168, %167
  store i32 %169, ptr %14, align 4, !tbaa !9
  %170 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %170, ptr %15, align 4, !tbaa !9
  %171 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %171, ptr %16, align 4, !tbaa !9
  store i32 268435456, ptr %17, align 4, !tbaa !9
  %172 = load i32, ptr %17, align 4, !tbaa !9
  %173 = load i32, ptr %16, align 4, !tbaa !9
  %174 = or i32 %173, %172
  store i32 %174, ptr %16, align 4, !tbaa !9
  %175 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %175, ptr %17, align 4, !tbaa !9
  store i32 4, ptr %18, align 4, !tbaa !9
  %176 = load i32, ptr %18, align 4, !tbaa !9
  %177 = load i32, ptr %17, align 4, !tbaa !9
  %178 = add i32 %177, %176
  store i32 %178, ptr %17, align 4, !tbaa !9
  %179 = load ptr, ptr %5, align 8, !tbaa !5
  %180 = load i32, ptr %13, align 4, !tbaa !9
  %181 = load i32, ptr %14, align 4, !tbaa !9
  %182 = load i32, ptr %15, align 4, !tbaa !9
  %183 = load i32, ptr %16, align 4, !tbaa !9
  %184 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHiddenClass0x3A0x3AaddProperty0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x2C0x20hermes0x3A0x3Avm0x3A0x3APropertyFlags0x29(ptr noundef %179, i32 noundef %180, i32 noundef %181, i32 noundef %182, i32 noundef %183, i32 noundef %184)
  %185 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %185, ptr %13, align 4, !tbaa !9
  %186 = load ptr, ptr %5, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.w2c_hermes, ptr %186, i32 0, i32 6
  %188 = load i32, ptr %13, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = add i64 %189, 8
  %191 = call i32 @i32_load(ptr noundef %187, i64 noundef %190)
  store i32 %191, ptr %13, align 4, !tbaa !9
  %192 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %192, ptr %7, align 4, !tbaa !9
  %193 = load i32, ptr %13, align 4, !tbaa !9
  %194 = icmp ne i32 %193, 0
  br i1 %194, label %195, label %211

195:                                              ; preds = %150
  %196 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %196, ptr %13, align 4, !tbaa !9
  %197 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %197, ptr %14, align 4, !tbaa !9
  %198 = load ptr, ptr %5, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.w2c_hermes, ptr %198, i32 0, i32 6
  %200 = load i32, ptr %14, align 4, !tbaa !9
  %201 = zext i32 %200 to i64
  %202 = call i32 @i32_load(ptr noundef %199, i64 noundef %201)
  store i32 %202, ptr %14, align 4, !tbaa !9
  store i32 1, 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 = sub i32 %204, %203
  store i32 %205, ptr %14, align 4, !tbaa !9
  %206 = load ptr, ptr %5, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.w2c_hermes, ptr %206, i32 0, i32 6
  %208 = load i32, ptr %13, align 4, !tbaa !9
  %209 = zext i32 %208 to i64
  %210 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %207, i64 noundef %209, i32 noundef %210)
  br label %211

211:                                              ; preds = %195, %150
  %212 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %212, ptr %13, align 4, !tbaa !9
  store i32 16, ptr %14, align 4, !tbaa !9
  %213 = load i32, ptr %14, align 4, !tbaa !9
  %214 = load i32, ptr %13, align 4, !tbaa !9
  %215 = add i32 %214, %213
  store i32 %215, ptr %13, align 4, !tbaa !9
  %216 = load i32, ptr %13, align 4, !tbaa !9
  %217 = load ptr, ptr %5, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.w2c_hermes, ptr %217, i32 0, i32 3
  store i32 %216, ptr %218, align 8, !tbaa !13
  br label %309

219:                                              ; preds = %4
  store i32 0, ptr %13, align 4, !tbaa !9
  %220 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %220, ptr %9, align 4, !tbaa !9
  store i32 118124, ptr %14, align 4, !tbaa !9
  %221 = load i32, ptr %14, align 4, !tbaa !9
  %222 = load i32, ptr %13, align 4, !tbaa !9
  %223 = add i32 %222, %221
  store i32 %223, ptr %13, align 4, !tbaa !9
  %224 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %224, ptr %14, align 4, !tbaa !9
  store i32 83341, ptr %15, align 4, !tbaa !9
  %225 = load i32, ptr %15, align 4, !tbaa !9
  %226 = load i32, ptr %14, align 4, !tbaa !9
  %227 = add i32 %226, %225
  store i32 %227, ptr %14, align 4, !tbaa !9
  store i32 480, ptr %15, align 4, !tbaa !9
  %228 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %228, ptr %16, align 4, !tbaa !9
  store i32 38798, ptr %17, align 4, !tbaa !9
  %229 = load i32, ptr %17, align 4, !tbaa !9
  %230 = load i32, ptr %16, align 4, !tbaa !9
  %231 = add i32 %230, %229
  store i32 %231, ptr %16, align 4, !tbaa !9
  %232 = load ptr, ptr %5, align 8, !tbaa !5
  %233 = load i32, ptr %13, align 4, !tbaa !9
  %234 = load i32, ptr %14, align 4, !tbaa !9
  %235 = load i32, ptr %15, align 4, !tbaa !9
  %236 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %232, i32 noundef %233, i32 noundef %234, i32 noundef %235, i32 noundef %236)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

237:                                              ; preds = %65
  store i32 0, ptr %13, align 4, !tbaa !9
  %238 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %238, ptr %9, align 4, !tbaa !9
  store i32 118273, ptr %14, align 4, !tbaa !9
  %239 = load i32, ptr %14, align 4, !tbaa !9
  %240 = load i32, ptr %13, align 4, !tbaa !9
  %241 = add i32 %240, %239
  store i32 %241, ptr %13, align 4, !tbaa !9
  %242 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %242, ptr %14, align 4, !tbaa !9
  store i32 83341, ptr %15, align 4, !tbaa !9
  %243 = load i32, ptr %15, align 4, !tbaa !9
  %244 = load i32, ptr %14, align 4, !tbaa !9
  %245 = add i32 %244, %243
  store i32 %245, ptr %14, align 4, !tbaa !9
  store i32 438, ptr %15, align 4, !tbaa !9
  %246 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %246, ptr %16, align 4, !tbaa !9
  store i32 49706, ptr %17, align 4, !tbaa !9
  %247 = load i32, ptr %17, align 4, !tbaa !9
  %248 = load i32, ptr %16, align 4, !tbaa !9
  %249 = add i32 %248, %247
  store i32 %249, ptr %16, align 4, !tbaa !9
  %250 = load ptr, ptr %5, align 8, !tbaa !5
  %251 = load i32, ptr %13, align 4, !tbaa !9
  %252 = load i32, ptr %14, align 4, !tbaa !9
  %253 = load i32, ptr %15, align 4, !tbaa !9
  %254 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %250, i32 noundef %251, i32 noundef %252, i32 noundef %253, i32 noundef %254)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

255:                                              ; preds = %77
  store i32 0, ptr %13, align 4, !tbaa !9
  %256 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %256, ptr %9, align 4, !tbaa !9
  store i32 168498, ptr %14, align 4, !tbaa !9
  %257 = load i32, ptr %14, align 4, !tbaa !9
  %258 = load i32, ptr %13, align 4, !tbaa !9
  %259 = add i32 %258, %257
  store i32 %259, ptr %13, align 4, !tbaa !9
  %260 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %260, ptr %14, align 4, !tbaa !9
  store i32 78081, ptr %15, align 4, !tbaa !9
  %261 = load i32, ptr %15, align 4, !tbaa !9
  %262 = load i32, ptr %14, align 4, !tbaa !9
  %263 = add i32 %262, %261
  store i32 %263, ptr %14, align 4, !tbaa !9
  store i32 269, ptr %15, align 4, !tbaa !9
  %264 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %264, ptr %16, align 4, !tbaa !9
  store i32 20456, ptr %17, align 4, !tbaa !9
  %265 = load i32, ptr %17, align 4, !tbaa !9
  %266 = load i32, ptr %16, align 4, !tbaa !9
  %267 = add i32 %266, %265
  store i32 %267, ptr %16, align 4, !tbaa !9
  %268 = load ptr, ptr %5, align 8, !tbaa !5
  %269 = load i32, ptr %13, align 4, !tbaa !9
  %270 = load i32, ptr %14, align 4, !tbaa !9
  %271 = load i32, ptr %15, align 4, !tbaa !9
  %272 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %268, i32 noundef %269, i32 noundef %270, i32 noundef %271, i32 noundef %272)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

273:                                              ; preds = %91
  store i32 0, ptr %13, align 4, !tbaa !9
  %274 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %274, ptr %9, align 4, !tbaa !9
  store i32 172522, ptr %14, align 4, !tbaa !9
  %275 = load i32, ptr %14, align 4, !tbaa !9
  %276 = load i32, ptr %13, align 4, !tbaa !9
  %277 = add i32 %276, %275
  store i32 %277, ptr %13, align 4, !tbaa !9
  %278 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %278, ptr %14, align 4, !tbaa !9
  store i32 55536, ptr %15, align 4, !tbaa !9
  %279 = load i32, ptr %15, align 4, !tbaa !9
  %280 = load i32, ptr %14, align 4, !tbaa !9
  %281 = add i32 %280, %279
  store i32 %281, ptr %14, align 4, !tbaa !9
  store i32 779, ptr %15, align 4, !tbaa !9
  %282 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %282, ptr %16, align 4, !tbaa !9
  store i32 25373, ptr %17, align 4, !tbaa !9
  %283 = load i32, ptr %17, align 4, !tbaa !9
  %284 = load i32, ptr %16, align 4, !tbaa !9
  %285 = add i32 %284, %283
  store i32 %285, ptr %16, align 4, !tbaa !9
  %286 = load ptr, ptr %5, align 8, !tbaa !5
  %287 = load i32, ptr %13, align 4, !tbaa !9
  %288 = load i32, ptr %14, align 4, !tbaa !9
  %289 = load i32, ptr %15, align 4, !tbaa !9
  %290 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %286, i32 noundef %287, i32 noundef %288, i32 noundef %289, i32 noundef %290)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

291:                                              ; preds = %107
  store i32 0, ptr %13, align 4, !tbaa !9
  %292 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %292, ptr %9, align 4, !tbaa !9
  store i32 169515, ptr %14, align 4, !tbaa !9
  %293 = load i32, ptr %14, align 4, !tbaa !9
  %294 = load i32, ptr %13, align 4, !tbaa !9
  %295 = add i32 %294, %293
  store i32 %295, ptr %13, align 4, !tbaa !9
  %296 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %296, ptr %14, align 4, !tbaa !9
  store i32 55536, ptr %15, align 4, !tbaa !9
  %297 = load i32, ptr %15, align 4, !tbaa !9
  %298 = load i32, ptr %14, align 4, !tbaa !9
  %299 = add i32 %298, %297
  store i32 %299, ptr %14, align 4, !tbaa !9
  store i32 783, ptr %15, align 4, !tbaa !9
  %300 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %300, ptr %16, align 4, !tbaa !9
  store i32 25373, ptr %17, align 4, !tbaa !9
  %301 = load i32, ptr %17, align 4, !tbaa !9
  %302 = load i32, ptr %16, align 4, !tbaa !9
  %303 = add i32 %302, %301
  store i32 %303, ptr %16, align 4, !tbaa !9
  %304 = load ptr, ptr %5, align 8, !tbaa !5
  %305 = load i32, ptr %13, align 4, !tbaa !9
  %306 = load i32, ptr %14, align 4, !tbaa !9
  %307 = load i32, ptr %15, align 4, !tbaa !9
  %308 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %304, i32 noundef %305, i32 noundef %306, i32 noundef %307, i32 noundef %308)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

309:                                              ; preds = %211
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, 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 8, 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 4, ptr %9) #5
  ret void
}

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

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 i32 @i32_load8_u(ptr noundef, i64 noundef) local_unnamed_addr #2

; 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: inlinehint nounwind uwtable
declare hidden void @i32_store16(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHiddenClass0x3A0x3AreserveSlot0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 {
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = add i32 %6, -16
  store i32 %7, ptr %5, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %2 to i64
  %10 = add nuw nsw i64 %9, 4
  %11 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %10)
  %12 = zext i32 %11 to i64
  %13 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %12)
  %14 = icmp ugt i64 %13, -281474976710657
  br i1 %14, label %15, label %46

15:                                               ; preds = %4
  %16 = and i64 %13, 4294967295
  %.not = icmp eq i64 %16, 0
  br i1 %.not, label %47, label %17

17:                                               ; preds = %15
  %18 = add nuw nsw i64 %16, 18
  %19 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %18)
  %20 = and i32 %19, 1
  %.not181 = icmp eq i32 %20, 0
  br i1 %.not181, label %21, label %48

21:                                               ; preds = %17
  %22 = add nuw nsw i64 %16, 20
  %23 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %22)
  %24 = icmp ugt i32 %23, 6
  br i1 %24, label %49, label %25

25:                                               ; preds = %21
  %26 = zext i32 %7 to i64
  %27 = add nuw nsw i64 %26, 12
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %27, i32 noundef %11)
  %28 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %9)
  %29 = add nuw nsw i64 %26, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %29, i32 noundef %28)
  %.not182 = icmp eq i32 %28, 0
  br i1 %.not182, label %34, label %30

30:                                               ; preds = %25
  %31 = zext i32 %28 to i64
  %32 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %31)
  %33 = add i32 %32, 1
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %31, i32 noundef %33)
  br label %34

34:                                               ; preds = %30, %25
  %35 = add nuw nsw i64 %26, 4
  tail call void @i32_store16(ptr noundef nonnull %8, i64 noundef %35, i32 noundef 0)
  %36 = add nuw nsw i64 %26, 6
  tail call void @i32_store16(ptr noundef nonnull %8, i64 noundef %36, i32 noundef 0)
  %37 = add i32 %6, -8
  %38 = or disjoint i32 %23, 268435456
  %39 = add i32 %6, -12
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHiddenClass0x3A0x3AaddProperty0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x2C0x20hermes0x3A0x3Avm0x3A0x3APropertyFlags0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %37, i32 noundef %3, i32 noundef %38, i32 noundef %39)
  %40 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %29)
  %.not183 = icmp eq i32 %40, 0
  br i1 %.not183, label %45, label %41

41:                                               ; preds = %34
  %42 = zext i32 %40 to i64
  %43 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %42)
  %44 = add i32 %43, -1
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %42, i32 noundef %44)
  br label %45

45:                                               ; preds = %41, %34
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void

46:                                               ; preds = %4
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 118124, i32 noundef 83341, i32 noundef 480, i32 noundef 38798) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

47:                                               ; preds = %15
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 168498, i32 noundef 78081, i32 noundef 269, i32 noundef 20456) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

48:                                               ; preds = %17
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 172522, i32 noundef 55536, i32 noundef 779, i32 noundef 25373) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

49:                                               ; preds = %21
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 169515, i32 noundef 55536, i32 noundef 783, i32 noundef 25373) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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