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

; 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 void @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden 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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @f64_reinterpret_i64(i64 noundef) #1

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

47:                                               ; preds = %4
  br label %60

48:                                               ; preds = %4
  br label %104

49:                                               ; preds = %4
  br label %163

50:                                               ; preds = %4
  br label %276

51:                                               ; preds = %4
  br label %310

52:                                               ; preds = %4
  br label %310

53:                                               ; preds = %4
  br label %230

54:                                               ; preds = %4
  br label %230

55:                                               ; preds = %4
  br label %200

56:                                               ; preds = %4
  br label %200

57:                                               ; preds = %4
  br label %148

58:                                               ; preds = %4
  br label %148

59:                                               ; preds = %4
  br label %310

60:                                               ; preds = %47
  %61 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %61, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.w2c_hermes, ptr %62, i32 0, i32 6
  %64 = load i32, ptr %11, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = add i64 %65, 40
  %67 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %63, i64 noundef %66, i32 noundef %67)
  %68 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %68, ptr %11, align 4, !tbaa !9
  store i64 171798691841, ptr %17, align 8, !tbaa !11
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.w2c_hermes, ptr %69, i32 0, i32 6
  %71 = load i32, ptr %11, align 4, !tbaa !9
  %72 = zext i32 %71 to i64
  %73 = add i64 %72, 32
  %74 = load i64, ptr %17, align 8, !tbaa !11
  call void @i64_store(ptr noundef %70, i64 noundef %73, i64 noundef %74)
  %75 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %75, ptr %11, align 4, !tbaa !9
  store i32 3, ptr %12, align 4, !tbaa !9
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.w2c_hermes, ptr %76, i32 0, i32 6
  %78 = load i32, ptr %11, align 4, !tbaa !9
  %79 = zext i32 %78 to i64
  %80 = add i64 %79, 16
  %81 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %77, i64 noundef %80, i32 noundef %81)
  %82 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %82, ptr %11, align 4, !tbaa !9
  store i32 31041, ptr %12, align 4, !tbaa !9
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.w2c_hermes, ptr %83, i32 0, i32 6
  %85 = load i32, ptr %11, align 4, !tbaa !9
  %86 = zext i32 %85 to i64
  %87 = add i64 %86, 8
  %88 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %84, i64 noundef %87, i32 noundef %88)
  %89 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %89, ptr %11, align 4, !tbaa !9
  %90 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %90, ptr %12, align 4, !tbaa !9
  %91 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %91, ptr %13, align 4, !tbaa !9
  store i32 8, ptr %14, align 4, !tbaa !9
  %92 = load i32, ptr %14, align 4, !tbaa !9
  %93 = load i32, ptr %13, align 4, !tbaa !9
  %94 = add i32 %93, %92
  store i32 %94, ptr %13, align 4, !tbaa !9
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = load i32, ptr %12, align 4, !tbaa !9
  %97 = load i32, ptr %13, align 4, !tbaa !9
  %98 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %95, i32 noundef %96, i32 noundef %97)
  store i32 %98, ptr %12, align 4, !tbaa !9
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.w2c_hermes, ptr %99, i32 0, i32 6
  %101 = load i32, ptr %11, align 4, !tbaa !9
  %102 = zext i32 %101 to i64
  %103 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %100, i64 noundef %102, i32 noundef %103)
  br label %344

104:                                              ; preds = %48
  %105 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %105, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.w2c_hermes, ptr %106, i32 0, i32 6
  %108 = load i32, ptr %11, align 4, !tbaa !9
  %109 = zext i32 %108 to i64
  %110 = add i64 %109, 40
  %111 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %107, i64 noundef %110, i32 noundef %111)
  %112 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %112, ptr %11, align 4, !tbaa !9
  store i64 150323855361, ptr %17, align 8, !tbaa !11
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.w2c_hermes, ptr %113, i32 0, i32 6
  %115 = load i32, ptr %11, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = add i64 %116, 32
  %118 = load i64, ptr %17, align 8, !tbaa !11
  call void @i64_store(ptr noundef %114, i64 noundef %117, i64 noundef %118)
  %119 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %119, ptr %11, align 4, !tbaa !9
  store i32 3, ptr %12, align 4, !tbaa !9
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.w2c_hermes, ptr %120, i32 0, i32 6
  %122 = load i32, ptr %11, align 4, !tbaa !9
  %123 = zext i32 %122 to i64
  %124 = add i64 %123, 16
  %125 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %121, i64 noundef %124, i32 noundef %125)
  %126 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %126, ptr %11, align 4, !tbaa !9
  store i32 31005, ptr %12, align 4, !tbaa !9
  %127 = load ptr, ptr %5, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.w2c_hermes, ptr %127, i32 0, i32 6
  %129 = load i32, ptr %11, align 4, !tbaa !9
  %130 = zext i32 %129 to i64
  %131 = add i64 %130, 8
  %132 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %128, i64 noundef %131, i32 noundef %132)
  %133 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %133, ptr %11, align 4, !tbaa !9
  %134 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %134, ptr %12, align 4, !tbaa !9
  %135 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %135, ptr %13, align 4, !tbaa !9
  store i32 8, ptr %14, align 4, !tbaa !9
  %136 = load i32, ptr %14, align 4, !tbaa !9
  %137 = load i32, ptr %13, align 4, !tbaa !9
  %138 = add i32 %137, %136
  store i32 %138, ptr %13, align 4, !tbaa !9
  %139 = load ptr, ptr %5, align 8, !tbaa !5
  %140 = load i32, ptr %12, align 4, !tbaa !9
  %141 = load i32, ptr %13, align 4, !tbaa !9
  %142 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %139, i32 noundef %140, i32 noundef %141)
  store i32 %142, ptr %12, align 4, !tbaa !9
  %143 = load ptr, ptr %5, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.w2c_hermes, ptr %143, i32 0, i32 6
  %145 = load i32, ptr %11, align 4, !tbaa !9
  %146 = zext i32 %145 to i64
  %147 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %144, i64 noundef %146, i32 noundef %147)
  br label %344

148:                                              ; preds = %58, %57
  %149 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %149, ptr %11, align 4, !tbaa !9
  %150 = load i64, ptr %10, align 8, !tbaa !11
  store i64 %150, ptr %17, align 8, !tbaa !11
  %151 = load ptr, ptr %5, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.w2c_hermes, ptr %151, i32 0, i32 6
  %153 = load i32, ptr %11, align 4, !tbaa !9
  %154 = zext i32 %153 to i64
  %155 = add i64 %154, 8
  %156 = load i64, ptr %17, align 8, !tbaa !11
  call void @i64_store(ptr noundef %152, i64 noundef %155, i64 noundef %156)
  %157 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %157, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.w2c_hermes, ptr %158, i32 0, i32 6
  %160 = load i32, ptr %11, align 4, !tbaa !9
  %161 = zext i32 %160 to i64
  %162 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %159, i64 noundef %161, i32 noundef %162)
  br label %344

163:                                              ; preds = %49
  %164 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %164, ptr %11, align 4, !tbaa !9
  %165 = load i64, ptr %10, align 8, !tbaa !11
  store i64 %165, ptr %17, align 8, !tbaa !11
  %166 = load i64, ptr %17, align 8, !tbaa !11
  %167 = trunc i64 %166 to i32
  store i32 %167, ptr %12, align 4, !tbaa !9
  store i32 1, ptr %13, align 4, !tbaa !9
  %168 = load i32, ptr %13, align 4, !tbaa !9
  %169 = load i32, ptr %12, align 4, !tbaa !9
  %170 = and i32 %169, %168
  store i32 %170, ptr %12, align 4, !tbaa !9
  %171 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %171, ptr %13, align 4, !tbaa !9
  store i32 232, ptr %14, align 4, !tbaa !9
  %172 = load i32, ptr %14, align 4, !tbaa !9
  %173 = load i32, ptr %13, align 4, !tbaa !9
  %174 = add i32 %173, %172
  store i32 %174, ptr %13, align 4, !tbaa !9
  %175 = load ptr, ptr %5, align 8, !tbaa !5
  %176 = load i32, ptr %11, align 4, !tbaa !9
  %177 = load i32, ptr %12, align 4, !tbaa !9
  %178 = load i32, ptr %13, align 4, !tbaa !9
  %179 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSBoolean0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20bool0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef %175, i32 noundef %176, i32 noundef %177, i32 noundef %178)
  store i32 %179, ptr %11, align 4, !tbaa !9
  %180 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %180, ptr %7, align 4, !tbaa !9
  %181 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %181, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.w2c_hermes, ptr %182, i32 0, i32 6
  %184 = load i32, ptr %11, align 4, !tbaa !9
  %185 = zext i32 %184 to i64
  %186 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %183, i64 noundef %185, i32 noundef %186)
  %187 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %187, ptr %11, align 4, !tbaa !9
  %188 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %188, ptr %12, align 4, !tbaa !9
  %189 = load i32, ptr %12, align 4, !tbaa !9
  %190 = zext i32 %189 to i64
  store i64 %190, ptr %17, align 8, !tbaa !11
  store i64 -281474976710656, ptr %18, align 8, !tbaa !11
  %191 = load i64, ptr %18, align 8, !tbaa !11
  %192 = load i64, ptr %17, align 8, !tbaa !11
  %193 = or i64 %192, %191
  store i64 %193, ptr %17, align 8, !tbaa !11
  %194 = load ptr, ptr %5, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.w2c_hermes, ptr %194, i32 0, i32 6
  %196 = load i32, ptr %11, align 4, !tbaa !9
  %197 = zext i32 %196 to i64
  %198 = add i64 %197, 8
  %199 = load i64, ptr %17, align 8, !tbaa !11
  call void @i64_store(ptr noundef %195, i64 noundef %198, i64 noundef %199)
  br label %344

200:                                              ; preds = %56, %55
  %201 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %201, ptr %11, align 4, !tbaa !9
  %202 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %202, ptr %12, align 4, !tbaa !9
  %203 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %203, ptr %13, align 4, !tbaa !9
  %204 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %204, ptr %14, align 4, !tbaa !9
  store i32 216, ptr %15, align 4, !tbaa !9
  %205 = load i32, ptr %15, align 4, !tbaa !9
  %206 = load i32, ptr %14, align 4, !tbaa !9
  %207 = add i32 %206, %205
  store i32 %207, ptr %14, align 4, !tbaa !9
  %208 = load ptr, ptr %5, align 8, !tbaa !5
  %209 = load i32, ptr %12, align 4, !tbaa !9
  %210 = load i32, ptr %13, align 4, !tbaa !9
  %211 = load i32, ptr %14, align 4, !tbaa !9
  %212 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSBigInt0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef %208, i32 noundef %209, i32 noundef %210, i32 noundef %211)
  store i32 %212, ptr %12, align 4, !tbaa !9
  %213 = load ptr, ptr %5, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.w2c_hermes, ptr %213, i32 0, i32 6
  %215 = load i32, ptr %12, align 4, !tbaa !9
  %216 = zext i32 %215 to i64
  %217 = call i64 @i64_load(ptr noundef %214, i64 noundef %216)
  store i64 %217, ptr %17, align 8, !tbaa !11
  %218 = load ptr, ptr %5, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.w2c_hermes, ptr %218, i32 0, i32 6
  %220 = load i32, ptr %11, align 4, !tbaa !9
  %221 = zext i32 %220 to i64
  %222 = add i64 %221, 8
  %223 = load i64, ptr %17, align 8, !tbaa !11
  call void @i64_store(ptr noundef %219, i64 noundef %222, i64 noundef %223)
  %224 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %224, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %225 = load ptr, ptr %5, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.w2c_hermes, ptr %225, i32 0, i32 6
  %227 = load i32, ptr %11, align 4, !tbaa !9
  %228 = zext i32 %227 to i64
  %229 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %226, i64 noundef %228, i32 noundef %229)
  br label %344

230:                                              ; preds = %54, %53
  %231 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %231, ptr %11, align 4, !tbaa !9
  %232 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %232, ptr %12, align 4, !tbaa !9
  %233 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %233, ptr %13, align 4, !tbaa !9
  store i32 208, ptr %14, align 4, !tbaa !9
  %234 = load i32, ptr %14, align 4, !tbaa !9
  %235 = load i32, ptr %13, align 4, !tbaa !9
  %236 = add i32 %235, %234
  store i32 %236, ptr %13, align 4, !tbaa !9
  %237 = load ptr, ptr %5, align 8, !tbaa !5
  %238 = load i32, ptr %11, align 4, !tbaa !9
  %239 = load i32, ptr %12, align 4, !tbaa !9
  %240 = load i32, ptr %13, align 4, !tbaa !9
  %241 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSString0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef %237, i32 noundef %238, i32 noundef %239, i32 noundef %240)
  store i32 %241, ptr %11, align 4, !tbaa !9
  %242 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %242, ptr %7, align 4, !tbaa !9
  store i32 -1, ptr %12, align 4, !tbaa !9
  %243 = load i32, ptr %11, align 4, !tbaa !9
  %244 = load i32, ptr %12, align 4, !tbaa !9
  %245 = icmp eq i32 %243, %244
  %246 = zext i1 %245 to i32
  store i32 %246, ptr %11, align 4, !tbaa !9
  %247 = load i32, ptr %11, align 4, !tbaa !9
  %248 = icmp ne i32 %247, 0
  br i1 %248, label %249, label %256

249:                                              ; preds = %230
  %250 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %250, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %251 = load ptr, ptr %5, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.w2c_hermes, ptr %251, i32 0, i32 6
  %253 = load i32, ptr %11, align 4, !tbaa !9
  %254 = zext i32 %253 to i64
  %255 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %252, i64 noundef %254, i32 noundef %255)
  br label %344

256:                                              ; preds = %230
  %257 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %257, ptr %11, align 4, !tbaa !9
  %258 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %258, ptr %12, align 4, !tbaa !9
  %259 = load ptr, ptr %5, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.w2c_hermes, ptr %259, i32 0, i32 6
  %261 = load i32, ptr %12, align 4, !tbaa !9
  %262 = zext i32 %261 to i64
  %263 = call i64 @i64_load(ptr noundef %260, i64 noundef %262)
  store i64 %263, ptr %17, align 8, !tbaa !11
  %264 = load ptr, ptr %5, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.w2c_hermes, ptr %264, i32 0, i32 6
  %266 = load i32, ptr %11, align 4, !tbaa !9
  %267 = zext i32 %266 to i64
  %268 = add i64 %267, 8
  %269 = load i64, ptr %17, align 8, !tbaa !11
  call void @i64_store(ptr noundef %265, i64 noundef %268, i64 noundef %269)
  %270 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %270, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %271 = load ptr, ptr %5, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.w2c_hermes, ptr %271, i32 0, i32 6
  %273 = load i32, ptr %11, align 4, !tbaa !9
  %274 = zext i32 %273 to i64
  %275 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %272, i64 noundef %274, i32 noundef %275)
  br label %344

276:                                              ; preds = %50
  %277 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %277, ptr %11, align 4, !tbaa !9
  %278 = load i64, ptr %10, align 8, !tbaa !11
  store i64 %278, ptr %17, align 8, !tbaa !11
  %279 = load i64, ptr %17, align 8, !tbaa !11
  %280 = trunc i64 %279 to i32
  store i32 %280, ptr %12, align 4, !tbaa !9
  %281 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %281, ptr %13, align 4, !tbaa !9
  store i32 240, ptr %14, align 4, !tbaa !9
  %282 = load i32, ptr %14, align 4, !tbaa !9
  %283 = load i32, ptr %13, align 4, !tbaa !9
  %284 = add i32 %283, %282
  store i32 %284, ptr %13, align 4, !tbaa !9
  %285 = load ptr, ptr %5, align 8, !tbaa !5
  %286 = load i32, ptr %11, align 4, !tbaa !9
  %287 = load i32, ptr %12, align 4, !tbaa !9
  %288 = load i32, ptr %13, align 4, !tbaa !9
  %289 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSSymbol0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef %285, i32 noundef %286, i32 noundef %287, i32 noundef %288)
  store i32 %289, ptr %11, align 4, !tbaa !9
  %290 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %290, ptr %7, align 4, !tbaa !9
  %291 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %291, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %292 = load ptr, ptr %5, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.w2c_hermes, ptr %292, i32 0, i32 6
  %294 = load i32, ptr %11, align 4, !tbaa !9
  %295 = zext i32 %294 to i64
  %296 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %293, i64 noundef %295, i32 noundef %296)
  %297 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %297, ptr %11, align 4, !tbaa !9
  %298 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %298, ptr %12, align 4, !tbaa !9
  %299 = load i32, ptr %12, align 4, !tbaa !9
  %300 = zext i32 %299 to i64
  store i64 %300, ptr %17, align 8, !tbaa !11
  store i64 -281474976710656, ptr %18, align 8, !tbaa !11
  %301 = load i64, ptr %18, align 8, !tbaa !11
  %302 = load i64, ptr %17, align 8, !tbaa !11
  %303 = or i64 %302, %301
  store i64 %303, ptr %17, align 8, !tbaa !11
  %304 = load ptr, ptr %5, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.w2c_hermes, ptr %304, i32 0, i32 6
  %306 = load i32, ptr %11, align 4, !tbaa !9
  %307 = zext i32 %306 to i64
  %308 = add i64 %307, 8
  %309 = load i64, ptr %17, align 8, !tbaa !11
  call void @i64_store(ptr noundef %305, i64 noundef %308, i64 noundef %309)
  br label %344

310:                                              ; preds = %59, %52, %51
  %311 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %311, ptr %11, align 4, !tbaa !9
  %312 = load i64, ptr %10, align 8, !tbaa !11
  store i64 %312, ptr %17, align 8, !tbaa !11
  %313 = load i64, ptr %17, align 8, !tbaa !11
  %314 = call double @f64_reinterpret_i64(i64 noundef %313)
  store double %314, ptr %19, align 8, !tbaa !18
  %315 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %315, ptr %13, align 4, !tbaa !9
  store i32 224, ptr %14, align 4, !tbaa !9
  %316 = load i32, ptr %14, align 4, !tbaa !9
  %317 = load i32, ptr %13, align 4, !tbaa !9
  %318 = add i32 %317, %316
  store i32 %318, ptr %13, align 4, !tbaa !9
  %319 = load ptr, ptr %5, align 8, !tbaa !5
  %320 = load i32, ptr %11, align 4, !tbaa !9
  %321 = load double, ptr %19, align 8, !tbaa !18
  %322 = load i32, ptr %13, align 4, !tbaa !9
  %323 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSNumber0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20double0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef %319, i32 noundef %320, double noundef %321, i32 noundef %322)
  store i32 %323, ptr %11, align 4, !tbaa !9
  %324 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %324, ptr %7, align 4, !tbaa !9
  %325 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %325, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %326 = load ptr, ptr %5, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.w2c_hermes, ptr %326, i32 0, i32 6
  %328 = load i32, ptr %11, align 4, !tbaa !9
  %329 = zext i32 %328 to i64
  %330 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %327, i64 noundef %329, i32 noundef %330)
  %331 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %331, ptr %11, align 4, !tbaa !9
  %332 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %332, ptr %12, align 4, !tbaa !9
  %333 = load i32, ptr %12, align 4, !tbaa !9
  %334 = zext i32 %333 to i64
  store i64 %334, ptr %17, align 8, !tbaa !11
  store i64 -281474976710656, ptr %18, align 8, !tbaa !11
  %335 = load i64, ptr %18, align 8, !tbaa !11
  %336 = load i64, ptr %17, align 8, !tbaa !11
  %337 = or i64 %336, %335
  store i64 %337, ptr %17, align 8, !tbaa !11
  %338 = load ptr, ptr %5, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.w2c_hermes, ptr %338, i32 0, i32 6
  %340 = load i32, ptr %11, align 4, !tbaa !9
  %341 = zext i32 %340 to i64
  %342 = add i64 %341, 8
  %343 = load i64, ptr %17, align 8, !tbaa !11
  call void @i64_store(ptr noundef %339, i64 noundef %342, i64 noundef %343)
  br label %344

344:                                              ; preds = %310, %276, %256, %249, %200, %163, %148, %104, %60
  %345 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %345, ptr %11, align 4, !tbaa !9
  store i32 48, ptr %12, align 4, !tbaa !9
  %346 = load i32, ptr %12, align 4, !tbaa !9
  %347 = load i32, ptr %11, align 4, !tbaa !9
  %348 = add i32 %347, %346
  store i32 %348, ptr %11, align 4, !tbaa !9
  %349 = load i32, ptr %11, align 4, !tbaa !9
  %350 = load ptr, ptr %5, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.w2c_hermes, ptr %350, i32 0, i32 3
  store i32 %349, ptr %351, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  ret void
}

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSBoolean0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20bool0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSBigInt0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSString0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSSymbol0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSNumber0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20double0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef, i32 noundef, double noundef, i32 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 }

!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}
!18 = !{!19, !19, i64 0}
!19 = !{!"double", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

; 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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @f64_reinterpret_i64(i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoObject0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #2 {
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = add i32 %6, -48
  store i32 %7, ptr %5, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %3 to i64
  %10 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %9)
  %11 = ashr i64 %10, 47
  %12 = trunc nsw i64 %11 to i32
  switch i32 %12, label %69 [
    i32 -12, label %13
    i32 -11, label %22
    i32 -10, label %34
    i32 -9, label %61
    i32 -1, label %31
    i32 -2, label %31
    i32 -6, label %50
    i32 -5, label %50
    i32 -4, label %43
    i32 -3, label %43
  ]

13:                                               ; preds = %4
  %14 = zext i32 %7 to i64
  %15 = add nuw nsw i64 %14, 40
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %15, i32 noundef 0)
  %16 = add nuw nsw i64 %14, 32
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %16, i64 noundef 171798691841)
  %17 = add nuw nsw i64 %14, 16
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %17, i32 noundef 3)
  %18 = add nuw nsw i64 %14, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %18, i32 noundef 31041)
  %19 = add i32 %6, -40
  %20 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %19) #3
  %21 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %21, i32 noundef %20)
  br label %77

22:                                               ; preds = %4
  %23 = zext i32 %7 to i64
  %24 = add nuw nsw i64 %23, 40
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %24, i32 noundef 0)
  %25 = add nuw nsw i64 %23, 32
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %25, i64 noundef 150323855361)
  %26 = add nuw nsw i64 %23, 16
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %26, i32 noundef 3)
  %27 = add nuw nsw i64 %23, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %27, i32 noundef 31005)
  %28 = add i32 %6, -40
  %29 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %28) #3
  %30 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %30, i32 noundef %29)
  br label %77

31:                                               ; preds = %4, %4
  %32 = zext i32 %1 to i64
  %33 = add nuw nsw i64 %32, 8
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %33, i64 noundef %10)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %32, i32 noundef 1)
  br label %77

34:                                               ; preds = %4
  %35 = trunc i64 %10 to i32
  %36 = and i32 %35, 1
  %37 = add i32 %2, 232
  %38 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSBoolean0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20bool0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %36, i32 noundef %37) #3
  %39 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %39, i32 noundef 1)
  %40 = zext i32 %38 to i64
  %41 = or disjoint i64 %40, -281474976710656
  %42 = add nuw nsw i64 %39, 8
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %42, i64 noundef %41)
  br label %77

43:                                               ; preds = %4, %4
  %44 = add i32 %2, 216
  %45 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSBigInt0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %3, i32 noundef %44) #3
  %46 = zext i32 %45 to i64
  %47 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %46)
  %48 = zext i32 %1 to i64
  %49 = add nuw nsw i64 %48, 8
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %49, i64 noundef %47)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %48, i32 noundef 1)
  br label %77

50:                                               ; preds = %4, %4
  %51 = add i32 %2, 208
  %52 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSString0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %3, i32 noundef %51) #3
  %53 = icmp eq i32 %52, -1
  br i1 %53, label %54, label %56

54:                                               ; preds = %50
  %55 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %55, i32 noundef 0)
  br label %77

56:                                               ; preds = %50
  %57 = zext i32 %52 to i64
  %58 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %57)
  %59 = zext i32 %1 to i64
  %60 = add nuw nsw i64 %59, 8
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %60, i64 noundef %58)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %59, i32 noundef 1)
  br label %77

61:                                               ; preds = %4
  %62 = trunc i64 %10 to i32
  %63 = add i32 %2, 240
  %64 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSSymbol0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %62, i32 noundef %63) #3
  %65 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %65, i32 noundef 1)
  %66 = zext i32 %64 to i64
  %67 = or disjoint i64 %66, -281474976710656
  %68 = add nuw nsw i64 %65, 8
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %68, i64 noundef %67)
  br label %77

69:                                               ; preds = %4
  %70 = tail call double @f64_reinterpret_i64(i64 noundef %10)
  %71 = add i32 %2, 224
  %72 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSNumber0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20double0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef nonnull %0, i32 noundef %2, double noundef %70, i32 noundef %71) #3
  %73 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %73, i32 noundef 1)
  %74 = zext i32 %72 to i64
  %75 = or disjoint i64 %74, -281474976710656
  %76 = add nuw nsw i64 %73, 8
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %76, i64 noundef %75)
  br label %77

77:                                               ; preds = %69, %61, %56, %54, %43, %34, %31, %22, %13
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void
}

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSBoolean0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20bool0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSBigInt0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSString0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSSymbol0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSNumber0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20double0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef, i32 noundef, double noundef, i32 noundef) local_unnamed_addr #1

attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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