; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

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

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

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

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

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

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

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

declare i32 @w2c_hermes_llvh0x3A0x3AisCurrentDebugType0x28char0x20const0x2A0x29(ptr noundef, i32 noundef) #1

declare i32 @w2c_hermes_llvh0x3A0x3Adbgs0x280x29(ptr noundef) #1

declare i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Awrite0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1

declare i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28unsigned0x20long0x29(ptr noundef, i32 noundef, i32 noundef) #1

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

41:                                               ; preds = %3
  br label %262

42:                                               ; preds = %3
  %43 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %43, ptr %10, align 4, !tbaa !9
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.w2c_hermes, ptr %44, i32 0, i32 6
  %46 = load i32, ptr %10, align 4, !tbaa !9
  %47 = zext i32 %46 to i64
  %48 = add i64 %47, 4
  %49 = call i32 @i32_load(ptr noundef %45, i64 noundef %48)
  store i32 %49, ptr %10, align 4, !tbaa !9
  %50 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %50, ptr %8, align 4, !tbaa !9
  store i32 -9, ptr %11, align 4, !tbaa !9
  %51 = load i32, ptr %10, align 4, !tbaa !9
  %52 = load i32, ptr %11, align 4, !tbaa !9
  %53 = icmp ule i32 %51, %52
  %54 = zext i1 %53 to i32
  store i32 %54, ptr %10, align 4, !tbaa !9
  %55 = load i32, ptr %10, align 4, !tbaa !9
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %58

57:                                               ; preds = %42
  br label %262

58:                                               ; preds = %42
  %59 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %59, ptr %10, align 4, !tbaa !9
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.w2c_hermes, ptr %60, i32 0, i32 6
  %62 = load i32, ptr %10, align 4, !tbaa !9
  %63 = zext i32 %62 to i64
  %64 = add i64 %63, 48
  %65 = call i32 @i32_load(ptr noundef %61, i64 noundef %64)
  store i32 %65, ptr %10, align 4, !tbaa !9
  %66 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %66, ptr %9, align 4, !tbaa !9
  %67 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %67, ptr %10, align 4, !tbaa !9
  store i32 0, 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 %10, align 4, !tbaa !9
  %71 = zext i32 %70 to i64
  %72 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %69, i64 noundef %71, i32 noundef %72)
  %73 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %73, ptr %10, align 4, !tbaa !9
  %74 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %74, ptr %11, align 4, !tbaa !9
  store i32 3, ptr %12, align 4, !tbaa !9
  %75 = load i32, ptr %12, align 4, !tbaa !9
  %76 = load i32, ptr %11, align 4, !tbaa !9
  %77 = and i32 %76, %75
  store i32 %77, ptr %11, align 4, !tbaa !9
  %78 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %78, ptr %12, align 4, !tbaa !9
  store i32 2, ptr %13, align 4, !tbaa !9
  %79 = load i32, ptr %13, align 4, !tbaa !9
  %80 = and i32 %79, 31
  %81 = load i32, ptr %12, align 4, !tbaa !9
  %82 = shl i32 %81, %80
  store i32 %82, ptr %12, align 4, !tbaa !9
  %83 = load i32, ptr %12, align 4, !tbaa !9
  %84 = load i32, ptr %11, align 4, !tbaa !9
  %85 = or i32 %84, %83
  store i32 %85, ptr %11, align 4, !tbaa !9
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.w2c_hermes, ptr %86, i32 0, i32 6
  %88 = load i32, ptr %10, align 4, !tbaa !9
  %89 = zext i32 %88 to i64
  %90 = add i64 %89, 4
  %91 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %87, i64 noundef %90, i32 noundef %91)
  %92 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %92, ptr %10, align 4, !tbaa !9
  %93 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %93, ptr %11, align 4, !tbaa !9
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.w2c_hermes, ptr %94, i32 0, i32 6
  %96 = load i32, ptr %10, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = add i64 %97, 48
  %99 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %95, i64 noundef %98, i32 noundef %99)
  store i32 292576, ptr %10, align 4, !tbaa !9
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.w2c_hermes, ptr %100, i32 0, i32 6
  %102 = load i32, ptr %10, align 4, !tbaa !9
  %103 = zext i32 %102 to i64
  %104 = call i32 @i32_load8_u(ptr noundef %101, i64 noundef %103)
  store i32 %104, ptr %10, align 4, !tbaa !9
  %105 = load i32, ptr %10, align 4, !tbaa !9
  %106 = icmp ne i32 %105, 0
  %107 = xor i1 %106, true
  %108 = zext i1 %107 to i32
  store i32 %108, ptr %10, align 4, !tbaa !9
  %109 = load i32, ptr %10, align 4, !tbaa !9
  %110 = icmp ne i32 %109, 0
  br i1 %110, label %111, label %112

111:                                              ; preds = %58
  br label %261

112:                                              ; preds = %58
  store i32 97481, ptr %10, align 4, !tbaa !9
  %113 = load ptr, ptr %4, align 8, !tbaa !5
  %114 = load i32, ptr %10, align 4, !tbaa !9
  %115 = call i32 @w2c_hermes_llvh0x3A0x3AisCurrentDebugType0x28char0x20const0x2A0x29(ptr noundef %113, i32 noundef %114)
  store i32 %115, ptr %10, align 4, !tbaa !9
  %116 = load i32, ptr %10, align 4, !tbaa !9
  %117 = icmp ne i32 %116, 0
  %118 = xor i1 %117, true
  %119 = zext i1 %118 to i32
  store i32 %119, ptr %10, align 4, !tbaa !9
  %120 = load i32, ptr %10, align 4, !tbaa !9
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %122, label %123

122:                                              ; preds = %112
  br label %261

123:                                              ; preds = %112
  %124 = load ptr, ptr %4, align 8, !tbaa !5
  %125 = call i32 @w2c_hermes_llvh0x3A0x3Adbgs0x280x29(ptr noundef %124)
  store i32 %125, ptr %10, align 4, !tbaa !9
  %126 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %126, ptr %5, align 4, !tbaa !9
  %127 = load ptr, ptr %4, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.w2c_hermes, ptr %127, i32 0, i32 6
  %129 = load i32, ptr %10, align 4, !tbaa !9
  %130 = zext i32 %129 to i64
  %131 = add i64 %130, 8
  %132 = call i32 @i32_load(ptr noundef %128, i64 noundef %131)
  store i32 %132, ptr %10, align 4, !tbaa !9
  %133 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %133, ptr %11, align 4, !tbaa !9
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.w2c_hermes, ptr %134, i32 0, i32 6
  %136 = load i32, ptr %11, align 4, !tbaa !9
  %137 = zext i32 %136 to i64
  %138 = add i64 %137, 12
  %139 = call i32 @i32_load(ptr noundef %135, i64 noundef %138)
  store i32 %139, ptr %11, align 4, !tbaa !9
  %140 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %140, ptr %7, align 4, !tbaa !9
  %141 = load i32, ptr %11, align 4, !tbaa !9
  %142 = load i32, ptr %10, align 4, !tbaa !9
  %143 = sub i32 %142, %141
  store i32 %143, ptr %10, align 4, !tbaa !9
  store i32 10, ptr %11, align 4, !tbaa !9
  %144 = load i32, ptr %10, align 4, !tbaa !9
  %145 = load i32, ptr %11, align 4, !tbaa !9
  %146 = icmp ule i32 %144, %145
  %147 = zext i1 %146 to i32
  store i32 %147, ptr %10, align 4, !tbaa !9
  %148 = load i32, ptr %10, align 4, !tbaa !9
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %158

150:                                              ; preds = %123
  %151 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %151, ptr %10, align 4, !tbaa !9
  store i32 210382, ptr %11, align 4, !tbaa !9
  store i32 11, ptr %12, align 4, !tbaa !9
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = load i32, ptr %10, align 4, !tbaa !9
  %154 = load i32, ptr %11, align 4, !tbaa !9
  %155 = load i32, ptr %12, align 4, !tbaa !9
  %156 = call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Awrite0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %152, i32 noundef %153, i32 noundef %154, i32 noundef %155)
  store i32 %156, ptr %10, align 4, !tbaa !9
  %157 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %157, ptr %5, align 4, !tbaa !9
  br label %202

158:                                              ; preds = %123
  %159 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %159, ptr %10, align 4, !tbaa !9
  store i32 210382, ptr %11, align 4, !tbaa !9
  %160 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %160, ptr %8, align 4, !tbaa !9
  %161 = load ptr, ptr %4, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.w2c_hermes, ptr %161, i32 0, i32 6
  %163 = load i32, ptr %11, align 4, !tbaa !9
  %164 = zext i32 %163 to i64
  %165 = call i64 @i64_load(ptr noundef %162, i64 noundef %164)
  store i64 %165, ptr %15, align 8, !tbaa !11
  %166 = load ptr, ptr %4, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.w2c_hermes, ptr %166, i32 0, i32 6
  %168 = load i32, ptr %10, align 4, !tbaa !9
  %169 = zext i32 %168 to i64
  %170 = load i64, ptr %15, align 8, !tbaa !11
  call void @i64_store(ptr noundef %167, i64 noundef %169, i64 noundef %170)
  %171 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %171, ptr %10, align 4, !tbaa !9
  %172 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %172, ptr %11, align 4, !tbaa !9
  %173 = load ptr, ptr %4, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.w2c_hermes, ptr %173, i32 0, i32 6
  %175 = load i32, ptr %11, align 4, !tbaa !9
  %176 = zext i32 %175 to i64
  %177 = add i64 %176, 7
  %178 = call i32 @i32_load(ptr noundef %174, i64 noundef %177)
  store i32 %178, ptr %11, align 4, !tbaa !9
  %179 = load ptr, ptr %4, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.w2c_hermes, ptr %179, i32 0, i32 6
  %181 = load i32, ptr %10, align 4, !tbaa !9
  %182 = zext i32 %181 to i64
  %183 = add i64 %182, 7
  %184 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %180, i64 noundef %183, i32 noundef %184)
  %185 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %185, ptr %10, align 4, !tbaa !9
  %186 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %186, ptr %11, align 4, !tbaa !9
  %187 = load ptr, ptr %4, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.w2c_hermes, ptr %187, i32 0, i32 6
  %189 = load i32, ptr %11, align 4, !tbaa !9
  %190 = zext i32 %189 to i64
  %191 = add i64 %190, 12
  %192 = call i32 @i32_load(ptr noundef %188, i64 noundef %191)
  store i32 %192, ptr %11, align 4, !tbaa !9
  store i32 11, ptr %12, align 4, !tbaa !9
  %193 = load i32, ptr %12, align 4, !tbaa !9
  %194 = load i32, ptr %11, align 4, !tbaa !9
  %195 = add i32 %194, %193
  store i32 %195, ptr %11, align 4, !tbaa !9
  %196 = load ptr, ptr %4, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.w2c_hermes, ptr %196, i32 0, i32 6
  %198 = load i32, ptr %10, align 4, !tbaa !9
  %199 = zext i32 %198 to i64
  %200 = add i64 %199, 12
  %201 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %197, i64 noundef %200, i32 noundef %201)
  br label %202

202:                                              ; preds = %158, %150
  %203 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %203, ptr %10, align 4, !tbaa !9
  %204 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %204, ptr %11, align 4, !tbaa !9
  %205 = load ptr, ptr %4, align 8, !tbaa !5
  %206 = load i32, ptr %10, align 4, !tbaa !9
  %207 = load i32, ptr %11, align 4, !tbaa !9
  %208 = call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28unsigned0x20long0x29(ptr noundef %205, i32 noundef %206, i32 noundef %207)
  store i32 %208, ptr %10, align 4, !tbaa !9
  %209 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %209, ptr %5, 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 %10, align 4, !tbaa !9
  %213 = zext i32 %212 to i64
  %214 = add i64 %213, 8
  %215 = call i32 @i32_load(ptr noundef %211, i64 noundef %214)
  store i32 %215, ptr %10, align 4, !tbaa !9
  %216 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %216, ptr %11, align 4, !tbaa !9
  %217 = load ptr, ptr %4, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.w2c_hermes, ptr %217, i32 0, i32 6
  %219 = load i32, ptr %11, align 4, !tbaa !9
  %220 = zext i32 %219 to i64
  %221 = add i64 %220, 12
  %222 = call i32 @i32_load(ptr noundef %218, i64 noundef %221)
  store i32 %222, ptr %11, align 4, !tbaa !9
  %223 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %223, ptr %7, align 4, !tbaa !9
  %224 = load i32, ptr %10, align 4, !tbaa !9
  %225 = load i32, ptr %11, align 4, !tbaa !9
  %226 = icmp eq i32 %224, %225
  %227 = zext i1 %226 to i32
  store i32 %227, ptr %10, align 4, !tbaa !9
  %228 = load i32, ptr %10, align 4, !tbaa !9
  %229 = icmp ne i32 %228, 0
  br i1 %229, label %230, label %237

230:                                              ; preds = %202
  %231 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %231, ptr %10, align 4, !tbaa !9
  store i32 213024, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %232 = load ptr, ptr %4, align 8, !tbaa !5
  %233 = load i32, ptr %10, align 4, !tbaa !9
  %234 = load i32, ptr %11, align 4, !tbaa !9
  %235 = load i32, ptr %12, align 4, !tbaa !9
  %236 = call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Awrite0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %232, i32 noundef %233, i32 noundef %234, i32 noundef %235)
  store i32 %236, ptr %10, align 4, !tbaa !9
  br label %280

237:                                              ; preds = %202
  %238 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %238, ptr %10, align 4, !tbaa !9
  store i32 10, ptr %11, align 4, !tbaa !9
  %239 = load ptr, ptr %4, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.w2c_hermes, ptr %239, i32 0, i32 6
  %241 = load i32, ptr %10, align 4, !tbaa !9
  %242 = zext i32 %241 to i64
  %243 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %240, i64 noundef %242, i32 noundef %243)
  %244 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %244, ptr %10, align 4, !tbaa !9
  %245 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %245, ptr %11, align 4, !tbaa !9
  %246 = load ptr, ptr %4, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.w2c_hermes, ptr %246, i32 0, i32 6
  %248 = load i32, ptr %11, align 4, !tbaa !9
  %249 = zext i32 %248 to i64
  %250 = add i64 %249, 12
  %251 = call i32 @i32_load(ptr noundef %247, i64 noundef %250)
  store i32 %251, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %252 = load i32, ptr %12, align 4, !tbaa !9
  %253 = load i32, ptr %11, align 4, !tbaa !9
  %254 = add i32 %253, %252
  store i32 %254, ptr %11, align 4, !tbaa !9
  %255 = load ptr, ptr %4, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.w2c_hermes, ptr %255, i32 0, i32 6
  %257 = load i32, ptr %10, align 4, !tbaa !9
  %258 = zext i32 %257 to i64
  %259 = add i64 %258, 12
  %260 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %256, i64 noundef %259, i32 noundef %260)
  br label %261

261:                                              ; preds = %237, %122, %111
  br label %280

262:                                              ; preds = %57, %41
  store i32 0, ptr %10, align 4, !tbaa !9
  %263 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %263, ptr %5, align 4, !tbaa !9
  store i32 183412, ptr %11, align 4, !tbaa !9
  %264 = load i32, ptr %11, align 4, !tbaa !9
  %265 = load i32, ptr %10, align 4, !tbaa !9
  %266 = add i32 %265, %264
  store i32 %266, ptr %10, align 4, !tbaa !9
  %267 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %267, ptr %11, align 4, !tbaa !9
  store i32 61125, ptr %12, align 4, !tbaa !9
  %268 = load i32, ptr %12, align 4, !tbaa !9
  %269 = load i32, ptr %11, align 4, !tbaa !9
  %270 = add i32 %269, %268
  store i32 %270, ptr %11, align 4, !tbaa !9
  store i32 484, ptr %12, align 4, !tbaa !9
  %271 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %271, ptr %13, align 4, !tbaa !9
  store i32 109626, ptr %14, align 4, !tbaa !9
  %272 = load i32, ptr %14, align 4, !tbaa !9
  %273 = load i32, ptr %13, align 4, !tbaa !9
  %274 = add i32 %273, %272
  store i32 %274, ptr %13, align 4, !tbaa !9
  %275 = load ptr, ptr %4, align 8, !tbaa !5
  %276 = load i32, ptr %10, align 4, !tbaa !9
  %277 = load i32, ptr %11, align 4, !tbaa !9
  %278 = load i32, ptr %12, align 4, !tbaa !9
  %279 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %275, i32 noundef %276, i32 noundef %277, i32 noundef %278, i32 noundef %279)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

280:                                              ; preds = %261, %230
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  ret void
}

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


; 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"

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 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 i32 @i32_load8_u(ptr noundef, i64 noundef) local_unnamed_addr #2

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

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

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

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

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

declare i32 @w2c_hermes_llvh0x3A0x3AisCurrentDebugType0x28char0x20const0x2A0x29(ptr noundef, i32 noundef) local_unnamed_addr #0

declare i32 @w2c_hermes_llvh0x3A0x3Adbgs0x280x29(ptr noundef) local_unnamed_addr #0

declare i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Awrite0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28unsigned0x20long0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AfreeID0x28unsigned0x20int0x29(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 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %5)
  %7 = mul i32 %2, 12
  %8 = add i32 %6, %7
  %9 = zext i32 %8 to i64
  %10 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %9)
  %.not = icmp eq i32 %10, 0
  br i1 %.not, label %56, label %11

11:                                               ; preds = %3
  %12 = add nuw nsw i64 %9, 4
  %13 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %12)
  %14 = icmp ult i32 %13, -8
  br i1 %14, label %56, label %15

15:                                               ; preds = %11
  %16 = add nuw nsw i64 %5, 48
  %17 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %16)
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %9, i32 noundef 0)
  %18 = and i32 %13, 3
  %19 = shl i32 %17, 2
  %20 = or disjoint i32 %19, %18
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %12, i32 noundef %20)
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %16, i32 noundef %2)
  %21 = tail call i32 @i32_load8_u(ptr noundef nonnull %4, i64 noundef 292576)
  %.not143 = icmp eq i32 %21, 0
  br i1 %.not143, label %57, label %22

22:                                               ; preds = %15
  %23 = tail call i32 @w2c_hermes_llvh0x3A0x3AisCurrentDebugType0x28char0x20const0x2A0x29(ptr noundef %0, i32 noundef 97481) #4
  %.not144 = icmp eq i32 %23, 0
  br i1 %.not144, label %57, label %24

24:                                               ; preds = %22
  %25 = tail call i32 @w2c_hermes_llvh0x3A0x3Adbgs0x280x29(ptr noundef %0) #4
  %26 = zext i32 %25 to i64
  %27 = add nuw nsw i64 %26, 8
  %28 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %27)
  %29 = add nuw nsw i64 %26, 12
  %30 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %29)
  %31 = sub i32 %28, %30
  %32 = icmp ult i32 %31, 11
  br i1 %32, label %33, label %35

33:                                               ; preds = %24
  %34 = tail call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Awrite0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %0, i32 noundef %25, i32 noundef 210382, i32 noundef 11) #4
  br label %42

35:                                               ; preds = %24
  %36 = tail call i64 @i64_load(ptr noundef nonnull %4, i64 noundef 210382)
  %37 = zext i32 %30 to i64
  tail call void @i64_store(ptr noundef nonnull %4, i64 noundef %37, i64 noundef %36)
  %38 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef 210389)
  %39 = add nuw nsw i64 %37, 7
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %39, i32 noundef %38)
  %40 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %29)
  %41 = add i32 %40, 11
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %29, i32 noundef %41)
  br label %42

42:                                               ; preds = %35, %33
  %.0 = phi i32 [ %34, %33 ], [ %25, %35 ]
  %43 = tail call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28unsigned0x20long0x29(ptr noundef %0, i32 noundef %.0, i32 noundef %2) #4
  %44 = zext i32 %43 to i64
  %45 = add nuw nsw i64 %44, 8
  %46 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %45)
  %47 = add nuw nsw i64 %44, 12
  %48 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %47)
  %49 = icmp eq i32 %46, %48
  br i1 %49, label %50, label %52

50:                                               ; preds = %42
  %51 = tail call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Awrite0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %0, i32 noundef %43, i32 noundef 213024, i32 noundef 1) #4
  br label %57

52:                                               ; preds = %42
  %53 = zext i32 %48 to i64
  tail call void @i32_store8(ptr noundef nonnull %4, i64 noundef %53, i32 noundef 10)
  %54 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %47)
  %55 = add i32 %54, 1
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %47, i32 noundef %55)
  br label %57

56:                                               ; preds = %11, %3
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 183412, i32 noundef 61125, i32 noundef 484, i32 noundef 109626) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

57:                                               ; preds = %52, %15, %22, %50
  ret void
}

attributes #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 = { 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 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