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

; 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: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 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: noreturn
declare void @wasm_rt_trap(i32 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 i64 @i64_load(ptr noundef, i64 noundef) #1

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

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

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

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ATwineChar160x3A0x3ATwineChar160x28char0x20const0x2A0x29(ptr noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsetPrototypeSizeGetter0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #4 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca double, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca double, 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 i32 %3, ptr %9, align 4, !tbaa !9
  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 8, ptr %12) #5
  store i64 0, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store double 0.000000e+00, ptr %13, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  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 %14, align 4, !tbaa !9
  store i32 48, ptr %15, align 4, !tbaa !9
  %26 = load i32, ptr %15, align 4, !tbaa !9
  %27 = load i32, ptr %14, align 4, !tbaa !9
  %28 = sub i32 %27, %26
  store i32 %28, ptr %14, align 4, !tbaa !9
  %29 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %29, ptr %11, align 4, !tbaa !9
  %30 = load i32, ptr %14, 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 %10, align 4, !tbaa !9
  store i32 %33, ptr %14, align 4, !tbaa !9
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.w2c_hermes, ptr %34, i32 0, i32 6
  %36 = load i32, ptr %14, align 4, !tbaa !9
  %37 = zext i32 %36 to i64
  %38 = call i32 @i32_load(ptr noundef %35, i64 noundef %37)
  store i32 %38, ptr %14, align 4, !tbaa !9
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.w2c_hermes, ptr %39, i32 0, i32 6
  %41 = load i32, ptr %14, align 4, !tbaa !9
  %42 = zext i32 %41 to i64
  %43 = call i64 @i64_load(ptr noundef %40, i64 noundef %42)
  store i64 %43, ptr %19, align 8, !tbaa !11
  %44 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %44, ptr %12, align 8, !tbaa !11
  store i64 -844424930131968, ptr %20, align 8, !tbaa !11
  %45 = load i64, ptr %19, align 8, !tbaa !11
  %46 = load i64, ptr %20, align 8, !tbaa !11
  %47 = icmp uge i64 %45, %46
  %48 = zext i1 %47 to i32
  store i32 %48, ptr %14, align 4, !tbaa !9
  %49 = load i32, ptr %14, align 4, !tbaa !9
  %50 = icmp ne i32 %49, 0
  br i1 %50, label %51, label %83

51:                                               ; preds = %5
  %52 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %52, ptr %19, align 8, !tbaa !11
  %53 = load i64, ptr %19, align 8, !tbaa !11
  %54 = trunc i64 %53 to i32
  store i32 %54, ptr %14, align 4, !tbaa !9
  %55 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %55, ptr %10, align 4, !tbaa !9
  %56 = load i32, ptr %14, align 4, !tbaa !9
  %57 = icmp ne i32 %56, 0
  %58 = xor i1 %57, true
  %59 = zext i1 %58 to i32
  store i32 %59, ptr %14, align 4, !tbaa !9
  %60 = load i32, ptr %14, align 4, !tbaa !9
  %61 = icmp ne i32 %60, 0
  br i1 %61, label %62, label %63

62:                                               ; preds = %51
  br label %208

63:                                               ; preds = %51
  %64 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %64, ptr %14, align 4, !tbaa !9
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.w2c_hermes, ptr %65, i32 0, i32 6
  %67 = load i32, ptr %14, align 4, !tbaa !9
  %68 = zext i32 %67 to i64
  %69 = add i64 %68, 3
  %70 = call i32 @i32_load8_u(ptr noundef %66, i64 noundef %69)
  store i32 %70, ptr %14, align 4, !tbaa !9
  store i32 24, ptr %15, align 4, !tbaa !9
  %71 = load i32, ptr %15, align 4, !tbaa !9
  %72 = and i32 %71, 31
  %73 = load i32, ptr %14, align 4, !tbaa !9
  %74 = shl i32 %73, %72
  store i32 %74, ptr %14, align 4, !tbaa !9
  store i32 788529152, ptr %15, align 4, !tbaa !9
  %75 = load i32, ptr %14, align 4, !tbaa !9
  %76 = load i32, ptr %15, align 4, !tbaa !9
  %77 = icmp eq i32 %75, %76
  %78 = zext i1 %77 to i32
  store i32 %78, ptr %14, align 4, !tbaa !9
  %79 = load i32, ptr %14, align 4, !tbaa !9
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %82

81:                                               ; preds = %63
  br label %130

82:                                               ; preds = %63
  br label %83

83:                                               ; preds = %82, %5
  %84 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %84, ptr %14, align 4, !tbaa !9
  %85 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %85, ptr %15, align 4, !tbaa !9
  %86 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %86, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %87 = load i32, ptr %17, align 4, !tbaa !9
  %88 = load i32, ptr %16, align 4, !tbaa !9
  %89 = add i32 %88, %87
  store i32 %89, ptr %16, align 4, !tbaa !9
  store i32 88416, ptr %17, align 4, !tbaa !9
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = load i32, ptr %16, align 4, !tbaa !9
  %92 = load i32, ptr %17, align 4, !tbaa !9
  %93 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ATwineChar160x3A0x3ATwineChar160x28char0x20const0x2A0x29(ptr noundef %90, i32 noundef %91, i32 noundef %92)
  store i32 %93, ptr %16, align 4, !tbaa !9
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = load i32, ptr %15, align 4, !tbaa !9
  %96 = load i32, ptr %16, align 4, !tbaa !9
  %97 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %94, i32 noundef %95, i32 noundef %96)
  store i32 %97, ptr %15, align 4, !tbaa !9
  %98 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %98, ptr %10, align 4, !tbaa !9
  %99 = load ptr, ptr %6, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.w2c_hermes, ptr %99, i32 0, i32 6
  %101 = load i32, ptr %14, align 4, !tbaa !9
  %102 = zext i32 %101 to i64
  %103 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %100, i64 noundef %102, i32 noundef %103)
  %104 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %104, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %105 = load i32, ptr %14, align 4, !tbaa !9
  %106 = load i32, ptr %15, align 4, !tbaa !9
  %107 = icmp ne i32 %105, %106
  %108 = zext i1 %107 to i32
  store i32 %108, ptr %14, align 4, !tbaa !9
  %109 = load i32, ptr %14, align 4, !tbaa !9
  %110 = icmp ne i32 %109, 0
  br i1 %110, label %111, label %112

111:                                              ; preds = %83
  br label %200

112:                                              ; preds = %83
  store i32 0, ptr %14, align 4, !tbaa !9
  %113 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %113, ptr %11, align 4, !tbaa !9
  store i32 109717, ptr %15, align 4, !tbaa !9
  %114 = load i32, ptr %15, align 4, !tbaa !9
  %115 = load i32, ptr %14, align 4, !tbaa !9
  %116 = add i32 %115, %114
  store i32 %116, ptr %14, align 4, !tbaa !9
  %117 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %117, ptr %15, align 4, !tbaa !9
  store i32 77564, ptr %16, align 4, !tbaa !9
  %118 = load i32, ptr %16, align 4, !tbaa !9
  %119 = load i32, ptr %15, align 4, !tbaa !9
  %120 = add i32 %119, %118
  store i32 %120, ptr %15, align 4, !tbaa !9
  store i32 168, ptr %16, align 4, !tbaa !9
  %121 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %121, ptr %17, align 4, !tbaa !9
  store i32 28083, ptr %18, align 4, !tbaa !9
  %122 = load i32, ptr %18, align 4, !tbaa !9
  %123 = load i32, ptr %17, align 4, !tbaa !9
  %124 = add i32 %123, %122
  store i32 %124, ptr %17, align 4, !tbaa !9
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  %126 = load i32, ptr %14, align 4, !tbaa !9
  %127 = load i32, ptr %15, align 4, !tbaa !9
  %128 = load i32, ptr %16, align 4, !tbaa !9
  %129 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %125, i32 noundef %126, i32 noundef %127, i32 noundef %128, i32 noundef %129)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

130:                                              ; preds = %81
  %131 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %131, ptr %14, align 4, !tbaa !9
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.w2c_hermes, ptr %132, i32 0, i32 6
  %134 = load i32, ptr %14, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  %136 = add i64 %135, 28
  %137 = call i32 @i32_load(ptr noundef %133, i64 noundef %136)
  store i32 %137, ptr %14, align 4, !tbaa !9
  %138 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %138, ptr %10, align 4, !tbaa !9
  %139 = load i32, ptr %14, align 4, !tbaa !9
  %140 = icmp ne i32 %139, 0
  %141 = xor i1 %140, true
  %142 = zext i1 %141 to i32
  store i32 %142, ptr %14, align 4, !tbaa !9
  %143 = load i32, ptr %14, align 4, !tbaa !9
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %146

145:                                              ; preds = %130
  br label %226

146:                                              ; preds = %130
  %147 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %147, ptr %14, align 4, !tbaa !9
  %148 = load ptr, ptr %6, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.w2c_hermes, ptr %148, i32 0, i32 6
  %150 = load i32, ptr %14, align 4, !tbaa !9
  %151 = zext i32 %150 to i64
  %152 = add i64 %151, 3
  %153 = call i32 @i32_load8_u(ptr noundef %149, i64 noundef %152)
  store i32 %153, ptr %14, align 4, !tbaa !9
  store i32 24, ptr %15, align 4, !tbaa !9
  %154 = load i32, ptr %15, align 4, !tbaa !9
  %155 = and i32 %154, 31
  %156 = load i32, ptr %14, align 4, !tbaa !9
  %157 = shl i32 %156, %155
  store i32 %157, ptr %14, align 4, !tbaa !9
  store i32 385875968, ptr %15, align 4, !tbaa !9
  %158 = load i32, ptr %14, align 4, !tbaa !9
  %159 = load i32, ptr %15, align 4, !tbaa !9
  %160 = icmp ne i32 %158, %159
  %161 = zext i1 %160 to i32
  store i32 %161, ptr %14, align 4, !tbaa !9
  %162 = load i32, ptr %14, align 4, !tbaa !9
  %163 = icmp ne i32 %162, 0
  br i1 %163, label %164, label %165

164:                                              ; preds = %146
  br label %244

165:                                              ; preds = %146
  %166 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %166, ptr %14, align 4, !tbaa !9
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.w2c_hermes, ptr %167, i32 0, i32 6
  %169 = load i32, ptr %14, align 4, !tbaa !9
  %170 = zext i32 %169 to i64
  %171 = add i64 %170, 28
  %172 = call i32 @i32_load(ptr noundef %168, i64 noundef %171)
  store i32 %172, ptr %14, align 4, !tbaa !9
  %173 = load i32, ptr %14, align 4, !tbaa !9
  %174 = uitofp i32 %173 to double
  store double %174, ptr %21, align 8, !tbaa !13
  %175 = load double, ptr %21, align 8, !tbaa !13
  store double %175, ptr %13, align 8, !tbaa !13
  %176 = load double, ptr %21, align 8, !tbaa !13
  %177 = call i64 @i64_reinterpret_f64(double noundef %176)
  store i64 %177, ptr %19, align 8, !tbaa !11
  store i64 -1970324836974592, ptr %20, align 8, !tbaa !11
  %178 = load i64, ptr %19, align 8, !tbaa !11
  %179 = load i64, ptr %20, align 8, !tbaa !11
  %180 = icmp uge i64 %178, %179
  %181 = zext i1 %180 to i32
  store i32 %181, ptr %14, align 4, !tbaa !9
  %182 = load i32, ptr %14, align 4, !tbaa !9
  %183 = icmp ne i32 %182, 0
  br i1 %183, label %184, label %185

184:                                              ; preds = %165
  br label %262

185:                                              ; preds = %165
  %186 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %186, ptr %14, align 4, !tbaa !9
  %187 = load double, ptr %13, align 8, !tbaa !13
  store double %187, ptr %22, align 8, !tbaa !13
  %188 = load ptr, ptr %6, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.w2c_hermes, ptr %188, i32 0, i32 6
  %190 = load i32, ptr %14, align 4, !tbaa !9
  %191 = zext i32 %190 to i64
  %192 = add i64 %191, 8
  %193 = load double, ptr %22, align 8, !tbaa !13
  call void @f64_store(ptr noundef %189, i64 noundef %192, double noundef %193)
  %194 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %194, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %195 = load ptr, ptr %6, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.w2c_hermes, ptr %195, i32 0, i32 6
  %197 = load i32, ptr %14, align 4, !tbaa !9
  %198 = zext i32 %197 to i64
  %199 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %196, i64 noundef %198, i32 noundef %199)
  br label %200

200:                                              ; preds = %185, %111
  %201 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %201, ptr %14, align 4, !tbaa !9
  store i32 48, ptr %15, align 4, !tbaa !9
  %202 = load i32, ptr %15, align 4, !tbaa !9
  %203 = load i32, ptr %14, align 4, !tbaa !9
  %204 = add i32 %203, %202
  store i32 %204, ptr %14, align 4, !tbaa !9
  %205 = load i32, ptr %14, align 4, !tbaa !9
  %206 = load ptr, ptr %6, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.w2c_hermes, ptr %206, i32 0, i32 3
  store i32 %205, ptr %207, align 8, !tbaa !15
  br label %280

208:                                              ; preds = %62
  store i32 0, ptr %14, align 4, !tbaa !9
  %209 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %209, ptr %11, align 4, !tbaa !9
  store i32 147142, ptr %15, align 4, !tbaa !9
  %210 = load i32, ptr %15, align 4, !tbaa !9
  %211 = load i32, ptr %14, align 4, !tbaa !9
  %212 = add i32 %211, %210
  store i32 %212, ptr %14, align 4, !tbaa !9
  %213 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %213, ptr %15, align 4, !tbaa !9
  store i32 82611, ptr %16, align 4, !tbaa !9
  %214 = load i32, ptr %16, align 4, !tbaa !9
  %215 = load i32, ptr %15, align 4, !tbaa !9
  %216 = add i32 %215, %214
  store i32 %216, ptr %15, align 4, !tbaa !9
  store i32 106, ptr %16, align 4, !tbaa !9
  %217 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %217, ptr %17, align 4, !tbaa !9
  store i32 28119, ptr %18, align 4, !tbaa !9
  %218 = load i32, ptr %18, align 4, !tbaa !9
  %219 = load i32, ptr %17, align 4, !tbaa !9
  %220 = add i32 %219, %218
  store i32 %220, ptr %17, align 4, !tbaa !9
  %221 = load ptr, ptr %6, align 8, !tbaa !5
  %222 = load i32, ptr %14, align 4, !tbaa !9
  %223 = load i32, ptr %15, align 4, !tbaa !9
  %224 = load i32, ptr %16, align 4, !tbaa !9
  %225 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %221, i32 noundef %222, i32 noundef %223, i32 noundef %224, i32 noundef %225)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

226:                                              ; preds = %145
  store i32 0, ptr %14, align 4, !tbaa !9
  %227 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %227, ptr %11, align 4, !tbaa !9
  store i32 198018, ptr %15, align 4, !tbaa !9
  %228 = load i32, ptr %15, align 4, !tbaa !9
  %229 = load i32, ptr %14, align 4, !tbaa !9
  %230 = add i32 %229, %228
  store i32 %230, ptr %14, align 4, !tbaa !9
  %231 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %231, ptr %15, align 4, !tbaa !9
  store i32 82273, ptr %16, align 4, !tbaa !9
  %232 = load i32, ptr %16, align 4, !tbaa !9
  %233 = load i32, ptr %15, align 4, !tbaa !9
  %234 = add i32 %233, %232
  store i32 %234, ptr %15, align 4, !tbaa !9
  store i32 153, ptr %16, align 4, !tbaa !9
  %235 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %235, ptr %17, align 4, !tbaa !9
  store i32 103638, ptr %18, align 4, !tbaa !9
  %236 = load i32, ptr %18, align 4, !tbaa !9
  %237 = load i32, ptr %17, align 4, !tbaa !9
  %238 = add i32 %237, %236
  store i32 %238, ptr %17, align 4, !tbaa !9
  %239 = load ptr, ptr %6, align 8, !tbaa !5
  %240 = load i32, ptr %14, align 4, !tbaa !9
  %241 = load i32, ptr %15, align 4, !tbaa !9
  %242 = load i32, ptr %16, align 4, !tbaa !9
  %243 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %239, i32 noundef %240, i32 noundef %241, i32 noundef %242, i32 noundef %243)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

244:                                              ; preds = %164
  store i32 0, ptr %14, align 4, !tbaa !9
  %245 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %245, ptr %11, align 4, !tbaa !9
  store i32 205012, ptr %15, align 4, !tbaa !9
  %246 = load i32, ptr %15, align 4, !tbaa !9
  %247 = load i32, ptr %14, align 4, !tbaa !9
  %248 = add i32 %247, %246
  store i32 %248, ptr %14, align 4, !tbaa !9
  %249 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %249, ptr %15, align 4, !tbaa !9
  store i32 82611, ptr %16, align 4, !tbaa !9
  %250 = load i32, ptr %16, align 4, !tbaa !9
  %251 = load i32, ptr %15, align 4, !tbaa !9
  %252 = add i32 %251, %250
  store i32 %252, ptr %15, align 4, !tbaa !9
  store i32 255, ptr %16, align 4, !tbaa !9
  %253 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %253, ptr %17, align 4, !tbaa !9
  store i32 24720, ptr %18, align 4, !tbaa !9
  %254 = load i32, ptr %18, align 4, !tbaa !9
  %255 = load i32, ptr %17, align 4, !tbaa !9
  %256 = add i32 %255, %254
  store i32 %256, ptr %17, align 4, !tbaa !9
  %257 = load ptr, ptr %6, align 8, !tbaa !5
  %258 = load i32, ptr %14, align 4, !tbaa !9
  %259 = load i32, ptr %15, align 4, !tbaa !9
  %260 = load i32, ptr %16, align 4, !tbaa !9
  %261 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %257, i32 noundef %258, i32 noundef %259, i32 noundef %260, i32 noundef %261)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

262:                                              ; preds = %184
  store i32 0, ptr %14, align 4, !tbaa !9
  %263 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %263, ptr %11, align 4, !tbaa !9
  store i32 168600, ptr %15, align 4, !tbaa !9
  %264 = load i32, ptr %15, align 4, !tbaa !9
  %265 = load i32, ptr %14, align 4, !tbaa !9
  %266 = add i32 %265, %264
  store i32 %266, ptr %14, align 4, !tbaa !9
  %267 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %267, ptr %15, align 4, !tbaa !9
  store i32 83341, ptr %16, align 4, !tbaa !9
  %268 = load i32, ptr %16, align 4, !tbaa !9
  %269 = load i32, ptr %15, align 4, !tbaa !9
  %270 = add i32 %269, %268
  store i32 %270, ptr %15, align 4, !tbaa !9
  store i32 341, ptr %16, align 4, !tbaa !9
  %271 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %271, ptr %17, align 4, !tbaa !9
  store i32 90577, ptr %18, align 4, !tbaa !9
  %272 = load i32, ptr %18, align 4, !tbaa !9
  %273 = load i32, ptr %17, align 4, !tbaa !9
  %274 = add i32 %273, %272
  store i32 %274, ptr %17, align 4, !tbaa !9
  %275 = load ptr, ptr %6, align 8, !tbaa !5
  %276 = load i32, ptr %14, align 4, !tbaa !9
  %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
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %275, i32 noundef %276, i32 noundef %277, i32 noundef %278, i32 noundef %279)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

280:                                              ; preds = %200
  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 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret void
}

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 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !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, !12, i64 8, !12, i64 16, !12, 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: 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 i32 @i32_load(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 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 i64 @i64_load(ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

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

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ATwineChar160x3A0x3ATwineChar160x28char0x20const0x2A0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsetPrototypeSizeGetter0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 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, -48
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %4 to i64
  %11 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  %12 = zext i32 %11 to i64
  %13 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %12)
  %14 = icmp ugt i64 %13, -844424930131969
  br i1 %14, label %15, label %21

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

17:                                               ; preds = %15
  %18 = add nuw nsw i64 %16, 3
  %19 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %18)
  %.mask = and i32 %19, 255
  %20 = icmp eq i32 %.mask, 47
  br i1 %20, label %27, label %21

21:                                               ; preds = %17, %5
  %22 = add i32 %7, -40
  %23 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ATwineChar160x3A0x3ATwineChar160x28char0x20const0x2A0x29(ptr noundef nonnull %0, i32 noundef %22, i32 noundef 88416) #4
  %24 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %23) #4
  %25 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %25, i32 noundef %24)
  %.not153 = icmp eq i32 %24, 1
  br i1 %.not153, label %26, label %43

26:                                               ; preds = %21
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 109717, i32 noundef 77564, i32 noundef 168, i32 noundef 28083) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

27:                                               ; preds = %17
  %28 = add nuw nsw i64 %16, 28
  %29 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %28)
  %.not154 = icmp eq i32 %29, 0
  br i1 %.not154, label %45, label %30

30:                                               ; preds = %27
  %31 = zext i32 %29 to i64
  %32 = add nuw nsw i64 %31, 3
  %33 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %32)
  %.mask156 = and i32 %33, 255
  %.not155 = icmp eq i32 %.mask156, 23
  br i1 %.not155, label %34, label %46

34:                                               ; preds = %30
  %35 = add nuw nsw i64 %31, 28
  %36 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %35)
  %37 = uitofp i32 %36 to double
  %38 = tail call i64 @i64_reinterpret_f64(double noundef %37)
  %39 = icmp ugt i64 %38, -1970324836974593
  br i1 %39, label %47, label %40

40:                                               ; preds = %34
  %41 = zext i32 %1 to i64
  %42 = add nuw nsw i64 %41, 8
  tail call void @f64_store(ptr noundef nonnull %9, i64 noundef %42, double noundef %37)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %41, i32 noundef 1)
  br label %43

43:                                               ; preds = %21, %40
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

44:                                               ; preds = %15
  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

45:                                               ; preds = %27
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 198018, i32 noundef 82273, i32 noundef 153, i32 noundef 103638) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

46:                                               ; preds = %30
  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

47:                                               ; preds = %34
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 168600, i32 noundef 83341, i32 noundef 341, i32 noundef 90577) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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 = { 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 = { "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