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

; 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_store(ptr noundef, i64 noundef, i32 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_llvh0x3A0x3AAPInt0x3A0x3AinitFromArray0x28llvh0x3A0x3AArrayRef0x3Cunsigned0x20long0x20long0x3E0x29(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 i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = 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
  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 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %21 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %21, ptr %12, align 4, !tbaa !9
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.w2c_hermes, ptr %22, i32 0, i32 6
  %24 = load i32, ptr %12, align 4, !tbaa !9
  %25 = zext i32 %24 to i64
  %26 = add i64 %25, 8
  %27 = call i32 @i32_load(ptr noundef %23, i64 noundef %26)
  store i32 %27, ptr %12, align 4, !tbaa !9
  %28 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %28, ptr %7, align 4, !tbaa !9
  %29 = load i32, ptr %12, align 4, !tbaa !9
  %30 = icmp ne i32 %29, 0
  br i1 %30, label %31, label %188

31:                                               ; preds = %3
  %32 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %32, ptr %12, align 4, !tbaa !9
  %33 = load ptr, ptr %4, 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 = call i32 @i32_load(ptr noundef %34, i64 noundef %36)
  store i32 %37, ptr %12, align 4, !tbaa !9
  %38 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %38, ptr %8, align 4, !tbaa !9
  %39 = load i32, ptr %12, align 4, !tbaa !9
  %40 = icmp ne i32 %39, 0
  %41 = xor i1 %40, true
  %42 = zext i1 %41 to i32
  store i32 %42, ptr %12, align 4, !tbaa !9
  %43 = load i32, ptr %12, align 4, !tbaa !9
  %44 = icmp ne i32 %43, 0
  br i1 %44, label %45, label %46

45:                                               ; preds = %31
  br label %206

46:                                               ; preds = %31
  %47 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %47, ptr %12, align 4, !tbaa !9
  store i32 64, ptr %13, align 4, !tbaa !9
  %48 = load i32, ptr %12, align 4, !tbaa !9
  %49 = load i32, ptr %13, align 4, !tbaa !9
  %50 = icmp ule i32 %48, %49
  %51 = zext i1 %50 to i32
  store i32 %51, ptr %12, align 4, !tbaa !9
  %52 = load i32, ptr %12, align 4, !tbaa !9
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %54, label %82

54:                                               ; preds = %46
  %55 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %55, ptr %12, align 4, !tbaa !9
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.w2c_hermes, ptr %56, i32 0, i32 6
  %58 = load i32, ptr %12, align 4, !tbaa !9
  %59 = zext i32 %58 to i64
  %60 = add i64 %59, 4
  %61 = call i32 @i32_load(ptr noundef %57, i64 noundef %60)
  store i32 %61, ptr %12, align 4, !tbaa !9
  %62 = load i32, ptr %12, align 4, !tbaa !9
  %63 = icmp ne i32 %62, 0
  %64 = xor i1 %63, true
  %65 = zext i1 %64 to i32
  store i32 %65, ptr %12, align 4, !tbaa !9
  %66 = load i32, ptr %12, align 4, !tbaa !9
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %68, label %69

68:                                               ; preds = %54
  br label %224

69:                                               ; preds = %54
  %70 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %70, ptr %12, align 4, !tbaa !9
  %71 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %71, ptr %13, align 4, !tbaa !9
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.w2c_hermes, ptr %72, i32 0, i32 6
  %74 = load i32, ptr %13, align 4, !tbaa !9
  %75 = zext i32 %74 to i64
  %76 = call i64 @i64_load(ptr noundef %73, i64 noundef %75)
  store i64 %76, ptr %18, align 8, !tbaa !11
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.w2c_hermes, ptr %77, i32 0, i32 6
  %79 = load i32, ptr %12, align 4, !tbaa !9
  %80 = zext i32 %79 to i64
  %81 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %78, i64 noundef %80, i64 noundef %81)
  br label %159

82:                                               ; preds = %46
  %83 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %83, ptr %12, align 4, !tbaa !9
  %84 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %84, ptr %13, align 4, !tbaa !9
  %85 = load i32, ptr %13, align 4, !tbaa !9
  %86 = zext i32 %85 to i64
  store i64 %86, ptr %18, align 8, !tbaa !11
  store i64 63, ptr %19, align 8, !tbaa !11
  %87 = load i64, ptr %19, align 8, !tbaa !11
  %88 = load i64, ptr %18, align 8, !tbaa !11
  %89 = add i64 %88, %87
  store i64 %89, ptr %18, align 8, !tbaa !11
  store i64 6, ptr %19, align 8, !tbaa !11
  %90 = load i64, ptr %19, align 8, !tbaa !11
  %91 = and i64 %90, 63
  %92 = load i64, ptr %18, align 8, !tbaa !11
  %93 = lshr i64 %92, %91
  store i64 %93, ptr %18, align 8, !tbaa !11
  %94 = load i64, ptr %18, align 8, !tbaa !11
  %95 = trunc i64 %94 to i32
  store i32 %95, ptr %13, align 4, !tbaa !9
  %96 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %96, ptr %9, align 4, !tbaa !9
  store i32 3, ptr %14, align 4, !tbaa !9
  %97 = load i32, ptr %14, align 4, !tbaa !9
  %98 = and i32 %97, 31
  %99 = load i32, ptr %13, align 4, !tbaa !9
  %100 = shl i32 %99, %98
  store i32 %100, ptr %13, align 4, !tbaa !9
  %101 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %101, ptr %10, align 4, !tbaa !9
  %102 = load ptr, ptr %4, align 8, !tbaa !5
  %103 = load i32, ptr %13, align 4, !tbaa !9
  %104 = call i32 @w2c_hermes_operator0x20new0x5B0x5D0x28unsigned0x20long0x29(ptr noundef %102, i32 noundef %103)
  store i32 %104, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  %105 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %105, ptr %15, align 4, !tbaa !9
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = load i32, ptr %13, align 4, !tbaa !9
  %108 = load i32, ptr %14, align 4, !tbaa !9
  %109 = load i32, ptr %15, align 4, !tbaa !9
  %110 = call i32 @w2c_hermes_0x5F_memset(ptr noundef %106, i32 noundef %107, i32 noundef %108, i32 noundef %109)
  store i32 %110, ptr %13, align 4, !tbaa !9
  %111 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %111, ptr %11, 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 %12, align 4, !tbaa !9
  %115 = zext i32 %114 to i64
  %116 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %113, i64 noundef %115, i32 noundef %116)
  %117 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %117, ptr %12, align 4, !tbaa !9
  %118 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %118, ptr %13, align 4, !tbaa !9
  %119 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %119, ptr %14, align 4, !tbaa !9
  %120 = load ptr, ptr %4, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.w2c_hermes, ptr %120, i32 0, i32 6
  %122 = load i32, ptr %14, align 4, !tbaa !9
  %123 = zext i32 %122 to i64
  %124 = add i64 %123, 4
  %125 = call i32 @i32_load(ptr noundef %121, i64 noundef %124)
  store i32 %125, ptr %14, align 4, !tbaa !9
  %126 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %126, ptr %5, align 4, !tbaa !9
  %127 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %127, ptr %15, align 4, !tbaa !9
  %128 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %128, ptr %16, align 4, !tbaa !9
  %129 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %129, ptr %17, align 4, !tbaa !9
  %130 = load i32, ptr %16, align 4, !tbaa !9
  %131 = load i32, ptr %17, align 4, !tbaa !9
  %132 = icmp ult i32 %130, %131
  %133 = zext i1 %132 to i32
  store i32 %133, ptr %16, align 4, !tbaa !9
  %134 = load i32, ptr %16, align 4, !tbaa !9
  %135 = icmp ne i32 %134, 0
  br i1 %135, label %136, label %138

136:                                              ; preds = %82
  %137 = load i32, ptr %14, align 4, !tbaa !9
  br label %140

138:                                              ; preds = %82
  %139 = load i32, ptr %15, align 4, !tbaa !9
  br label %140

140:                                              ; preds = %138, %136
  %141 = phi i32 [ %137, %136 ], [ %139, %138 ]
  store i32 %141, ptr %14, align 4, !tbaa !9
  store i32 3, ptr %15, align 4, !tbaa !9
  %142 = load i32, ptr %15, align 4, !tbaa !9
  %143 = and i32 %142, 31
  %144 = load i32, ptr %14, align 4, !tbaa !9
  %145 = shl i32 %144, %143
  store i32 %145, ptr %14, align 4, !tbaa !9
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = load i32, ptr %12, align 4, !tbaa !9
  %148 = load i32, ptr %13, align 4, !tbaa !9
  %149 = load i32, ptr %14, align 4, !tbaa !9
  %150 = call i32 @w2c_hermes_0x5F_memcpy(ptr noundef %146, i32 noundef %147, i32 noundef %148, i32 noundef %149)
  store i32 %150, ptr %12, align 4, !tbaa !9
  %151 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %151, ptr %13, align 4, !tbaa !9
  %152 = load i32, ptr %13, align 4, !tbaa !9
  %153 = load i32, ptr %12, align 4, !tbaa !9
  %154 = add i32 %153, %152
  store i32 %154, ptr %12, align 4, !tbaa !9
  store i32 8, ptr %13, align 4, !tbaa !9
  %155 = load i32, ptr %13, align 4, !tbaa !9
  %156 = load i32, ptr %12, align 4, !tbaa !9
  %157 = sub i32 %156, %155
  store i32 %157, ptr %12, align 4, !tbaa !9
  %158 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %158, ptr %5, align 4, !tbaa !9
  br label %159

159:                                              ; preds = %140, %69
  %160 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %160, ptr %12, align 4, !tbaa !9
  %161 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %161, ptr %13, align 4, !tbaa !9
  %162 = load ptr, ptr %4, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.w2c_hermes, ptr %162, i32 0, i32 6
  %164 = load i32, ptr %13, align 4, !tbaa !9
  %165 = zext i32 %164 to i64
  %166 = call i64 @i64_load(ptr noundef %163, i64 noundef %165)
  store i64 %166, ptr %18, align 8, !tbaa !11
  store i64 -1, ptr %19, align 8, !tbaa !11
  store i32 0, ptr %15, align 4, !tbaa !9
  %167 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %167, ptr %16, align 4, !tbaa !9
  %168 = load i32, ptr %16, align 4, !tbaa !9
  %169 = load i32, ptr %15, align 4, !tbaa !9
  %170 = sub i32 %169, %168
  store i32 %170, ptr %15, align 4, !tbaa !9
  store i32 63, ptr %16, align 4, !tbaa !9
  %171 = load i32, ptr %16, align 4, !tbaa !9
  %172 = load i32, ptr %15, align 4, !tbaa !9
  %173 = and i32 %172, %171
  store i32 %173, ptr %15, align 4, !tbaa !9
  %174 = load i32, ptr %15, align 4, !tbaa !9
  %175 = zext i32 %174 to i64
  store i64 %175, ptr %20, align 8, !tbaa !11
  %176 = load i64, ptr %20, align 8, !tbaa !11
  %177 = and i64 %176, 63
  %178 = load i64, ptr %19, align 8, !tbaa !11
  %179 = lshr i64 %178, %177
  store i64 %179, ptr %19, align 8, !tbaa !11
  %180 = load i64, ptr %19, align 8, !tbaa !11
  %181 = load i64, ptr %18, align 8, !tbaa !11
  %182 = and i64 %181, %180
  store i64 %182, ptr %18, align 8, !tbaa !11
  %183 = load ptr, ptr %4, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.w2c_hermes, ptr %183, i32 0, i32 6
  %185 = load i32, ptr %12, align 4, !tbaa !9
  %186 = zext i32 %185 to i64
  %187 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %184, i64 noundef %186, i64 noundef %187)
  br label %242

188:                                              ; preds = %3
  store i32 0, ptr %12, align 4, !tbaa !9
  %189 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %189, ptr %5, align 4, !tbaa !9
  store i32 157649, ptr %13, align 4, !tbaa !9
  %190 = load i32, ptr %13, align 4, !tbaa !9
  %191 = load i32, ptr %12, align 4, !tbaa !9
  %192 = add i32 %191, %190
  store i32 %192, ptr %12, align 4, !tbaa !9
  %193 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %193, ptr %13, align 4, !tbaa !9
  store i32 54858, ptr %14, align 4, !tbaa !9
  %194 = load i32, ptr %14, align 4, !tbaa !9
  %195 = load i32, ptr %13, align 4, !tbaa !9
  %196 = add i32 %195, %194
  store i32 %196, ptr %13, align 4, !tbaa !9
  store i32 93, ptr %14, align 4, !tbaa !9
  %197 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %197, ptr %15, align 4, !tbaa !9
  store i32 18755, ptr %16, align 4, !tbaa !9
  %198 = load i32, ptr %16, align 4, !tbaa !9
  %199 = load i32, ptr %15, align 4, !tbaa !9
  %200 = add i32 %199, %198
  store i32 %200, ptr %15, align 4, !tbaa !9
  %201 = load ptr, ptr %4, align 8, !tbaa !5
  %202 = load i32, ptr %12, align 4, !tbaa !9
  %203 = load i32, ptr %13, align 4, !tbaa !9
  %204 = load i32, ptr %14, align 4, !tbaa !9
  %205 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %201, i32 noundef %202, i32 noundef %203, i32 noundef %204, i32 noundef %205)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

206:                                              ; preds = %45
  store i32 0, ptr %12, align 4, !tbaa !9
  %207 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %207, ptr %5, align 4, !tbaa !9
  store i32 206263, ptr %13, align 4, !tbaa !9
  %208 = load i32, ptr %13, align 4, !tbaa !9
  %209 = load i32, ptr %12, align 4, !tbaa !9
  %210 = add i32 %209, %208
  store i32 %210, ptr %12, align 4, !tbaa !9
  %211 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %211, ptr %13, align 4, !tbaa !9
  store i32 54858, ptr %14, align 4, !tbaa !9
  %212 = load i32, ptr %14, align 4, !tbaa !9
  %213 = load i32, ptr %13, align 4, !tbaa !9
  %214 = add i32 %213, %212
  store i32 %214, ptr %13, align 4, !tbaa !9
  store i32 94, ptr %14, align 4, !tbaa !9
  %215 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %215, ptr %15, align 4, !tbaa !9
  store i32 18755, ptr %16, align 4, !tbaa !9
  %216 = load i32, ptr %16, align 4, !tbaa !9
  %217 = load i32, ptr %15, align 4, !tbaa !9
  %218 = add i32 %217, %216
  store i32 %218, ptr %15, align 4, !tbaa !9
  %219 = load ptr, ptr %4, align 8, !tbaa !5
  %220 = load i32, ptr %12, align 4, !tbaa !9
  %221 = load i32, ptr %13, align 4, !tbaa !9
  %222 = load i32, ptr %14, align 4, !tbaa !9
  %223 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %219, i32 noundef %220, i32 noundef %221, i32 noundef %222, i32 noundef %223)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

224:                                              ; preds = %68
  store i32 0, ptr %12, align 4, !tbaa !9
  %225 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %225, ptr %5, align 4, !tbaa !9
  store i32 202939, ptr %13, align 4, !tbaa !9
  %226 = load i32, ptr %13, align 4, !tbaa !9
  %227 = load i32, ptr %12, align 4, !tbaa !9
  %228 = add i32 %227, %226
  store i32 %228, ptr %12, align 4, !tbaa !9
  %229 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %229, ptr %13, align 4, !tbaa !9
  store i32 82833, ptr %14, align 4, !tbaa !9
  %230 = load i32, ptr %14, align 4, !tbaa !9
  %231 = load i32, ptr %13, align 4, !tbaa !9
  %232 = add i32 %231, %230
  store i32 %232, ptr %13, align 4, !tbaa !9
  store i32 241, ptr %14, align 4, !tbaa !9
  %233 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %233, ptr %15, align 4, !tbaa !9
  store i32 108367, ptr %16, align 4, !tbaa !9
  %234 = load i32, ptr %16, align 4, !tbaa !9
  %235 = load i32, ptr %15, align 4, !tbaa !9
  %236 = add i32 %235, %234
  store i32 %236, ptr %15, align 4, !tbaa !9
  %237 = load ptr, ptr %4, align 8, !tbaa !5
  %238 = load i32, ptr %12, align 4, !tbaa !9
  %239 = load i32, ptr %13, align 4, !tbaa !9
  %240 = load i32, ptr %14, align 4, !tbaa !9
  %241 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %237, i32 noundef %238, i32 noundef %239, i32 noundef %240, i32 noundef %241)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

242:                                              ; preds = %159
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, 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
  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_0x5F_memcpy(ptr noundef, i32 noundef, i32 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}


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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 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

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

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

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

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

8:                                                ; preds = %3
  %9 = zext i32 %2 to i64
  %10 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %9)
  %.not135 = icmp eq i32 %10, 0
  br i1 %.not135, label %42, label %11

11:                                               ; preds = %8
  %12 = icmp ult i32 %7, 65
  br i1 %12, label %13, label %19

13:                                               ; preds = %11
  %14 = add nuw nsw i64 %9, 4
  %15 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %14)
  %.not136 = icmp eq i32 %15, 0
  br i1 %.not136, label %43, label %16

16:                                               ; preds = %13
  %17 = zext i32 %10 to i64
  %18 = tail call i64 @i64_load(ptr noundef nonnull %4, i64 noundef %17)
  tail call void @i64_store(ptr noundef nonnull %4, i64 noundef %5, i64 noundef %18)
  br label %34

19:                                               ; preds = %11
  %20 = zext i32 %7 to i64
  %21 = add nuw nsw i64 %20, 63
  %22 = lshr i64 %21, 6
  %23 = trunc nuw nsw i64 %22 to i32
  %24 = shl nuw nsw i32 %23, 3
  %25 = tail call i32 @w2c_hermes_operator0x20new0x5B0x5D0x28unsigned0x20long0x29(ptr noundef %0, i32 noundef %24) #5
  %26 = tail call i32 @w2c_hermes_0x5F_memset(ptr noundef %0, i32 noundef %25, i32 noundef 0, i32 noundef %24) #5
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %5, i32 noundef %26)
  %27 = add nuw nsw i64 %9, 4
  %28 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %27)
  %29 = tail call i32 @llvm.umin.i32(i32 %28, i32 %23)
  %30 = shl nuw nsw i32 %29, 3
  %31 = tail call i32 @w2c_hermes_0x5F_memcpy(ptr noundef %0, i32 noundef %26, i32 noundef %10, i32 noundef %30) #5
  %32 = add nsw i32 %24, -8
  %33 = add i32 %32, %31
  %.pre = zext i32 %33 to i64
  br label %34

34:                                               ; preds = %19, %16
  %.pre-phi = phi i64 [ %.pre, %19 ], [ %5, %16 ]
  %35 = tail call i64 @i64_load(ptr noundef nonnull %4, i64 noundef %.pre-phi)
  %36 = sub i32 0, %7
  %37 = and i32 %36, 63
  %38 = zext nneg i32 %37 to i64
  %39 = lshr i64 -1, %38
  %40 = and i64 %35, %39
  tail call void @i64_store(ptr noundef nonnull %4, i64 noundef %.pre-phi, i64 noundef %40)
  ret void

41:                                               ; preds = %3
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 157649, i32 noundef 54858, i32 noundef 93, i32 noundef 18755) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

42:                                               ; preds = %8
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 206263, i32 noundef 54858, i32 noundef 94, i32 noundef 18755) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

43:                                               ; preds = %13
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 202939, i32 noundef 82833, i32 noundef 241, i32 noundef 108367) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable
}

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #4

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
attributes #6 = { 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: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass