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

; 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 i32 @i32_load8_u(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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Airgen0x3A0x3AESTreeIRGen0x3A0x3AcreateNewBinding0x28hermes0x3A0x3AScopeDesc0x2A0x2C0x20hermes0x3A0x3AJavaScriptDeclKind0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20bool0x2C0x20hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #4 {
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store i32 %1, ptr %9, align 4, !tbaa !9
  store i32 %2, ptr %10, align 4, !tbaa !9
  store i32 %3, ptr %11, align 4, !tbaa !9
  store i32 %4, ptr %12, align 4, !tbaa !9
  store i32 %5, ptr %13, align 4, !tbaa !9
  store i32 %6, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !9
  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 4, ptr %20) #5
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.w2c_hermes, ptr %21, i32 0, i32 3
  %23 = load i32, ptr %22, align 8, !tbaa !11
  store i32 %23, ptr %16, align 4, !tbaa !9
  store i32 16, ptr %17, align 4, !tbaa !9
  %24 = load i32, ptr %17, align 4, !tbaa !9
  %25 = load i32, ptr %16, align 4, !tbaa !9
  %26 = sub i32 %25, %24
  store i32 %26, ptr %16, align 4, !tbaa !9
  %27 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %27, ptr %15, align 4, !tbaa !9
  %28 = load i32, ptr %16, align 4, !tbaa !9
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.w2c_hermes, ptr %29, i32 0, i32 3
  store i32 %28, ptr %30, align 8, !tbaa !11
  %31 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %31, ptr %16, align 4, !tbaa !9
  %32 = load i32, ptr %16, align 4, !tbaa !9
  %33 = icmp ne i32 %32, 0
  br i1 %33, label %34, label %203

34:                                               ; preds = %7
  %35 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %35, ptr %16, align 4, !tbaa !9
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.w2c_hermes, ptr %36, i32 0, i32 6
  %38 = load i32, ptr %16, align 4, !tbaa !9
  %39 = zext i32 %38 to i64
  %40 = add i64 %39, 8
  %41 = call i32 @i32_load(ptr noundef %37, i64 noundef %40)
  store i32 %41, ptr %16, align 4, !tbaa !9
  store i32 64, ptr %17, align 4, !tbaa !9
  %42 = load i32, ptr %16, align 4, !tbaa !9
  %43 = load i32, ptr %17, align 4, !tbaa !9
  %44 = icmp ne i32 %42, %43
  %45 = zext i1 %44 to i32
  store i32 %45, ptr %16, align 4, !tbaa !9
  %46 = load i32, ptr %16, align 4, !tbaa !9
  %47 = icmp ne i32 %46, 0
  br i1 %47, label %48, label %49

48:                                               ; preds = %34
  br label %221

49:                                               ; preds = %34
  %50 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %50, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %51 = load i32, ptr %17, align 4, !tbaa !9
  %52 = load i32, ptr %16, align 4, !tbaa !9
  %53 = add i32 %52, %51
  store i32 %53, ptr %16, align 4, !tbaa !9
  %54 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %54, ptr %17, align 4, !tbaa !9
  %55 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %55, ptr %18, align 4, !tbaa !9
  %56 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %56, ptr %19, align 4, !tbaa !9
  %57 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %57, ptr %20, align 4, !tbaa !9
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.w2c_hermes, ptr %58, i32 0, i32 6
  %60 = load i32, ptr %20, align 4, !tbaa !9
  %61 = zext i32 %60 to i64
  %62 = add i64 %61, 28
  %63 = call i32 @i32_load(ptr noundef %59, i64 noundef %62)
  store i32 %63, ptr %20, align 4, !tbaa !9
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  %65 = load i32, ptr %16, align 4, !tbaa !9
  %66 = load i32, ptr %17, align 4, !tbaa !9
  %67 = load i32, ptr %18, align 4, !tbaa !9
  %68 = load i32, ptr %19, align 4, !tbaa !9
  %69 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Airgen0x3A0x3AESTreeIRGen0x3A0x3AdeclareVariableOrGlobalProperty0x28hermes0x3A0x3AScopeDesc0x2A0x2C0x20hermes0x3A0x3AJavaScriptDeclKind0x2C0x20hermes0x3A0x3AIdentifier0x29(ptr noundef %64, i32 noundef %65, i32 noundef %66, i32 noundef %67, i32 noundef %68, i32 noundef %69)
  %70 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %70, ptr %16, align 4, !tbaa !9
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.w2c_hermes, ptr %71, i32 0, i32 6
  %73 = load i32, ptr %16, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = add i64 %74, 8
  %76 = call i32 @i32_load(ptr noundef %72, i64 noundef %75)
  store i32 %76, ptr %16, align 4, !tbaa !9
  %77 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %77, ptr %12, align 4, !tbaa !9
  %78 = load i32, ptr %16, align 4, !tbaa !9
  %79 = icmp ne i32 %78, 0
  %80 = xor i1 %79, true
  %81 = zext i1 %80 to i32
  store i32 %81, ptr %16, align 4, !tbaa !9
  %82 = load i32, ptr %16, align 4, !tbaa !9
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %85

84:                                               ; preds = %49
  br label %239

85:                                               ; preds = %49
  %86 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %86, ptr %16, align 4, !tbaa !9
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.w2c_hermes, ptr %87, i32 0, i32 6
  %89 = load i32, ptr %16, align 4, !tbaa !9
  %90 = zext i32 %89 to i64
  %91 = call i32 @i32_load8_u(ptr noundef %88, i64 noundef %90)
  store i32 %91, ptr %16, align 4, !tbaa !9
  %92 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %92, ptr %11, align 4, !tbaa !9
  store i32 124, ptr %17, align 4, !tbaa !9
  %93 = load i32, ptr %16, align 4, !tbaa !9
  %94 = load i32, ptr %17, align 4, !tbaa !9
  %95 = icmp ne i32 %93, %94
  %96 = zext i1 %95 to i32
  store i32 %96, ptr %16, align 4, !tbaa !9
  %97 = load i32, ptr %16, align 4, !tbaa !9
  %98 = icmp ne i32 %97, 0
  br i1 %98, label %99, label %100

99:                                               ; preds = %85
  br label %195

100:                                              ; preds = %85
  %101 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %101, ptr %16, align 4, !tbaa !9
  %102 = load i32, ptr %16, align 4, !tbaa !9
  %103 = icmp ne i32 %102, 0
  %104 = xor i1 %103, true
  %105 = zext i1 %104 to i32
  store i32 %105, ptr %16, align 4, !tbaa !9
  %106 = load i32, ptr %16, align 4, !tbaa !9
  %107 = icmp ne i32 %106, 0
  br i1 %107, label %108, label %109

108:                                              ; preds = %100
  br label %195

109:                                              ; preds = %100
  %110 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %110, ptr %16, align 4, !tbaa !9
  %111 = load ptr, ptr %8, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.w2c_hermes, ptr %111, i32 0, i32 6
  %113 = load i32, ptr %16, align 4, !tbaa !9
  %114 = zext i32 %113 to i64
  %115 = add i64 %114, 12
  %116 = call i32 @i32_load8_u(ptr noundef %112, i64 noundef %115)
  store i32 %116, ptr %16, align 4, !tbaa !9
  %117 = load i32, ptr %16, align 4, !tbaa !9
  %118 = icmp ne i32 %117, 0
  %119 = xor i1 %118, true
  %120 = zext i1 %119 to i32
  store i32 %120, ptr %16, align 4, !tbaa !9
  %121 = load i32, ptr %16, align 4, !tbaa !9
  %122 = icmp ne i32 %121, 0
  br i1 %122, label %123, label %124

123:                                              ; preds = %109
  br label %195

124:                                              ; preds = %109
  %125 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %125, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %126 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %126, ptr %18, align 4, !tbaa !9
  store i32 124, ptr %19, align 4, !tbaa !9
  %127 = load i32, ptr %18, align 4, !tbaa !9
  %128 = load i32, ptr %19, align 4, !tbaa !9
  %129 = icmp eq i32 %127, %128
  %130 = zext i1 %129 to i32
  store i32 %130, ptr %18, align 4, !tbaa !9
  %131 = load i32, ptr %18, align 4, !tbaa !9
  %132 = icmp ne i32 %131, 0
  br i1 %132, label %133, label %135

133:                                              ; preds = %124
  %134 = load i32, ptr %16, align 4, !tbaa !9
  br label %137

135:                                              ; preds = %124
  %136 = load i32, ptr %17, align 4, !tbaa !9
  br label %137

137:                                              ; preds = %135, %133
  %138 = phi i32 [ %134, %133 ], [ %136, %135 ]
  store i32 %138, ptr %16, align 4, !tbaa !9
  %139 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %139, ptr %12, align 4, !tbaa !9
  %140 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %140, ptr %16, align 4, !tbaa !9
  %141 = load i32, ptr %16, align 4, !tbaa !9
  %142 = icmp ne i32 %141, 0
  br i1 %142, label %143, label %144

143:                                              ; preds = %137
  br label %175

144:                                              ; preds = %137
  %145 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %145, ptr %16, align 4, !tbaa !9
  store i32 4, ptr %17, align 4, !tbaa !9
  %146 = load i32, ptr %17, align 4, !tbaa !9
  %147 = load i32, ptr %16, align 4, !tbaa !9
  %148 = add i32 %147, %146
  store i32 %148, ptr %16, align 4, !tbaa !9
  %149 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %149, ptr %14, align 4, !tbaa !9
  %150 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %150, ptr %16, align 4, !tbaa !9
  %151 = load ptr, ptr %8, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.w2c_hermes, ptr %151, i32 0, i32 6
  %153 = load i32, ptr %16, align 4, !tbaa !9
  %154 = zext i32 %153 to i64
  %155 = add i64 %154, 28
  %156 = call i32 @i32_load8_u(ptr noundef %152, i64 noundef %155)
  store i32 %156, ptr %16, align 4, !tbaa !9
  store i32 2, ptr %17, align 4, !tbaa !9
  %157 = load i32, ptr %16, align 4, !tbaa !9
  %158 = load i32, ptr %17, align 4, !tbaa !9
  %159 = icmp ne i32 %157, %158
  %160 = zext i1 %159 to i32
  store i32 %160, ptr %16, align 4, !tbaa !9
  %161 = load i32, ptr %16, align 4, !tbaa !9
  %162 = icmp ne i32 %161, 0
  br i1 %162, label %163, label %169

163:                                              ; preds = %144
  %164 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %164, ptr %16, align 4, !tbaa !9
  %165 = load ptr, ptr %8, align 8, !tbaa !5
  %166 = load i32, ptr %16, align 4, !tbaa !9
  %167 = call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AgetLiteralEmpty0x280x29(ptr noundef %165, i32 noundef %166)
  store i32 %167, ptr %16, align 4, !tbaa !9
  %168 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %168, ptr %14, align 4, !tbaa !9
  br label %175

169:                                              ; preds = %144
  %170 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %170, ptr %16, align 4, !tbaa !9
  %171 = load ptr, ptr %8, align 8, !tbaa !5
  %172 = load i32, ptr %16, align 4, !tbaa !9
  %173 = call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AgetLiteralUndefined0x280x29(ptr noundef %171, i32 noundef %172)
  store i32 %173, ptr %16, align 4, !tbaa !9
  %174 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %174, ptr %14, align 4, !tbaa !9
  br label %175

175:                                              ; preds = %169, %163, %143
  %176 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %176, ptr %16, align 4, !tbaa !9
  store i32 4, ptr %17, align 4, !tbaa !9
  %177 = load i32, ptr %17, align 4, !tbaa !9
  %178 = load i32, ptr %16, align 4, !tbaa !9
  %179 = add i32 %178, %177
  store i32 %179, ptr %16, align 4, !tbaa !9
  %180 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %180, ptr %17, align 4, !tbaa !9
  %181 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %181, ptr %18, align 4, !tbaa !9
  %182 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %182, ptr %19, align 4, !tbaa !9
  %183 = load ptr, ptr %8, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.w2c_hermes, ptr %183, i32 0, i32 6
  %185 = load i32, ptr %19, align 4, !tbaa !9
  %186 = zext i32 %185 to i64
  %187 = add i64 %186, 88
  %188 = call i32 @i32_load(ptr noundef %184, i64 noundef %187)
  store i32 %188, ptr %19, align 4, !tbaa !9
  %189 = load ptr, ptr %8, align 8, !tbaa !5
  %190 = load i32, ptr %16, align 4, !tbaa !9
  %191 = load i32, ptr %17, align 4, !tbaa !9
  %192 = load i32, ptr %18, align 4, !tbaa !9
  %193 = load i32, ptr %19, align 4, !tbaa !9
  %194 = call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateStoreFrameInst0x28hermes0x3A0x3AValue0x2A0x2C0x20hermes0x3A0x3AVariable0x2A0x2C0x20hermes0x3A0x3AScopeCreationInst0x2A0x29(ptr noundef %189, i32 noundef %190, i32 noundef %191, i32 noundef %192, i32 noundef %193)
  store i32 %194, ptr %16, align 4, !tbaa !9
  br label %195

195:                                              ; preds = %175, %123, %108, %99
  %196 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %196, ptr %16, align 4, !tbaa !9
  store i32 16, ptr %17, align 4, !tbaa !9
  %197 = load i32, ptr %17, align 4, !tbaa !9
  %198 = load i32, ptr %16, align 4, !tbaa !9
  %199 = add i32 %198, %197
  store i32 %199, ptr %16, align 4, !tbaa !9
  %200 = load i32, ptr %16, align 4, !tbaa !9
  %201 = load ptr, ptr %8, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.w2c_hermes, ptr %201, i32 0, i32 3
  store i32 %200, ptr %202, align 8, !tbaa !11
  br label %257

203:                                              ; preds = %7
  store i32 0, ptr %16, align 4, !tbaa !9
  %204 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %204, ptr %15, align 4, !tbaa !9
  store i32 147142, ptr %17, align 4, !tbaa !9
  %205 = load i32, ptr %17, align 4, !tbaa !9
  %206 = load i32, ptr %16, align 4, !tbaa !9
  %207 = add i32 %206, %205
  store i32 %207, ptr %16, align 4, !tbaa !9
  %208 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %208, ptr %17, align 4, !tbaa !9
  store i32 82611, ptr %18, align 4, !tbaa !9
  %209 = load i32, ptr %18, align 4, !tbaa !9
  %210 = load i32, ptr %17, align 4, !tbaa !9
  %211 = add i32 %210, %209
  store i32 %211, ptr %17, align 4, !tbaa !9
  store i32 106, ptr %18, align 4, !tbaa !9
  %212 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %212, ptr %19, align 4, !tbaa !9
  store i32 28119, ptr %20, align 4, !tbaa !9
  %213 = load i32, ptr %20, align 4, !tbaa !9
  %214 = load i32, ptr %19, align 4, !tbaa !9
  %215 = add i32 %214, %213
  store i32 %215, ptr %19, align 4, !tbaa !9
  %216 = load ptr, ptr %8, align 8, !tbaa !5
  %217 = load i32, ptr %16, align 4, !tbaa !9
  %218 = load i32, ptr %17, align 4, !tbaa !9
  %219 = load i32, ptr %18, align 4, !tbaa !9
  %220 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %216, i32 noundef %217, i32 noundef %218, i32 noundef %219, i32 noundef %220)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

221:                                              ; preds = %48
  store i32 0, ptr %16, align 4, !tbaa !9
  %222 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %222, ptr %15, align 4, !tbaa !9
  store i32 205012, ptr %17, align 4, !tbaa !9
  %223 = load i32, ptr %17, align 4, !tbaa !9
  %224 = load i32, ptr %16, align 4, !tbaa !9
  %225 = add i32 %224, %223
  store i32 %225, ptr %16, align 4, !tbaa !9
  %226 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %226, ptr %17, align 4, !tbaa !9
  store i32 82611, ptr %18, align 4, !tbaa !9
  %227 = load i32, ptr %18, align 4, !tbaa !9
  %228 = load i32, ptr %17, align 4, !tbaa !9
  %229 = add i32 %228, %227
  store i32 %229, ptr %17, align 4, !tbaa !9
  store i32 255, ptr %18, align 4, !tbaa !9
  %230 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %230, ptr %19, align 4, !tbaa !9
  store i32 24720, ptr %20, align 4, !tbaa !9
  %231 = load i32, ptr %20, align 4, !tbaa !9
  %232 = load i32, ptr %19, align 4, !tbaa !9
  %233 = add i32 %232, %231
  store i32 %233, ptr %19, align 4, !tbaa !9
  %234 = load ptr, ptr %8, align 8, !tbaa !5
  %235 = load i32, ptr %16, align 4, !tbaa !9
  %236 = load i32, ptr %17, align 4, !tbaa !9
  %237 = load i32, ptr %18, align 4, !tbaa !9
  %238 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %234, i32 noundef %235, i32 noundef %236, i32 noundef %237, i32 noundef %238)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

239:                                              ; preds = %84
  store i32 0, ptr %16, align 4, !tbaa !9
  %240 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %240, ptr %15, align 4, !tbaa !9
  store i32 147142, ptr %17, align 4, !tbaa !9
  %241 = load i32, ptr %17, align 4, !tbaa !9
  %242 = load i32, ptr %16, align 4, !tbaa !9
  %243 = add i32 %242, %241
  store i32 %243, ptr %16, align 4, !tbaa !9
  %244 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %244, ptr %17, align 4, !tbaa !9
  store i32 82611, ptr %18, align 4, !tbaa !9
  %245 = load i32, ptr %18, align 4, !tbaa !9
  %246 = load i32, ptr %17, align 4, !tbaa !9
  %247 = add i32 %246, %245
  store i32 %247, ptr %17, align 4, !tbaa !9
  store i32 106, ptr %18, align 4, !tbaa !9
  %248 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %248, ptr %19, align 4, !tbaa !9
  store i32 28119, ptr %20, align 4, !tbaa !9
  %249 = load i32, ptr %20, align 4, !tbaa !9
  %250 = load i32, ptr %19, align 4, !tbaa !9
  %251 = add i32 %250, %249
  store i32 %251, ptr %19, align 4, !tbaa !9
  %252 = load ptr, ptr %8, align 8, !tbaa !5
  %253 = load i32, ptr %16, align 4, !tbaa !9
  %254 = load i32, ptr %17, align 4, !tbaa !9
  %255 = load i32, ptr %18, align 4, !tbaa !9
  %256 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %252, i32 noundef %253, i32 noundef %254, i32 noundef %255, i32 noundef %256)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

257:                                              ; preds = %195
  call void @llvm.lifetime.end.p0(i64 4, 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
  ret void
}

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_hermes0x3A0x3Airgen0x3A0x3AESTreeIRGen0x3A0x3AdeclareVariableOrGlobalProperty0x28hermes0x3A0x3AScopeDesc0x2A0x2C0x20hermes0x3A0x3AJavaScriptDeclKind0x2C0x20hermes0x3A0x3AIdentifier0x29(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 = { 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, !10, i64 24}
!12 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !16, i64 80}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !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 i32 @i32_load8_u(ptr noundef, i64 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_load(ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Airgen0x3A0x3AESTreeIRGen0x3A0x3AcreateNewBinding0x28hermes0x3A0x3AScopeDesc0x2A0x2C0x20hermes0x3A0x3AJavaScriptDeclKind0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20bool0x2C0x20hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #3 {
  %8 = getelementptr inbounds i8, ptr %0, i64 24
  %9 = load i32, ptr %8, align 8, !tbaa !5
  %10 = add i32 %9, -16
  store i32 %10, ptr %8, align 8, !tbaa !5
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %43, label %11

11:                                               ; preds = %7
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  %13 = zext i32 %4 to i64
  %14 = add nuw nsw i64 %13, 8
  %15 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %14)
  %.not140 = icmp eq i32 %15, 64
  br i1 %.not140, label %16, label %44

16:                                               ; preds = %11
  %17 = add i32 %9, -8
  %18 = add nuw nsw i64 %13, 28
  %19 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %18)
  tail call void @w2c_hermes_hermes0x3A0x3Airgen0x3A0x3AESTreeIRGen0x3A0x3AdeclareVariableOrGlobalProperty0x28hermes0x3A0x3AScopeDesc0x2A0x2C0x20hermes0x3A0x3AJavaScriptDeclKind0x2C0x20hermes0x3A0x3AIdentifier0x29(ptr noundef nonnull %0, i32 noundef %17, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %19)
  %20 = zext i32 %10 to i64
  %21 = add nuw nsw i64 %20, 8
  %22 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %21)
  %.not141 = icmp eq i32 %22, 0
  br i1 %.not141, label %45, label %23

23:                                               ; preds = %16
  %24 = zext i32 %22 to i64
  %25 = tail call i32 @i32_load8_u(ptr noundef nonnull %12, i64 noundef %24)
  %.not142 = icmp ne i32 %25, 124
  %.not143 = icmp eq i32 %5, 0
  %or.cond = or i1 %.not143, %.not142
  br i1 %or.cond, label %42, label %26

26:                                               ; preds = %23
  %27 = add nuw nsw i64 %20, 12
  %28 = tail call i32 @i32_load8_u(ptr noundef nonnull %12, i64 noundef %27)
  %.not144 = icmp eq i32 %28, 0
  br i1 %.not144, label %42, label %29

29:                                               ; preds = %26
  %.not145 = icmp eq i32 %6, 0
  %30 = add i32 %1, 4
  br i1 %.not145, label %31, label %._crit_edge

31:                                               ; preds = %29
  %32 = add nuw nsw i64 %24, 28
  %33 = tail call i32 @i32_load8_u(ptr noundef nonnull %12, i64 noundef %32)
  %.not146 = icmp eq i32 %33, 2
  br i1 %.not146, label %36, label %34

34:                                               ; preds = %31
  %35 = tail call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AgetLiteralEmpty0x280x29(ptr noundef nonnull %0, i32 noundef %30) #4
  br label %._crit_edge

36:                                               ; preds = %31
  %37 = tail call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AgetLiteralUndefined0x280x29(ptr noundef nonnull %0, i32 noundef %30) #4
  br label %._crit_edge

._crit_edge:                                      ; preds = %29, %36, %34
  %.0 = phi i32 [ %37, %36 ], [ %35, %34 ], [ %6, %29 ]
  %38 = zext i32 %1 to i64
  %39 = add nuw nsw i64 %38, 88
  %40 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %39)
  %41 = tail call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateStoreFrameInst0x28hermes0x3A0x3AValue0x2A0x2C0x20hermes0x3A0x3AVariable0x2A0x2C0x20hermes0x3A0x3AScopeCreationInst0x2A0x29(ptr noundef nonnull %0, i32 noundef %30, i32 noundef %.0, i32 noundef %22, i32 noundef %40) #4
  br label %42

42:                                               ; preds = %26, %23, %._crit_edge
  store i32 %9, ptr %8, align 8, !tbaa !5
  ret void

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

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

45:                                               ; preds = %16
  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
}

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

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

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

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,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass