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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }

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

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

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store8(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: nounwind uwtable
declare dso_local void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef, i32 noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3APhiInst0x3A0x3APhiInst0x28llvh0x3A0x3ASmallVector0x3Chermes0x3A0x3AValue0x2A0x2C0x208u0x3E0x20const0x260x2C0x20llvh0x3A0x3ASmallVector0x3Chermes0x3A0x3ABasicBlock0x2A0x2C0x208u0x3E0x20const0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #4 {
  %5 = alloca ptr, align 8
  %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 i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, 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
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  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 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %18 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %18, ptr %12, align 4, !tbaa !9
  store i64 0, ptr %17, align 8, !tbaa !11
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.w2c_hermes, ptr %19, i32 0, i32 6
  %21 = load i32, ptr %12, align 4, !tbaa !9
  %22 = zext i32 %21 to i64
  %23 = add i64 %22, 68
  %24 = load i64, ptr %17, align 8, !tbaa !11
  call void @i64_store(ptr noundef %20, i64 noundef %23, i64 noundef %24)
  %25 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %25, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.w2c_hermes, ptr %26, i32 0, i32 6
  %28 = load i32, ptr %12, align 4, !tbaa !9
  %29 = zext i32 %28 to i64
  %30 = add i64 %29, 36
  %31 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %27, i64 noundef %30, i32 noundef %31)
  %32 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %32, ptr %12, align 4, !tbaa !9
  store i32 33, ptr %13, align 4, !tbaa !9
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.w2c_hermes, ptr %33, i32 0, i32 6
  %35 = load i32, ptr %12, align 4, !tbaa !9
  %36 = zext i32 %35 to i64
  %37 = add i64 %36, 8
  %38 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %34, i64 noundef %37, i32 noundef %38)
  %39 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %39, ptr %12, align 4, !tbaa !9
  store i64 8589934592, ptr %17, align 8, !tbaa !11
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.w2c_hermes, ptr %40, i32 0, i32 6
  %42 = load i32, ptr %12, align 4, !tbaa !9
  %43 = zext i32 %42 to i64
  %44 = add i64 %43, 20
  %45 = load i64, ptr %17, align 8, !tbaa !11
  call void @i64_store(ptr noundef %41, i64 noundef %44, i64 noundef %45)
  %46 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %46, ptr %12, align 4, !tbaa !9
  store i32 459775, ptr %13, align 4, !tbaa !9
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.w2c_hermes, ptr %47, i32 0, i32 6
  %49 = load i32, ptr %12, align 4, !tbaa !9
  %50 = zext i32 %49 to i64
  %51 = add i64 %50, 10
  %52 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %48, i64 noundef %51, i32 noundef %52)
  %53 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %53, ptr %12, align 4, !tbaa !9
  store i64 0, ptr %17, align 8, !tbaa !11
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.w2c_hermes, ptr %54, i32 0, i32 6
  %56 = load i32, ptr %12, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = load i64, ptr %17, align 8, !tbaa !11
  call void @i64_store(ptr noundef %55, i64 noundef %57, i64 noundef %58)
  %59 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %59, ptr %12, align 4, !tbaa !9
  store i64 8589934592, ptr %17, align 8, !tbaa !11
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.w2c_hermes, ptr %60, i32 0, i32 6
  %62 = load i32, ptr %12, align 4, !tbaa !9
  %63 = zext i32 %62 to i64
  %64 = add i64 %63, 44
  %65 = load i64, ptr %17, align 8, !tbaa !11
  call void @i64_store(ptr noundef %61, i64 noundef %64, i64 noundef %65)
  %66 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %66, ptr %12, align 4, !tbaa !9
  %67 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %67, ptr %13, align 4, !tbaa !9
  store i32 52, ptr %14, align 4, !tbaa !9
  %68 = load i32, ptr %14, align 4, !tbaa !9
  %69 = load i32, ptr %13, align 4, !tbaa !9
  %70 = add i32 %69, %68
  store i32 %70, ptr %13, align 4, !tbaa !9
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.w2c_hermes, ptr %71, i32 0, i32 6
  %73 = load i32, ptr %12, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = add i64 %74, 40
  %76 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %72, i64 noundef %75, i32 noundef %76)
  %77 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %77, ptr %12, align 4, !tbaa !9
  %78 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %78, ptr %13, align 4, !tbaa !9
  store i32 28, ptr %14, align 4, !tbaa !9
  %79 = load i32, ptr %14, align 4, !tbaa !9
  %80 = load i32, ptr %13, align 4, !tbaa !9
  %81 = add i32 %80, %79
  store i32 %81, ptr %13, align 4, !tbaa !9
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.w2c_hermes, ptr %82, i32 0, i32 6
  %84 = load i32, ptr %12, align 4, !tbaa !9
  %85 = zext i32 %84 to i64
  %86 = add i64 %85, 16
  %87 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %83, i64 noundef %86, i32 noundef %87)
  %88 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %88, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.w2c_hermes, ptr %89, i32 0, i32 6
  %91 = load i32, ptr %12, align 4, !tbaa !9
  %92 = zext i32 %91 to i64
  %93 = add i64 %92, 76
  %94 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %90, i64 noundef %93, i32 noundef %94)
  %95 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %95, ptr %12, align 4, !tbaa !9
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.w2c_hermes, ptr %96, i32 0, i32 6
  %98 = load i32, ptr %12, align 4, !tbaa !9
  %99 = zext i32 %98 to i64
  %100 = add i64 %99, 4
  %101 = call i32 @i32_load(ptr noundef %97, i64 noundef %100)
  store i32 %101, ptr %12, align 4, !tbaa !9
  %102 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %102, ptr %11, align 4, !tbaa !9
  %103 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %103, ptr %13, align 4, !tbaa !9
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.w2c_hermes, ptr %104, i32 0, i32 6
  %106 = load i32, ptr %13, align 4, !tbaa !9
  %107 = zext i32 %106 to i64
  %108 = add i64 %107, 4
  %109 = call i32 @i32_load(ptr noundef %105, i64 noundef %108)
  store i32 %109, ptr %13, align 4, !tbaa !9
  %110 = load i32, ptr %12, align 4, !tbaa !9
  %111 = load i32, ptr %13, align 4, !tbaa !9
  %112 = icmp eq i32 %110, %111
  %113 = zext i1 %112 to i32
  store i32 %113, ptr %12, align 4, !tbaa !9
  %114 = load i32, ptr %12, align 4, !tbaa !9
  %115 = icmp ne i32 %114, 0
  br i1 %115, label %116, label %266

116:                                              ; preds = %4
  %117 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %117, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  %118 = load i32, ptr %12, align 4, !tbaa !9
  %119 = load i32, ptr %13, align 4, !tbaa !9
  %120 = icmp sgt i32 %118, %119
  %121 = zext i1 %120 to i32
  store i32 %121, ptr %12, align 4, !tbaa !9
  %122 = load i32, ptr %12, align 4, !tbaa !9
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %124, label %228

124:                                              ; preds = %116
  br label %125

125:                                              ; preds = %226, %124
  %126 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %126, ptr %12, align 4, !tbaa !9
  %127 = load ptr, ptr %5, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.w2c_hermes, ptr %127, i32 0, i32 6
  %129 = load i32, ptr %12, align 4, !tbaa !9
  %130 = zext i32 %129 to i64
  %131 = add i64 %130, 4
  %132 = call i32 @i32_load(ptr noundef %128, i64 noundef %131)
  store i32 %132, ptr %12, align 4, !tbaa !9
  %133 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %133, ptr %13, align 4, !tbaa !9
  %134 = load i32, ptr %12, align 4, !tbaa !9
  %135 = load i32, ptr %13, align 4, !tbaa !9
  %136 = icmp ule i32 %134, %135
  %137 = zext i1 %136 to i32
  store i32 %137, ptr %12, align 4, !tbaa !9
  %138 = load i32, ptr %12, align 4, !tbaa !9
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %140, label %141

140:                                              ; preds = %125
  br label %230

141:                                              ; preds = %125
  %142 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %142, ptr %12, align 4, !tbaa !9
  %143 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %143, ptr %13, align 4, !tbaa !9
  store i32 2, ptr %14, align 4, !tbaa !9
  %144 = load i32, ptr %14, align 4, !tbaa !9
  %145 = and i32 %144, 31
  %146 = load i32, ptr %13, align 4, !tbaa !9
  %147 = shl i32 %146, %145
  store i32 %147, ptr %13, align 4, !tbaa !9
  %148 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %148, ptr %10, align 4, !tbaa !9
  %149 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %149, ptr %14, align 4, !tbaa !9
  %150 = load ptr, ptr %5, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.w2c_hermes, ptr %150, i32 0, i32 6
  %152 = load i32, ptr %14, align 4, !tbaa !9
  %153 = zext i32 %152 to i64
  %154 = call i32 @i32_load(ptr noundef %151, i64 noundef %153)
  store i32 %154, ptr %14, align 4, !tbaa !9
  %155 = load i32, ptr %14, align 4, !tbaa !9
  %156 = load i32, ptr %13, align 4, !tbaa !9
  %157 = add i32 %156, %155
  store i32 %157, ptr %13, align 4, !tbaa !9
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.w2c_hermes, ptr %158, i32 0, i32 6
  %160 = load i32, ptr %13, align 4, !tbaa !9
  %161 = zext i32 %160 to i64
  %162 = call i32 @i32_load(ptr noundef %159, i64 noundef %161)
  store i32 %162, ptr %13, align 4, !tbaa !9
  %163 = load ptr, ptr %5, align 8, !tbaa !5
  %164 = load i32, ptr %12, align 4, !tbaa !9
  %165 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %163, i32 noundef %164, i32 noundef %165)
  %166 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %166, ptr %12, align 4, !tbaa !9
  %167 = load ptr, ptr %5, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.w2c_hermes, ptr %167, i32 0, i32 6
  %169 = load i32, ptr %12, align 4, !tbaa !9
  %170 = zext i32 %169 to i64
  %171 = add i64 %170, 4
  %172 = call i32 @i32_load(ptr noundef %168, i64 noundef %171)
  store i32 %172, ptr %12, align 4, !tbaa !9
  %173 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %173, ptr %13, align 4, !tbaa !9
  %174 = load i32, ptr %12, align 4, !tbaa !9
  %175 = load i32, ptr %13, align 4, !tbaa !9
  %176 = icmp ule i32 %174, %175
  %177 = zext i1 %176 to i32
  store i32 %177, ptr %12, align 4, !tbaa !9
  %178 = load i32, ptr %12, align 4, !tbaa !9
  %179 = icmp ne i32 %178, 0
  br i1 %179, label %180, label %181

180:                                              ; preds = %141
  br label %248

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

205:                                              ; preds = %181
  %206 = load i32, ptr %13, align 4, !tbaa !9
  br label %209

207:                                              ; preds = %181
  %208 = load i32, ptr %14, align 4, !tbaa !9
  br label %209

209:                                              ; preds = %207, %205
  %210 = phi i32 [ %206, %205 ], [ %208, %207 ]
  store i32 %210, ptr %13, align 4, !tbaa !9
  %211 = load ptr, ptr %5, align 8, !tbaa !5
  %212 = load i32, ptr %12, align 4, !tbaa !9
  %213 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %211, i32 noundef %212, i32 noundef %213)
  %214 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %214, ptr %12, align 4, !tbaa !9
  store i32 1, ptr %13, align 4, !tbaa !9
  %215 = load i32, ptr %13, align 4, !tbaa !9
  %216 = load i32, ptr %12, align 4, !tbaa !9
  %217 = add i32 %216, %215
  store i32 %217, ptr %12, align 4, !tbaa !9
  %218 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %218, ptr %9, align 4, !tbaa !9
  %219 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %219, ptr %13, align 4, !tbaa !9
  %220 = load i32, ptr %12, align 4, !tbaa !9
  %221 = load i32, ptr %13, align 4, !tbaa !9
  %222 = icmp ne i32 %220, %221
  %223 = zext i1 %222 to i32
  store i32 %223, ptr %12, align 4, !tbaa !9
  %224 = load i32, ptr %12, align 4, !tbaa !9
  %225 = icmp ne i32 %224, 0
  br i1 %225, label %226, label %227

226:                                              ; preds = %209
  br label %125

227:                                              ; preds = %209
  br label %228

228:                                              ; preds = %227, %116
  %229 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %229, ptr %12, align 4, !tbaa !9
  br label %283

230:                                              ; preds = %140
  store i32 0, ptr %12, align 4, !tbaa !9
  %231 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %231, ptr %9, align 4, !tbaa !9
  store i32 118701, ptr %13, align 4, !tbaa !9
  %232 = load i32, ptr %13, align 4, !tbaa !9
  %233 = load i32, ptr %12, align 4, !tbaa !9
  %234 = add i32 %233, %232
  store i32 %234, ptr %12, align 4, !tbaa !9
  %235 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %235, ptr %13, align 4, !tbaa !9
  store i32 79572, ptr %14, align 4, !tbaa !9
  %236 = load i32, ptr %14, align 4, !tbaa !9
  %237 = load i32, ptr %13, align 4, !tbaa !9
  %238 = add i32 %237, %236
  store i32 %238, ptr %13, align 4, !tbaa !9
  store i32 166, ptr %14, align 4, !tbaa !9
  %239 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %239, ptr %15, align 4, !tbaa !9
  store i32 108367, ptr %16, align 4, !tbaa !9
  %240 = load i32, ptr %16, align 4, !tbaa !9
  %241 = load i32, ptr %15, align 4, !tbaa !9
  %242 = add i32 %241, %240
  store i32 %242, ptr %15, align 4, !tbaa !9
  %243 = load ptr, ptr %5, align 8, !tbaa !5
  %244 = load i32, ptr %12, align 4, !tbaa !9
  %245 = load i32, ptr %13, align 4, !tbaa !9
  %246 = load i32, ptr %14, align 4, !tbaa !9
  %247 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %243, i32 noundef %244, i32 noundef %245, i32 noundef %246, i32 noundef %247)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

248:                                              ; preds = %180
  store i32 0, ptr %12, align 4, !tbaa !9
  %249 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %249, ptr %9, align 4, !tbaa !9
  store i32 118701, ptr %13, align 4, !tbaa !9
  %250 = load i32, ptr %13, align 4, !tbaa !9
  %251 = load i32, ptr %12, align 4, !tbaa !9
  %252 = add i32 %251, %250
  store i32 %252, ptr %12, align 4, !tbaa !9
  %253 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %253, ptr %13, align 4, !tbaa !9
  store i32 79572, ptr %14, align 4, !tbaa !9
  %254 = load i32, ptr %14, align 4, !tbaa !9
  %255 = load i32, ptr %13, align 4, !tbaa !9
  %256 = add i32 %255, %254
  store i32 %256, ptr %13, align 4, !tbaa !9
  store i32 166, ptr %14, align 4, !tbaa !9
  %257 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %257, ptr %15, align 4, !tbaa !9
  store i32 108367, ptr %16, align 4, !tbaa !9
  %258 = load i32, ptr %16, align 4, !tbaa !9
  %259 = load i32, ptr %15, align 4, !tbaa !9
  %260 = add i32 %259, %258
  store i32 %260, ptr %15, align 4, !tbaa !9
  %261 = load ptr, ptr %5, align 8, !tbaa !5
  %262 = load i32, ptr %12, align 4, !tbaa !9
  %263 = load i32, ptr %13, align 4, !tbaa !9
  %264 = load i32, ptr %14, align 4, !tbaa !9
  %265 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %261, i32 noundef %262, i32 noundef %263, i32 noundef %264, i32 noundef %265)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

266:                                              ; preds = %4
  store i32 0, ptr %12, align 4, !tbaa !9
  store i32 161409, ptr %13, align 4, !tbaa !9
  %267 = load i32, ptr %13, align 4, !tbaa !9
  %268 = load i32, ptr %12, align 4, !tbaa !9
  %269 = add i32 %268, %267
  store i32 %269, ptr %12, align 4, !tbaa !9
  %270 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %270, ptr %13, align 4, !tbaa !9
  store i32 55652, ptr %14, align 4, !tbaa !9
  %271 = load i32, ptr %14, align 4, !tbaa !9
  %272 = load i32, ptr %13, align 4, !tbaa !9
  %273 = add i32 %272, %271
  store i32 %273, ptr %13, align 4, !tbaa !9
  store i32 293, ptr %14, align 4, !tbaa !9
  %274 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %274, ptr %15, align 4, !tbaa !9
  store i32 23414, ptr %16, align 4, !tbaa !9
  %275 = load i32, ptr %16, align 4, !tbaa !9
  %276 = load i32, ptr %15, align 4, !tbaa !9
  %277 = add i32 %276, %275
  store i32 %277, ptr %15, align 4, !tbaa !9
  %278 = load ptr, ptr %5, align 8, !tbaa !5
  %279 = load i32, ptr %12, align 4, !tbaa !9
  %280 = load i32, ptr %13, align 4, !tbaa !9
  %281 = load i32, ptr %14, align 4, !tbaa !9
  %282 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %278, i32 noundef %279, i32 noundef %280, i32 noundef %281, i32 noundef %282)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

283:                                              ; preds = %228
  %284 = load i32, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 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
  ret i32 %284
}

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}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @w2c_hermes_hermes0x3A0x3APhiInst0x3A0x3APhiInst0x28llvh0x3A0x3ASmallVector0x3Chermes0x3A0x3AValue0x2A0x2C0x208u0x3E0x20const0x260x2C0x20llvh0x3A0x3ASmallVector0x3Chermes0x3A0x3ABasicBlock0x2A0x2C0x208u0x3E0x20const0x260x29(ptr noundef %0, i32 noundef returned %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 {
  %5 = getelementptr inbounds i8, ptr %0, i64 40
  %6 = zext i32 %1 to i64
  %7 = add nuw nsw i64 %6, 68
  tail call void @i64_store(ptr noundef nonnull %5, i64 noundef %7, i64 noundef 0)
  %8 = add nuw nsw i64 %6, 36
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %8, i32 noundef 0)
  %9 = add nuw nsw i64 %6, 8
  tail call void @i32_store8(ptr noundef nonnull %5, i64 noundef %9, i32 noundef 33)
  %10 = add nuw nsw i64 %6, 20
  tail call void @i64_store(ptr noundef nonnull %5, i64 noundef %10, i64 noundef 8589934592)
  %11 = add nuw nsw i64 %6, 10
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %11, i32 noundef 459775)
  tail call void @i64_store(ptr noundef nonnull %5, i64 noundef %6, i64 noundef 0)
  %12 = add nuw nsw i64 %6, 44
  tail call void @i64_store(ptr noundef nonnull %5, i64 noundef %12, i64 noundef 8589934592)
  %13 = add i32 %1, 52
  %14 = add nuw nsw i64 %6, 40
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %14, i32 noundef %13)
  %15 = add i32 %1, 28
  %16 = add nuw nsw i64 %6, 16
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %16, i32 noundef %15)
  %17 = add nuw nsw i64 %6, 76
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %17, i32 noundef 0)
  %18 = zext i32 %2 to i64
  %19 = add nuw nsw i64 %18, 4
  %20 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %19)
  %21 = zext i32 %3 to i64
  %22 = add nuw nsw i64 %21, 4
  %23 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %22)
  %24 = icmp eq i32 %20, %23
  br i1 %24, label %25, label %45

25:                                               ; preds = %4
  %26 = icmp sgt i32 %20, 0
  br i1 %26, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %25, %35
  %.0 = phi i32 [ %42, %35 ], [ 0, %25 ]
  %27 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %19)
  %.not = icmp ugt i32 %27, %.0
  br i1 %.not, label %28, label %43

28:                                               ; preds = %.preheader
  %29 = shl i32 %.0, 2
  %30 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %18)
  %31 = add i32 %30, %29
  %32 = zext i32 %31 to i64
  %33 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %32)
  tail call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %33)
  %34 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %22)
  %.not160 = icmp ugt i32 %34, %.0
  br i1 %.not160, label %35, label %44

35:                                               ; preds = %28
  %36 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %21)
  %37 = add i32 %36, %29
  %38 = zext i32 %37 to i64
  %39 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %38)
  %40 = add i32 %39, 8
  %.not161 = icmp eq i32 %39, 0
  %41 = select i1 %.not161, i32 0, i32 %40
  tail call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %41)
  %42 = add nuw nsw i32 %.0, 1
  %.not162 = icmp eq i32 %42, %20
  br i1 %.not162, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %35, %25
  ret i32 %1

43:                                               ; preds = %.preheader
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 118701, i32 noundef 79572, i32 noundef 166, i32 noundef 108367) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

44:                                               ; preds = %28
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 118701, i32 noundef 79572, i32 noundef 166, i32 noundef 108367) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

45:                                               ; preds = %4
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 161409, i32 noundef 55652, i32 noundef 293, i32 noundef 23414) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass