; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_opt_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: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 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: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) #1

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef, i32 noundef, i64 noundef) #2

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

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

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

50:                                               ; preds = %5
  %51 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %51, ptr %18, align 8, !tbaa !11
  %52 = load i64, ptr %18, align 8, !tbaa !11
  %53 = trunc i64 %52 to i32
  store i32 %53, ptr %14, align 4, !tbaa !9
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.w2c_hermes, ptr %54, i32 0, i32 6
  %56 = load i32, ptr %14, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = add i64 %57, 3
  %59 = call i32 @i32_load8_u(ptr noundef %55, i64 noundef %58)
  store i32 %59, ptr %14, align 4, !tbaa !9
  store i32 24, ptr %15, align 4, !tbaa !9
  %60 = load i32, ptr %15, align 4, !tbaa !9
  %61 = and i32 %60, 31
  %62 = load i32, ptr %14, align 4, !tbaa !9
  %63 = shl i32 %62, %61
  store i32 %63, ptr %14, align 4, !tbaa !9
  store i32 788529152, ptr %15, align 4, !tbaa !9
  %64 = load i32, ptr %14, align 4, !tbaa !9
  %65 = load i32, ptr %15, align 4, !tbaa !9
  %66 = icmp eq i32 %64, %65
  %67 = zext i1 %66 to i32
  store i32 %67, ptr %14, align 4, !tbaa !9
  %68 = load i32, ptr %14, align 4, !tbaa !9
  %69 = icmp ne i32 %68, 0
  br i1 %69, label %70, label %71

70:                                               ; preds = %50
  br label %79

71:                                               ; preds = %50
  br label %72

72:                                               ; preds = %71, %5
  store i32 67200, ptr %14, align 4, !tbaa !9
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.w2c_hermes, ptr %73, i32 0, i32 6
  %75 = load i32, ptr %14, align 4, !tbaa !9
  %76 = zext i32 %75 to i64
  %77 = call i64 @i64_load(ptr noundef %74, i64 noundef %76)
  store i64 %77, ptr %18, align 8, !tbaa !11
  %78 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %78, ptr %13, align 8, !tbaa !11
  br label %79

79:                                               ; preds = %72, %70
  %80 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %80, ptr %18, align 8, !tbaa !11
  store i64 4294967295, ptr %19, align 8, !tbaa !11
  %81 = load i64, ptr %19, align 8, !tbaa !11
  %82 = load i64, ptr %18, align 8, !tbaa !11
  %83 = and i64 %82, %81
  store i64 %83, ptr %18, align 8, !tbaa !11
  store i64 0, ptr %19, align 8, !tbaa !11
  %84 = load i64, ptr %18, align 8, !tbaa !11
  %85 = load i64, ptr %19, align 8, !tbaa !11
  %86 = icmp ne i64 %84, %85
  %87 = zext i1 %86 to i32
  store i32 %87, ptr %14, align 4, !tbaa !9
  %88 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %88, ptr %19, align 8, !tbaa !11
  store i64 -844424930131968, ptr %20, align 8, !tbaa !11
  %89 = load i64, ptr %19, align 8, !tbaa !11
  %90 = load i64, ptr %20, align 8, !tbaa !11
  %91 = icmp uge i64 %89, %90
  %92 = zext i1 %91 to i32
  store i32 %92, ptr %15, align 4, !tbaa !9
  %93 = load i32, ptr %15, align 4, !tbaa !9
  %94 = load i32, ptr %14, align 4, !tbaa !9
  %95 = and i32 %94, %93
  store i32 %95, ptr %14, align 4, !tbaa !9
  %96 = load i32, ptr %14, align 4, !tbaa !9
  %97 = icmp ne i32 %96, 0
  %98 = xor i1 %97, true
  %99 = zext i1 %98 to i32
  store i32 %99, ptr %14, align 4, !tbaa !9
  %100 = load i32, ptr %14, align 4, !tbaa !9
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %102, label %146

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

146:                                              ; preds = %79
  %147 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %147, ptr %14, align 4, !tbaa !9
  store i32 8, ptr %15, align 4, !tbaa !9
  %148 = load i32, ptr %15, align 4, !tbaa !9
  %149 = load i32, ptr %14, align 4, !tbaa !9
  %150 = sub i32 %149, %148
  store i32 %150, ptr %14, align 4, !tbaa !9
  store i32 67208, ptr %15, align 4, !tbaa !9
  %151 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %151, ptr %16, align 4, !tbaa !9
  %152 = load ptr, ptr %6, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.w2c_hermes, ptr %152, i32 0, i32 6
  %154 = load i32, ptr %16, align 4, !tbaa !9
  %155 = zext i32 %154 to i64
  %156 = add i64 %155, 4
  %157 = call i32 @i32_load(ptr noundef %153, i64 noundef %156)
  store i32 %157, ptr %16, align 4, !tbaa !9
  %158 = load i32, ptr %16, align 4, !tbaa !9
  %159 = icmp ne i32 %158, 0
  br i1 %159, label %160, label %162

160:                                              ; preds = %146
  %161 = load i32, ptr %14, align 4, !tbaa !9
  br label %164

162:                                              ; preds = %146
  %163 = load i32, ptr %15, align 4, !tbaa !9
  br label %164

164:                                              ; preds = %162, %160
  %165 = phi i32 [ %161, %160 ], [ %163, %162 ]
  store i32 %165, ptr %14, align 4, !tbaa !9
  %166 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %166, ptr %12, align 4, !tbaa !9
  %167 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %167, ptr %18, align 8, !tbaa !11
  %168 = load i64, ptr %18, align 8, !tbaa !11
  %169 = trunc i64 %168 to i32
  store i32 %169, ptr %14, align 4, !tbaa !9
  %170 = load ptr, ptr %6, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.w2c_hermes, ptr %170, i32 0, i32 6
  %172 = load i32, ptr %14, align 4, !tbaa !9
  %173 = zext i32 %172 to i64
  %174 = add i64 %173, 20
  %175 = call i64 @i64_load32_u(ptr noundef %171, i64 noundef %174)
  store i64 %175, ptr %18, align 8, !tbaa !11
  store i64 -281474976710656, ptr %19, align 8, !tbaa !11
  %176 = load i64, ptr %19, align 8, !tbaa !11
  %177 = load i64, ptr %18, align 8, !tbaa !11
  %178 = or i64 %177, %176
  store i64 %178, ptr %18, align 8, !tbaa !11
  %179 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %179, ptr %13, align 8, !tbaa !11
  %180 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %180, ptr %14, align 4, !tbaa !9
  %181 = load ptr, ptr %6, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.w2c_hermes, ptr %181, i32 0, i32 6
  %183 = load i32, ptr %14, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  %185 = add i64 %184, 4
  %186 = call i32 @i32_load(ptr noundef %182, i64 noundef %185)
  store i32 %186, ptr %14, align 4, !tbaa !9
  %187 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %187, ptr %11, align 4, !tbaa !9
  %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, 164
  %193 = call i32 @i32_load(ptr noundef %189, i64 noundef %192)
  store i32 %193, ptr %14, align 4, !tbaa !9
  %194 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %194, ptr %10, align 4, !tbaa !9
  %195 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %195, ptr %15, align 4, !tbaa !9
  %196 = load ptr, ptr %6, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.w2c_hermes, ptr %196, i32 0, i32 6
  %198 = load i32, ptr %15, align 4, !tbaa !9
  %199 = zext i32 %198 to i64
  %200 = add i64 %199, 168
  %201 = call i32 @i32_load(ptr noundef %197, i64 noundef %200)
  store i32 %201, ptr %15, align 4, !tbaa !9
  %202 = load i32, ptr %14, align 4, !tbaa !9
  %203 = load i32, ptr %15, align 4, !tbaa !9
  %204 = icmp ult i32 %202, %203
  %205 = zext i1 %204 to i32
  store i32 %205, ptr %14, align 4, !tbaa !9
  %206 = load i32, ptr %14, align 4, !tbaa !9
  %207 = icmp ne i32 %206, 0
  br i1 %207, label %208, label %227

208:                                              ; preds = %164
  %209 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %209, ptr %14, align 4, !tbaa !9
  %210 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %210, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %211 = load i32, ptr %16, align 4, !tbaa !9
  %212 = load i32, ptr %15, align 4, !tbaa !9
  %213 = add i32 %212, %211
  store i32 %213, ptr %15, align 4, !tbaa !9
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.w2c_hermes, ptr %214, i32 0, i32 6
  %216 = load i32, ptr %14, align 4, !tbaa !9
  %217 = zext i32 %216 to i64
  %218 = add i64 %217, 164
  %219 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %215, i64 noundef %218, i32 noundef %219)
  %220 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %220, ptr %14, align 4, !tbaa !9
  %221 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %221, ptr %19, align 8, !tbaa !11
  %222 = load ptr, ptr %6, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.w2c_hermes, ptr %222, i32 0, i32 6
  %224 = load i32, ptr %14, align 4, !tbaa !9
  %225 = zext i32 %224 to i64
  %226 = load i64, ptr %19, align 8, !tbaa !11
  call void @i64_store(ptr noundef %223, i64 noundef %225, i64 noundef %226)
  br label %235

227:                                              ; preds = %164
  %228 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %228, ptr %14, align 4, !tbaa !9
  %229 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %229, ptr %19, align 8, !tbaa !11
  %230 = load ptr, ptr %6, align 8, !tbaa !5
  %231 = load i32, ptr %14, align 4, !tbaa !9
  %232 = load i64, ptr %19, align 8, !tbaa !11
  %233 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %230, i32 noundef %231, i64 noundef %232)
  store i32 %233, ptr %14, align 4, !tbaa !9
  %234 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %234, ptr %10, align 4, !tbaa !9
  br label %235

235:                                              ; preds = %227, %208
  %236 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %236, ptr %14, align 4, !tbaa !9
  %237 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %237, ptr %15, align 4, !tbaa !9
  %238 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %238, ptr %16, 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 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AOrderedHashMap0x3A0x3Ahas0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AOrderedHashMap0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %239, i32 noundef %240, i32 noundef %241, i32 noundef %242)
  store i32 %243, ptr %14, align 4, !tbaa !9
  %244 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %244, ptr %9, align 4, !tbaa !9
  %245 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %245, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %246 = load ptr, ptr %6, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.w2c_hermes, ptr %246, i32 0, i32 6
  %248 = load i32, ptr %14, align 4, !tbaa !9
  %249 = zext i32 %248 to i64
  %250 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %247, i64 noundef %249, i32 noundef %250)
  %251 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %251, ptr %14, align 4, !tbaa !9
  %252 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %252, ptr %15, align 4, !tbaa !9
  %253 = load i32, ptr %15, align 4, !tbaa !9
  %254 = zext i32 %253 to i64
  store i64 %254, ptr %19, align 8, !tbaa !11
  store i64 -1407374883553280, ptr %20, align 8, !tbaa !11
  %255 = load i64, ptr %20, align 8, !tbaa !11
  %256 = load i64, ptr %19, align 8, !tbaa !11
  %257 = or i64 %256, %255
  store i64 %257, ptr %19, align 8, !tbaa !11
  %258 = load ptr, ptr %6, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.w2c_hermes, ptr %258, i32 0, i32 6
  %260 = load i32, ptr %14, align 4, !tbaa !9
  %261 = zext i32 %260 to i64
  %262 = add i64 %261, 8
  %263 = load i64, ptr %19, align 8, !tbaa !11
  call void @i64_store(ptr noundef %259, i64 noundef %262, i64 noundef %263)
  br label %264

264:                                              ; preds = %235, %102
  %265 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %265, ptr %14, align 4, !tbaa !9
  store i32 48, ptr %15, align 4, !tbaa !9
  %266 = load i32, ptr %15, align 4, !tbaa !9
  %267 = load i32, ptr %14, align 4, !tbaa !9
  %268 = add i32 %267, %266
  store i32 %268, ptr %14, align 4, !tbaa !9
  %269 = load i32, ptr %14, align 4, !tbaa !9
  %270 = load ptr, ptr %6, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.w2c_hermes, ptr %270, i32 0, i32 3
  store i32 %269, ptr %271, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  ret void
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 24}
!14 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !15, i64 40, !17, i64 80}
!15 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !16, i64 32}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}


; 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: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

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

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsetPrototypeHas0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #2 {
  %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 %20

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

20:                                               ; preds = %15, %5
  %21 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef 67200)
  %.pre = and i64 %21, 4294967295
  %22 = icmp ult i64 %21, -844424930131968
  br label %23

23:                                               ; preds = %15, %20
  %.pre-phi = phi i64 [ %16, %15 ], [ %.pre, %20 ]
  %.0 = phi i1 [ false, %15 ], [ %22, %20 ]
  %24 = icmp eq i64 %.pre-phi, 0
  %.not143 = or i1 %.0, %24
  br i1 %.not143, label %25, label %34

25:                                               ; preds = %23
  %26 = zext i32 %8 to i64
  %27 = add nuw nsw i64 %26, 40
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %27, i32 noundef 0)
  %28 = add nuw nsw i64 %26, 32
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %28, i64 noundef 180388626433)
  %29 = add nuw nsw i64 %26, 16
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %29, i32 noundef 3)
  %30 = add nuw nsw i64 %26, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %30, i32 noundef 35451)
  %31 = add i32 %7, -40
  %32 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %31) #3
  %33 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %33, i32 noundef %32)
  br label %62

34:                                               ; preds = %23
  %35 = add i32 %11, -8
  %36 = add nuw nsw i64 %10, 4
  %37 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %36)
  %.not = icmp eq i32 %37, 0
  %38 = select i1 %.not, i32 67208, i32 %35
  %39 = add nuw nsw i64 %.pre-phi, 20
  %40 = tail call i64 @i64_load32_u(ptr noundef nonnull %9, i64 noundef %39)
  %41 = or i64 %40, -281474976710656
  %42 = zext i32 %3 to i64
  %43 = add nuw nsw i64 %42, 4
  %44 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %43)
  %45 = zext i32 %44 to i64
  %46 = add nuw nsw i64 %45, 164
  %47 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %46)
  %48 = add nuw nsw i64 %45, 168
  %49 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %48)
  %50 = icmp ult i32 %47, %49
  br i1 %50, label %51, label %54

51:                                               ; preds = %34
  %52 = add i32 %47, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %46, i32 noundef %52)
  %53 = zext i32 %47 to i64
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %53, i64 noundef %41)
  br label %56

54:                                               ; preds = %34
  %55 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef nonnull %0, i32 noundef %44, i64 noundef %41) #3
  br label %56

56:                                               ; preds = %54, %51
  %.0139 = phi i32 [ %47, %51 ], [ %55, %54 ]
  %57 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AOrderedHashMap0x3A0x3Ahas0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AOrderedHashMap0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %.0139, i32 noundef %3, i32 noundef %38) #3
  %58 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %58, i32 noundef 1)
  %59 = zext i32 %57 to i64
  %60 = or disjoint i64 %59, -1407374883553280
  %61 = add nuw nsw i64 %58, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %61, i64 noundef %60)
  br label %62

62:                                               ; preds = %56, %25
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass