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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }

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

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

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

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

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

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

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

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

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

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

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

66:                                               ; preds = %5
  %67 = load i64, ptr %14, align 8, !tbaa !13
  store i64 %67, ptr %20, align 8, !tbaa !13
  store i64 -844424930131969, ptr %21, align 8, !tbaa !13
  %68 = load i64, ptr %20, align 8, !tbaa !13
  %69 = load i64, ptr %21, align 8, !tbaa !13
  %70 = icmp ule i64 %68, %69
  %71 = zext i1 %70 to i32
  store i32 %71, ptr %15, align 4, !tbaa !9
  %72 = load i32, ptr %15, align 4, !tbaa !9
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %66
  br label %281

75:                                               ; preds = %66
  %76 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %76, ptr %15, align 4, !tbaa !9
  store i32 5688, ptr %16, align 4, !tbaa !9
  %77 = load i32, ptr %16, align 4, !tbaa !9
  %78 = load i32, ptr %15, align 4, !tbaa !9
  %79 = add i32 %78, %77
  store i32 %79, ptr %15, align 4, !tbaa !9
  %80 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %80, ptr %12, align 4, !tbaa !9
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.w2c_hermes, ptr %81, i32 0, i32 6
  %83 = load i32, ptr %15, align 4, !tbaa !9
  %84 = zext i32 %83 to i64
  %85 = call i64 @i64_load(ptr noundef %82, i64 noundef %84)
  store i64 %85, ptr %20, align 8, !tbaa !13
  %86 = load i64, ptr %20, align 8, !tbaa !13
  store i64 %86, ptr %14, align 8, !tbaa !13
  store i64 47, ptr %21, align 8, !tbaa !13
  %87 = load i64, ptr %20, align 8, !tbaa !13
  %88 = load i64, ptr %21, align 8, !tbaa !13
  %89 = and i64 %88, 63
  %90 = ashr i64 %87, %89
  store i64 %90, ptr %20, align 8, !tbaa !13
  %91 = load i64, ptr %20, align 8, !tbaa !13
  %92 = trunc i64 %91 to i32
  store i32 %92, ptr %15, align 4, !tbaa !9
  store i32 -12, ptr %16, align 4, !tbaa !9
  %93 = load i32, ptr %15, align 4, !tbaa !9
  %94 = load i32, ptr %16, align 4, !tbaa !9
  %95 = icmp eq i32 %93, %94
  %96 = zext i1 %95 to i32
  store i32 %96, ptr %15, align 4, !tbaa !9
  %97 = load i32, ptr %15, align 4, !tbaa !9
  %98 = icmp ne i32 %97, 0
  br i1 %98, label %99, label %100

99:                                               ; preds = %75
  br label %299

100:                                              ; preds = %75
  %101 = load i64, ptr %14, align 8, !tbaa !13
  store i64 %101, ptr %20, align 8, !tbaa !13
  store i64 -844424930131969, ptr %21, align 8, !tbaa !13
  %102 = load i64, ptr %20, align 8, !tbaa !13
  %103 = load i64, ptr %21, align 8, !tbaa !13
  %104 = icmp ule i64 %102, %103
  %105 = zext i1 %104 to i32
  store i32 %105, ptr %15, align 4, !tbaa !9
  %106 = load i32, ptr %15, align 4, !tbaa !9
  %107 = icmp ne i32 %106, 0
  br i1 %107, label %108, label %109

108:                                              ; preds = %100
  br label %317

109:                                              ; preds = %100
  %110 = load i64, ptr %14, align 8, !tbaa !13
  store i64 %110, ptr %20, align 8, !tbaa !13
  %111 = load i64, ptr %20, align 8, !tbaa !13
  %112 = trunc i64 %111 to i32
  store i32 %112, ptr %15, align 4, !tbaa !9
  %113 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %113, ptr %13, align 4, !tbaa !9
  %114 = load i32, ptr %15, align 4, !tbaa !9
  %115 = icmp ne i32 %114, 0
  %116 = xor i1 %115, true
  %117 = zext i1 %116 to i32
  store i32 %117, ptr %15, align 4, !tbaa !9
  %118 = load i32, ptr %15, align 4, !tbaa !9
  %119 = icmp ne i32 %118, 0
  br i1 %119, label %120, label %121

120:                                              ; preds = %109
  br label %335

121:                                              ; preds = %109
  %122 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %122, ptr %15, align 4, !tbaa !9
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.w2c_hermes, ptr %123, i32 0, i32 6
  %125 = load i32, ptr %15, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  %127 = add i64 %126, 3
  %128 = call i32 @i32_load8_u(ptr noundef %124, i64 noundef %127)
  store i32 %128, ptr %15, align 4, !tbaa !9
  store i32 24, ptr %16, align 4, !tbaa !9
  %129 = load i32, ptr %16, align 4, !tbaa !9
  %130 = and i32 %129, 31
  %131 = load i32, ptr %15, align 4, !tbaa !9
  %132 = shl i32 %131, %130
  store i32 %132, ptr %15, align 4, !tbaa !9
  store i32 218103808, ptr %16, align 4, !tbaa !9
  %133 = load i32, ptr %15, align 4, !tbaa !9
  %134 = load i32, ptr %16, align 4, !tbaa !9
  %135 = icmp ne i32 %133, %134
  %136 = zext i1 %135 to i32
  store i32 %136, ptr %15, align 4, !tbaa !9
  %137 = load i32, ptr %15, align 4, !tbaa !9
  %138 = icmp ne i32 %137, 0
  br i1 %138, label %139, label %140

139:                                              ; preds = %121
  br label %353

140:                                              ; preds = %121
  %141 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %141, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.w2c_hermes, ptr %142, i32 0, i32 6
  %144 = load i32, ptr %15, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %143, i64 noundef %145, i32 noundef %146)
  %147 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %147, ptr %15, align 4, !tbaa !9
  %148 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %148, ptr %16, align 4, !tbaa !9
  %149 = load ptr, ptr %6, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.w2c_hermes, ptr %149, i32 0, i32 6
  %151 = load i32, ptr %15, align 4, !tbaa !9
  %152 = zext i32 %151 to i64
  %153 = add i64 %152, 4
  %154 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %150, i64 noundef %153, i32 noundef %154)
  %155 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %155, ptr %15, align 4, !tbaa !9
  store i32 5860, ptr %16, align 4, !tbaa !9
  %156 = load i32, ptr %16, align 4, !tbaa !9
  %157 = load i32, ptr %15, align 4, !tbaa !9
  %158 = add i32 %157, %156
  store i32 %158, ptr %15, align 4, !tbaa !9
  %159 = load ptr, ptr %6, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.w2c_hermes, ptr %159, i32 0, i32 6
  %161 = load i32, ptr %15, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = call i32 @i32_load8_u(ptr noundef %160, i64 noundef %162)
  store i32 %163, ptr %15, align 4, !tbaa !9
  %164 = load i32, ptr %15, align 4, !tbaa !9
  %165 = icmp ne i32 %164, 0
  %166 = xor i1 %165, true
  %167 = zext i1 %166 to i32
  store i32 %167, ptr %15, align 4, !tbaa !9
  %168 = load i32, ptr %15, align 4, !tbaa !9
  %169 = icmp ne i32 %168, 0
  br i1 %169, label %170, label %171

170:                                              ; preds = %140
  br label %371

171:                                              ; preds = %140
  %172 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %172, ptr %15, align 4, !tbaa !9
  store i32 808, ptr %16, align 4, !tbaa !9
  %173 = load i32, ptr %16, align 4, !tbaa !9
  %174 = load i32, ptr %15, align 4, !tbaa !9
  %175 = add i32 %174, %173
  store i32 %175, ptr %15, align 4, !tbaa !9
  %176 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %176, ptr %16, align 4, !tbaa !9
  %177 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %177, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %178 = load i32, ptr %18, align 4, !tbaa !9
  %179 = load i32, ptr %17, align 4, !tbaa !9
  %180 = add i32 %179, %178
  store i32 %180, ptr %17, align 4, !tbaa !9
  %181 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %181, ptr %18, align 4, !tbaa !9
  %182 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %182, ptr %19, align 4, !tbaa !9
  %183 = load ptr, ptr %6, align 8, !tbaa !5
  %184 = load i32, ptr %15, align 4, !tbaa !9
  %185 = load i32, ptr %16, align 4, !tbaa !9
  %186 = load i32, ptr %17, align 4, !tbaa !9
  %187 = load i32, ptr %18, align 4, !tbaa !9
  %188 = load i32, ptr %19, align 4, !tbaa !9
  %189 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSNumber0x2A0x20hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AmakeAFixed0x3Chermes0x3A0x3Avm0x3A0x3AJSNumber0x2C0x200x28hermes0x3A0x3Avm0x3A0x3AHasFinalizer0x2900x2C0x200x28hermes0x3A0x3Avm0x3A0x3ALongLived0x2900x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20double0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20double0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x29(ptr noundef %183, i32 noundef %184, i32 noundef %185, i32 noundef %186, i32 noundef %187, i32 noundef %188)
  store i32 %189, ptr %15, align 4, !tbaa !9
  %190 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %190, ptr %8, align 4, !tbaa !9
  %191 = load ptr, ptr %6, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.w2c_hermes, ptr %191, i32 0, i32 6
  %193 = load i32, ptr %15, align 4, !tbaa !9
  %194 = zext i32 %193 to i64
  %195 = add i64 %194, 3
  %196 = call i32 @i32_load8_u(ptr noundef %192, i64 noundef %195)
  store i32 %196, ptr %15, align 4, !tbaa !9
  store i32 24, ptr %16, align 4, !tbaa !9
  %197 = load i32, ptr %16, align 4, !tbaa !9
  %198 = and i32 %197, 31
  %199 = load i32, ptr %15, align 4, !tbaa !9
  %200 = shl i32 %199, %198
  store i32 %200, ptr %15, align 4, !tbaa !9
  store i32 939524096, ptr %16, align 4, !tbaa !9
  %201 = load i32, ptr %15, align 4, !tbaa !9
  %202 = load i32, ptr %16, align 4, !tbaa !9
  %203 = icmp ne i32 %201, %202
  %204 = zext i1 %203 to i32
  store i32 %204, ptr %15, align 4, !tbaa !9
  %205 = load i32, ptr %15, align 4, !tbaa !9
  %206 = icmp ne i32 %205, 0
  br i1 %206, label %207, label %208

207:                                              ; preds = %171
  br label %389

208:                                              ; preds = %171
  %209 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %209, ptr %15, align 4, !tbaa !9
  store i64 60129542158, ptr %21, align 8, !tbaa !13
  %210 = load ptr, ptr %6, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.w2c_hermes, ptr %210, i32 0, i32 6
  %212 = load i32, ptr %15, align 4, !tbaa !9
  %213 = zext i32 %212 to i64
  %214 = add i64 %213, 40
  %215 = load i64, ptr %21, align 8, !tbaa !13
  call void @i64_store(ptr noundef %211, i64 noundef %214, i64 noundef %215)
  %216 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %216, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %217 = load ptr, ptr %6, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.w2c_hermes, ptr %217, i32 0, i32 6
  %219 = load i32, ptr %15, align 4, !tbaa !9
  %220 = zext i32 %219 to i64
  %221 = add i64 %220, 4
  %222 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %218, i64 noundef %221, i32 noundef %222)
  %223 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %223, ptr %15, align 4, !tbaa !9
  %224 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %224, ptr %16, align 4, !tbaa !9
  %225 = load ptr, ptr %6, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.w2c_hermes, ptr %225, i32 0, i32 6
  %227 = load i32, ptr %15, align 4, !tbaa !9
  %228 = zext i32 %227 to i64
  %229 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %226, i64 noundef %228, i32 noundef %229)
  %230 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %230, ptr %15, align 4, !tbaa !9
  %231 = load ptr, ptr %6, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.w2c_hermes, ptr %231, i32 0, i32 6
  %233 = load i32, ptr %15, align 4, !tbaa !9
  %234 = zext i32 %233 to i64
  %235 = call i32 @i32_load(ptr noundef %232, i64 noundef %234)
  store i32 %235, ptr %15, align 4, !tbaa !9
  %236 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %236, ptr %8, align 4, !tbaa !9
  %237 = load i32, ptr %15, align 4, !tbaa !9
  %238 = icmp ne i32 %237, 0
  br i1 %238, label %239, label %255

239:                                              ; preds = %208
  %240 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %240, ptr %15, align 4, !tbaa !9
  %241 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %241, ptr %16, align 4, !tbaa !9
  %242 = load ptr, ptr %6, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.w2c_hermes, ptr %242, i32 0, i32 6
  %244 = load i32, ptr %16, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  %246 = call i32 @i32_load(ptr noundef %243, i64 noundef %245)
  store i32 %246, ptr %16, align 4, !tbaa !9
  store i32 1, 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 = sub i32 %248, %247
  store i32 %249, ptr %16, align 4, !tbaa !9
  %250 = load ptr, ptr %6, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.w2c_hermes, ptr %250, i32 0, i32 6
  %252 = load i32, ptr %15, align 4, !tbaa !9
  %253 = zext i32 %252 to i64
  %254 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %251, i64 noundef %253, i32 noundef %254)
  br label %255

255:                                              ; preds = %239, %208
  %256 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %256, ptr %15, align 4, !tbaa !9
  store i32 16, ptr %16, align 4, !tbaa !9
  %257 = load i32, ptr %16, align 4, !tbaa !9
  %258 = load i32, ptr %15, align 4, !tbaa !9
  %259 = add i32 %258, %257
  store i32 %259, ptr %15, align 4, !tbaa !9
  %260 = load i32, ptr %15, align 4, !tbaa !9
  %261 = load ptr, ptr %6, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.w2c_hermes, ptr %261, i32 0, i32 3
  store i32 %260, ptr %262, align 8, !tbaa !15
  br label %407

263:                                              ; preds = %5
  store i32 0, ptr %15, align 4, !tbaa !9
  %264 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %264, ptr %11, align 4, !tbaa !9
  store i32 118124, ptr %16, align 4, !tbaa !9
  %265 = load i32, ptr %16, align 4, !tbaa !9
  %266 = load i32, ptr %15, align 4, !tbaa !9
  %267 = add i32 %266, %265
  store i32 %267, ptr %15, align 4, !tbaa !9
  %268 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %268, ptr %16, align 4, !tbaa !9
  store i32 83341, ptr %17, align 4, !tbaa !9
  %269 = load i32, ptr %17, align 4, !tbaa !9
  %270 = load i32, ptr %16, align 4, !tbaa !9
  %271 = add i32 %270, %269
  store i32 %271, ptr %16, align 4, !tbaa !9
  store i32 480, ptr %17, align 4, !tbaa !9
  %272 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %272, ptr %18, align 4, !tbaa !9
  store i32 38798, ptr %19, align 4, !tbaa !9
  %273 = load i32, ptr %19, align 4, !tbaa !9
  %274 = load i32, ptr %18, align 4, !tbaa !9
  %275 = add i32 %274, %273
  store i32 %275, ptr %18, align 4, !tbaa !9
  %276 = load ptr, ptr %6, align 8, !tbaa !5
  %277 = load i32, ptr %15, align 4, !tbaa !9
  %278 = load i32, ptr %16, align 4, !tbaa !9
  %279 = load i32, ptr %17, align 4, !tbaa !9
  %280 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %276, i32 noundef %277, i32 noundef %278, i32 noundef %279, i32 noundef %280)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

281:                                              ; preds = %74
  store i32 0, ptr %15, align 4, !tbaa !9
  %282 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %282, ptr %11, align 4, !tbaa !9
  store i32 118273, ptr %16, align 4, !tbaa !9
  %283 = load i32, ptr %16, align 4, !tbaa !9
  %284 = load i32, ptr %15, align 4, !tbaa !9
  %285 = add i32 %284, %283
  store i32 %285, ptr %15, align 4, !tbaa !9
  %286 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %286, ptr %16, align 4, !tbaa !9
  store i32 83341, ptr %17, align 4, !tbaa !9
  %287 = load i32, ptr %17, align 4, !tbaa !9
  %288 = load i32, ptr %16, align 4, !tbaa !9
  %289 = add i32 %288, %287
  store i32 %289, ptr %16, align 4, !tbaa !9
  store i32 438, ptr %17, align 4, !tbaa !9
  %290 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %290, ptr %18, align 4, !tbaa !9
  store i32 49706, ptr %19, align 4, !tbaa !9
  %291 = load i32, ptr %19, align 4, !tbaa !9
  %292 = load i32, ptr %18, align 4, !tbaa !9
  %293 = add i32 %292, %291
  store i32 %293, ptr %18, align 4, !tbaa !9
  %294 = load ptr, ptr %6, align 8, !tbaa !5
  %295 = load i32, ptr %15, align 4, !tbaa !9
  %296 = load i32, ptr %16, align 4, !tbaa !9
  %297 = load i32, ptr %17, align 4, !tbaa !9
  %298 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %294, i32 noundef %295, i32 noundef %296, i32 noundef %297, i32 noundef %298)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

299:                                              ; preds = %99
  store i32 0, ptr %15, align 4, !tbaa !9
  %300 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %300, ptr %11, align 4, !tbaa !9
  store i32 166034, ptr %16, align 4, !tbaa !9
  %301 = load i32, ptr %16, align 4, !tbaa !9
  %302 = load i32, ptr %15, align 4, !tbaa !9
  %303 = add i32 %302, %301
  store i32 %303, ptr %15, align 4, !tbaa !9
  %304 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %304, ptr %16, align 4, !tbaa !9
  store i32 84140, ptr %17, align 4, !tbaa !9
  %305 = load i32, ptr %17, align 4, !tbaa !9
  %306 = load i32, ptr %16, align 4, !tbaa !9
  %307 = add i32 %306, %305
  store i32 %307, ptr %16, align 4, !tbaa !9
  store i32 35, ptr %17, align 4, !tbaa !9
  %308 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %308, ptr %18, align 4, !tbaa !9
  store i32 93668, ptr %19, align 4, !tbaa !9
  %309 = load i32, ptr %19, align 4, !tbaa !9
  %310 = load i32, ptr %18, align 4, !tbaa !9
  %311 = add i32 %310, %309
  store i32 %311, ptr %18, align 4, !tbaa !9
  %312 = load ptr, ptr %6, align 8, !tbaa !5
  %313 = load i32, ptr %15, align 4, !tbaa !9
  %314 = load i32, ptr %16, align 4, !tbaa !9
  %315 = load i32, ptr %17, align 4, !tbaa !9
  %316 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %312, i32 noundef %313, i32 noundef %314, i32 noundef %315, i32 noundef %316)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

317:                                              ; preds = %108
  store i32 0, ptr %15, align 4, !tbaa !9
  %318 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %318, ptr %11, align 4, !tbaa !9
  store i32 146777, ptr %16, align 4, !tbaa !9
  %319 = load i32, ptr %16, align 4, !tbaa !9
  %320 = load i32, ptr %15, align 4, !tbaa !9
  %321 = add i32 %320, %319
  store i32 %321, ptr %15, align 4, !tbaa !9
  %322 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %322, ptr %16, align 4, !tbaa !9
  store i32 82692, ptr %17, align 4, !tbaa !9
  %323 = load i32, ptr %17, align 4, !tbaa !9
  %324 = load i32, ptr %16, align 4, !tbaa !9
  %325 = add i32 %324, %323
  store i32 %325, ptr %16, align 4, !tbaa !9
  store i32 43, ptr %17, align 4, !tbaa !9
  %326 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %326, ptr %18, align 4, !tbaa !9
  store i32 24718, ptr %19, align 4, !tbaa !9
  %327 = load i32, ptr %19, align 4, !tbaa !9
  %328 = load i32, ptr %18, align 4, !tbaa !9
  %329 = add i32 %328, %327
  store i32 %329, ptr %18, align 4, !tbaa !9
  %330 = load ptr, ptr %6, align 8, !tbaa !5
  %331 = load i32, ptr %15, align 4, !tbaa !9
  %332 = load i32, ptr %16, align 4, !tbaa !9
  %333 = load i32, ptr %17, align 4, !tbaa !9
  %334 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %330, i32 noundef %331, i32 noundef %332, i32 noundef %333, i32 noundef %334)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

335:                                              ; preds = %120
  store i32 0, ptr %15, align 4, !tbaa !9
  %336 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %336, ptr %11, align 4, !tbaa !9
  store i32 147142, ptr %16, align 4, !tbaa !9
  %337 = load i32, ptr %16, align 4, !tbaa !9
  %338 = load i32, ptr %15, align 4, !tbaa !9
  %339 = add i32 %338, %337
  store i32 %339, ptr %15, align 4, !tbaa !9
  %340 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %340, ptr %16, align 4, !tbaa !9
  store i32 82611, ptr %17, align 4, !tbaa !9
  %341 = load i32, ptr %17, align 4, !tbaa !9
  %342 = load i32, ptr %16, align 4, !tbaa !9
  %343 = add i32 %342, %341
  store i32 %343, ptr %16, align 4, !tbaa !9
  store i32 106, ptr %17, align 4, !tbaa !9
  %344 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %344, ptr %18, align 4, !tbaa !9
  store i32 28119, ptr %19, align 4, !tbaa !9
  %345 = load i32, ptr %19, align 4, !tbaa !9
  %346 = load i32, ptr %18, align 4, !tbaa !9
  %347 = add i32 %346, %345
  store i32 %347, ptr %18, align 4, !tbaa !9
  %348 = load ptr, ptr %6, align 8, !tbaa !5
  %349 = load i32, ptr %15, align 4, !tbaa !9
  %350 = load i32, ptr %16, align 4, !tbaa !9
  %351 = load i32, ptr %17, align 4, !tbaa !9
  %352 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %348, i32 noundef %349, i32 noundef %350, i32 noundef %351, i32 noundef %352)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

353:                                              ; preds = %139
  store i32 0, ptr %15, align 4, !tbaa !9
  %354 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %354, ptr %11, align 4, !tbaa !9
  store i32 205012, ptr %16, align 4, !tbaa !9
  %355 = load i32, ptr %16, align 4, !tbaa !9
  %356 = load i32, ptr %15, align 4, !tbaa !9
  %357 = add i32 %356, %355
  store i32 %357, ptr %15, align 4, !tbaa !9
  %358 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %358, ptr %16, align 4, !tbaa !9
  store i32 82611, ptr %17, align 4, !tbaa !9
  %359 = load i32, ptr %17, align 4, !tbaa !9
  %360 = load i32, ptr %16, align 4, !tbaa !9
  %361 = add i32 %360, %359
  store i32 %361, ptr %16, align 4, !tbaa !9
  store i32 255, ptr %17, align 4, !tbaa !9
  %362 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %362, ptr %18, align 4, !tbaa !9
  store i32 24720, ptr %19, align 4, !tbaa !9
  %363 = load i32, ptr %19, align 4, !tbaa !9
  %364 = load i32, ptr %18, align 4, !tbaa !9
  %365 = add i32 %364, %363
  store i32 %365, ptr %18, align 4, !tbaa !9
  %366 = load ptr, ptr %6, align 8, !tbaa !5
  %367 = load i32, ptr %15, align 4, !tbaa !9
  %368 = load i32, ptr %16, align 4, !tbaa !9
  %369 = load i32, ptr %17, align 4, !tbaa !9
  %370 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %366, i32 noundef %367, i32 noundef %368, i32 noundef %369, i32 noundef %370)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

371:                                              ; preds = %170
  store i32 0, ptr %15, align 4, !tbaa !9
  %372 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %372, ptr %11, align 4, !tbaa !9
  store i32 193151, ptr %16, align 4, !tbaa !9
  %373 = load i32, ptr %16, align 4, !tbaa !9
  %374 = load i32, ptr %15, align 4, !tbaa !9
  %375 = add i32 %374, %373
  store i32 %375, ptr %15, align 4, !tbaa !9
  %376 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %376, ptr %16, align 4, !tbaa !9
  store i32 84373, ptr %17, align 4, !tbaa !9
  %377 = load i32, ptr %17, align 4, !tbaa !9
  %378 = load i32, ptr %16, align 4, !tbaa !9
  %379 = add i32 %378, %377
  store i32 %379, ptr %16, align 4, !tbaa !9
  store i32 1447, ptr %17, align 4, !tbaa !9
  %380 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %380, ptr %18, align 4, !tbaa !9
  store i32 109070, ptr %19, align 4, !tbaa !9
  %381 = load i32, ptr %19, align 4, !tbaa !9
  %382 = load i32, ptr %18, align 4, !tbaa !9
  %383 = add i32 %382, %381
  store i32 %383, ptr %18, align 4, !tbaa !9
  %384 = load ptr, ptr %6, align 8, !tbaa !5
  %385 = load i32, ptr %15, align 4, !tbaa !9
  %386 = load i32, ptr %16, align 4, !tbaa !9
  %387 = load i32, ptr %17, align 4, !tbaa !9
  %388 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %384, i32 noundef %385, i32 noundef %386, i32 noundef %387, i32 noundef %388)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

389:                                              ; preds = %207
  store i32 0, ptr %15, align 4, !tbaa !9
  %390 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %390, ptr %11, align 4, !tbaa !9
  store i32 175498, ptr %16, align 4, !tbaa !9
  %391 = load i32, ptr %16, align 4, !tbaa !9
  %392 = load i32, ptr %15, align 4, !tbaa !9
  %393 = add i32 %392, %391
  store i32 %393, ptr %15, align 4, !tbaa !9
  %394 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %394, ptr %16, align 4, !tbaa !9
  store i32 77863, ptr %17, align 4, !tbaa !9
  %395 = load i32, ptr %17, align 4, !tbaa !9
  %396 = load i32, ptr %16, align 4, !tbaa !9
  %397 = add i32 %396, %395
  store i32 %397, ptr %16, align 4, !tbaa !9
  store i32 1588, ptr %17, align 4, !tbaa !9
  %398 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %398, ptr %18, align 4, !tbaa !9
  store i32 97196, ptr %19, align 4, !tbaa !9
  %399 = load i32, ptr %19, align 4, !tbaa !9
  %400 = load i32, ptr %18, align 4, !tbaa !9
  %401 = add i32 %400, %399
  store i32 %401, ptr %18, align 4, !tbaa !9
  %402 = load ptr, ptr %6, align 8, !tbaa !5
  %403 = load i32, ptr %15, align 4, !tbaa !9
  %404 = load i32, ptr %16, align 4, !tbaa !9
  %405 = load i32, ptr %17, align 4, !tbaa !9
  %406 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %402, i32 noundef %403, i32 noundef %404, i32 noundef %405, i32 noundef %406)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

407:                                              ; preds = %255
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, 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 8, 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
  ret void
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @f64_store(ptr noundef, i64 noundef, double noundef) #2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !10, i64 24}
!16 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !17, i64 40, !19, i64 80}
!17 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !18, i64 32}
!18 = !{!"_Bool", !7, i64 0}
!19 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}


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

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

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

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

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

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

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

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

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

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

18:                                               ; preds = %5
  %19 = add i32 %2, 5688
  %20 = zext i32 %19 to i64
  %21 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %20)
  %.mask = and i64 %21, -140737488355328
  %22 = icmp eq i64 %.mask, -1688849860263936
  br i1 %22, label %53, label %23

23:                                               ; preds = %18
  %24 = icmp ult i64 %21, -844424930131968
  br i1 %24, label %54, label %25

25:                                               ; preds = %23
  %26 = and i64 %21, 4294967295
  %.not = icmp eq i64 %26, 0
  br i1 %.not, label %55, label %27

27:                                               ; preds = %25
  %28 = add nuw nsw i64 %26, 3
  %29 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %28)
  %.mask241 = and i32 %29, 255
  %.not240 = icmp eq i32 %.mask241, 13
  br i1 %.not240, label %30, label %56

30:                                               ; preds = %27
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %10, i32 noundef 0)
  %31 = add nuw nsw i64 %10, 4
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %31, i32 noundef %19)
  %32 = add i32 %2, 5860
  %33 = zext i32 %32 to i64
  %34 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %33)
  %.not242 = icmp eq i32 %34, 0
  br i1 %.not242, label %57, label %35

35:                                               ; preds = %30
  %36 = add i32 %2, 808
  %37 = add i32 %7, -8
  %38 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSNumber0x2A0x20hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AmakeAFixed0x3Chermes0x3A0x3Avm0x3A0x3AJSNumber0x2C0x200x28hermes0x3A0x3Avm0x3A0x3AHasFinalizer0x2900x2C0x200x28hermes0x3A0x3Avm0x3A0x3ALongLived0x2900x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20double0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20double0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x29(ptr noundef nonnull %0, i32 noundef %36, i32 noundef %2, i32 noundef %37, i32 noundef %4, i32 noundef %8)
  %39 = zext i32 %38 to i64
  %40 = add nuw nsw i64 %39, 3
  %41 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %40)
  %.mask244 = and i32 %41, 255
  %.not243 = icmp eq i32 %.mask244, 56
  br i1 %.not243, label %42, label %58

42:                                               ; preds = %35
  %43 = add nuw nsw i64 %39, 40
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %43, i64 noundef 60129542158)
  %44 = zext i32 %1 to i64
  %45 = add nuw nsw i64 %44, 4
  tail call void @i32_store8(ptr noundef nonnull %9, i64 noundef %45, i32 noundef 1)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %44, i32 noundef %38)
  %46 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  %.not245 = icmp eq i32 %46, 0
  br i1 %.not245, label %51, label %47

47:                                               ; preds = %42
  %48 = zext i32 %46 to i64
  %49 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %48)
  %50 = add i32 %49, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %48, i32 noundef %50)
  br label %51

51:                                               ; preds = %47, %42
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

52:                                               ; preds = %5
  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

53:                                               ; preds = %18
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 166034, i32 noundef 84140, i32 noundef 35, i32 noundef 93668) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

54:                                               ; preds = %23
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %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

55:                                               ; preds = %25
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %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

56:                                               ; preds = %27
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %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

57:                                               ; preds = %30
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 193151, i32 noundef 84373, i32 noundef 1447, i32 noundef 109070) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

58:                                               ; preds = %35
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 175498, i32 noundef 77863, i32 noundef 1588, i32 noundef 97196) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

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

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