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

; 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: 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) #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3AES6ClassesTransformations0x3A0x3AcopyIdentifier0x28hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) #3 {
  %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 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 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) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, 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
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  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 8, ptr %15) #4
  %16 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %16, ptr %10, align 4, !tbaa !9
  %17 = load i32, ptr %10, align 4, !tbaa !9
  %18 = icmp ne i32 %17, 0
  br i1 %18, label %19, label %233

19:                                               ; preds = %3
  %20 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %20, ptr %10, align 4, !tbaa !9
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.w2c_hermes, ptr %21, i32 0, i32 6
  %23 = load i32, ptr %10, align 4, !tbaa !9
  %24 = zext i32 %23 to i64
  %25 = add i64 %24, 8
  %26 = call i32 @i32_load(ptr noundef %22, i64 noundef %25)
  store i32 %26, ptr %10, align 4, !tbaa !9
  store i32 64, ptr %11, align 4, !tbaa !9
  %27 = load i32, ptr %10, align 4, !tbaa !9
  %28 = load i32, ptr %11, align 4, !tbaa !9
  %29 = icmp ne i32 %27, %28
  %30 = zext i1 %29 to i32
  store i32 %30, ptr %10, align 4, !tbaa !9
  %31 = load i32, ptr %10, align 4, !tbaa !9
  %32 = icmp ne i32 %31, 0
  br i1 %32, label %33, label %34

33:                                               ; preds = %19
  br label %251

34:                                               ; preds = %19
  %35 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %35, ptr %10, align 4, !tbaa !9
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.w2c_hermes, ptr %36, i32 0, i32 6
  %38 = load i32, ptr %10, align 4, !tbaa !9
  %39 = zext i32 %38 to i64
  %40 = call i32 @i32_load(ptr noundef %37, i64 noundef %39)
  store i32 %40, ptr %10, align 4, !tbaa !9
  %41 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %41, ptr %9, align 4, !tbaa !9
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.w2c_hermes, ptr %42, i32 0, i32 6
  %44 = load i32, ptr %10, align 4, !tbaa !9
  %45 = zext i32 %44 to i64
  %46 = add i64 %45, 12
  %47 = call i32 @i32_load(ptr noundef %43, i64 noundef %46)
  store i32 %47, ptr %10, align 4, !tbaa !9
  %48 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %48, ptr %7, align 4, !tbaa !9
  %49 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %49, ptr %11, align 4, !tbaa !9
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.w2c_hermes, ptr %50, i32 0, i32 6
  %52 = load i32, ptr %11, align 4, !tbaa !9
  %53 = zext i32 %52 to i64
  %54 = call i32 @i32_load(ptr noundef %51, i64 noundef %53)
  store i32 %54, ptr %11, align 4, !tbaa !9
  %55 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %55, ptr %12, align 4, !tbaa !9
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.w2c_hermes, ptr %56, i32 0, i32 6
  %58 = load i32, ptr %12, align 4, !tbaa !9
  %59 = zext i32 %58 to i64
  %60 = call i32 @i32_load(ptr noundef %57, i64 noundef %59)
  store i32 %60, ptr %12, align 4, !tbaa !9
  store i32 2, ptr %13, align 4, !tbaa !9
  %61 = load i32, ptr %13, align 4, !tbaa !9
  %62 = and i32 %61, 31
  %63 = load i32, ptr %12, align 4, !tbaa !9
  %64 = shl i32 %63, %62
  store i32 %64, ptr %12, align 4, !tbaa !9
  %65 = load i32, ptr %12, align 4, !tbaa !9
  %66 = load i32, ptr %11, align 4, !tbaa !9
  %67 = add i32 %66, %65
  store i32 %67, ptr %11, align 4, !tbaa !9
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.w2c_hermes, ptr %68, i32 0, i32 6
  %70 = load i32, ptr %11, align 4, !tbaa !9
  %71 = zext i32 %70 to i64
  %72 = call i32 @i32_load(ptr noundef %69, i64 noundef %71)
  store i32 %72, ptr %11, align 4, !tbaa !9
  %73 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %73, ptr %8, align 4, !tbaa !9
  %74 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %74, ptr %12, align 4, !tbaa !9
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.w2c_hermes, ptr %75, i32 0, i32 6
  %77 = load i32, ptr %12, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  %79 = add i64 %78, 4
  %80 = call i32 @i32_load(ptr noundef %76, i64 noundef %79)
  store i32 %80, ptr %12, align 4, !tbaa !9
  %81 = load i32, ptr %12, align 4, !tbaa !9
  %82 = load i32, ptr %11, align 4, !tbaa !9
  %83 = add i32 %82, %81
  store i32 %83, ptr %11, align 4, !tbaa !9
  store i32 7, ptr %12, align 4, !tbaa !9
  %84 = load i32, ptr %12, align 4, !tbaa !9
  %85 = load i32, ptr %11, align 4, !tbaa !9
  %86 = add i32 %85, %84
  store i32 %86, ptr %11, align 4, !tbaa !9
  store i32 -8, ptr %12, align 4, !tbaa !9
  %87 = load i32, ptr %12, align 4, !tbaa !9
  %88 = load i32, ptr %11, align 4, !tbaa !9
  %89 = and i32 %88, %87
  store i32 %89, ptr %11, align 4, !tbaa !9
  %90 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %90, ptr %5, align 4, !tbaa !9
  %91 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %91, ptr %12, align 4, !tbaa !9
  %92 = load i32, ptr %12, align 4, !tbaa !9
  %93 = load i32, ptr %11, align 4, !tbaa !9
  %94 = sub i32 %93, %92
  store i32 %94, ptr %11, align 4, !tbaa !9
  %95 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %95, ptr %8, 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 %10, align 4, !tbaa !9
  %99 = zext i32 %98 to i64
  %100 = add i64 %99, 4
  %101 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %97, i64 noundef %100, i32 noundef %101)
  %102 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %102, ptr %10, align 4, !tbaa !9
  store i32 40, ptr %11, align 4, !tbaa !9
  %103 = load i32, ptr %11, align 4, !tbaa !9
  %104 = load i32, ptr %10, align 4, !tbaa !9
  %105 = add i32 %104, %103
  store i32 %105, ptr %10, align 4, !tbaa !9
  %106 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %106, ptr %8, align 4, !tbaa !9
  store i32 262145, ptr %11, align 4, !tbaa !9
  %107 = load i32, ptr %10, align 4, !tbaa !9
  %108 = load i32, ptr %11, align 4, !tbaa !9
  %109 = icmp uge i32 %107, %108
  %110 = zext i1 %109 to i32
  store i32 %110, ptr %10, align 4, !tbaa !9
  %111 = load i32, ptr %10, align 4, !tbaa !9
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %121

113:                                              ; preds = %34
  %114 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %114, ptr %10, align 4, !tbaa !9
  store i32 40, ptr %11, align 4, !tbaa !9
  store i32 8, ptr %12, align 4, !tbaa !9
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = load i32, ptr %10, align 4, !tbaa !9
  %117 = load i32, ptr %11, align 4, !tbaa !9
  %118 = load i32, ptr %12, align 4, !tbaa !9
  %119 = call i32 @w2c_hermes_hermes0x3A0x3ABacktrackingBumpPtrAllocator0x3A0x3AallocateNewSlab0x28unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef %115, i32 noundef %116, i32 noundef %117, i32 noundef %118)
  store i32 %119, ptr %10, align 4, !tbaa !9
  %120 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %120, ptr %5, align 4, !tbaa !9
  br label %130

121:                                              ; preds = %34
  %122 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %122, ptr %10, align 4, !tbaa !9
  %123 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %123, ptr %11, align 4, !tbaa !9
  %124 = load ptr, ptr %4, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.w2c_hermes, ptr %124, i32 0, i32 6
  %126 = load i32, ptr %10, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = add i64 %127, 4
  %129 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %125, i64 noundef %128, i32 noundef %129)
  br label %130

130:                                              ; preds = %121, %113
  %131 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %131, ptr %10, align 4, !tbaa !9
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.w2c_hermes, ptr %132, i32 0, i32 6
  %134 = load i32, ptr %10, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  %136 = add i64 %135, 28
  %137 = call i32 @i32_load(ptr noundef %133, i64 noundef %136)
  store i32 %137, ptr %10, align 4, !tbaa !9
  %138 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %138, ptr %7, align 4, !tbaa !9
  %139 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %139, ptr %10, align 4, !tbaa !9
  store i64 0, ptr %15, align 8, !tbaa !11
  %140 = load ptr, ptr %4, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.w2c_hermes, ptr %140, i32 0, i32 6
  %142 = load i32, ptr %10, align 4, !tbaa !9
  %143 = zext i32 %142 to i64
  %144 = add i64 %143, 12
  %145 = load i64, ptr %15, align 8, !tbaa !11
  call void @i64_store(ptr noundef %141, i64 noundef %144, i64 noundef %145)
  %146 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %146, ptr %10, align 4, !tbaa !9
  store i32 64, ptr %11, align 4, !tbaa !9
  %147 = load ptr, ptr %4, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.w2c_hermes, ptr %147, i32 0, i32 6
  %149 = load i32, ptr %10, align 4, !tbaa !9
  %150 = zext i32 %149 to i64
  %151 = add i64 %150, 8
  %152 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %148, i64 noundef %151, i32 noundef %152)
  %153 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %153, ptr %10, align 4, !tbaa !9
  store i64 0, ptr %15, align 8, !tbaa !11
  %154 = load ptr, ptr %4, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.w2c_hermes, ptr %154, i32 0, i32 6
  %156 = load i32, ptr %10, align 4, !tbaa !9
  %157 = zext i32 %156 to i64
  %158 = load i64, ptr %15, align 8, !tbaa !11
  call void @i64_store(ptr noundef %155, i64 noundef %157, i64 noundef %158)
  %159 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %159, ptr %10, align 4, !tbaa !9
  store i32 20, ptr %11, align 4, !tbaa !9
  %160 = load i32, ptr %11, align 4, !tbaa !9
  %161 = load i32, ptr %10, align 4, !tbaa !9
  %162 = add i32 %161, %160
  store i32 %162, ptr %10, align 4, !tbaa !9
  %163 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %163, ptr %9, align 4, !tbaa !9
  store i64 0, ptr %15, align 8, !tbaa !11
  %164 = load ptr, ptr %4, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.w2c_hermes, ptr %164, i32 0, i32 6
  %166 = load i32, ptr %10, align 4, !tbaa !9
  %167 = zext i32 %166 to i64
  %168 = load i64, ptr %15, align 8, !tbaa !11
  call void @i64_store(ptr noundef %165, i64 noundef %167, i64 noundef %168)
  %169 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %169, ptr %10, align 4, !tbaa !9
  store i32 0, ptr %11, align 4, !tbaa !9
  %170 = load ptr, ptr %4, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.w2c_hermes, ptr %170, i32 0, i32 6
  %172 = load i32, ptr %10, align 4, !tbaa !9
  %173 = zext i32 %172 to i64
  %174 = add i64 %173, 36
  %175 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %171, i64 noundef %174, i32 noundef %175)
  %176 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %176, ptr %10, align 4, !tbaa !9
  store i32 0, ptr %11, align 4, !tbaa !9
  %177 = load ptr, ptr %4, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.w2c_hermes, ptr %177, i32 0, i32 6
  %179 = load i32, ptr %10, align 4, !tbaa !9
  %180 = zext i32 %179 to i64
  %181 = add i64 %180, 32
  %182 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %178, i64 noundef %181, i32 noundef %182)
  %183 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %183, ptr %10, align 4, !tbaa !9
  %184 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %184, ptr %11, align 4, !tbaa !9
  %185 = load ptr, ptr %4, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.w2c_hermes, ptr %185, i32 0, i32 6
  %187 = load i32, ptr %10, align 4, !tbaa !9
  %188 = zext i32 %187 to i64
  %189 = add i64 %188, 28
  %190 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %186, i64 noundef %189, i32 noundef %190)
  %191 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %191, ptr %10, align 4, !tbaa !9
  %192 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %192, ptr %11, align 4, !tbaa !9
  %193 = load ptr, ptr %4, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.w2c_hermes, ptr %193, i32 0, i32 6
  %195 = load i32, ptr %11, align 4, !tbaa !9
  %196 = zext i32 %195 to i64
  %197 = add i64 %196, 16
  %198 = call i32 @i32_load(ptr noundef %194, i64 noundef %197)
  store i32 %198, ptr %11, align 4, !tbaa !9
  %199 = load ptr, ptr %4, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.w2c_hermes, ptr %199, i32 0, i32 6
  %201 = load i32, ptr %10, align 4, !tbaa !9
  %202 = zext i32 %201 to i64
  %203 = add i64 %202, 16
  %204 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %200, i64 noundef %203, i32 noundef %204)
  %205 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %205, ptr %10, align 4, !tbaa !9
  %206 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %206, ptr %11, align 4, !tbaa !9
  %207 = load ptr, ptr %4, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.w2c_hermes, ptr %207, i32 0, i32 6
  %209 = load i32, ptr %11, align 4, !tbaa !9
  %210 = zext i32 %209 to i64
  %211 = add i64 %210, 20
  %212 = call i32 @i32_load(ptr noundef %208, i64 noundef %211)
  store i32 %212, ptr %11, align 4, !tbaa !9
  %213 = load ptr, ptr %4, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.w2c_hermes, ptr %213, i32 0, i32 6
  %215 = load i32, ptr %10, align 4, !tbaa !9
  %216 = zext i32 %215 to i64
  %217 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %214, i64 noundef %216, i32 noundef %217)
  %218 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %218, ptr %10, align 4, !tbaa !9
  %219 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %219, ptr %11, align 4, !tbaa !9
  %220 = load ptr, ptr %4, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.w2c_hermes, ptr %220, i32 0, i32 6
  %222 = load i32, ptr %11, align 4, !tbaa !9
  %223 = zext i32 %222 to i64
  %224 = add i64 %223, 24
  %225 = call i32 @i32_load(ptr noundef %221, i64 noundef %224)
  store i32 %225, ptr %11, align 4, !tbaa !9
  %226 = load ptr, ptr %4, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.w2c_hermes, ptr %226, i32 0, i32 6
  %228 = load i32, ptr %10, align 4, !tbaa !9
  %229 = zext i32 %228 to i64
  %230 = add i64 %229, 24
  %231 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %227, i64 noundef %230, i32 noundef %231)
  %232 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %232, ptr %10, align 4, !tbaa !9
  br label %269

233:                                              ; preds = %3
  store i32 0, ptr %10, align 4, !tbaa !9
  %234 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %234, ptr %5, align 4, !tbaa !9
  store i32 147142, ptr %11, align 4, !tbaa !9
  %235 = load i32, ptr %11, align 4, !tbaa !9
  %236 = load i32, ptr %10, align 4, !tbaa !9
  %237 = add i32 %236, %235
  store i32 %237, ptr %10, align 4, !tbaa !9
  %238 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %238, ptr %11, align 4, !tbaa !9
  store i32 82611, ptr %12, align 4, !tbaa !9
  %239 = load i32, ptr %12, align 4, !tbaa !9
  %240 = load i32, ptr %11, align 4, !tbaa !9
  %241 = add i32 %240, %239
  store i32 %241, ptr %11, align 4, !tbaa !9
  store i32 106, ptr %12, align 4, !tbaa !9
  %242 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %242, ptr %13, align 4, !tbaa !9
  store i32 28119, ptr %14, align 4, !tbaa !9
  %243 = load i32, ptr %14, align 4, !tbaa !9
  %244 = load i32, ptr %13, align 4, !tbaa !9
  %245 = add i32 %244, %243
  store i32 %245, ptr %13, align 4, !tbaa !9
  %246 = load ptr, ptr %4, align 8, !tbaa !5
  %247 = load i32, ptr %10, align 4, !tbaa !9
  %248 = load i32, ptr %11, align 4, !tbaa !9
  %249 = load i32, ptr %12, align 4, !tbaa !9
  %250 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %246, i32 noundef %247, i32 noundef %248, i32 noundef %249, i32 noundef %250)
  call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

251:                                              ; preds = %33
  store i32 0, ptr %10, align 4, !tbaa !9
  %252 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %252, ptr %5, align 4, !tbaa !9
  store i32 205012, ptr %11, align 4, !tbaa !9
  %253 = load i32, ptr %11, align 4, !tbaa !9
  %254 = load i32, ptr %10, align 4, !tbaa !9
  %255 = add i32 %254, %253
  store i32 %255, ptr %10, align 4, !tbaa !9
  %256 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %256, ptr %11, align 4, !tbaa !9
  store i32 82611, ptr %12, align 4, !tbaa !9
  %257 = load i32, ptr %12, align 4, !tbaa !9
  %258 = load i32, ptr %11, align 4, !tbaa !9
  %259 = add i32 %258, %257
  store i32 %259, ptr %11, align 4, !tbaa !9
  store i32 255, ptr %12, align 4, !tbaa !9
  %260 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %260, ptr %13, align 4, !tbaa !9
  store i32 24720, ptr %14, align 4, !tbaa !9
  %261 = load i32, ptr %14, align 4, !tbaa !9
  %262 = load i32, ptr %13, align 4, !tbaa !9
  %263 = add i32 %262, %261
  store i32 %263, ptr %13, align 4, !tbaa !9
  %264 = load ptr, ptr %4, align 8, !tbaa !5
  %265 = load i32, ptr %10, align 4, !tbaa !9
  %266 = load i32, ptr %11, align 4, !tbaa !9
  %267 = load i32, ptr %12, align 4, !tbaa !9
  %268 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %264, i32 noundef %265, i32 noundef %266, i32 noundef %267, i32 noundef %268)
  call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

269:                                              ; preds = %130
  %270 = load i32, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  ret i32 %270
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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 }

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

; 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 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: nounwind uwtable
declare dso_local void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3AES6ClassesTransformations0x3A0x3AcopyIdentifier0x28hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 {
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %52, label %4

4:                                                ; preds = %3
  %5 = getelementptr inbounds i8, ptr %0, i64 40
  %6 = zext i32 %2 to i64
  %7 = add nuw nsw i64 %6, 8
  %8 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %7)
  %.not151 = icmp eq i32 %8, 64
  br i1 %.not151, label %9, label %53

9:                                                ; preds = %4
  %10 = zext i32 %1 to i64
  %11 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %10)
  %12 = zext i32 %11 to i64
  %13 = add nuw nsw i64 %12, 12
  %14 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %13)
  %15 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %12)
  %16 = zext i32 %14 to i64
  %17 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %16)
  %18 = shl i32 %17, 2
  %19 = add i32 %18, %15
  %20 = zext i32 %19 to i64
  %21 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %20)
  %22 = add nuw nsw i64 %16, 4
  %23 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %22)
  %24 = add i32 %21, 7
  %25 = add i32 %24, %23
  %26 = and i32 %25, -8
  %27 = sub i32 %26, %21
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %22, i32 noundef %27)
  %28 = add i32 %27, 40
  %29 = icmp ugt i32 %28, 262144
  br i1 %29, label %30, label %32

30:                                               ; preds = %9
  %31 = tail call i32 @w2c_hermes_hermes0x3A0x3ABacktrackingBumpPtrAllocator0x3A0x3AallocateNewSlab0x28unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef %0, i32 noundef %11, i32 noundef 40, i32 noundef 8)
  br label %33

32:                                               ; preds = %9
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %22, i32 noundef %28)
  br label %33

33:                                               ; preds = %32, %30
  %.0 = phi i32 [ %31, %30 ], [ %26, %32 ]
  %34 = add nuw nsw i64 %6, 28
  %35 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %34)
  %36 = zext i32 %.0 to i64
  %37 = add nuw nsw i64 %36, 12
  tail call void @i64_store(ptr noundef nonnull %5, i64 noundef %37, i64 noundef 0)
  %38 = add nuw nsw i64 %36, 8
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %38, i32 noundef 64)
  tail call void @i64_store(ptr noundef nonnull %5, i64 noundef %36, i64 noundef 0)
  %39 = add i32 %.0, 20
  %40 = zext i32 %39 to i64
  tail call void @i64_store(ptr noundef nonnull %5, i64 noundef %40, i64 noundef 0)
  %41 = add nuw nsw i64 %36, 36
  tail call void @i32_store8(ptr noundef nonnull %5, i64 noundef %41, i32 noundef 0)
  %42 = add nuw nsw i64 %36, 32
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %42, i32 noundef 0)
  %43 = add nuw nsw i64 %36, 28
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %43, i32 noundef %35)
  %44 = add nuw nsw i64 %6, 16
  %45 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %44)
  %46 = add nuw nsw i64 %36, 16
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %46, i32 noundef %45)
  %47 = add nuw nsw i64 %6, 20
  %48 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %47)
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %40, i32 noundef %48)
  %49 = add nuw nsw i64 %6, 24
  %50 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %49)
  %51 = add nuw nsw i64 %36, 24
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %51, i32 noundef %50)
  ret i32 %.0

52:                                               ; preds = %3
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 147142, i32 noundef 82611, i32 noundef 106, i32 noundef 28119)
  tail call void @wasm_rt_trap(i32 noundef 5) #3
  unreachable

53:                                               ; preds = %4
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 205012, i32 noundef 82611, i32 noundef 255, i32 noundef 24720)
  tail call void @wasm_rt_trap(i32 noundef 5) #3
  unreachable
}

attributes #0 = { 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 #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 = { 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 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,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass