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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 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 i32 @i32_load8_s(ptr noundef, i64 noundef) #1

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

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

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

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

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

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

46:                                               ; preds = %4
  br label %106

47:                                               ; preds = %4
  %48 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %48, ptr %13, align 4, !tbaa !9
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.w2c_hermes, ptr %49, i32 0, i32 6
  %51 = load i32, ptr %13, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = add i64 %52, 4
  %54 = call i32 @i32_load(ptr noundef %50, i64 noundef %53)
  store i32 %54, ptr %13, align 4, !tbaa !9
  store i32 268435457, ptr %14, align 4, !tbaa !9
  %55 = load i32, ptr %13, align 4, !tbaa !9
  %56 = load i32, ptr %14, align 4, !tbaa !9
  %57 = icmp ult i32 %55, %56
  %58 = zext i1 %57 to i32
  store i32 %58, ptr %13, align 4, !tbaa !9
  %59 = load i32, ptr %13, align 4, !tbaa !9
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %61, label %62

61:                                               ; preds = %47
  br label %106

62:                                               ; preds = %47
  %63 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %63, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.w2c_hermes, ptr %64, i32 0, i32 6
  %66 = load i32, ptr %13, align 4, !tbaa !9
  %67 = zext i32 %66 to i64
  %68 = add i64 %67, 40
  %69 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %65, i64 noundef %68, i32 noundef %69)
  %70 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %70, ptr %13, align 4, !tbaa !9
  store i64 115964116993, ptr %20, align 8, !tbaa !17
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.w2c_hermes, ptr %71, i32 0, i32 6
  %73 = load i32, ptr %13, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = add i64 %74, 32
  %76 = load i64, ptr %20, align 8, !tbaa !17
  call void @i64_store(ptr noundef %72, i64 noundef %75, i64 noundef %76)
  %77 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %77, ptr %13, align 4, !tbaa !9
  store i32 3, ptr %14, align 4, !tbaa !9
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.w2c_hermes, ptr %78, i32 0, i32 6
  %80 = load i32, ptr %13, align 4, !tbaa !9
  %81 = zext i32 %80 to i64
  %82 = add i64 %81, 16
  %83 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %79, i64 noundef %82, i32 noundef %83)
  %84 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %84, ptr %13, align 4, !tbaa !9
  store i32 22502, ptr %14, align 4, !tbaa !9
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.w2c_hermes, ptr %85, i32 0, i32 6
  %87 = load i32, ptr %13, align 4, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = add i64 %88, 8
  %90 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %86, i64 noundef %89, i32 noundef %90)
  %91 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %91, ptr %13, align 4, !tbaa !9
  %92 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %92, ptr %14, align 4, !tbaa !9
  %93 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %93, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %94 = load i32, ptr %16, align 4, !tbaa !9
  %95 = load i32, ptr %15, align 4, !tbaa !9
  %96 = add i32 %95, %94
  store i32 %96, ptr %15, align 4, !tbaa !9
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = load i32, ptr %14, align 4, !tbaa !9
  %99 = load i32, ptr %15, align 4, !tbaa !9
  %100 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %97, i32 noundef %98, i32 noundef %99)
  store i32 %100, ptr %14, align 4, !tbaa !9
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.w2c_hermes, ptr %101, i32 0, i32 6
  %103 = load i32, ptr %13, align 4, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %102, i64 noundef %104, i32 noundef %105)
  br label %356

106:                                              ; preds = %61, %46
  %107 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %107, ptr %13, align 4, !tbaa !9
  store i32 808, ptr %14, align 4, !tbaa !9
  %108 = load i32, ptr %14, align 4, !tbaa !9
  %109 = load i32, ptr %13, align 4, !tbaa !9
  %110 = add i32 %109, %108
  store i32 %110, ptr %13, align 4, !tbaa !9
  %111 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %111, ptr %11, align 4, !tbaa !9
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.w2c_hermes, ptr %112, i32 0, i32 6
  %114 = load i32, ptr %13, align 4, !tbaa !9
  %115 = zext i32 %114 to i64
  %116 = add i64 %115, 512
  %117 = call i64 @i64_load(ptr noundef %113, i64 noundef %116)
  store i64 %117, ptr %19, align 8, !tbaa !17
  store i32 8, ptr %14, align 4, !tbaa !9
  %118 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %118, ptr %15, align 4, !tbaa !9
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.w2c_hermes, ptr %119, i32 0, i32 6
  %121 = load i32, ptr %15, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = add i64 %122, 8
  %124 = call i32 @i32_load(ptr noundef %120, i64 noundef %123)
  store i32 %124, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %125 = load i32, ptr %16, align 4, !tbaa !9
  %126 = and i32 %125, 31
  %127 = load i32, ptr %15, align 4, !tbaa !9
  %128 = shl i32 %127, %126
  store i32 %128, ptr %15, align 4, !tbaa !9
  store i32 2, ptr %16, align 4, !tbaa !9
  %129 = load i32, ptr %16, align 4, !tbaa !9
  %130 = load i32, ptr %15, align 4, !tbaa !9
  %131 = sub i32 %130, %129
  store i32 %131, ptr %15, align 4, !tbaa !9
  %132 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %132, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %133 = load i32, ptr %16, align 4, !tbaa !9
  %134 = load i32, ptr %17, align 4, !tbaa !9
  %135 = icmp sge i32 %133, %134
  %136 = zext i1 %135 to i32
  store i32 %136, ptr %16, align 4, !tbaa !9
  %137 = load i32, ptr %16, align 4, !tbaa !9
  %138 = icmp ne i32 %137, 0
  br i1 %138, label %139, label %141

139:                                              ; preds = %106
  %140 = load i32, ptr %14, align 4, !tbaa !9
  br label %143

141:                                              ; preds = %106
  %142 = load i32, ptr %15, align 4, !tbaa !9
  br label %143

143:                                              ; preds = %141, %139
  %144 = phi i32 [ %140, %139 ], [ %142, %141 ]
  store i32 %144, ptr %14, align 4, !tbaa !9
  %145 = load i32, ptr %14, align 4, !tbaa !9
  %146 = zext i32 %145 to i64
  store i64 %146, ptr %20, align 8, !tbaa !17
  %147 = load i64, ptr %19, align 8, !tbaa !17
  %148 = load i64, ptr %20, align 8, !tbaa !17
  %149 = icmp ult i64 %147, %148
  %150 = zext i1 %149 to i32
  store i32 %150, ptr %13, align 4, !tbaa !9
  %151 = load i32, ptr %13, align 4, !tbaa !9
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %197

153:                                              ; preds = %143
  %154 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %154, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  %155 = load ptr, ptr %5, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.w2c_hermes, ptr %155, i32 0, i32 6
  %157 = load i32, ptr %13, align 4, !tbaa !9
  %158 = zext i32 %157 to i64
  %159 = add i64 %158, 40
  %160 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %156, i64 noundef %159, i32 noundef %160)
  %161 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %161, ptr %13, align 4, !tbaa !9
  store i64 193273528321, ptr %20, align 8, !tbaa !17
  %162 = load ptr, ptr %5, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.w2c_hermes, ptr %162, i32 0, i32 6
  %164 = load i32, ptr %13, align 4, !tbaa !9
  %165 = zext i32 %164 to i64
  %166 = add i64 %165, 32
  %167 = load i64, ptr %20, align 8, !tbaa !17
  call void @i64_store(ptr noundef %163, i64 noundef %166, i64 noundef %167)
  %168 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %168, ptr %13, align 4, !tbaa !9
  store i32 3, ptr %14, align 4, !tbaa !9
  %169 = load ptr, ptr %5, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.w2c_hermes, ptr %169, i32 0, i32 6
  %171 = load i32, ptr %13, align 4, !tbaa !9
  %172 = zext i32 %171 to i64
  %173 = add i64 %172, 16
  %174 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %170, i64 noundef %173, i32 noundef %174)
  %175 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %175, ptr %13, align 4, !tbaa !9
  store i32 58202, ptr %14, align 4, !tbaa !9
  %176 = load ptr, ptr %5, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.w2c_hermes, ptr %176, i32 0, i32 6
  %178 = load i32, ptr %13, align 4, !tbaa !9
  %179 = zext i32 %178 to i64
  %180 = add i64 %179, 8
  %181 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %177, i64 noundef %180, i32 noundef %181)
  %182 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %182, ptr %13, align 4, !tbaa !9
  %183 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %183, ptr %14, align 4, !tbaa !9
  %184 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %184, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %185 = load i32, ptr %16, align 4, !tbaa !9
  %186 = load i32, ptr %15, align 4, !tbaa !9
  %187 = add i32 %186, %185
  store i32 %187, ptr %15, align 4, !tbaa !9
  %188 = load ptr, ptr %5, align 8, !tbaa !5
  %189 = load i32, ptr %14, align 4, !tbaa !9
  %190 = load i32, ptr %15, align 4, !tbaa !9
  %191 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %188, i32 noundef %189, i32 noundef %190)
  store i32 %191, ptr %14, align 4, !tbaa !9
  %192 = load ptr, ptr %5, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.w2c_hermes, ptr %192, i32 0, i32 6
  %194 = load i32, ptr %13, align 4, !tbaa !9
  %195 = zext i32 %194 to i64
  %196 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %193, i64 noundef %195, i32 noundef %196)
  br label %356

197:                                              ; preds = %143
  %198 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %198, ptr %13, align 4, !tbaa !9
  store i32 24, ptr %14, align 4, !tbaa !9
  %199 = load ptr, ptr %5, align 8, !tbaa !5
  %200 = load i32, ptr %13, align 4, !tbaa !9
  %201 = load i32, ptr %14, align 4, !tbaa !9
  %202 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocLongLived0x28unsigned0x20int0x29(ptr noundef %199, i32 noundef %200, i32 noundef %201)
  store i32 %202, ptr %13, align 4, !tbaa !9
  %203 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %203, ptr %7, align 4, !tbaa !9
  %204 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %204, ptr %13, align 4, !tbaa !9
  %205 = load ptr, ptr %5, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.w2c_hermes, ptr %205, i32 0, i32 6
  %207 = load i32, ptr %13, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = add i64 %208, 4
  %210 = call i32 @i32_load(ptr noundef %206, i64 noundef %209)
  store i32 %210, ptr %13, align 4, !tbaa !9
  %211 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %211, ptr %12, align 4, !tbaa !9
  %212 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %212, ptr %13, align 4, !tbaa !9
  %213 = load ptr, ptr %5, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.w2c_hermes, ptr %213, i32 0, i32 6
  %215 = load i32, ptr %13, align 4, !tbaa !9
  %216 = zext i32 %215 to i64
  %217 = add i64 %216, 11
  %218 = call i32 @i32_load8_u(ptr noundef %214, i64 noundef %217)
  store i32 %218, ptr %13, align 4, !tbaa !9
  %219 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %219, ptr %10, align 4, !tbaa !9
  %220 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %220, ptr %13, align 4, !tbaa !9
  store i32 536870911, ptr %14, align 4, !tbaa !9
  %221 = load ptr, ptr %5, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.w2c_hermes, ptr %221, i32 0, i32 6
  %223 = load i32, ptr %13, align 4, !tbaa !9
  %224 = zext i32 %223 to i64
  %225 = add i64 %224, 8
  %226 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %222, i64 noundef %225, i32 noundef %226)
  %227 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %227, ptr %13, align 4, !tbaa !9
  %228 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %228, ptr %14, align 4, !tbaa !9
  %229 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %229, ptr %15, align 4, !tbaa !9
  %230 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %230, ptr %16, align 4, !tbaa !9
  %231 = load i32, ptr %16, align 4, !tbaa !9
  %232 = trunc i32 %231 to i8
  %233 = sext i8 %232 to i32
  store i32 %233, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %234 = load i32, ptr %16, align 4, !tbaa !9
  %235 = load i32, ptr %17, align 4, !tbaa !9
  %236 = icmp slt i32 %234, %235
  %237 = zext i1 %236 to i32
  store i32 %237, ptr %16, align 4, !tbaa !9
  %238 = load i32, ptr %16, align 4, !tbaa !9
  %239 = icmp ne i32 %238, 0
  br i1 %239, label %240, label %242

240:                                              ; preds = %197
  %241 = load i32, ptr %14, align 4, !tbaa !9
  br label %244

242:                                              ; preds = %197
  %243 = load i32, ptr %15, align 4, !tbaa !9
  br label %244

244:                                              ; preds = %242, %240
  %245 = phi i32 [ %241, %240 ], [ %243, %242 ]
  store i32 %245, ptr %14, align 4, !tbaa !9
  %246 = load ptr, ptr %5, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.w2c_hermes, ptr %246, i32 0, i32 6
  %248 = load i32, ptr %13, align 4, !tbaa !9
  %249 = zext i32 %248 to i64
  %250 = add i64 %249, 4
  %251 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %247, i64 noundef %250, i32 noundef %251)
  %252 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %252, ptr %13, align 4, !tbaa !9
  %253 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %253, ptr %14, align 4, !tbaa !9
  %254 = load ptr, ptr %5, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.w2c_hermes, ptr %254, i32 0, i32 6
  %256 = load i32, ptr %14, align 4, !tbaa !9
  %257 = zext i32 %256 to i64
  %258 = add i64 %257, 8
  %259 = call i32 @i32_load(ptr noundef %255, i64 noundef %258)
  store i32 %259, ptr %14, align 4, !tbaa !9
  %260 = load ptr, ptr %5, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.w2c_hermes, ptr %260, i32 0, i32 6
  %262 = load i32, ptr %13, align 4, !tbaa !9
  %263 = zext i32 %262 to i64
  %264 = add i64 %263, 20
  %265 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %261, i64 noundef %264, i32 noundef %265)
  %266 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %266, ptr %13, align 4, !tbaa !9
  %267 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %267, ptr %14, align 4, !tbaa !9
  %268 = load ptr, ptr %5, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.w2c_hermes, ptr %268, i32 0, i32 6
  %270 = load i32, ptr %14, align 4, !tbaa !9
  %271 = zext i32 %270 to i64
  %272 = call i64 @i64_load(ptr noundef %269, i64 noundef %271)
  store i64 %272, ptr %20, align 8, !tbaa !17
  %273 = load ptr, ptr %5, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.w2c_hermes, ptr %273, i32 0, i32 6
  %275 = load i32, ptr %13, align 4, !tbaa !9
  %276 = zext i32 %275 to i64
  %277 = add i64 %276, 12
  %278 = load i64, ptr %20, align 8, !tbaa !17
  call void @i64_store(ptr noundef %274, i64 noundef %277, i64 noundef %278)
  %279 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %279, ptr %13, align 4, !tbaa !9
  store i64 0, ptr %20, align 8, !tbaa !17
  %280 = load ptr, ptr %5, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.w2c_hermes, ptr %280, i32 0, i32 6
  %282 = load i32, ptr %13, align 4, !tbaa !9
  %283 = zext i32 %282 to i64
  %284 = load i64, ptr %20, align 8, !tbaa !17
  call void @i64_store(ptr noundef %281, i64 noundef %283, i64 noundef %284)
  %285 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %285, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  %286 = load ptr, ptr %5, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.w2c_hermes, ptr %286, i32 0, i32 6
  %288 = load i32, ptr %13, align 4, !tbaa !9
  %289 = zext i32 %288 to i64
  %290 = add i64 %289, 8
  %291 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %287, i64 noundef %290, i32 noundef %291)
  %292 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %292, ptr %13, align 4, !tbaa !9
  store i32 150994968, ptr %14, align 4, !tbaa !9
  %293 = load ptr, ptr %5, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.w2c_hermes, ptr %293, i32 0, i32 6
  %295 = load i32, ptr %13, align 4, !tbaa !9
  %296 = zext i32 %295 to i64
  %297 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %294, i64 noundef %296, i32 noundef %297)
  %298 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %298, ptr %13, align 4, !tbaa !9
  %299 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %299, ptr %14, align 4, !tbaa !9
  store i32 8, ptr %15, align 4, !tbaa !9
  %300 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %300, ptr %16, align 4, !tbaa !9
  %301 = load ptr, ptr %5, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.w2c_hermes, ptr %301, i32 0, i32 6
  %303 = load i32, ptr %16, align 4, !tbaa !9
  %304 = zext i32 %303 to i64
  %305 = add i64 %304, 20
  %306 = call i32 @i32_load(ptr noundef %302, i64 noundef %305)
  store i32 %306, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %307 = load i32, ptr %17, align 4, !tbaa !9
  %308 = and i32 %307, 31
  %309 = load i32, ptr %16, align 4, !tbaa !9
  %310 = shl i32 %309, %308
  store i32 %310, ptr %16, align 4, !tbaa !9
  store i32 2, 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 = sub i32 %312, %311
  store i32 %313, ptr %16, align 4, !tbaa !9
  %314 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %314, ptr %17, align 4, !tbaa !9
  %315 = load ptr, ptr %5, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.w2c_hermes, ptr %315, i32 0, i32 6
  %317 = load i32, ptr %17, align 4, !tbaa !9
  %318 = zext i32 %317 to i64
  %319 = add i64 %318, 23
  %320 = call i32 @i32_load8_s(ptr noundef %316, i64 noundef %319)
  store i32 %320, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %321 = load i32, ptr %17, align 4, !tbaa !9
  %322 = load i32, ptr %18, align 4, !tbaa !9
  %323 = icmp sge i32 %321, %322
  %324 = zext i1 %323 to i32
  store i32 %324, ptr %17, align 4, !tbaa !9
  %325 = load i32, ptr %17, align 4, !tbaa !9
  %326 = icmp ne i32 %325, 0
  br i1 %326, label %327, label %329

327:                                              ; preds = %244
  %328 = load i32, ptr %15, align 4, !tbaa !9
  br label %331

329:                                              ; preds = %244
  %330 = load i32, ptr %16, align 4, !tbaa !9
  br label %331

331:                                              ; preds = %329, %327
  %332 = phi i32 [ %328, %327 ], [ %330, %329 ]
  store i32 %332, ptr %15, align 4, !tbaa !9
  %333 = load ptr, ptr %5, align 8, !tbaa !5
  %334 = load i32, ptr %13, align 4, !tbaa !9
  %335 = load i32, ptr %14, align 4, !tbaa !9
  %336 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AcreditExternalMemory0x28hermes0x3A0x3Avm0x3A0x3AGCCell0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %333, i32 noundef %334, i32 noundef %335, i32 noundef %336)
  %337 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %337, ptr %13, align 4, !tbaa !9
  %338 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %338, ptr %14, align 4, !tbaa !9
  %339 = load i32, ptr %14, align 4, !tbaa !9
  %340 = zext i32 %339 to i64
  store i64 %340, ptr %20, align 8, !tbaa !17
  store i64 -844424930131968, ptr %21, align 8, !tbaa !17
  %341 = load i64, ptr %21, align 8, !tbaa !17
  %342 = load i64, ptr %20, align 8, !tbaa !17
  %343 = or i64 %342, %341
  store i64 %343, ptr %20, align 8, !tbaa !17
  %344 = load ptr, ptr %5, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.w2c_hermes, ptr %344, i32 0, i32 6
  %346 = load i32, ptr %13, align 4, !tbaa !9
  %347 = zext i32 %346 to i64
  %348 = add i64 %347, 8
  %349 = load i64, ptr %20, align 8, !tbaa !17
  call void @i64_store(ptr noundef %345, i64 noundef %348, i64 noundef %349)
  %350 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %350, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %14, align 4, !tbaa !9
  %351 = load ptr, ptr %5, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.w2c_hermes, ptr %351, i32 0, i32 6
  %353 = load i32, ptr %13, align 4, !tbaa !9
  %354 = zext i32 %353 to i64
  %355 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %352, i64 noundef %354, i32 noundef %355)
  br label %356

356:                                              ; preds = %331, %153, %62
  %357 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %357, ptr %13, align 4, !tbaa !9
  store i32 48, ptr %14, align 4, !tbaa !9
  %358 = load i32, ptr %14, align 4, !tbaa !9
  %359 = load i32, ptr %13, align 4, !tbaa !9
  %360 = add i32 %359, %358
  store i32 %360, ptr %13, align 4, !tbaa !9
  %361 = load i32, ptr %13, align 4, !tbaa !9
  %362 = load ptr, ptr %5, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.w2c_hermes, ptr %362, i32 0, i32 3
  store i32 %361, ptr %363, align 8, !tbaa !11
  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 8, 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 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #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, !10, i64 24}
!12 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !16, i64 80}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}
!17 = !{!14, !14, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

; 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 void @i64_store(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocLongLived0x28unsigned0x20int0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AExternalStringPrimitive0x3Cchar16_t0x3E0x3A0x3AcreateLongLived0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar16_t0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x260x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #2 {
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = add i32 %6, -48
  store i32 %7, ptr %5, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %3 to i64
  %10 = add nuw nsw i64 %9, 11
  %11 = tail call i32 @i32_load8_s(ptr noundef nonnull %8, i64 noundef %10)
  %12 = icmp sgt i32 %11, -1
  br i1 %12, label %26, label %13

13:                                               ; preds = %4
  %14 = add nuw nsw i64 %9, 4
  %15 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %14)
  %16 = icmp ult i32 %15, 268435457
  br i1 %16, label %26, label %17

17:                                               ; preds = %13
  %18 = zext i32 %7 to i64
  %19 = add nuw nsw i64 %18, 40
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %19, i32 noundef 0)
  %20 = add nuw nsw i64 %18, 32
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %20, i64 noundef 115964116993)
  %21 = add nuw nsw i64 %18, 16
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %21, i32 noundef 3)
  %22 = add nuw nsw i64 %18, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %22, i32 noundef 22502)
  %23 = add i32 %6, -40
  %24 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %23) #3
  %25 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %25, i32 noundef %24)
  br label %70

26:                                               ; preds = %13, %4
  %27 = add i32 %2, 808
  %28 = zext i32 %27 to i64
  %29 = add nuw nsw i64 %28, 512
  %30 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %29)
  %31 = add nuw nsw i64 %9, 8
  %32 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %31)
  %33 = shl i32 %32, 1
  %34 = add i32 %33, -2
  %35 = select i1 %12, i32 8, i32 %34
  %36 = zext i32 %35 to i64
  %37 = icmp ult i64 %30, %36
  br i1 %37, label %38, label %47

38:                                               ; preds = %26
  %39 = zext i32 %7 to i64
  %40 = add nuw nsw i64 %39, 40
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %40, i32 noundef 0)
  %41 = add nuw nsw i64 %39, 32
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %41, i64 noundef 193273528321)
  %42 = add nuw nsw i64 %39, 16
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %42, i32 noundef 3)
  %43 = add nuw nsw i64 %39, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %43, i32 noundef 58202)
  %44 = add i32 %6, -40
  %45 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %44) #3
  %46 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %46, i32 noundef %45)
  br label %70

47:                                               ; preds = %26
  %48 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocLongLived0x28unsigned0x20int0x29(ptr noundef nonnull %0, i32 noundef %27, i32 noundef 24)
  %49 = add nuw nsw i64 %9, 4
  %50 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %49)
  %51 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %10)
  %52 = zext i32 %48 to i64
  %53 = add nuw nsw i64 %52, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %53, i32 noundef 536870911)
  %sext.mask = and i32 %51, 128
  %.not = icmp eq i32 %sext.mask, 0
  %54 = select i1 %.not, i32 %51, i32 %50
  %55 = add nuw nsw i64 %52, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %55, i32 noundef %54)
  %56 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %31)
  %57 = add nuw nsw i64 %52, 20
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %57, i32 noundef %56)
  %58 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %9)
  %59 = add nuw nsw i64 %52, 12
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %59, i64 noundef %58)
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %9, i64 noundef 0)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %31, i32 noundef 0)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %52, i32 noundef 150994968)
  %60 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %57)
  %61 = shl i32 %60, 1
  %62 = add i32 %61, -2
  %63 = add nuw nsw i64 %52, 23
  %64 = tail call i32 @i32_load8_s(ptr noundef nonnull %8, i64 noundef %63)
  %65 = icmp sgt i32 %64, -1
  %66 = select i1 %65, i32 8, i32 %62
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AcreditExternalMemory0x28hermes0x3A0x3Avm0x3A0x3AGCCell0x2A0x2C0x20unsigned0x20int0x29(ptr noundef nonnull %0, i32 noundef %27, i32 noundef %48, i32 noundef %66)
  %67 = or disjoint i64 %52, -844424930131968
  %68 = zext i32 %1 to i64
  %69 = add nuw nsw i64 %68, 8
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %69, i64 noundef %67)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %68, i32 noundef 1)
  br label %70

70:                                               ; preds = %47, %38, %17
  store i32 %6, ptr %5, 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,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass