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

; 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: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) #0

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store8(ptr noundef, i64 noundef, i32 noundef) #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) #2

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

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

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) #3

declare void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef, i32 noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store16(ptr noundef, i64 noundef, i32 noundef) #2

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

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

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoBigInt_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #4

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

50:                                               ; preds = %6
  %51 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %51, ptr %15, align 4, !tbaa !9
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.w2c_hermes, ptr %52, i32 0, i32 6
  %54 = load i32, ptr %15, align 4, !tbaa !9
  %55 = zext i32 %54 to i64
  %56 = add i64 %55, 88
  %57 = call i64 @i64_load(ptr noundef %53, i64 noundef %56)
  store i64 %57, ptr %19, align 8, !tbaa !11
  %58 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %58, ptr %14, align 8, !tbaa !11
  store i64 48, ptr %20, align 8, !tbaa !11
  %59 = load i64, ptr %19, align 8, !tbaa !11
  %60 = load i64, ptr %20, align 8, !tbaa !11
  %61 = and i64 %60, 63
  %62 = ashr i64 %59, %61
  store i64 %62, ptr %19, align 8, !tbaa !11
  %63 = load i64, ptr %19, align 8, !tbaa !11
  %64 = trunc i64 %63 to i32
  store i32 %64, ptr %15, align 4, !tbaa !9
  store i32 -2, ptr %16, align 4, !tbaa !9
  %65 = load i32, ptr %15, align 4, !tbaa !9
  %66 = load i32, ptr %16, align 4, !tbaa !9
  %67 = icmp eq i32 %65, %66
  %68 = zext i1 %67 to i32
  store i32 %68, ptr %15, align 4, !tbaa !9
  %69 = load i32, ptr %15, align 4, !tbaa !9
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %72

71:                                               ; preds = %50
  br label %163

72:                                               ; preds = %50
  %73 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %73, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.w2c_hermes, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %15, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = add i64 %77, 72
  %79 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %75, i64 noundef %78, i32 noundef %79)
  %80 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %80, ptr %15, align 4, !tbaa !9
  store i64 60129542145, ptr %20, align 8, !tbaa !11
  %81 = load ptr, ptr %7, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.w2c_hermes, ptr %81, i32 0, i32 6
  %83 = load i32, ptr %15, align 4, !tbaa !9
  %84 = zext i32 %83 to i64
  %85 = add i64 %84, 64
  %86 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %82, i64 noundef %85, i64 noundef %86)
  %87 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %87, ptr %15, align 4, !tbaa !9
  store i32 3, ptr %16, align 4, !tbaa !9
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.w2c_hermes, ptr %88, i32 0, i32 6
  %90 = load i32, ptr %15, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = add i64 %91, 48
  %93 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %89, i64 noundef %92, i32 noundef %93)
  %94 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %94, ptr %15, align 4, !tbaa !9
  store i32 61950, ptr %16, align 4, !tbaa !9
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.w2c_hermes, ptr %95, i32 0, i32 6
  %97 = load i32, ptr %15, align 4, !tbaa !9
  %98 = zext i32 %97 to i64
  %99 = add i64 %98, 40
  %100 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %96, i64 noundef %99, i32 noundef %100)
  %101 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %101, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.w2c_hermes, ptr %102, i32 0, i32 6
  %104 = load i32, ptr %15, align 4, !tbaa !9
  %105 = zext i32 %104 to i64
  %106 = add i64 %105, 32
  %107 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %103, i64 noundef %106, i32 noundef %107)
  %108 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %108, ptr %15, align 4, !tbaa !9
  store i64 42949672961, ptr %20, align 8, !tbaa !11
  %109 = load ptr, ptr %7, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.w2c_hermes, ptr %109, i32 0, i32 6
  %111 = load i32, ptr %15, align 4, !tbaa !9
  %112 = zext i32 %111 to i64
  %113 = add i64 %112, 24
  %114 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %110, i64 noundef %113, i64 noundef %114)
  %115 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %115, ptr %15, align 4, !tbaa !9
  store i32 3, ptr %16, align 4, !tbaa !9
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.w2c_hermes, ptr %116, i32 0, i32 6
  %118 = load i32, ptr %15, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  %120 = add i64 %119, 8
  %121 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %117, i64 noundef %120, i32 noundef %121)
  %122 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %122, ptr %15, align 4, !tbaa !9
  store i32 21262, ptr %16, align 4, !tbaa !9
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.w2c_hermes, ptr %123, i32 0, i32 6
  %125 = load i32, ptr %15, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  %127 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %124, i64 noundef %126, i32 noundef %127)
  %128 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %128, ptr %15, align 4, !tbaa !9
  %129 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %129, ptr %16, align 4, !tbaa !9
  store i32 40, ptr %17, align 4, !tbaa !9
  %130 = load i32, ptr %17, align 4, !tbaa !9
  %131 = load i32, ptr %16, align 4, !tbaa !9
  %132 = add i32 %131, %130
  store i32 %132, ptr %16, align 4, !tbaa !9
  %133 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %133, ptr %17, align 4, !tbaa !9
  %134 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %134, ptr %18, align 4, !tbaa !9
  %135 = load ptr, ptr %7, align 8, !tbaa !5
  %136 = load i32, ptr %15, align 4, !tbaa !9
  %137 = load i32, ptr %16, align 4, !tbaa !9
  %138 = load i32, ptr %17, align 4, !tbaa !9
  %139 = load i32, ptr %18, align 4, !tbaa !9
  %140 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeErrorForValue0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %135, i32 noundef %136, i32 noundef %137, i32 noundef %138, i32 noundef %139)
  store i32 %140, ptr %15, align 4, !tbaa !9
  %141 = load i32, ptr %15, align 4, !tbaa !9
  %142 = icmp ne i32 %141, 0
  br i1 %142, label %143, label %144

143:                                              ; preds = %72
  br label %163

144:                                              ; preds = %72
  br label %145

145:                                              ; preds = %144, %6
  %146 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %146, ptr %15, align 4, !tbaa !9
  %147 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %147, ptr %16, align 4, !tbaa !9
  %148 = load ptr, ptr %7, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.w2c_hermes, ptr %148, i32 0, i32 6
  %150 = load i32, ptr %16, align 4, !tbaa !9
  %151 = zext i32 %150 to i64
  %152 = add i64 %151, 1
  %153 = call i32 @i32_load8_u(ptr noundef %149, i64 noundef %152)
  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 = and i32 %154, 31
  %156 = load i32, ptr %16, align 4, !tbaa !9
  %157 = shl i32 %156, %155
  store i32 %157, ptr %16, align 4, !tbaa !9
  %158 = load ptr, ptr %7, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.w2c_hermes, ptr %158, i32 0, i32 6
  %160 = load i32, ptr %15, align 4, !tbaa !9
  %161 = zext i32 %160 to i64
  %162 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %159, i64 noundef %161, i32 noundef %162)
  br label %352

163:                                              ; preds = %143, %71
  %164 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %164, ptr %19, align 8, !tbaa !11
  %165 = load i64, ptr %19, align 8, !tbaa !11
  %166 = trunc i64 %165 to i32
  store i32 %166, ptr %15, align 4, !tbaa !9
  %167 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %167, ptr %12, align 4, !tbaa !9
  %168 = load ptr, ptr %7, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.w2c_hermes, ptr %168, i32 0, i32 6
  %170 = load i32, ptr %15, align 4, !tbaa !9
  %171 = zext i32 %170 to i64
  %172 = add i64 %171, 4
  %173 = call i32 @i32_load(ptr noundef %169, i64 noundef %172)
  store i32 %173, ptr %15, align 4, !tbaa !9
  %174 = load i32, ptr %15, align 4, !tbaa !9
  %175 = icmp ne i32 %174, 0
  br i1 %175, label %176, label %184

176:                                              ; preds = %163
  %177 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %177, ptr %15, align 4, !tbaa !9
  %178 = load ptr, ptr %7, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.w2c_hermes, ptr %178, i32 0, i32 6
  %180 = load i32, ptr %15, align 4, !tbaa !9
  %181 = zext i32 %180 to i64
  %182 = add i64 %181, 8
  %183 = call i64 @i64_load(ptr noundef %179, i64 noundef %182)
  store i64 %183, ptr %19, align 8, !tbaa !11
  br label %185

184:                                              ; preds = %163
  store i64 0, ptr %19, align 8, !tbaa !11
  br label %185

185:                                              ; preds = %184, %176
  %186 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %186, ptr %14, align 8, !tbaa !11
  %187 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %187, ptr %15, align 4, !tbaa !9
  %188 = load ptr, ptr %7, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.w2c_hermes, ptr %188, i32 0, i32 6
  %190 = load i32, ptr %15, align 4, !tbaa !9
  %191 = zext i32 %190 to i64
  %192 = call i32 @i32_load(ptr noundef %189, i64 noundef %191)
  store i32 %192, ptr %15, align 4, !tbaa !9
  %193 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %193, ptr %9, align 4, !tbaa !9
  %194 = load ptr, ptr %7, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.w2c_hermes, ptr %194, i32 0, i32 6
  %196 = load i32, ptr %15, align 4, !tbaa !9
  %197 = zext i32 %196 to i64
  %198 = add i64 %197, 20
  %199 = call i32 @i32_load(ptr noundef %195, i64 noundef %198)
  store i32 %199, ptr %15, align 4, !tbaa !9
  %200 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %200, ptr %12, align 4, !tbaa !9
  %201 = load i32, ptr %15, align 4, !tbaa !9
  %202 = icmp ne i32 %201, 0
  br i1 %202, label %203, label %215

203:                                              ; preds = %185
  %204 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %204, ptr %15, align 4, !tbaa !9
  %205 = load ptr, ptr %7, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.w2c_hermes, ptr %205, i32 0, i32 6
  %207 = load i32, ptr %15, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = add i64 %208, 29
  %210 = call i32 @i32_load8_u(ptr noundef %206, i64 noundef %209)
  store i32 %210, ptr %15, align 4, !tbaa !9
  %211 = load i32, ptr %15, align 4, !tbaa !9
  %212 = icmp ne i32 %211, 0
  br i1 %212, label %213, label %214

213:                                              ; preds = %203
  br label %259

214:                                              ; preds = %203
  br label %215

215:                                              ; preds = %214, %185
  %216 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %216, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %217 = load ptr, ptr %7, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.w2c_hermes, ptr %217, i32 0, i32 6
  %219 = load i32, ptr %15, align 4, !tbaa !9
  %220 = zext i32 %219 to i64
  %221 = add i64 %220, 72
  %222 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %218, i64 noundef %221, i32 noundef %222)
  %223 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %223, ptr %15, align 4, !tbaa !9
  store i64 197568495617, ptr %20, align 8, !tbaa !11
  %224 = load ptr, ptr %7, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.w2c_hermes, ptr %224, i32 0, i32 6
  %226 = load i32, ptr %15, align 4, !tbaa !9
  %227 = zext i32 %226 to i64
  %228 = add i64 %227, 64
  %229 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %225, i64 noundef %228, i64 noundef %229)
  %230 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %230, ptr %15, align 4, !tbaa !9
  store i32 3, ptr %16, align 4, !tbaa !9
  %231 = load ptr, ptr %7, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.w2c_hermes, ptr %231, i32 0, i32 6
  %233 = load i32, ptr %15, align 4, !tbaa !9
  %234 = zext i32 %233 to i64
  %235 = add i64 %234, 48
  %236 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %232, i64 noundef %235, i32 noundef %236)
  %237 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %237, ptr %15, align 4, !tbaa !9
  store i32 38730, ptr %16, align 4, !tbaa !9
  %238 = load ptr, ptr %7, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.w2c_hermes, ptr %238, i32 0, i32 6
  %240 = load i32, ptr %15, align 4, !tbaa !9
  %241 = zext i32 %240 to i64
  %242 = add i64 %241, 40
  %243 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %239, i64 noundef %242, i32 noundef %243)
  %244 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %244, ptr %15, align 4, !tbaa !9
  %245 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %245, ptr %16, align 4, !tbaa !9
  %246 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %246, ptr %17, align 4, !tbaa !9
  store i32 40, ptr %18, align 4, !tbaa !9
  %247 = load i32, ptr %18, align 4, !tbaa !9
  %248 = load i32, ptr %17, align 4, !tbaa !9
  %249 = add i32 %248, %247
  store i32 %249, ptr %17, align 4, !tbaa !9
  %250 = load ptr, ptr %7, align 8, !tbaa !5
  %251 = load i32, ptr %16, align 4, !tbaa !9
  %252 = load i32, ptr %17, align 4, !tbaa !9
  %253 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %250, i32 noundef %251, i32 noundef %252)
  store i32 %253, ptr %16, align 4, !tbaa !9
  %254 = load ptr, ptr %7, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.w2c_hermes, ptr %254, i32 0, i32 6
  %256 = load i32, ptr %15, align 4, !tbaa !9
  %257 = zext i32 %256 to i64
  %258 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %255, i64 noundef %257, i32 noundef %258)
  br label %352

259:                                              ; preds = %213
  %260 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %260, ptr %15, align 4, !tbaa !9
  %261 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %261, ptr %16, align 4, !tbaa !9
  %262 = load ptr, ptr %7, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.w2c_hermes, ptr %262, i32 0, i32 6
  %264 = load i32, ptr %16, align 4, !tbaa !9
  %265 = zext i32 %264 to i64
  %266 = add i64 %265, 24
  %267 = call i32 @i32_load(ptr noundef %263, i64 noundef %266)
  store i32 %267, ptr %16, align 4, !tbaa !9
  %268 = load i32, ptr %15, align 4, !tbaa !9
  %269 = load i32, ptr %16, align 4, !tbaa !9
  %270 = icmp ult i32 %268, %269
  %271 = zext i1 %270 to i32
  store i32 %271, ptr %15, align 4, !tbaa !9
  %272 = load i32, ptr %15, align 4, !tbaa !9
  %273 = icmp ne i32 %272, 0
  br i1 %273, label %274, label %333

274:                                              ; preds = %259
  %275 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %275, ptr %15, align 4, !tbaa !9
  %276 = load ptr, ptr %7, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.w2c_hermes, ptr %276, i32 0, i32 6
  %278 = load i32, ptr %15, align 4, !tbaa !9
  %279 = zext i32 %278 to i64
  %280 = add i64 %279, 5300
  %281 = call i32 @i32_load8_u(ptr noundef %277, i64 noundef %280)
  store i32 %281, ptr %15, align 4, !tbaa !9
  %282 = load i32, ptr %15, align 4, !tbaa !9
  %283 = icmp ne i32 %282, 0
  %284 = xor i1 %283, true
  %285 = zext i1 %284 to i32
  store i32 %285, ptr %15, align 4, !tbaa !9
  %286 = load i32, ptr %15, align 4, !tbaa !9
  %287 = icmp ne i32 %286, 0
  br i1 %287, label %288, label %289

288:                                              ; preds = %274
  br label %360

289:                                              ; preds = %274
  %290 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %290, ptr %15, align 4, !tbaa !9
  %291 = load ptr, ptr %7, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.w2c_hermes, ptr %291, i32 0, i32 6
  %293 = load i32, ptr %15, align 4, !tbaa !9
  %294 = zext i32 %293 to i64
  %295 = add i64 %294, 28
  %296 = call i32 @i32_load(ptr noundef %292, i64 noundef %295)
  store i32 %296, ptr %15, align 4, !tbaa !9
  %297 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %297, ptr %16, align 4, !tbaa !9
  store i32 1272, ptr %17, align 4, !tbaa !9
  %298 = load i32, ptr %17, align 4, !tbaa !9
  %299 = load i32, ptr %16, align 4, !tbaa !9
  %300 = add i32 %299, %298
  store i32 %300, ptr %16, align 4, !tbaa !9
  %301 = load ptr, ptr %7, 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 = call i32 @i32_load(ptr noundef %302, i64 noundef %304)
  store i32 %305, ptr %16, align 4, !tbaa !9
  %306 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %306, ptr %17, align 4, !tbaa !9
  %307 = load ptr, ptr %7, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.w2c_hermes, ptr %307, i32 0, i32 6
  %309 = load i32, ptr %17, align 4, !tbaa !9
  %310 = zext i32 %309 to i64
  %311 = add i64 %310, 20
  %312 = call i32 @i32_load(ptr noundef %308, i64 noundef %311)
  store i32 %312, ptr %17, align 4, !tbaa !9
  %313 = load i32, ptr %17, align 4, !tbaa !9
  %314 = load i32, ptr %16, align 4, !tbaa !9
  %315 = xor i32 %314, %313
  store i32 %315, ptr %16, align 4, !tbaa !9
  %316 = load i32, ptr %16, align 4, !tbaa !9
  %317 = load i32, ptr %15, align 4, !tbaa !9
  %318 = add i32 %317, %316
  store i32 %318, ptr %15, align 4, !tbaa !9
  %319 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %319, ptr %16, align 4, !tbaa !9
  store i32 3, ptr %17, align 4, !tbaa !9
  %320 = load i32, ptr %17, align 4, !tbaa !9
  %321 = and i32 %320, 31
  %322 = load i32, ptr %16, align 4, !tbaa !9
  %323 = shl i32 %322, %321
  store i32 %323, ptr %16, align 4, !tbaa !9
  %324 = load i32, ptr %16, align 4, !tbaa !9
  %325 = load i32, ptr %15, align 4, !tbaa !9
  %326 = add i32 %325, %324
  store i32 %326, ptr %15, align 4, !tbaa !9
  %327 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %327, ptr %20, align 8, !tbaa !11
  %328 = load ptr, ptr %7, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.w2c_hermes, ptr %328, i32 0, i32 6
  %330 = load i32, ptr %15, align 4, !tbaa !9
  %331 = zext i32 %330 to i64
  %332 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %329, i64 noundef %331, i64 noundef %332)
  br label %333

333:                                              ; preds = %289, %259
  %334 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %334, ptr %15, align 4, !tbaa !9
  %335 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %335, ptr %16, align 4, !tbaa !9
  %336 = load ptr, ptr %7, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.w2c_hermes, ptr %336, i32 0, i32 6
  %338 = load i32, ptr %16, align 4, !tbaa !9
  %339 = zext i32 %338 to i64
  %340 = call i32 @i32_load16_u(ptr noundef %337, i64 noundef %339)
  store i32 %340, ptr %16, align 4, !tbaa !9
  store i32 65024, ptr %17, align 4, !tbaa !9
  %341 = load i32, ptr %17, align 4, !tbaa !9
  %342 = load i32, ptr %16, align 4, !tbaa !9
  %343 = and i32 %342, %341
  store i32 %343, ptr %16, align 4, !tbaa !9
  store i32 257, ptr %17, align 4, !tbaa !9
  %344 = load i32, ptr %17, align 4, !tbaa !9
  %345 = load i32, ptr %16, align 4, !tbaa !9
  %346 = or i32 %345, %344
  store i32 %346, ptr %16, align 4, !tbaa !9
  %347 = load ptr, ptr %7, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.w2c_hermes, ptr %347, i32 0, i32 6
  %349 = load i32, ptr %15, align 4, !tbaa !9
  %350 = zext i32 %349 to i64
  %351 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %348, i64 noundef %350, i32 noundef %351)
  br label %352

352:                                              ; preds = %333, %215, %145
  %353 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %353, ptr %15, align 4, !tbaa !9
  store i32 96, ptr %16, align 4, !tbaa !9
  %354 = load i32, ptr %16, align 4, !tbaa !9
  %355 = load i32, ptr %15, align 4, !tbaa !9
  %356 = add i32 %355, %354
  store i32 %356, ptr %15, align 4, !tbaa !9
  %357 = load i32, ptr %15, align 4, !tbaa !9
  %358 = load ptr, ptr %7, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.w2c_hermes, ptr %358, i32 0, i32 3
  store i32 %357, ptr %359, align 8, !tbaa !13
  br label %363

360:                                              ; preds = %288
  store i32 38571, ptr %15, align 4, !tbaa !9
  %361 = load ptr, ptr %7, align 8, !tbaa !5
  %362 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef %361, i32 noundef %362)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

363:                                              ; preds = %352
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  ret void
}

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !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: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef, i32 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 #1

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

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

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

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

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

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #2

declare void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef, i32 noundef) local_unnamed_addr #3

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

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

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

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoBigInt_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSTypedArray0x3Clong0x20long0x2C0x200x28hermes0x3A0x3Avm0x3A0x3ACellKind0x29440x3E0x3A0x3A_setOwnIndexedImpl0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 {
  %7 = getelementptr inbounds i8, ptr %0, i64 24
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = add i32 %8, -96
  store i32 %9, ptr %7, align 8, !tbaa !5
  %10 = add i32 %8, -16
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoBigInt_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %10, i32 noundef %3, i32 noundef %5) #4
  %11 = getelementptr inbounds i8, ptr %0, i64 40
  %12 = zext i32 %9 to i64
  %13 = add nuw nsw i64 %12, 80
  %14 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %13)
  %.not = icmp eq i32 %14, 0
  br i1 %.not, label %29, label %15

15:                                               ; preds = %6
  %16 = add nuw nsw i64 %12, 88
  %17 = tail call i64 @i64_load(ptr noundef nonnull %11, i64 noundef %16)
  %.mask = and i64 %17, -281474976710656
  %18 = icmp eq i64 %.mask, -562949953421312
  br i1 %18, label %34, label %19

19:                                               ; preds = %15
  %20 = add nuw nsw i64 %12, 72
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %20, i32 noundef 0)
  %21 = add nuw nsw i64 %12, 64
  tail call void @i64_store(ptr noundef nonnull %11, i64 noundef %21, i64 noundef 60129542145)
  %22 = add nuw nsw i64 %12, 48
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %22, i32 noundef 3)
  %23 = add nuw nsw i64 %12, 40
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %23, i32 noundef 61950)
  %24 = add nuw nsw i64 %12, 32
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %24, i32 noundef 0)
  %25 = add nuw nsw i64 %12, 24
  tail call void @i64_store(ptr noundef nonnull %11, i64 noundef %25, i64 noundef 42949672961)
  %26 = add nuw nsw i64 %12, 8
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %26, i32 noundef 3)
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %12, i32 noundef 21262)
  %27 = add i32 %8, -56
  %28 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeErrorForValue0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %27, i32 noundef %5, i32 noundef %9)
  %.not186 = icmp eq i32 %28, 0
  br i1 %.not186, label %29, label %34

29:                                               ; preds = %19, %6
  %30 = zext i32 %1 to i64
  %31 = add nuw nsw i64 %30, 1
  %32 = tail call i32 @i32_load8_u(ptr noundef nonnull %11, i64 noundef %31)
  %33 = shl i32 %32, 8
  tail call void @i32_store16(ptr noundef nonnull %11, i64 noundef %30, i32 noundef %33)
  br label %85

34:                                               ; preds = %19, %15
  %35 = and i64 %17, 4294967295
  %36 = add nuw nsw i64 %35, 4
  %37 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %36)
  %.not187 = icmp eq i32 %37, 0
  br i1 %.not187, label %41, label %38

38:                                               ; preds = %34
  %39 = add nuw nsw i64 %35, 8
  %40 = tail call i64 @i64_load(ptr noundef nonnull %11, i64 noundef %39)
  br label %41

41:                                               ; preds = %34, %38
  %.0 = phi i64 [ %40, %38 ], [ 0, %34 ]
  %42 = zext i32 %2 to i64
  %43 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %42)
  %44 = zext i32 %43 to i64
  %45 = add nuw nsw i64 %44, 20
  %46 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %45)
  %.not188 = icmp eq i32 %46, 0
  br i1 %.not188, label %51, label %47

47:                                               ; preds = %41
  %48 = zext i32 %46 to i64
  %49 = add nuw nsw i64 %48, 29
  %50 = tail call i32 @i32_load8_u(ptr noundef nonnull %11, i64 noundef %49)
  %.not189 = icmp eq i32 %50, 0
  br i1 %.not189, label %51, label %59

51:                                               ; preds = %47, %41
  %52 = add nuw nsw i64 %12, 72
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %52, i32 noundef 0)
  %53 = add nuw nsw i64 %12, 64
  tail call void @i64_store(ptr noundef nonnull %11, i64 noundef %53, i64 noundef 197568495617)
  %54 = add nuw nsw i64 %12, 48
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %54, i32 noundef 3)
  %55 = add nuw nsw i64 %12, 40
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %55, i32 noundef 38730)
  %56 = add i32 %8, -56
  %57 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %56)
  %58 = zext i32 %1 to i64
  tail call void @i32_store8(ptr noundef nonnull %11, i64 noundef %58, i32 noundef %57)
  br label %85

59:                                               ; preds = %47
  %60 = add nuw nsw i64 %44, 24
  %61 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %60)
  %62 = icmp ugt i32 %61, %4
  br i1 %62, label %63, label %80

63:                                               ; preds = %59
  %64 = zext i32 %3 to i64
  %65 = add nuw nsw i64 %64, 5300
  %66 = tail call i32 @i32_load8_u(ptr noundef nonnull %11, i64 noundef %65)
  %.not190 = icmp eq i32 %66, 0
  br i1 %.not190, label %86, label %67

67:                                               ; preds = %63
  %68 = add nuw nsw i64 %44, 28
  %69 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %68)
  %70 = add i32 %3, 1272
  %71 = zext i32 %70 to i64
  %72 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %71)
  %73 = add nuw nsw i64 %48, 20
  %74 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %73)
  %75 = xor i32 %74, %72
  %76 = shl i32 %4, 3
  %77 = add i32 %69, %76
  %78 = add i32 %77, %75
  %79 = zext i32 %78 to i64
  tail call void @i64_store(ptr noundef nonnull %11, i64 noundef %79, i64 noundef %.0)
  br label %80

80:                                               ; preds = %67, %59
  %81 = zext i32 %1 to i64
  %82 = tail call i32 @i32_load16_u(ptr noundef nonnull %11, i64 noundef %81)
  %83 = and i32 %82, 65024
  %84 = or disjoint i32 %83, 257
  tail call void @i32_store16(ptr noundef nonnull %11, i64 noundef %81, i32 noundef %84)
  br label %85

85:                                               ; preds = %80, %51, %29
  store i32 %8, ptr %7, align 8, !tbaa !5
  ret void

86:                                               ; preds = %63
  tail call void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef nonnull %0, i32 noundef 38571) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

attributes #0 = { 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 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }

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

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


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