; 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

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

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

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

75:                                               ; preds = %53
  br label %85

76:                                               ; preds = %53
  br label %77

77:                                               ; preds = %76, %5
  store i32 67200, ptr %16, align 4, !tbaa !9
  %78 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %78, ptr %12, align 4, !tbaa !9
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.w2c_hermes, ptr %79, i32 0, i32 6
  %81 = load i32, ptr %16, align 4, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = call i64 @i64_load(ptr noundef %80, i64 noundef %82)
  store i64 %83, ptr %20, align 8, !tbaa !11
  %84 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %84, ptr %14, align 8, !tbaa !11
  br label %85

85:                                               ; preds = %77, %75
  %86 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %86, ptr %20, align 8, !tbaa !11
  store i64 4294967295, ptr %21, align 8, !tbaa !11
  %87 = load i64, ptr %21, align 8, !tbaa !11
  %88 = load i64, ptr %20, align 8, !tbaa !11
  %89 = and i64 %88, %87
  store i64 %89, ptr %20, align 8, !tbaa !11
  store i64 0, ptr %21, align 8, !tbaa !11
  %90 = load i64, ptr %20, align 8, !tbaa !11
  %91 = load i64, ptr %21, align 8, !tbaa !11
  %92 = icmp ne i64 %90, %91
  %93 = zext i1 %92 to i32
  store i32 %93, ptr %16, align 4, !tbaa !9
  %94 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %94, ptr %21, align 8, !tbaa !11
  store i64 -844424930131968, ptr %22, align 8, !tbaa !11
  %95 = load i64, ptr %21, align 8, !tbaa !11
  %96 = load i64, ptr %22, align 8, !tbaa !11
  %97 = icmp uge i64 %95, %96
  %98 = zext i1 %97 to i32
  store i32 %98, ptr %17, align 4, !tbaa !9
  %99 = load i32, ptr %17, align 4, !tbaa !9
  %100 = load i32, ptr %16, align 4, !tbaa !9
  %101 = and i32 %100, %99
  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 %152

108:                                              ; preds = %85
  %109 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %109, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.w2c_hermes, ptr %110, i32 0, i32 6
  %112 = load i32, ptr %16, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = add i64 %113, 40
  %115 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %111, i64 noundef %114, i32 noundef %115)
  %116 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %116, ptr %16, align 4, !tbaa !9
  store i64 180388626433, ptr %21, align 8, !tbaa !11
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.w2c_hermes, ptr %117, i32 0, i32 6
  %119 = load i32, ptr %16, align 4, !tbaa !9
  %120 = zext i32 %119 to i64
  %121 = add i64 %120, 32
  %122 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %118, i64 noundef %121, i64 noundef %122)
  %123 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %123, ptr %16, align 4, !tbaa !9
  store i32 3, ptr %17, align 4, !tbaa !9
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.w2c_hermes, ptr %124, i32 0, i32 6
  %126 = load i32, ptr %16, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = add i64 %127, 16
  %129 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %125, i64 noundef %128, i32 noundef %129)
  %130 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %130, ptr %16, align 4, !tbaa !9
  store i32 55366, ptr %17, align 4, !tbaa !9
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.w2c_hermes, ptr %131, i32 0, i32 6
  %133 = load i32, ptr %16, align 4, !tbaa !9
  %134 = zext i32 %133 to i64
  %135 = add i64 %134, 8
  %136 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %132, i64 noundef %135, i32 noundef %136)
  %137 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %137, ptr %16, align 4, !tbaa !9
  %138 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %138, ptr %17, align 4, !tbaa !9
  %139 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %139, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %140 = load i32, ptr %19, align 4, !tbaa !9
  %141 = load i32, ptr %18, align 4, !tbaa !9
  %142 = add i32 %141, %140
  store i32 %142, ptr %18, align 4, !tbaa !9
  %143 = load ptr, ptr %6, align 8, !tbaa !5
  %144 = load i32, ptr %17, align 4, !tbaa !9
  %145 = load i32, ptr %18, align 4, !tbaa !9
  %146 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %143, i32 noundef %144, i32 noundef %145)
  store i32 %146, ptr %17, align 4, !tbaa !9
  %147 = load ptr, ptr %6, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.w2c_hermes, ptr %147, i32 0, i32 6
  %149 = load i32, ptr %16, align 4, !tbaa !9
  %150 = zext i32 %149 to i64
  %151 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %148, i64 noundef %150, i32 noundef %151)
  br label %309

152:                                              ; preds = %85
  %153 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %153, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %154 = load i32, ptr %17, align 4, !tbaa !9
  %155 = load i32, ptr %16, align 4, !tbaa !9
  %156 = sub i32 %155, %154
  store i32 %156, ptr %16, align 4, !tbaa !9
  store i32 67208, ptr %17, align 4, !tbaa !9
  %157 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %157, ptr %18, align 4, !tbaa !9
  %158 = load ptr, ptr %6, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.w2c_hermes, ptr %158, i32 0, i32 6
  %160 = load i32, ptr %18, align 4, !tbaa !9
  %161 = zext i32 %160 to i64
  %162 = add i64 %161, 4
  %163 = call i32 @i32_load(ptr noundef %159, i64 noundef %162)
  store i32 %163, ptr %18, align 4, !tbaa !9
  %164 = load i32, ptr %18, align 4, !tbaa !9
  %165 = icmp ne i32 %164, 0
  br i1 %165, label %166, label %168

166:                                              ; preds = %152
  %167 = load i32, ptr %16, align 4, !tbaa !9
  br label %170

168:                                              ; preds = %152
  %169 = load i32, ptr %17, align 4, !tbaa !9
  br label %170

170:                                              ; preds = %168, %166
  %171 = phi i32 [ %167, %166 ], [ %169, %168 ]
  store i32 %171, ptr %16, align 4, !tbaa !9
  %172 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %172, ptr %8, align 4, !tbaa !9
  %173 = load ptr, ptr %6, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.w2c_hermes, ptr %173, i32 0, i32 6
  %175 = load i32, ptr %16, align 4, !tbaa !9
  %176 = zext i32 %175 to i64
  %177 = call i64 @i64_load(ptr noundef %174, i64 noundef %176)
  store i64 %177, ptr %20, align 8, !tbaa !11
  %178 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %178, ptr %15, align 8, !tbaa !11
  store i32 67248, ptr %16, align 4, !tbaa !9
  %179 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %179, ptr %17, align 4, !tbaa !9
  %180 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %180, ptr %22, align 8, !tbaa !11
  store i64 9223372036854775807, ptr %23, align 8, !tbaa !11
  %181 = load i64, ptr %23, align 8, !tbaa !11
  %182 = load i64, ptr %22, align 8, !tbaa !11
  %183 = and i64 %182, %181
  store i64 %183, ptr %22, align 8, !tbaa !11
  %184 = load i64, ptr %22, align 8, !tbaa !11
  %185 = icmp ne i64 %184, 0
  %186 = xor i1 %185, true
  %187 = zext i1 %186 to i32
  store i32 %187, ptr %18, align 4, !tbaa !9
  %188 = load i32, ptr %18, align 4, !tbaa !9
  %189 = icmp ne i32 %188, 0
  br i1 %189, label %190, label %192

190:                                              ; preds = %170
  %191 = load i32, ptr %16, align 4, !tbaa !9
  br label %194

192:                                              ; preds = %170
  %193 = load i32, ptr %17, align 4, !tbaa !9
  br label %194

194:                                              ; preds = %192, %190
  %195 = phi i32 [ %191, %190 ], [ %193, %192 ]
  store i32 %195, ptr %16, align 4, !tbaa !9
  %196 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %196, ptr %17, align 4, !tbaa !9
  %197 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %197, ptr %22, align 8, !tbaa !11
  store i64 -1970324836974592, ptr %23, align 8, !tbaa !11
  %198 = load i64, ptr %22, align 8, !tbaa !11
  %199 = load i64, ptr %23, align 8, !tbaa !11
  %200 = icmp ult i64 %198, %199
  %201 = zext i1 %200 to i32
  store i32 %201, ptr %18, align 4, !tbaa !9
  %202 = load i32, ptr %18, align 4, !tbaa !9
  %203 = icmp ne i32 %202, 0
  br i1 %203, label %204, label %206

204:                                              ; preds = %194
  %205 = load i32, ptr %16, align 4, !tbaa !9
  br label %208

206:                                              ; preds = %194
  %207 = load i32, ptr %17, align 4, !tbaa !9
  br label %208

208:                                              ; preds = %206, %204
  %209 = phi i32 [ %205, %204 ], [ %207, %206 ]
  store i32 %209, ptr %16, align 4, !tbaa !9
  %210 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %210, ptr %13, align 4, !tbaa !9
  %211 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %211, ptr %20, align 8, !tbaa !11
  %212 = load i64, ptr %20, align 8, !tbaa !11
  %213 = trunc i64 %212 to i32
  store i32 %213, ptr %16, 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 %16, align 4, !tbaa !9
  %217 = zext i32 %216 to i64
  %218 = add i64 %217, 20
  %219 = call i64 @i64_load32_u(ptr noundef %215, i64 noundef %218)
  store i64 %219, ptr %20, align 8, !tbaa !11
  store i64 -281474976710656, ptr %21, align 8, !tbaa !11
  %220 = load i64, ptr %21, align 8, !tbaa !11
  %221 = load i64, ptr %20, align 8, !tbaa !11
  %222 = or i64 %221, %220
  store i64 %222, ptr %20, align 8, !tbaa !11
  %223 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %223, ptr %14, align 8, !tbaa !11
  %224 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %224, ptr %16, align 4, !tbaa !9
  %225 = load ptr, ptr %6, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.w2c_hermes, ptr %225, i32 0, i32 6
  %227 = load i32, ptr %16, align 4, !tbaa !9
  %228 = zext i32 %227 to i64
  %229 = add i64 %228, 4
  %230 = call i32 @i32_load(ptr noundef %226, i64 noundef %229)
  store i32 %230, ptr %16, align 4, !tbaa !9
  %231 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %231, ptr %8, align 4, !tbaa !9
  %232 = load ptr, ptr %6, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.w2c_hermes, ptr %232, i32 0, i32 6
  %234 = load i32, ptr %16, align 4, !tbaa !9
  %235 = zext i32 %234 to i64
  %236 = add i64 %235, 164
  %237 = call i32 @i32_load(ptr noundef %233, i64 noundef %236)
  store i32 %237, ptr %16, align 4, !tbaa !9
  %238 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %238, ptr %10, align 4, !tbaa !9
  %239 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %239, ptr %17, align 4, !tbaa !9
  %240 = load ptr, ptr %6, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.w2c_hermes, ptr %240, i32 0, i32 6
  %242 = load i32, ptr %17, align 4, !tbaa !9
  %243 = zext i32 %242 to i64
  %244 = add i64 %243, 168
  %245 = call i32 @i32_load(ptr noundef %241, i64 noundef %244)
  store i32 %245, ptr %17, align 4, !tbaa !9
  %246 = load i32, ptr %16, align 4, !tbaa !9
  %247 = load i32, ptr %17, align 4, !tbaa !9
  %248 = icmp ult i32 %246, %247
  %249 = zext i1 %248 to i32
  store i32 %249, ptr %16, align 4, !tbaa !9
  %250 = load i32, ptr %16, align 4, !tbaa !9
  %251 = icmp ne i32 %250, 0
  br i1 %251, label %252, label %271

252:                                              ; preds = %208
  %253 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %253, ptr %16, align 4, !tbaa !9
  %254 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %254, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %255 = load i32, ptr %18, align 4, !tbaa !9
  %256 = load i32, ptr %17, align 4, !tbaa !9
  %257 = add i32 %256, %255
  store i32 %257, ptr %17, align 4, !tbaa !9
  %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 %16, align 4, !tbaa !9
  %261 = zext i32 %260 to i64
  %262 = add i64 %261, 164
  %263 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %259, i64 noundef %262, i32 noundef %263)
  %264 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %264, ptr %16, align 4, !tbaa !9
  %265 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %265, ptr %21, align 8, !tbaa !11
  %266 = load ptr, ptr %6, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.w2c_hermes, ptr %266, i32 0, i32 6
  %268 = load i32, ptr %16, align 4, !tbaa !9
  %269 = zext i32 %268 to i64
  %270 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %267, i64 noundef %269, i64 noundef %270)
  br label %279

271:                                              ; preds = %208
  %272 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %272, ptr %16, align 4, !tbaa !9
  %273 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %273, ptr %21, align 8, !tbaa !11
  %274 = load ptr, ptr %6, align 8, !tbaa !5
  %275 = load i32, ptr %16, align 4, !tbaa !9
  %276 = load i64, ptr %21, align 8, !tbaa !11
  %277 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %274, i32 noundef %275, i64 noundef %276)
  store i32 %277, ptr %16, align 4, !tbaa !9
  %278 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %278, ptr %10, align 4, !tbaa !9
  br label %279

279:                                              ; preds = %271, %252
  %280 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %280, ptr %16, align 4, !tbaa !9
  %281 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %281, ptr %17, align 4, !tbaa !9
  %282 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %282, ptr %18, align 4, !tbaa !9
  %283 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %283, ptr %19, align 4, !tbaa !9
  %284 = load ptr, ptr %6, align 8, !tbaa !5
  %285 = load i32, ptr %16, align 4, !tbaa !9
  %286 = load i32, ptr %17, align 4, !tbaa !9
  %287 = load i32, ptr %18, align 4, !tbaa !9
  %288 = load i32, ptr %19, align 4, !tbaa !9
  %289 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AOrderedHashMap0x3A0x3Ainsert0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AOrderedHashMap0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %284, i32 noundef %285, i32 noundef %286, i32 noundef %287, i32 noundef %288)
  store i32 %289, ptr %16, align 4, !tbaa !9
  %290 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %290, ptr %16, align 4, !tbaa !9
  %291 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %291, ptr %17, align 4, !tbaa !9
  %292 = load ptr, ptr %6, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.w2c_hermes, ptr %292, i32 0, i32 6
  %294 = load i32, ptr %17, align 4, !tbaa !9
  %295 = zext i32 %294 to i64
  %296 = call i64 @i64_load(ptr noundef %293, i64 noundef %295)
  store i64 %296, ptr %21, align 8, !tbaa !11
  %297 = load ptr, ptr %6, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.w2c_hermes, ptr %297, i32 0, i32 6
  %299 = load i32, ptr %16, align 4, !tbaa !9
  %300 = zext i32 %299 to i64
  %301 = add i64 %300, 8
  %302 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %298, i64 noundef %301, i64 noundef %302)
  %303 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %303, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %304 = load ptr, ptr %6, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.w2c_hermes, ptr %304, i32 0, i32 6
  %306 = load i32, ptr %16, align 4, !tbaa !9
  %307 = zext i32 %306 to i64
  %308 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %305, i64 noundef %307, i32 noundef %308)
  br label %309

309:                                              ; preds = %279, %108
  %310 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %310, ptr %16, align 4, !tbaa !9
  store i32 48, ptr %17, align 4, !tbaa !9
  %311 = load i32, ptr %17, align 4, !tbaa !9
  %312 = load i32, ptr %16, align 4, !tbaa !9
  %313 = add i32 %312, %311
  store i32 %313, ptr %16, align 4, !tbaa !9
  %314 = load i32, ptr %16, align 4, !tbaa !9
  %315 = load ptr, ptr %6, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.w2c_hermes, ptr %315, i32 0, i32 3
  store i32 %314, ptr %316, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, 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 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, 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
}

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsetPrototypeAdd0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(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 ]
  %.0161 = phi i32 [ %11, %15 ], [ 67200, %20 ]
  %.0 = phi i1 [ false, %15 ], [ %22, %20 ]
  %24 = icmp eq i64 %.pre-phi, 0
  %.not166 = or i1 %.0, %24
  br i1 %.not166, 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 55366)
  %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 %68

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 = zext i32 %38 to i64
  %40 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %39)
  %41 = and i64 %40, 9223372036854775807
  %.not167 = icmp eq i64 %41, 0
  %42 = icmp ult i64 %40, -1970324836974592
  %43 = and i1 %42, %.not167
  %44 = select i1 %43, i32 67248, i32 %38
  %45 = add nuw nsw i64 %.pre-phi, 20
  %46 = tail call i64 @i64_load32_u(ptr noundef nonnull %9, i64 noundef %45)
  %47 = or i64 %46, -281474976710656
  %48 = zext i32 %3 to i64
  %49 = add nuw nsw i64 %48, 4
  %50 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %49)
  %51 = zext i32 %50 to i64
  %52 = add nuw nsw i64 %51, 164
  %53 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %52)
  %54 = add nuw nsw i64 %51, 168
  %55 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %54)
  %56 = icmp ult i32 %53, %55
  br i1 %56, label %57, label %60

57:                                               ; preds = %34
  %58 = add i32 %53, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %52, i32 noundef %58)
  %59 = zext i32 %53 to i64
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %59, i64 noundef %47)
  br label %62

60:                                               ; preds = %34
  %61 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef nonnull %0, i32 noundef %50, i64 noundef %47) #3
  br label %62

62:                                               ; preds = %60, %57
  %.0162 = phi i32 [ %53, %57 ], [ %61, %60 ]
  %63 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AOrderedHashMap0x3A0x3Ainsert0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AOrderedHashMap0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %.0162, i32 noundef %3, i32 noundef %44, i32 noundef %44) #3
  %64 = zext i32 %.0161 to i64
  %65 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %64)
  %66 = zext i32 %1 to i64
  %67 = add nuw nsw i64 %66, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %67, i64 noundef %65)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %66, i32 noundef 1)
  br label %68

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

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