; 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

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
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsymbolDescriptiveString0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ASymbolID0x3E0x29(ptr noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsymbolPrototypeToString0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(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
  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
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.w2c_hermes, ptr %20, i32 0, i32 3
  %22 = load i32, ptr %21, align 8, !tbaa !13
  store i32 %22, ptr %14, align 4, !tbaa !9
  store i32 48, ptr %15, align 4, !tbaa !9
  %23 = load i32, ptr %15, align 4, !tbaa !9
  %24 = load i32, ptr %14, align 4, !tbaa !9
  %25 = sub i32 %24, %23
  store i32 %25, ptr %14, align 4, !tbaa !9
  %26 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %26, ptr %8, align 4, !tbaa !9
  %27 = load i32, ptr %14, align 4, !tbaa !9
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.w2c_hermes, ptr %28, i32 0, i32 3
  store i32 %27, ptr %29, align 8, !tbaa !13
  %30 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %30, ptr %14, align 4, !tbaa !9
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.w2c_hermes, ptr %31, i32 0, i32 6
  %33 = load i32, ptr %14, align 4, !tbaa !9
  %34 = zext i32 %33 to i64
  %35 = add i64 %34, 4
  %36 = call i32 @i32_load(ptr noundef %32, 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 %12, 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 = add i64 %41, 164
  %43 = call i32 @i32_load(ptr noundef %39, i64 noundef %42)
  store i32 %43, ptr %14, align 4, !tbaa !9
  %44 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %44, ptr %11, align 4, !tbaa !9
  %45 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %45, ptr %15, align 4, !tbaa !9
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.w2c_hermes, ptr %46, i32 0, i32 6
  %48 = load i32, ptr %15, align 4, !tbaa !9
  %49 = zext i32 %48 to i64
  %50 = add i64 %49, 168
  %51 = call i32 @i32_load(ptr noundef %47, i64 noundef %50)
  store i32 %51, ptr %15, align 4, !tbaa !9
  %52 = load i32, ptr %14, align 4, !tbaa !9
  %53 = load i32, ptr %15, align 4, !tbaa !9
  %54 = icmp ult i32 %52, %53
  %55 = zext i1 %54 to i32
  store i32 %55, ptr %14, align 4, !tbaa !9
  %56 = load i32, ptr %14, align 4, !tbaa !9
  %57 = icmp ne i32 %56, 0
  br i1 %57, label %58, label %76

58:                                               ; preds = %5
  %59 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %59, ptr %14, align 4, !tbaa !9
  %60 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %60, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %61 = load i32, ptr %16, align 4, !tbaa !9
  %62 = load i32, ptr %15, align 4, !tbaa !9
  %63 = add i32 %62, %61
  store i32 %63, ptr %15, align 4, !tbaa !9
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.w2c_hermes, ptr %64, i32 0, i32 6
  %66 = load i32, ptr %14, align 4, !tbaa !9
  %67 = zext i32 %66 to i64
  %68 = add i64 %67, 164
  %69 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %65, i64 noundef %68, i32 noundef %69)
  %70 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %70, ptr %14, align 4, !tbaa !9
  store i64 -1266636858327041, ptr %18, align 8, !tbaa !11
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.w2c_hermes, ptr %71, i32 0, i32 6
  %73 = load i32, ptr %14, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %72, i64 noundef %74, i64 noundef %75)
  br label %83

76:                                               ; preds = %5
  %77 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %77, ptr %14, align 4, !tbaa !9
  store i64 -1266636858327041, ptr %18, align 8, !tbaa !11
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = load i32, ptr %14, align 4, !tbaa !9
  %80 = load i64, ptr %18, align 8, !tbaa !11
  %81 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %78, i32 noundef %79, i64 noundef %80)
  store i32 %81, ptr %14, align 4, !tbaa !9
  %82 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %82, ptr %11, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %76, %58
  %84 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %84, ptr %14, align 4, !tbaa !9
  %85 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %85, ptr %15, align 4, !tbaa !9
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.w2c_hermes, ptr %86, i32 0, i32 6
  %88 = load i32, ptr %15, align 4, !tbaa !9
  %89 = zext i32 %88 to i64
  %90 = call i32 @i32_load(ptr noundef %87, i64 noundef %89)
  store i32 %90, ptr %15, align 4, !tbaa !9
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.w2c_hermes, ptr %91, i32 0, i32 6
  %93 = load i32, ptr %15, align 4, !tbaa !9
  %94 = zext i32 %93 to i64
  %95 = call i64 @i64_load(ptr noundef %92, i64 noundef %94)
  store i64 %95, ptr %18, align 8, !tbaa !11
  %96 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %96, ptr %13, align 8, !tbaa !11
  store i64 47, ptr %19, align 8, !tbaa !11
  %97 = load i64, ptr %18, align 8, !tbaa !11
  %98 = load i64, ptr %19, align 8, !tbaa !11
  %99 = and i64 %98, 63
  %100 = ashr i64 %97, %99
  store i64 %100, ptr %18, align 8, !tbaa !11
  %101 = load i64, ptr %18, align 8, !tbaa !11
  %102 = trunc i64 %101 to i32
  store i32 %102, ptr %15, align 4, !tbaa !9
  store i32 -9, ptr %16, align 4, !tbaa !9
  %103 = load i32, ptr %15, align 4, !tbaa !9
  %104 = load i32, ptr %16, align 4, !tbaa !9
  %105 = icmp eq i32 %103, %104
  %106 = zext i1 %105 to i32
  store i32 %106, ptr %15, align 4, !tbaa !9
  %107 = load i32, ptr %15, align 4, !tbaa !9
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %109, label %113

109:                                              ; preds = %83
  %110 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %110, ptr %18, align 8, !tbaa !11
  %111 = load i64, ptr %18, align 8, !tbaa !11
  %112 = trunc i64 %111 to i32
  store i32 %112, ptr %15, align 4, !tbaa !9
  br label %181

113:                                              ; preds = %83
  %114 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %114, ptr %18, align 8, !tbaa !11
  store i64 -844424930131968, ptr %19, align 8, !tbaa !11
  %115 = load i64, ptr %18, align 8, !tbaa !11
  %116 = load i64, ptr %19, align 8, !tbaa !11
  %117 = icmp uge i64 %115, %116
  %118 = zext i1 %117 to i32
  store i32 %118, ptr %15, align 4, !tbaa !9
  %119 = load i32, ptr %15, align 4, !tbaa !9
  %120 = icmp ne i32 %119, 0
  br i1 %120, label %121, label %143

121:                                              ; preds = %113
  %122 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %122, ptr %18, align 8, !tbaa !11
  %123 = load i64, ptr %18, align 8, !tbaa !11
  %124 = trunc i64 %123 to i32
  store i32 %124, 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 %15, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = add i64 %128, 3
  %130 = call i32 @i32_load8_u(ptr noundef %126, i64 noundef %129)
  store i32 %130, ptr %15, align 4, !tbaa !9
  store i32 24, ptr %16, align 4, !tbaa !9
  %131 = load i32, ptr %16, align 4, !tbaa !9
  %132 = and i32 %131, 31
  %133 = load i32, ptr %15, align 4, !tbaa !9
  %134 = shl i32 %133, %132
  store i32 %134, ptr %15, align 4, !tbaa !9
  store i32 956301312, ptr %16, align 4, !tbaa !9
  %135 = load i32, ptr %15, align 4, !tbaa !9
  %136 = load i32, ptr %16, align 4, !tbaa !9
  %137 = icmp eq i32 %135, %136
  %138 = zext i1 %137 to i32
  store i32 %138, ptr %15, align 4, !tbaa !9
  %139 = load i32, ptr %15, align 4, !tbaa !9
  %140 = icmp ne i32 %139, 0
  br i1 %140, label %141, label %142

141:                                              ; preds = %121
  br label %150

142:                                              ; preds = %121
  br label %143

143:                                              ; preds = %142, %113
  store i32 67200, ptr %15, align 4, !tbaa !9
  %144 = load ptr, ptr %6, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.w2c_hermes, ptr %144, i32 0, i32 6
  %146 = load i32, ptr %15, align 4, !tbaa !9
  %147 = zext i32 %146 to i64
  %148 = call i64 @i64_load(ptr noundef %145, i64 noundef %147)
  store i64 %148, ptr %18, align 8, !tbaa !11
  %149 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %149, ptr %13, align 8, !tbaa !11
  br label %150

150:                                              ; preds = %143, %141
  %151 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %151, ptr %18, align 8, !tbaa !11
  store i64 -844424930131968, ptr %19, align 8, !tbaa !11
  %152 = load i64, ptr %18, align 8, !tbaa !11
  %153 = load i64, ptr %19, align 8, !tbaa !11
  %154 = icmp ult i64 %152, %153
  %155 = zext i1 %154 to i32
  store i32 %155, ptr %15, align 4, !tbaa !9
  %156 = load i32, ptr %15, align 4, !tbaa !9
  %157 = icmp ne i32 %156, 0
  br i1 %157, label %158, label %159

158:                                              ; preds = %150
  br label %232

159:                                              ; preds = %150
  %160 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %160, ptr %18, align 8, !tbaa !11
  store i64 4294967295, ptr %19, align 8, !tbaa !11
  %161 = load i64, ptr %19, align 8, !tbaa !11
  %162 = load i64, ptr %18, align 8, !tbaa !11
  %163 = and i64 %162, %161
  store i64 %163, ptr %18, align 8, !tbaa !11
  %164 = load i64, ptr %18, align 8, !tbaa !11
  %165 = icmp ne i64 %164, 0
  %166 = xor i1 %165, true
  %167 = zext i1 %166 to i32
  store i32 %167, ptr %15, align 4, !tbaa !9
  %168 = load i32, ptr %15, align 4, !tbaa !9
  %169 = icmp ne i32 %168, 0
  br i1 %169, label %170, label %171

170:                                              ; preds = %159
  br label %232

171:                                              ; preds = %159
  %172 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %172, ptr %18, align 8, !tbaa !11
  %173 = load i64, ptr %18, align 8, !tbaa !11
  %174 = trunc i64 %173 to i32
  store i32 %174, ptr %15, align 4, !tbaa !9
  %175 = load ptr, ptr %6, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.w2c_hermes, ptr %175, i32 0, i32 6
  %177 = load i32, ptr %15, align 4, !tbaa !9
  %178 = zext i32 %177 to i64
  %179 = add i64 %178, 20
  %180 = call i32 @i32_load(ptr noundef %176, i64 noundef %179)
  store i32 %180, ptr %15, align 4, !tbaa !9
  br label %181

181:                                              ; preds = %171, %109
  %182 = load i32, ptr %15, align 4, !tbaa !9
  %183 = zext i32 %182 to i64
  store i64 %183, ptr %18, align 8, !tbaa !11
  store i64 -1266637395197952, ptr %19, align 8, !tbaa !11
  %184 = load i64, ptr %19, align 8, !tbaa !11
  %185 = load i64, ptr %18, align 8, !tbaa !11
  %186 = or i64 %185, %184
  store i64 %186, ptr %18, align 8, !tbaa !11
  %187 = load ptr, ptr %6, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.w2c_hermes, ptr %187, i32 0, i32 6
  %189 = load i32, ptr %14, align 4, !tbaa !9
  %190 = zext i32 %189 to i64
  %191 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %188, i64 noundef %190, i64 noundef %191)
  %192 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %192, ptr %14, align 4, !tbaa !9
  %193 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %193, ptr %15, align 4, !tbaa !9
  %194 = load ptr, ptr %6, align 8, !tbaa !5
  %195 = load i32, ptr %14, align 4, !tbaa !9
  %196 = load i32, ptr %15, align 4, !tbaa !9
  %197 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsymbolDescriptiveString0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ASymbolID0x3E0x29(ptr noundef %194, i32 noundef %195, i32 noundef %196)
  store i32 %197, ptr %14, align 4, !tbaa !9
  %198 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %198, ptr %9, align 4, !tbaa !9
  store i32 -1, ptr %15, align 4, !tbaa !9
  %199 = load i32, ptr %14, align 4, !tbaa !9
  %200 = load i32, ptr %15, align 4, !tbaa !9
  %201 = icmp eq i32 %199, %200
  %202 = zext i1 %201 to i32
  store i32 %202, ptr %14, align 4, !tbaa !9
  %203 = load i32, ptr %14, align 4, !tbaa !9
  %204 = icmp ne i32 %203, 0
  br i1 %204, label %205, label %212

205:                                              ; preds = %181
  %206 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %206, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %207 = load ptr, ptr %6, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.w2c_hermes, ptr %207, i32 0, i32 6
  %209 = load i32, ptr %14, align 4, !tbaa !9
  %210 = zext i32 %209 to i64
  %211 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %208, i64 noundef %210, i32 noundef %211)
  br label %276

212:                                              ; preds = %181
  %213 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %213, ptr %14, align 4, !tbaa !9
  %214 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %214, ptr %15, align 4, !tbaa !9
  %215 = load ptr, ptr %6, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.w2c_hermes, ptr %215, i32 0, i32 6
  %217 = load i32, ptr %15, align 4, !tbaa !9
  %218 = zext i32 %217 to i64
  %219 = call i64 @i64_load(ptr noundef %216, i64 noundef %218)
  store i64 %219, ptr %18, align 8, !tbaa !11
  %220 = load ptr, ptr %6, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.w2c_hermes, ptr %220, i32 0, i32 6
  %222 = load i32, ptr %14, align 4, !tbaa !9
  %223 = zext i32 %222 to i64
  %224 = add i64 %223, 8
  %225 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %221, i64 noundef %224, i64 noundef %225)
  %226 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %226, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.w2c_hermes, ptr %227, i32 0, i32 6
  %229 = load i32, ptr %14, align 4, !tbaa !9
  %230 = zext i32 %229 to i64
  %231 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %228, i64 noundef %230, i32 noundef %231)
  br label %276

232:                                              ; preds = %170, %158
  %233 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %233, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %234 = load ptr, ptr %6, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.w2c_hermes, ptr %234, i32 0, i32 6
  %236 = load i32, ptr %14, align 4, !tbaa !9
  %237 = zext i32 %236 to i64
  %238 = add i64 %237, 40
  %239 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %235, i64 noundef %238, i32 noundef %239)
  %240 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %240, ptr %14, align 4, !tbaa !9
  store i64 231928233985, ptr %18, align 8, !tbaa !11
  %241 = load ptr, ptr %6, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.w2c_hermes, ptr %241, i32 0, i32 6
  %243 = load i32, ptr %14, align 4, !tbaa !9
  %244 = zext i32 %243 to i64
  %245 = add i64 %244, 32
  %246 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %242, i64 noundef %245, i64 noundef %246)
  %247 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %247, ptr %14, align 4, !tbaa !9
  store i32 3, ptr %15, align 4, !tbaa !9
  %248 = load ptr, ptr %6, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.w2c_hermes, ptr %248, i32 0, i32 6
  %250 = load i32, ptr %14, align 4, !tbaa !9
  %251 = zext i32 %250 to i64
  %252 = add i64 %251, 16
  %253 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %249, i64 noundef %252, i32 noundef %253)
  %254 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %254, ptr %14, align 4, !tbaa !9
  store i32 43222, ptr %15, align 4, !tbaa !9
  %255 = load ptr, ptr %6, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.w2c_hermes, ptr %255, i32 0, i32 6
  %257 = load i32, ptr %14, align 4, !tbaa !9
  %258 = zext i32 %257 to i64
  %259 = add i64 %258, 8
  %260 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %256, i64 noundef %259, i32 noundef %260)
  %261 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %261, ptr %14, align 4, !tbaa !9
  %262 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %262, ptr %15, align 4, !tbaa !9
  %263 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %263, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %264 = load i32, ptr %17, align 4, !tbaa !9
  %265 = load i32, ptr %16, align 4, !tbaa !9
  %266 = add i32 %265, %264
  store i32 %266, ptr %16, align 4, !tbaa !9
  %267 = load ptr, ptr %6, align 8, !tbaa !5
  %268 = load i32, ptr %15, align 4, !tbaa !9
  %269 = load i32, ptr %16, align 4, !tbaa !9
  %270 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %267, i32 noundef %268, i32 noundef %269)
  store i32 %270, ptr %15, align 4, !tbaa !9
  %271 = load ptr, ptr %6, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.w2c_hermes, ptr %271, i32 0, i32 6
  %273 = load i32, ptr %14, align 4, !tbaa !9
  %274 = zext i32 %273 to i64
  %275 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %272, i64 noundef %274, i32 noundef %275)
  br label %276

276:                                              ; preds = %232, %212, %205
  %277 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %277, ptr %14, align 4, !tbaa !9
  store i32 48, ptr %15, align 4, !tbaa !9
  %278 = load i32, ptr %15, align 4, !tbaa !9
  %279 = load i32, ptr %14, align 4, !tbaa !9
  %280 = add i32 %279, %278
  store i32 %280, ptr %14, align 4, !tbaa !9
  %281 = load i32, ptr %14, align 4, !tbaa !9
  %282 = load ptr, ptr %6, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.w2c_hermes, ptr %282, i32 0, i32 3
  store i32 %281, ptr %283, align 8, !tbaa !13
  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
}

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

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
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsymbolDescriptiveString0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ASymbolID0x3E0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsymbolPrototypeToString0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(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 %3 to i64
  %11 = add nuw nsw i64 %10, 4
  %12 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %11)
  %13 = zext i32 %12 to i64
  %14 = add nuw nsw i64 %13, 164
  %15 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %14)
  %16 = add nuw nsw i64 %13, 168
  %17 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %16)
  %18 = icmp ult i32 %15, %17
  br i1 %18, label %19, label %22

19:                                               ; preds = %5
  %20 = add i32 %15, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %14, i32 noundef %20)
  %21 = zext i32 %15 to i64
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %21, i64 noundef -1266636858327041)
  br label %24

22:                                               ; preds = %5
  %23 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef nonnull %0, i32 noundef %12, i64 noundef -1266636858327041) #3
  br label %24

24:                                               ; preds = %22, %19
  %.0141 = phi i32 [ %15, %19 ], [ %23, %22 ]
  %25 = zext i32 %4 to i64
  %26 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %25)
  %27 = zext i32 %26 to i64
  %28 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %27)
  %.mask = and i64 %28, -140737488355328
  %29 = icmp eq i64 %.mask, -1266637395197952
  br i1 %29, label %30, label %32

30:                                               ; preds = %24
  %31 = trunc i64 %28 to i32
  br label %46

32:                                               ; preds = %24
  %33 = icmp ugt i64 %28, -844424930131969
  br i1 %33, label %34, label %39

34:                                               ; preds = %32
  %35 = and i64 %28, 4294967295
  %36 = add nuw nsw i64 %35, 3
  %37 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %36)
  %.mask145 = and i32 %37, 255
  %38 = icmp eq i32 %.mask145, 57
  br i1 %38, label %42, label %39

39:                                               ; preds = %34, %32
  %40 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef 67200)
  %.pre = and i64 %40, 4294967295
  %41 = icmp ult i64 %40, -844424930131968
  br label %42

42:                                               ; preds = %34, %39
  %.pre-phi = phi i64 [ %35, %34 ], [ %.pre, %39 ]
  %.0140 = phi i1 [ false, %34 ], [ %41, %39 ]
  %.not = icmp eq i64 %.pre-phi, 0
  %or.cond = or i1 %.0140, %.not
  br i1 %or.cond, label %59, label %43

43:                                               ; preds = %42
  %44 = add nuw nsw i64 %.pre-phi, 20
  %45 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %44)
  br label %46

46:                                               ; preds = %43, %30
  %.0 = phi i32 [ %31, %30 ], [ %45, %43 ]
  %47 = zext i32 %.0 to i64
  %48 = or disjoint i64 %47, -1266637395197952
  %49 = zext i32 %.0141 to i64
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %49, i64 noundef %48)
  %50 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsymbolDescriptiveString0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ASymbolID0x3E0x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %.0141)
  %51 = icmp eq i32 %50, -1
  br i1 %51, label %52, label %54

52:                                               ; preds = %46
  %53 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %53, i32 noundef 0)
  br label %68

54:                                               ; preds = %46
  %55 = zext i32 %50 to i64
  %56 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %55)
  %57 = zext i32 %1 to i64
  %58 = add nuw nsw i64 %57, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %58, i64 noundef %56)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %57, i32 noundef 1)
  br label %68

59:                                               ; preds = %42
  %60 = zext i32 %8 to i64
  %61 = add nuw nsw i64 %60, 40
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %61, i32 noundef 0)
  %62 = add nuw nsw i64 %60, 32
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %62, i64 noundef 231928233985)
  %63 = add nuw nsw i64 %60, 16
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %63, i32 noundef 3)
  %64 = add nuw nsw i64 %60, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %64, i32 noundef 43222)
  %65 = add i32 %7, -40
  %66 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %65) #3
  %67 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %67, i32 noundef %66)
  br label %68

68:                                               ; preds = %59, %54, %52
  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,SROAPass,SimplifyCFGPass,TailCallElimPass