; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #3

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AcreateNotUniquedLazySymbol0x28llvh0x3A0x3AArrayRef0x3Cchar0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) #5 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store i64 0, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %18 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %18, ptr %11, align 4, !tbaa !9
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.w2c_hermes, ptr %19, i32 0, i32 6
  %21 = load i32, ptr %11, align 4, !tbaa !9
  %22 = zext i32 %21 to i64
  %23 = add i64 %22, 48
  %24 = call i32 @i32_load(ptr noundef %20, i64 noundef %23)
  store i32 %24, ptr %11, align 4, !tbaa !9
  %25 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %25, ptr %7, align 4, !tbaa !9
  store i32 1073741823, ptr %12, align 4, !tbaa !9
  %26 = load i32, ptr %11, align 4, !tbaa !9
  %27 = load i32, ptr %12, align 4, !tbaa !9
  %28 = icmp eq i32 %26, %27
  %29 = zext i1 %28 to i32
  store i32 %29, ptr %11, align 4, !tbaa !9
  %30 = load i32, ptr %11, align 4, !tbaa !9
  %31 = icmp ne i32 %30, 0
  br i1 %31, label %32, label %143

32:                                               ; preds = %3
  %33 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %33, ptr %11, align 4, !tbaa !9
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.w2c_hermes, ptr %34, i32 0, i32 6
  %36 = load i32, ptr %11, align 4, !tbaa !9
  %37 = zext i32 %36 to i64
  %38 = add i64 %37, 4
  %39 = call i32 @i32_load(ptr noundef %35, i64 noundef %38)
  store i32 %39, ptr %11, align 4, !tbaa !9
  %40 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %40, ptr %12, align 4, !tbaa !9
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.w2c_hermes, ptr %41, i32 0, i32 6
  %43 = load i32, ptr %12, align 4, !tbaa !9
  %44 = zext i32 %43 to i64
  %45 = call i32 @i32_load(ptr noundef %42, i64 noundef %44)
  store i32 %45, ptr %12, align 4, !tbaa !9
  %46 = load i32, ptr %12, align 4, !tbaa !9
  %47 = load i32, ptr %11, align 4, !tbaa !9
  %48 = sub i32 %47, %46
  store i32 %48, ptr %11, align 4, !tbaa !9
  store i32 12, ptr %12, align 4, !tbaa !9
  %49 = load i32, ptr %12, align 4, !tbaa !9
  %50 = icmp eq i32 %49, 0
  %51 = xor i1 %50, true
  %52 = xor i1 %51, true
  %53 = zext i1 %52 to i32
  %54 = sext i32 %53 to i64
  %55 = call i64 @llvm.expect.i64(i64 %54, i64 0)
  %56 = icmp ne i64 %55, 0
  br i1 %56, label %57, label %59

57:                                               ; preds = %32
  call void @wasm_rt_trap(i32 noundef 3) #7
  unreachable

58:                                               ; No predecessors!
  br label %81

59:                                               ; preds = %32
  %60 = load i32, ptr %11, align 4, !tbaa !9
  %61 = icmp eq i32 %60, -2147483648
  br i1 %61, label %62, label %65

62:                                               ; preds = %59
  %63 = load i32, ptr %12, align 4, !tbaa !9
  %64 = icmp eq i32 %63, -1
  br label %65

65:                                               ; preds = %62, %59
  %66 = phi i1 [ false, %59 ], [ %64, %62 ]
  %67 = xor i1 %66, true
  %68 = xor i1 %67, true
  %69 = zext i1 %68 to i32
  %70 = sext i32 %69 to i64
  %71 = call i64 @llvm.expect.i64(i64 %70, i64 0)
  %72 = icmp ne i64 %71, 0
  br i1 %72, label %73, label %75

73:                                               ; preds = %65
  call void @wasm_rt_trap(i32 noundef 2) #7
  unreachable

74:                                               ; No predecessors!
  br label %79

75:                                               ; preds = %65
  %76 = load i32, ptr %11, align 4, !tbaa !9
  %77 = load i32, ptr %12, align 4, !tbaa !9
  %78 = sdiv i32 %76, %77
  br label %79

79:                                               ; preds = %75, %74
  %80 = phi i32 [ 0, %74 ], [ %78, %75 ]
  br label %81

81:                                               ; preds = %79, %58
  %82 = phi i32 [ 0, %58 ], [ %80, %79 ]
  store i32 %82, ptr %11, align 4, !tbaa !9
  %83 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %83, ptr %9, align 4, !tbaa !9
  store i32 1073741822, ptr %12, align 4, !tbaa !9
  %84 = load i32, ptr %11, align 4, !tbaa !9
  %85 = load i32, ptr %12, align 4, !tbaa !9
  %86 = icmp uge i32 %84, %85
  %87 = zext i1 %86 to i32
  store i32 %87, ptr %11, align 4, !tbaa !9
  %88 = load i32, ptr %11, align 4, !tbaa !9
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %90, label %91

90:                                               ; preds = %81
  br label %269

91:                                               ; preds = %81
  %92 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %92, ptr %11, align 4, !tbaa !9
  %93 = load ptr, ptr %4, align 8, !tbaa !5
  %94 = load i32, ptr %11, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AConservativeVector0x3Chermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3ALookupEntry0x3E0x3A0x3Aemplace_back0x280x29(ptr noundef %93, i32 noundef %94)
  %95 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %95, ptr %11, align 4, !tbaa !9
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.w2c_hermes, ptr %96, i32 0, i32 6
  %98 = load i32, ptr %11, align 4, !tbaa !9
  %99 = zext i32 %98 to i64
  %100 = add i64 %99, 20
  %101 = call i32 @i32_load(ptr noundef %97, i64 noundef %100)
  store i32 %101, ptr %11, align 4, !tbaa !9
  %102 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %102, ptr %7, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %103 = load i32, ptr %12, align 4, !tbaa !9
  %104 = load i32, ptr %11, align 4, !tbaa !9
  %105 = add i32 %104, %103
  store i32 %105, ptr %11, align 4, !tbaa !9
  %106 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %106, ptr %8, align 4, !tbaa !9
  %107 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %107, ptr %12, align 4, !tbaa !9
  %108 = load ptr, ptr %4, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.w2c_hermes, ptr %108, i32 0, i32 6
  %110 = load i32, ptr %12, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  %112 = add i64 %111, 16
  %113 = call i32 @i32_load(ptr noundef %109, i64 noundef %112)
  store i32 %113, ptr %12, align 4, !tbaa !9
  store i32 5, ptr %13, align 4, !tbaa !9
  %114 = load i32, ptr %13, align 4, !tbaa !9
  %115 = and i32 %114, 31
  %116 = load i32, ptr %12, align 4, !tbaa !9
  %117 = shl i32 %116, %115
  store i32 %117, ptr %12, align 4, !tbaa !9
  %118 = load i32, ptr %11, align 4, !tbaa !9
  %119 = load i32, ptr %12, align 4, !tbaa !9
  %120 = icmp ugt i32 %118, %119
  %121 = zext i1 %120 to i32
  store i32 %121, ptr %11, align 4, !tbaa !9
  %122 = load i32, ptr %11, align 4, !tbaa !9
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %124, label %134

124:                                              ; preds = %91
  %125 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %125, ptr %11, align 4, !tbaa !9
  store i32 12, ptr %12, align 4, !tbaa !9
  %126 = load i32, ptr %12, align 4, !tbaa !9
  %127 = load i32, ptr %11, align 4, !tbaa !9
  %128 = add i32 %127, %126
  store i32 %128, ptr %11, align 4, !tbaa !9
  %129 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %129, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = load i32, ptr %11, align 4, !tbaa !9
  %132 = load i32, ptr %12, align 4, !tbaa !9
  %133 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3ABitVector0x3A0x3Aresize0x28unsigned0x20int0x2C0x20bool0x29(ptr noundef %130, i32 noundef %131, i32 noundef %132, i32 noundef %133)
  br label %176

134:                                              ; preds = %91
  %135 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %135, ptr %11, align 4, !tbaa !9
  %136 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %136, ptr %12, align 4, !tbaa !9
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.w2c_hermes, ptr %137, i32 0, i32 6
  %139 = load i32, ptr %11, align 4, !tbaa !9
  %140 = zext i32 %139 to i64
  %141 = add i64 %140, 20
  %142 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %138, i64 noundef %141, i32 noundef %142)
  br label %176

143:                                              ; preds = %3
  %144 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %144, ptr %11, align 4, !tbaa !9
  %145 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %145, ptr %12, align 4, !tbaa !9
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.w2c_hermes, ptr %146, i32 0, i32 6
  %148 = load i32, ptr %12, align 4, !tbaa !9
  %149 = zext i32 %148 to i64
  %150 = call i32 @i32_load(ptr noundef %147, i64 noundef %149)
  store i32 %150, ptr %12, align 4, !tbaa !9
  %151 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %151, ptr %13, align 4, !tbaa !9
  store i32 12, ptr %14, align 4, !tbaa !9
  %152 = load i32, ptr %14, align 4, !tbaa !9
  %153 = load i32, ptr %13, align 4, !tbaa !9
  %154 = mul i32 %153, %152
  store i32 %154, ptr %13, align 4, !tbaa !9
  %155 = load i32, ptr %13, align 4, !tbaa !9
  %156 = load i32, ptr %12, align 4, !tbaa !9
  %157 = add i32 %156, %155
  store i32 %157, ptr %12, align 4, !tbaa !9
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.w2c_hermes, ptr %158, i32 0, i32 6
  %160 = load i32, ptr %12, align 4, !tbaa !9
  %161 = zext i32 %160 to i64
  %162 = add i64 %161, 4
  %163 = call i32 @i32_load(ptr noundef %159, i64 noundef %162)
  store i32 %163, ptr %12, align 4, !tbaa !9
  store i32 2, ptr %13, align 4, !tbaa !9
  %164 = load i32, ptr %13, align 4, !tbaa !9
  %165 = and i32 %164, 31
  %166 = load i32, ptr %12, align 4, !tbaa !9
  %167 = lshr i32 %166, %165
  store i32 %167, ptr %12, align 4, !tbaa !9
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.w2c_hermes, ptr %168, i32 0, i32 6
  %170 = load i32, ptr %11, align 4, !tbaa !9
  %171 = zext i32 %170 to i64
  %172 = add i64 %171, 48
  %173 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %169, i64 noundef %172, i32 noundef %173)
  %174 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %174, ptr %11, align 4, !tbaa !9
  %175 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %175, ptr %9, align 4, !tbaa !9
  br label %176

176:                                              ; preds = %143, %134, %124
  %177 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %177, ptr %11, align 4, !tbaa !9
  %178 = load ptr, ptr %4, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.w2c_hermes, ptr %178, i32 0, i32 6
  %180 = load i32, ptr %11, align 4, !tbaa !9
  %181 = zext i32 %180 to i64
  %182 = add i64 %181, 12
  %183 = call i32 @i32_load(ptr noundef %179, i64 noundef %182)
  store i32 %183, ptr %11, align 4, !tbaa !9
  %184 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %184, ptr %12, align 4, !tbaa !9
  store i32 3, ptr %13, align 4, !tbaa !9
  %185 = load i32, ptr %13, align 4, !tbaa !9
  %186 = and i32 %185, 31
  %187 = load i32, ptr %12, align 4, !tbaa !9
  %188 = lshr i32 %187, %186
  store i32 %188, ptr %12, align 4, !tbaa !9
  store i32 536870908, ptr %13, align 4, !tbaa !9
  %189 = load i32, ptr %13, align 4, !tbaa !9
  %190 = load i32, ptr %12, align 4, !tbaa !9
  %191 = and i32 %190, %189
  store i32 %191, ptr %12, align 4, !tbaa !9
  %192 = load i32, ptr %12, align 4, !tbaa !9
  %193 = load i32, ptr %11, align 4, !tbaa !9
  %194 = add i32 %193, %192
  store i32 %194, ptr %11, align 4, !tbaa !9
  %195 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %195, ptr %8, align 4, !tbaa !9
  %196 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %196, ptr %12, align 4, !tbaa !9
  %197 = load ptr, ptr %4, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.w2c_hermes, ptr %197, i32 0, i32 6
  %199 = load i32, ptr %12, align 4, !tbaa !9
  %200 = zext i32 %199 to i64
  %201 = call i32 @i32_load(ptr noundef %198, i64 noundef %200)
  store i32 %201, ptr %12, align 4, !tbaa !9
  store i32 1, ptr %13, align 4, !tbaa !9
  %202 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %202, ptr %14, align 4, !tbaa !9
  %203 = load i32, ptr %14, align 4, !tbaa !9
  %204 = and i32 %203, 31
  %205 = load i32, ptr %13, align 4, !tbaa !9
  %206 = shl i32 %205, %204
  store i32 %206, ptr %13, align 4, !tbaa !9
  %207 = load i32, ptr %13, align 4, !tbaa !9
  %208 = load i32, ptr %12, align 4, !tbaa !9
  %209 = or i32 %208, %207
  store i32 %209, ptr %12, align 4, !tbaa !9
  %210 = load ptr, ptr %4, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.w2c_hermes, ptr %210, i32 0, i32 6
  %212 = load i32, ptr %11, align 4, !tbaa !9
  %213 = zext i32 %212 to i64
  %214 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %211, i64 noundef %213, i32 noundef %214)
  %215 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %215, ptr %11, align 4, !tbaa !9
  %216 = load ptr, ptr %4, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.w2c_hermes, ptr %216, i32 0, i32 6
  %218 = load i32, ptr %11, align 4, !tbaa !9
  %219 = zext i32 %218 to i64
  %220 = call i64 @i64_load(ptr noundef %217, i64 noundef %219)
  store i64 %220, ptr %15, align 8, !tbaa !11
  %221 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %221, ptr %10, align 8, !tbaa !11
  %222 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %222, ptr %11, align 4, !tbaa !9
  %223 = load ptr, ptr %4, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.w2c_hermes, ptr %223, i32 0, i32 6
  %225 = load i32, ptr %11, align 4, !tbaa !9
  %226 = zext i32 %225 to i64
  %227 = call i32 @i32_load(ptr noundef %224, i64 noundef %226)
  store i32 %227, ptr %11, align 4, !tbaa !9
  %228 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %228, ptr %12, align 4, !tbaa !9
  store i32 12, ptr %13, align 4, !tbaa !9
  %229 = load i32, ptr %13, align 4, !tbaa !9
  %230 = load i32, ptr %12, align 4, !tbaa !9
  %231 = mul i32 %230, %229
  store i32 %231, ptr %12, align 4, !tbaa !9
  %232 = load i32, ptr %12, align 4, !tbaa !9
  %233 = load i32, ptr %11, align 4, !tbaa !9
  %234 = add i32 %233, %232
  store i32 %234, ptr %11, align 4, !tbaa !9
  %235 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %235, ptr %5, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %236 = load ptr, ptr %4, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.w2c_hermes, ptr %236, i32 0, i32 6
  %238 = load i32, ptr %11, align 4, !tbaa !9
  %239 = zext i32 %238 to i64
  %240 = add i64 %239, 8
  %241 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %237, i64 noundef %240, i32 noundef %241)
  %242 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %242, ptr %11, align 4, !tbaa !9
  %243 = load i64, ptr %10, align 8, !tbaa !11
  store i64 %243, ptr %16, align 8, !tbaa !11
  %244 = load ptr, ptr %4, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.w2c_hermes, ptr %244, i32 0, i32 6
  %246 = load i32, ptr %11, align 4, !tbaa !9
  %247 = zext i32 %246 to i64
  %248 = load i64, ptr %16, align 8, !tbaa !11
  call void @i64_store32(ptr noundef %245, i64 noundef %247, i64 noundef %248)
  %249 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %249, ptr %11, align 4, !tbaa !9
  %250 = load i64, ptr %10, align 8, !tbaa !11
  store i64 %250, ptr %16, align 8, !tbaa !11
  store i64 30, ptr %17, align 8, !tbaa !11
  %251 = load i64, ptr %17, align 8, !tbaa !11
  %252 = and i64 %251, 63
  %253 = load i64, ptr %16, align 8, !tbaa !11
  %254 = lshr i64 %253, %252
  store i64 %254, ptr %16, align 8, !tbaa !11
  %255 = load i64, ptr %16, align 8, !tbaa !11
  %256 = trunc i64 %255 to i32
  store i32 %256, ptr %12, align 4, !tbaa !9
  store i32 -4, ptr %13, align 4, !tbaa !9
  %257 = load i32, ptr %13, align 4, !tbaa !9
  %258 = load i32, ptr %12, align 4, !tbaa !9
  %259 = and i32 %258, %257
  store i32 %259, ptr %12, align 4, !tbaa !9
  store i32 2, ptr %13, align 4, !tbaa !9
  %260 = load i32, ptr %13, align 4, !tbaa !9
  %261 = load i32, ptr %12, align 4, !tbaa !9
  %262 = or i32 %261, %260
  store i32 %262, ptr %12, align 4, !tbaa !9
  %263 = load ptr, ptr %4, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.w2c_hermes, ptr %263, i32 0, i32 6
  %265 = load i32, ptr %11, align 4, !tbaa !9
  %266 = zext i32 %265 to i64
  %267 = add i64 %266, 4
  %268 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %264, i64 noundef %267, i32 noundef %268)
  br label %272

269:                                              ; preds = %90
  store i32 43494, ptr %11, align 4, !tbaa !9
  %270 = load ptr, ptr %4, align 8, !tbaa !5
  %271 = load i32, ptr %11, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef %270, i32 noundef %271)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

272:                                              ; preds = %176
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  ret void
}

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

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

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 = { 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 = { nocallback nofree nosync nounwind willreturn memory(none) }
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 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 #6 = { nounwind }
attributes #7 = { 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}


; 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: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AcreateNotUniquedLazySymbol0x28llvh0x3A0x3AArrayRef0x3Cchar0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #3 {
  %4 = getelementptr inbounds i8, ptr %0, i64 40
  %5 = zext i32 %1 to i64
  %6 = add nuw nsw i64 %5, 48
  %7 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %6)
  %8 = icmp eq i32 %7, 1073741823
  br i1 %8, label %9, label %27

9:                                                ; preds = %3
  %10 = add nuw nsw i64 %5, 4
  %11 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %10)
  %12 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %5)
  %13 = sub i32 %11, %12
  %14 = sdiv i32 %13, 12
  %15 = icmp ugt i32 %14, 1073741821
  br i1 %15, label %58, label %16

16:                                               ; preds = %9
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AConservativeVector0x3Chermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3ALookupEntry0x3E0x3A0x3Aemplace_back0x280x29(ptr noundef %0, i32 noundef %1)
  %17 = add nuw nsw i64 %5, 20
  %18 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %17)
  %19 = add i32 %18, 1
  %20 = add nuw nsw i64 %5, 16
  %21 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %20)
  %22 = shl i32 %21, 5
  %23 = icmp ugt i32 %19, %22
  br i1 %23, label %24, label %26

24:                                               ; preds = %16
  %25 = add i32 %1, 12
  tail call void @w2c_hermes_llvh0x3A0x3ABitVector0x3A0x3Aresize0x28unsigned0x20int0x2C0x20bool0x29(ptr noundef %0, i32 noundef %25, i32 noundef %19, i32 noundef 0) #4
  br label %35

26:                                               ; preds = %16
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %17, i32 noundef %19)
  br label %35

27:                                               ; preds = %3
  %28 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %5)
  %29 = mul i32 %7, 12
  %30 = add i32 %28, %29
  %31 = zext i32 %30 to i64
  %32 = add nuw nsw i64 %31, 4
  %33 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %32)
  %34 = lshr i32 %33, 2
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %6, i32 noundef %34)
  br label %35

35:                                               ; preds = %27, %26, %24
  %.0129 = phi i32 [ %14, %24 ], [ %14, %26 ], [ %7, %27 ]
  %.0 = phi i32 [ %18, %24 ], [ %18, %26 ], [ %7, %27 ]
  %36 = add nuw nsw i64 %5, 12
  %37 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %36)
  %38 = lshr i32 %.0, 3
  %39 = and i32 %38, 536870908
  %40 = add i32 %39, %37
  %41 = zext i32 %40 to i64
  %42 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %41)
  %43 = and i32 %.0, 31
  %44 = shl nuw i32 1, %43
  %45 = or i32 %42, %44
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %41, i32 noundef %45)
  %46 = zext i32 %2 to i64
  %47 = tail call i64 @i64_load(ptr noundef nonnull %4, i64 noundef %46)
  %48 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %5)
  %49 = mul i32 %.0129, 12
  %50 = add i32 %48, %49
  %51 = zext i32 %50 to i64
  %52 = add nuw nsw i64 %51, 8
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %52, i32 noundef 0)
  tail call void @i64_store32(ptr noundef nonnull %4, i64 noundef %51, i64 noundef %47)
  %53 = lshr i64 %47, 30
  %54 = trunc i64 %53 to i32
  %55 = and i32 %54, -4
  %56 = or disjoint i32 %55, 2
  %57 = add nuw nsw i64 %51, 4
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %57, i32 noundef %56)
  ret void

58:                                               ; preds = %9
  tail call void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef %0, i32 noundef 43494) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

declare void @w2c_hermes_llvh0x3A0x3ABitVector0x3A0x3Aresize0x28unsigned0x20int0x2C0x20bool0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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 = { 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 #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 }
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)"}


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