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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSDate0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20double0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(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 %264

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 %282

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 %300

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 %318

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 %336

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 %354

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 %372

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_hermes0x3A0x3Avm0x3A0x3AJSDate0x2A0x20hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AmakeAFixed0x3Chermes0x3A0x3Avm0x3A0x3AJSDate0x2C0x200x28hermes0x3A0x3Avm0x3A0x3AHasFinalizer0x2900x2C0x200x28hermes0x3A0x3Avm0x3A0x3ALongLived0x2900x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20double0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20double0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x260x29(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 i32, ptr %11, align 4, !tbaa !9
  store i32 %191, ptr %15, align 4, !tbaa !9
  %192 = load ptr, ptr %6, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.w2c_hermes, ptr %192, i32 0, i32 6
  %194 = load i32, ptr %15, align 4, !tbaa !9
  %195 = zext i32 %194 to i64
  %196 = call i32 @i32_load(ptr noundef %193, i64 noundef %195)
  store i32 %196, ptr %15, align 4, !tbaa !9
  %197 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %197, ptr %10, align 4, !tbaa !9
  %198 = load i32, ptr %15, align 4, !tbaa !9
  %199 = icmp ne i32 %198, 0
  br i1 %199, label %200, label %216

200:                                              ; preds = %171
  %201 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %201, ptr %15, align 4, !tbaa !9
  %202 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %202, ptr %16, align 4, !tbaa !9
  %203 = load ptr, ptr %6, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.w2c_hermes, ptr %203, i32 0, i32 6
  %205 = load i32, ptr %16, align 4, !tbaa !9
  %206 = zext i32 %205 to i64
  %207 = call i32 @i32_load(ptr noundef %204, i64 noundef %206)
  store i32 %207, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %208 = load i32, ptr %17, align 4, !tbaa !9
  %209 = load i32, ptr %16, align 4, !tbaa !9
  %210 = sub i32 %209, %208
  store i32 %210, ptr %16, align 4, !tbaa !9
  %211 = load ptr, ptr %6, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.w2c_hermes, ptr %211, i32 0, i32 6
  %213 = load i32, ptr %15, align 4, !tbaa !9
  %214 = zext i32 %213 to i64
  %215 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %212, i64 noundef %214, i32 noundef %215)
  br label %216

216:                                              ; preds = %200, %171
  %217 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %217, ptr %15, align 4, !tbaa !9
  %218 = load ptr, ptr %6, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.w2c_hermes, ptr %218, i32 0, i32 6
  %220 = load i32, ptr %15, align 4, !tbaa !9
  %221 = zext i32 %220 to i64
  %222 = add i64 %221, 3
  %223 = call i32 @i32_load8_u(ptr noundef %219, i64 noundef %222)
  store i32 %223, ptr %15, align 4, !tbaa !9
  store i32 24, ptr %16, align 4, !tbaa !9
  %224 = load i32, ptr %16, align 4, !tbaa !9
  %225 = and i32 %224, 31
  %226 = load i32, ptr %15, align 4, !tbaa !9
  %227 = shl i32 %226, %225
  store i32 %227, ptr %15, align 4, !tbaa !9
  store i32 1023410176, ptr %16, align 4, !tbaa !9
  %228 = load i32, ptr %15, align 4, !tbaa !9
  %229 = load i32, ptr %16, align 4, !tbaa !9
  %230 = icmp ne i32 %228, %229
  %231 = zext i1 %230 to i32
  store i32 %231, ptr %15, align 4, !tbaa !9
  %232 = load i32, ptr %15, align 4, !tbaa !9
  %233 = icmp ne i32 %232, 0
  br i1 %233, label %234, label %235

234:                                              ; preds = %216
  br label %390

235:                                              ; preds = %216
  %236 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %236, ptr %15, align 4, !tbaa !9
  store i64 60129542158, ptr %21, align 8, !tbaa !13
  %237 = load ptr, ptr %6, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.w2c_hermes, ptr %237, i32 0, i32 6
  %239 = load i32, ptr %15, align 4, !tbaa !9
  %240 = zext i32 %239 to i64
  %241 = add i64 %240, 40
  %242 = load i64, ptr %21, align 8, !tbaa !13
  call void @i64_store(ptr noundef %238, i64 noundef %241, i64 noundef %242)
  %243 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %243, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %244 = load ptr, ptr %6, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.w2c_hermes, ptr %244, i32 0, i32 6
  %246 = load i32, ptr %15, align 4, !tbaa !9
  %247 = zext i32 %246 to i64
  %248 = add i64 %247, 4
  %249 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %245, i64 noundef %248, i32 noundef %249)
  %250 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %250, ptr %15, align 4, !tbaa !9
  %251 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %251, ptr %16, align 4, !tbaa !9
  %252 = load ptr, ptr %6, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.w2c_hermes, ptr %252, i32 0, i32 6
  %254 = load i32, ptr %15, align 4, !tbaa !9
  %255 = zext i32 %254 to i64
  %256 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %253, i64 noundef %255, i32 noundef %256)
  %257 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %257, ptr %15, align 4, !tbaa !9
  store i32 16, ptr %16, align 4, !tbaa !9
  %258 = load i32, ptr %16, align 4, !tbaa !9
  %259 = load i32, ptr %15, align 4, !tbaa !9
  %260 = add i32 %259, %258
  store i32 %260, ptr %15, align 4, !tbaa !9
  %261 = load i32, ptr %15, align 4, !tbaa !9
  %262 = load ptr, ptr %6, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.w2c_hermes, ptr %262, i32 0, i32 3
  store i32 %261, ptr %263, align 8, !tbaa !15
  br label %408

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

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

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

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

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

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

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

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

408:                                              ; preds = %235
  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: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSDate0x2A0x20hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AmakeAFixed0x3Chermes0x3A0x3Avm0x3A0x3AJSDate0x2C0x200x28hermes0x3A0x3Avm0x3A0x3AHasFinalizer0x2900x2C0x200x28hermes0x3A0x3Avm0x3A0x3ALongLived0x2900x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20double0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20double0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x260x29(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 = { "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 = !{!"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"

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSDate0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20double0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(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)
  %.mask242 = and i32 %29, 255
  %.not241 = icmp eq i32 %.mask242, 13
  br i1 %.not241, 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)
  %.not243 = icmp eq i32 %34, 0
  br i1 %.not243, label %57, label %35

35:                                               ; preds = %30
  %36 = add i32 %2, 808
  %37 = add i32 %7, -8
  %38 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSDate0x2A0x20hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AmakeAFixed0x3Chermes0x3A0x3Avm0x3A0x3AJSDate0x2C0x200x28hermes0x3A0x3Avm0x3A0x3AHasFinalizer0x2900x2C0x200x28hermes0x3A0x3Avm0x3A0x3ALongLived0x2900x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20double0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20double0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x260x29(ptr noundef nonnull %0, i32 noundef %36, i32 noundef %2, i32 noundef %37, i32 noundef %4, i32 noundef %8)
  %39 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  %.not244 = icmp eq i32 %39, 0
  br i1 %.not244, label %44, label %40

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

44:                                               ; preds = %40, %35
  %45 = zext i32 %38 to i64
  %46 = add nuw nsw i64 %45, 3
  %47 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %46)
  %.mask246 = and i32 %47, 255
  %.not245 = icmp eq i32 %.mask246, 61
  br i1 %.not245, label %48, label %58

48:                                               ; preds = %44
  %49 = add nuw nsw i64 %45, 40
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %49, i64 noundef 60129542158)
  %50 = zext i32 %1 to i64
  %51 = add nuw nsw i64 %50, 4
  tail call void @i32_store8(ptr noundef nonnull %9, i64 noundef %51, i32 noundef 1)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %50, i32 noundef %38)
  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 = %44
  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: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSDate0x2A0x20hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AmakeAFixed0x3Chermes0x3A0x3Avm0x3A0x3AJSDate0x2C0x200x28hermes0x3A0x3Avm0x3A0x3AHasFinalizer0x2900x2C0x200x28hermes0x3A0x3Avm0x3A0x3ALongLived0x2900x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20double0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20double0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

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

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