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

; 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 void @i32_store8(ptr noundef, i64 noundef, i32 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 i32 @i32_load(ptr noundef, i64 noundef) #1

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

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

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

declare i32 @w2c_hermes_hermes0x3A0x3ASourceErrorManager0x3A0x3AconvertEndToLocation0x28llvh0x3A0x3ASMRange0x29(ptr noundef, i32 noundef) #3

declare i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateReturnInst0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Airgen0x3A0x3AESTreeIRGen0x3A0x3AemitFunctionEpilogue0x28hermes0x3A0x3AValue0x2A0x29(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 i64, align 8
  %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 8, ptr %9) #5
  store i64 0, ptr %9, align 8, !tbaa !11
  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 ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.w2c_hermes, ptr %16, i32 0, i32 3
  %18 = load i32, ptr %17, align 8, !tbaa !13
  store i32 %18, ptr %10, align 4, !tbaa !9
  store i32 16, ptr %11, align 4, !tbaa !9
  %19 = load i32, ptr %11, align 4, !tbaa !9
  %20 = load i32, ptr %10, align 4, !tbaa !9
  %21 = sub i32 %20, %19
  store i32 %21, ptr %10, align 4, !tbaa !9
  %22 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %22, ptr %7, align 4, !tbaa !9
  %23 = load i32, ptr %10, align 4, !tbaa !9
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.w2c_hermes, ptr %24, i32 0, i32 3
  store i32 %23, ptr %25, align 8, !tbaa !13
  %26 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %26, ptr %10, align 4, !tbaa !9
  %27 = load i32, ptr %10, align 4, !tbaa !9
  %28 = icmp ne i32 %27, 0
  br i1 %28, label %29, label %94

29:                                               ; preds = %3
  %30 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %30, ptr %10, align 4, !tbaa !9
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.w2c_hermes, ptr %31, i32 0, i32 6
  %33 = load i32, ptr %10, align 4, !tbaa !9
  %34 = zext i32 %33 to i64
  %35 = add i64 %34, 12
  %36 = call i32 @i32_load(ptr noundef %32, i64 noundef %35)
  store i32 %36, ptr %10, align 4, !tbaa !9
  %37 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %37, ptr %8, align 4, !tbaa !9
  %38 = load i32, ptr %10, align 4, !tbaa !9
  %39 = icmp ne i32 %38, 0
  %40 = xor i1 %39, true
  %41 = zext i1 %40 to i32
  store i32 %41, ptr %10, align 4, !tbaa !9
  %42 = load i32, ptr %10, align 4, !tbaa !9
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %44, label %45

44:                                               ; preds = %29
  br label %201

45:                                               ; preds = %29
  %46 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %46, ptr %10, align 4, !tbaa !9
  %47 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %47, ptr %11, align 4, !tbaa !9
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.w2c_hermes, ptr %48, i32 0, i32 6
  %50 = load i32, ptr %11, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = add i64 %51, 44
  %53 = call i32 @i32_load(ptr noundef %49, i64 noundef %52)
  store i32 %53, ptr %11, align 4, !tbaa !9
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.w2c_hermes, ptr %54, i32 0, i32 6
  %56 = load i32, ptr %11, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = add i64 %57, 112
  %59 = call i64 @i64_load(ptr noundef %55, i64 noundef %58)
  store i64 %59, ptr %15, align 8, !tbaa !11
  %60 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %60, ptr %9, align 8, !tbaa !11
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.w2c_hermes, ptr %61, i32 0, i32 6
  %63 = load i32, ptr %10, align 4, !tbaa !9
  %64 = zext i32 %63 to i64
  %65 = load i64, ptr %15, align 8, !tbaa !11
  call void @i64_store(ptr noundef %62, i64 noundef %64, i64 noundef %65)
  %66 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %66, ptr %10, align 4, !tbaa !9
  %67 = load i64, ptr %9, align 8, !tbaa !11
  store i64 %67, ptr %15, align 8, !tbaa !11
  %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 = add i64 %71, 8
  %73 = load i64, ptr %15, align 8, !tbaa !11
  call void @i64_store(ptr noundef %69, i64 noundef %72, i64 noundef %73)
  %74 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %74, ptr %10, align 4, !tbaa !9
  %75 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %75, ptr %11, align 4, !tbaa !9
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = load i32, ptr %11, align 4, !tbaa !9
  %78 = call i32 @w2c_hermes_hermes0x3A0x3ASourceErrorManager0x3A0x3AconvertEndToLocation0x28llvh0x3A0x3ASMRange0x29(ptr noundef %76, i32 noundef %77)
  store i32 %78, ptr %11, align 4, !tbaa !9
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.w2c_hermes, ptr %79, i32 0, i32 6
  %81 = load i32, ptr %10, align 4, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = add i64 %82, 16
  %84 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %80, i64 noundef %83, i32 noundef %84)
  %85 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %85, ptr %10, align 4, !tbaa !9
  store i32 4, ptr %11, align 4, !tbaa !9
  %86 = load i32, ptr %11, align 4, !tbaa !9
  %87 = load i32, ptr %10, align 4, !tbaa !9
  %88 = add i32 %87, %86
  store i32 %88, ptr %10, align 4, !tbaa !9
  %89 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %89, ptr %11, align 4, !tbaa !9
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = load i32, ptr %10, align 4, !tbaa !9
  %92 = load i32, ptr %11, align 4, !tbaa !9
  %93 = call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateReturnInst0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %90, i32 noundef %91, i32 noundef %92)
  store i32 %93, ptr %10, align 4, !tbaa !9
  br label %94

94:                                               ; preds = %45, %3
  %95 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %95, ptr %10, 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, 40
  %101 = call i32 @i32_load(ptr noundef %97, i64 noundef %100)
  store i32 %101, ptr %10, align 4, !tbaa !9
  %102 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %102, ptr %6, align 4, !tbaa !9
  %103 = load i32, ptr %10, align 4, !tbaa !9
  %104 = icmp ne i32 %103, 0
  %105 = xor i1 %104, true
  %106 = zext i1 %105 to i32
  store i32 %106, ptr %10, align 4, !tbaa !9
  %107 = load i32, ptr %10, align 4, !tbaa !9
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %109, label %110

109:                                              ; preds = %94
  br label %219

110:                                              ; preds = %94
  %111 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %111, ptr %10, align 4, !tbaa !9
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.w2c_hermes, ptr %112, i32 0, i32 6
  %114 = load i32, ptr %10, align 4, !tbaa !9
  %115 = zext i32 %114 to i64
  %116 = add i64 %115, 88
  %117 = call i32 @i32_load(ptr noundef %113, i64 noundef %116)
  store i32 %117, ptr %10, align 4, !tbaa !9
  store i32 8, ptr %11, align 4, !tbaa !9
  %118 = load i32, ptr %11, align 4, !tbaa !9
  %119 = load i32, ptr %10, align 4, !tbaa !9
  %120 = add i32 %119, %118
  store i32 %120, ptr %10, align 4, !tbaa !9
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  %122 = load i32, ptr %10, align 4, !tbaa !9
  %123 = call i32 @w2c_hermes_hermes0x3A0x3AValue0x3A0x3AhasUsers0x280x290x20const(ptr noundef %121, i32 noundef %122)
  store i32 %123, ptr %10, align 4, !tbaa !9
  %124 = load i32, ptr %10, align 4, !tbaa !9
  %125 = icmp ne i32 %124, 0
  %126 = xor i1 %125, true
  %127 = zext i1 %126 to i32
  store i32 %127, ptr %10, align 4, !tbaa !9
  %128 = load i32, ptr %10, align 4, !tbaa !9
  %129 = icmp ne i32 %128, 0
  br i1 %129, label %130, label %156

130:                                              ; preds = %110
  %131 = load i32, ptr %5, 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, 40
  %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 %6, align 4, !tbaa !9
  %139 = load i32, ptr %10, align 4, !tbaa !9
  %140 = icmp ne i32 %139, 0
  %141 = xor i1 %140, true
  %142 = zext i1 %141 to i32
  store i32 %142, ptr %10, align 4, !tbaa !9
  %143 = load i32, ptr %10, align 4, !tbaa !9
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %146

145:                                              ; preds = %130
  br label %237

146:                                              ; preds = %130
  %147 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %147, ptr %10, align 4, !tbaa !9
  %148 = load ptr, ptr %4, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.w2c_hermes, ptr %148, i32 0, i32 6
  %150 = load i32, ptr %10, align 4, !tbaa !9
  %151 = zext i32 %150 to i64
  %152 = add i64 %151, 88
  %153 = call i32 @i32_load(ptr noundef %149, i64 noundef %152)
  store i32 %153, ptr %10, align 4, !tbaa !9
  %154 = load ptr, ptr %4, align 8, !tbaa !5
  %155 = load i32, ptr %10, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AeraseFromParent0x280x29(ptr noundef %154, i32 noundef %155)
  br label %156

156:                                              ; preds = %146, %110
  %157 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %157, ptr %10, 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 %10, align 4, !tbaa !9
  %161 = zext i32 %160 to i64
  %162 = add i64 %161, 40
  %163 = call i32 @i32_load(ptr noundef %159, i64 noundef %162)
  store i32 %163, ptr %10, align 4, !tbaa !9
  %164 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %164, ptr %5, align 4, !tbaa !9
  %165 = load i32, ptr %10, align 4, !tbaa !9
  %166 = icmp ne i32 %165, 0
  %167 = xor i1 %166, true
  %168 = zext i1 %167 to i32
  store i32 %168, ptr %10, align 4, !tbaa !9
  %169 = load i32, ptr %10, align 4, !tbaa !9
  %170 = icmp ne i32 %169, 0
  br i1 %170, label %171, label %172

171:                                              ; preds = %156
  br label %255

172:                                              ; preds = %156
  %173 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %173, ptr %10, align 4, !tbaa !9
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.w2c_hermes, ptr %174, i32 0, i32 6
  %176 = load i32, ptr %10, align 4, !tbaa !9
  %177 = zext i32 %176 to i64
  %178 = add i64 %177, 60
  %179 = call i32 @i32_load(ptr noundef %175, i64 noundef %178)
  store i32 %179, ptr %10, align 4, !tbaa !9
  %180 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %180, ptr %5, align 4, !tbaa !9
  store i32 0, ptr %11, align 4, !tbaa !9
  %181 = load ptr, ptr %4, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.w2c_hermes, ptr %181, i32 0, i32 6
  %183 = load i32, ptr %10, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  %185 = add i64 %184, 136
  %186 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %182, i64 noundef %185, i32 noundef %186)
  %187 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %187, ptr %10, align 4, !tbaa !9
  store i32 0, ptr %11, align 4, !tbaa !9
  %188 = load ptr, ptr %4, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.w2c_hermes, ptr %188, i32 0, i32 6
  %190 = load i32, ptr %10, align 4, !tbaa !9
  %191 = zext i32 %190 to i64
  %192 = add i64 %191, 140
  %193 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %189, i64 noundef %192, i32 noundef %193)
  %194 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %194, ptr %10, align 4, !tbaa !9
  store i32 16, ptr %11, align 4, !tbaa !9
  %195 = load i32, ptr %11, align 4, !tbaa !9
  %196 = load i32, ptr %10, align 4, !tbaa !9
  %197 = add i32 %196, %195
  store i32 %197, ptr %10, align 4, !tbaa !9
  %198 = load i32, ptr %10, align 4, !tbaa !9
  %199 = load ptr, ptr %4, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.w2c_hermes, ptr %199, i32 0, i32 3
  store i32 %198, ptr %200, align 8, !tbaa !13
  br label %273

201:                                              ; preds = %44
  store i32 0, ptr %10, align 4, !tbaa !9
  %202 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %202, ptr %5, align 4, !tbaa !9
  store i32 152722, ptr %11, align 4, !tbaa !9
  %203 = load i32, ptr %11, align 4, !tbaa !9
  %204 = load i32, ptr %10, align 4, !tbaa !9
  %205 = add i32 %204, %203
  store i32 %205, ptr %10, align 4, !tbaa !9
  %206 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %206, ptr %11, align 4, !tbaa !9
  store i32 80936, ptr %12, align 4, !tbaa !9
  %207 = load i32, ptr %12, align 4, !tbaa !9
  %208 = load i32, ptr %11, align 4, !tbaa !9
  %209 = add i32 %208, %207
  store i32 %209, ptr %11, align 4, !tbaa !9
  store i32 228, ptr %12, align 4, !tbaa !9
  %210 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %210, ptr %13, align 4, !tbaa !9
  store i32 65834, ptr %14, align 4, !tbaa !9
  %211 = load i32, ptr %14, align 4, !tbaa !9
  %212 = load i32, ptr %13, align 4, !tbaa !9
  %213 = add i32 %212, %211
  store i32 %213, ptr %13, align 4, !tbaa !9
  %214 = load ptr, ptr %4, align 8, !tbaa !5
  %215 = load i32, ptr %10, align 4, !tbaa !9
  %216 = load i32, ptr %11, align 4, !tbaa !9
  %217 = load i32, ptr %12, align 4, !tbaa !9
  %218 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %214, i32 noundef %215, i32 noundef %216, i32 noundef %217, i32 noundef %218)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

219:                                              ; preds = %109
  store i32 0, ptr %10, align 4, !tbaa !9
  %220 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %220, ptr %5, align 4, !tbaa !9
  store i32 128500, ptr %11, align 4, !tbaa !9
  %221 = load i32, ptr %11, align 4, !tbaa !9
  %222 = load i32, ptr %10, align 4, !tbaa !9
  %223 = add i32 %222, %221
  store i32 %223, ptr %10, align 4, !tbaa !9
  %224 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %224, ptr %11, align 4, !tbaa !9
  store i32 82008, ptr %12, align 4, !tbaa !9
  %225 = load i32, ptr %12, align 4, !tbaa !9
  %226 = load i32, ptr %11, align 4, !tbaa !9
  %227 = add i32 %226, %225
  store i32 %227, ptr %11, align 4, !tbaa !9
  store i32 964, ptr %12, align 4, !tbaa !9
  %228 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %228, ptr %13, align 4, !tbaa !9
  store i32 65865, ptr %14, align 4, !tbaa !9
  %229 = load i32, ptr %14, align 4, !tbaa !9
  %230 = load i32, ptr %13, align 4, !tbaa !9
  %231 = add i32 %230, %229
  store i32 %231, ptr %13, 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 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %232, i32 noundef %233, i32 noundef %234, i32 noundef %235, i32 noundef %236)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

237:                                              ; preds = %145
  store i32 0, ptr %10, align 4, !tbaa !9
  %238 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %238, ptr %5, align 4, !tbaa !9
  store i32 128500, ptr %11, align 4, !tbaa !9
  %239 = load i32, ptr %11, align 4, !tbaa !9
  %240 = load i32, ptr %10, align 4, !tbaa !9
  %241 = add i32 %240, %239
  store i32 %241, ptr %10, align 4, !tbaa !9
  %242 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %242, ptr %11, align 4, !tbaa !9
  store i32 82008, ptr %12, align 4, !tbaa !9
  %243 = load i32, ptr %12, align 4, !tbaa !9
  %244 = load i32, ptr %11, align 4, !tbaa !9
  %245 = add i32 %244, %243
  store i32 %245, ptr %11, align 4, !tbaa !9
  store i32 964, ptr %12, align 4, !tbaa !9
  %246 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %246, ptr %13, align 4, !tbaa !9
  store i32 65865, ptr %14, align 4, !tbaa !9
  %247 = load i32, ptr %14, align 4, !tbaa !9
  %248 = load i32, ptr %13, align 4, !tbaa !9
  %249 = add i32 %248, %247
  store i32 %249, ptr %13, align 4, !tbaa !9
  %250 = load ptr, ptr %4, align 8, !tbaa !5
  %251 = load i32, ptr %10, align 4, !tbaa !9
  %252 = load i32, ptr %11, align 4, !tbaa !9
  %253 = load i32, ptr %12, align 4, !tbaa !9
  %254 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %250, i32 noundef %251, i32 noundef %252, i32 noundef %253, i32 noundef %254)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

255:                                              ; preds = %171
  store i32 0, ptr %10, align 4, !tbaa !9
  %256 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %256, ptr %5, align 4, !tbaa !9
  store i32 128500, ptr %11, align 4, !tbaa !9
  %257 = load i32, ptr %11, align 4, !tbaa !9
  %258 = load i32, ptr %10, align 4, !tbaa !9
  %259 = add i32 %258, %257
  store i32 %259, ptr %10, align 4, !tbaa !9
  %260 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %260, ptr %11, align 4, !tbaa !9
  store i32 82008, ptr %12, align 4, !tbaa !9
  %261 = load i32, ptr %12, align 4, !tbaa !9
  %262 = load i32, ptr %11, align 4, !tbaa !9
  %263 = add i32 %262, %261
  store i32 %263, ptr %11, align 4, !tbaa !9
  store i32 964, ptr %12, align 4, !tbaa !9
  %264 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %264, ptr %13, align 4, !tbaa !9
  store i32 65865, ptr %14, align 4, !tbaa !9
  %265 = load i32, ptr %14, align 4, !tbaa !9
  %266 = load i32, ptr %13, align 4, !tbaa !9
  %267 = add i32 %266, %265
  store i32 %267, ptr %13, align 4, !tbaa !9
  %268 = load ptr, ptr %4, align 8, !tbaa !5
  %269 = load i32, ptr %10, align 4, !tbaa !9
  %270 = load i32, ptr %11, align 4, !tbaa !9
  %271 = load i32, ptr %12, align 4, !tbaa !9
  %272 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %268, i32 noundef %269, i32 noundef %270, i32 noundef %271, i32 noundef %272)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

273:                                              ; preds = %172
  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 8, 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
}

declare i32 @w2c_hermes_hermes0x3A0x3AValue0x3A0x3AhasUsers0x280x290x20const(ptr noundef, i32 noundef) #3

declare void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AeraseFromParent0x280x29(ptr noundef, i32 noundef) #3

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 = { "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}
!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: inlinehint nounwind uwtable
declare hidden void @i32_store8(ptr noundef, i64 noundef, 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 #0

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

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

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

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

declare i32 @w2c_hermes_hermes0x3A0x3ASourceErrorManager0x3A0x3AconvertEndToLocation0x28llvh0x3A0x3ASMRange0x29(ptr noundef, i32 noundef) local_unnamed_addr #2

declare i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateReturnInst0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Airgen0x3A0x3AESTreeIRGen0x3A0x3AemitFunctionEpilogue0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #3 {
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = add i32 %5, -16
  store i32 %6, ptr %4, align 8, !tbaa !5
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %._crit_edge, label %7

._crit_edge:                                      ; preds = %3
  %.pre = zext i32 %1 to i64
  br label %25

7:                                                ; preds = %3
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %1 to i64
  %10 = add nuw nsw i64 %9, 12
  %11 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %10)
  %.not146 = icmp eq i32 %11, 0
  br i1 %.not146, label %50, label %12

12:                                               ; preds = %7
  %13 = zext i32 %11 to i64
  %14 = add nuw nsw i64 %13, 44
  %15 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %14)
  %16 = zext i32 %15 to i64
  %17 = add nuw nsw i64 %16, 112
  %18 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %17)
  %19 = zext i32 %6 to i64
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %19, i64 noundef %18)
  %20 = add nuw nsw i64 %19, 8
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %20, i64 noundef %18)
  %21 = tail call i32 @w2c_hermes_hermes0x3A0x3ASourceErrorManager0x3A0x3AconvertEndToLocation0x28llvh0x3A0x3ASMRange0x29(ptr noundef nonnull %0, i32 noundef %6) #4
  %22 = add nuw nsw i64 %9, 16
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %22, i32 noundef %21)
  %23 = add i32 %1, 4
  %24 = tail call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateReturnInst0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef nonnull %0, i32 noundef %23, i32 noundef %2) #4
  br label %25

25:                                               ; preds = %._crit_edge, %12
  %.pre-phi = phi i64 [ %.pre, %._crit_edge ], [ %9, %12 ]
  %26 = getelementptr inbounds i8, ptr %0, i64 40
  %27 = add nuw nsw i64 %.pre-phi, 40
  %28 = tail call i32 @i32_load(ptr noundef nonnull %26, i64 noundef %27)
  %.not147 = icmp eq i32 %28, 0
  br i1 %.not147, label %51, label %29

29:                                               ; preds = %25
  %30 = zext i32 %28 to i64
  %31 = add nuw nsw i64 %30, 88
  %32 = tail call i32 @i32_load(ptr noundef nonnull %26, i64 noundef %31)
  %33 = add i32 %32, 8
  %34 = tail call i32 @w2c_hermes_hermes0x3A0x3AValue0x3A0x3AhasUsers0x280x290x20const(ptr noundef nonnull %0, i32 noundef %33) #4
  %.not148 = icmp eq i32 %34, 0
  br i1 %.not148, label %35, label %41

35:                                               ; preds = %29
  %36 = tail call i32 @i32_load(ptr noundef nonnull %26, i64 noundef %27)
  %.not149 = icmp eq i32 %36, 0
  br i1 %.not149, label %52, label %37

37:                                               ; preds = %35
  %38 = zext i32 %36 to i64
  %39 = add nuw nsw i64 %38, 88
  %40 = tail call i32 @i32_load(ptr noundef nonnull %26, i64 noundef %39)
  tail call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AeraseFromParent0x280x29(ptr noundef nonnull %0, i32 noundef %40) #4
  br label %41

41:                                               ; preds = %37, %29
  %42 = tail call i32 @i32_load(ptr noundef nonnull %26, i64 noundef %27)
  %.not150 = icmp eq i32 %42, 0
  br i1 %.not150, label %53, label %43

43:                                               ; preds = %41
  %44 = zext i32 %42 to i64
  %45 = add nuw nsw i64 %44, 60
  %46 = tail call i32 @i32_load(ptr noundef nonnull %26, i64 noundef %45)
  %47 = zext i32 %46 to i64
  %48 = add nuw nsw i64 %47, 136
  tail call void @i32_store(ptr noundef nonnull %26, i64 noundef %48, i32 noundef 0)
  %49 = add nuw nsw i64 %47, 140
  tail call void @i32_store8(ptr noundef nonnull %26, i64 noundef %49, i32 noundef 0)
  store i32 %5, ptr %4, align 8, !tbaa !5
  ret void

50:                                               ; preds = %7
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 152722, i32 noundef 80936, i32 noundef 228, i32 noundef 65834) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

51:                                               ; preds = %25
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 128500, i32 noundef 82008, i32 noundef 964, i32 noundef 65865) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

52:                                               ; preds = %35
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 128500, i32 noundef 82008, i32 noundef 964, i32 noundef 65865) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

53:                                               ; preds = %41
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 128500, i32 noundef 82008, i32 noundef 964, i32 noundef 65865) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

declare i32 @w2c_hermes_hermes0x3A0x3AValue0x3A0x3AhasUsers0x280x290x20const(ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AeraseFromParent0x280x29(ptr 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)"}
!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,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass