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

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

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

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

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

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

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

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

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

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

34:                                               ; preds = %4
  %35 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %35, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.w2c_hermes, ptr %36, i32 0, i32 6
  %38 = load i32, ptr %15, align 4, !tbaa !9
  %39 = zext i32 %38 to i64
  %40 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %37, i64 noundef %39, i32 noundef %40)
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %224

41:                                               ; preds = %4
  %42 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %42, ptr %15, align 4, !tbaa !9
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.w2c_hermes, ptr %43, i32 0, i32 6
  %45 = load i32, ptr %15, align 4, !tbaa !9
  %46 = zext i32 %45 to i64
  %47 = call i32 @i32_load(ptr noundef %44, i64 noundef %46)
  store i32 %47, ptr %15, align 4, !tbaa !9
  %48 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %48, ptr %7, align 4, !tbaa !9
  store i32 -2, ptr %16, align 4, !tbaa !9
  %49 = load i32, ptr %15, align 4, !tbaa !9
  %50 = load i32, ptr %16, align 4, !tbaa !9
  %51 = icmp ult i32 %49, %50
  %52 = zext i1 %51 to i32
  store i32 %52, ptr %15, align 4, !tbaa !9
  %53 = load i32, ptr %15, align 4, !tbaa !9
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %206

55:                                               ; preds = %41
  store i32 1, ptr %15, align 4, !tbaa !9
  %56 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %56, ptr %11, align 4, !tbaa !9
  %57 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %57, ptr %15, align 4, !tbaa !9
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.w2c_hermes, ptr %58, i32 0, i32 6
  %60 = load i32, ptr %15, align 4, !tbaa !9
  %61 = zext i32 %60 to i64
  %62 = call i32 @i32_load(ptr noundef %59, i64 noundef %61)
  store i32 %62, ptr %15, align 4, !tbaa !9
  %63 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %63, ptr %13, align 4, !tbaa !9
  %64 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %64, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %65 = load i32, ptr %17, align 4, !tbaa !9
  %66 = load i32, ptr %16, align 4, !tbaa !9
  %67 = sub i32 %66, %65
  store i32 %67, ptr %16, align 4, !tbaa !9
  %68 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %68, ptr %14, align 4, !tbaa !9
  %69 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %69, ptr %17, align 4, !tbaa !9
  store i32 37, ptr %18, align 4, !tbaa !9
  %70 = load i32, ptr %18, align 4, !tbaa !9
  %71 = load i32, ptr %17, align 4, !tbaa !9
  %72 = mul i32 %71, %70
  store i32 %72, ptr %17, align 4, !tbaa !9
  %73 = load i32, ptr %17, align 4, !tbaa !9
  %74 = load i32, ptr %16, align 4, !tbaa !9
  %75 = and i32 %74, %73
  store i32 %75, ptr %16, align 4, !tbaa !9
  %76 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %76, ptr %12, align 4, !tbaa !9
  store i32 12, ptr %17, align 4, !tbaa !9
  %77 = load i32, ptr %17, align 4, !tbaa !9
  %78 = load i32, ptr %16, align 4, !tbaa !9
  %79 = mul i32 %78, %77
  store i32 %79, ptr %16, align 4, !tbaa !9
  %80 = load i32, ptr %16, align 4, !tbaa !9
  %81 = load i32, ptr %15, align 4, !tbaa !9
  %82 = add i32 %81, %80
  store i32 %82, ptr %15, align 4, !tbaa !9
  %83 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %83, ptr %6, align 4, !tbaa !9
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.w2c_hermes, ptr %84, i32 0, i32 6
  %86 = load i32, ptr %15, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = call i32 @i32_load(ptr noundef %85, i64 noundef %87)
  store i32 %88, ptr %15, align 4, !tbaa !9
  %89 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %89, ptr %10, align 4, !tbaa !9
  %90 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %90, ptr %16, align 4, !tbaa !9
  %91 = load i32, ptr %15, align 4, !tbaa !9
  %92 = load i32, ptr %16, align 4, !tbaa !9
  %93 = icmp eq i32 %91, %92
  %94 = zext i1 %93 to i32
  store i32 %94, ptr %15, align 4, !tbaa !9
  %95 = load i32, ptr %15, align 4, !tbaa !9
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %105

97:                                               ; preds = %55
  %98 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %98, ptr %15, align 4, !tbaa !9
  %99 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %99, ptr %16, align 4, !tbaa !9
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.w2c_hermes, ptr %100, i32 0, i32 6
  %102 = load i32, ptr %15, align 4, !tbaa !9
  %103 = zext i32 %102 to i64
  %104 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %101, i64 noundef %103, i32 noundef %104)
  store i32 1, ptr %15, align 4, !tbaa !9
  br label %224

105:                                              ; preds = %55
  br label %106

106:                                              ; preds = %197, %105
  %107 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %107, ptr %15, align 4, !tbaa !9
  store i32 -1, ptr %16, align 4, !tbaa !9
  %108 = load i32, ptr %15, align 4, !tbaa !9
  %109 = load i32, ptr %16, align 4, !tbaa !9
  %110 = icmp eq i32 %108, %109
  %111 = zext i1 %110 to i32
  store i32 %111, ptr %15, align 4, !tbaa !9
  %112 = load i32, ptr %15, align 4, !tbaa !9
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %114, label %132

114:                                              ; preds = %106
  %115 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %115, ptr %15, align 4, !tbaa !9
  %116 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %116, ptr %16, align 4, !tbaa !9
  %117 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %117, ptr %17, align 4, !tbaa !9
  %118 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %118, ptr %18, align 4, !tbaa !9
  %119 = load i32, ptr %18, align 4, !tbaa !9
  %120 = icmp ne i32 %119, 0
  br i1 %120, label %121, label %123

121:                                              ; preds = %114
  %122 = load i32, ptr %16, align 4, !tbaa !9
  br label %125

123:                                              ; preds = %114
  %124 = load i32, ptr %17, align 4, !tbaa !9
  br label %125

125:                                              ; preds = %123, %121
  %126 = phi i32 [ %122, %121 ], [ %124, %123 ]
  store i32 %126, ptr %16, 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 %15, align 4, !tbaa !9
  %130 = zext i32 %129 to i64
  %131 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %128, i64 noundef %130, i32 noundef %131)
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %224

132:                                              ; preds = %106
  %133 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %133, ptr %15, align 4, !tbaa !9
  %134 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %134, ptr %16, align 4, !tbaa !9
  %135 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %135, ptr %17, align 4, !tbaa !9
  %136 = load i32, ptr %17, align 4, !tbaa !9
  %137 = icmp ne i32 %136, 0
  br i1 %137, label %138, label %140

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

140:                                              ; preds = %132
  %141 = load i32, ptr %16, align 4, !tbaa !9
  br label %142

142:                                              ; preds = %140, %138
  %143 = phi i32 [ %139, %138 ], [ %141, %140 ]
  store i32 %143, ptr %15, align 4, !tbaa !9
  %144 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %144, ptr %16, align 4, !tbaa !9
  %145 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %145, ptr %17, align 4, !tbaa !9
  store i32 -2, ptr %18, align 4, !tbaa !9
  %146 = load i32, ptr %17, align 4, !tbaa !9
  %147 = load i32, ptr %18, align 4, !tbaa !9
  %148 = icmp eq i32 %146, %147
  %149 = zext i1 %148 to i32
  store i32 %149, ptr %17, align 4, !tbaa !9
  %150 = load i32, ptr %17, align 4, !tbaa !9
  %151 = icmp ne i32 %150, 0
  br i1 %151, label %152, label %154

152:                                              ; preds = %142
  %153 = load i32, ptr %15, align 4, !tbaa !9
  br label %156

154:                                              ; preds = %142
  %155 = load i32, ptr %16, align 4, !tbaa !9
  br label %156

156:                                              ; preds = %154, %152
  %157 = phi i32 [ %153, %152 ], [ %155, %154 ]
  store i32 %157, ptr %15, align 4, !tbaa !9
  %158 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %158, ptr %9, align 4, !tbaa !9
  %159 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %159, ptr %15, align 4, !tbaa !9
  %160 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %160, ptr %16, align 4, !tbaa !9
  %161 = load i32, ptr %16, align 4, !tbaa !9
  %162 = load i32, ptr %15, align 4, !tbaa !9
  %163 = add i32 %162, %161
  store i32 %163, ptr %15, align 4, !tbaa !9
  %164 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %164, ptr %6, align 4, !tbaa !9
  %165 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %165, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %166 = load i32, ptr %16, align 4, !tbaa !9
  %167 = load i32, ptr %15, align 4, !tbaa !9
  %168 = add i32 %167, %166
  store i32 %168, ptr %15, align 4, !tbaa !9
  %169 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %169, ptr %11, align 4, !tbaa !9
  %170 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %170, ptr %15, align 4, !tbaa !9
  %171 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %171, ptr %16, align 4, !tbaa !9
  %172 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %172, ptr %17, align 4, !tbaa !9
  %173 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %173, ptr %18, align 4, !tbaa !9
  %174 = load i32, ptr %18, align 4, !tbaa !9
  %175 = load i32, ptr %17, align 4, !tbaa !9
  %176 = and i32 %175, %174
  store i32 %176, ptr %17, align 4, !tbaa !9
  %177 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %177, ptr %12, align 4, !tbaa !9
  store i32 12, ptr %18, align 4, !tbaa !9
  %178 = load i32, ptr %18, align 4, !tbaa !9
  %179 = load i32, ptr %17, align 4, !tbaa !9
  %180 = mul i32 %179, %178
  store i32 %180, ptr %17, align 4, !tbaa !9
  %181 = load i32, ptr %17, align 4, !tbaa !9
  %182 = load i32, ptr %16, align 4, !tbaa !9
  %183 = add i32 %182, %181
  store i32 %183, ptr %16, align 4, !tbaa !9
  %184 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %184, ptr %6, align 4, !tbaa !9
  %185 = load ptr, ptr %5, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.w2c_hermes, ptr %185, i32 0, i32 6
  %187 = load i32, ptr %16, align 4, !tbaa !9
  %188 = zext i32 %187 to i64
  %189 = call i32 @i32_load(ptr noundef %186, i64 noundef %188)
  store i32 %189, ptr %16, align 4, !tbaa !9
  %190 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %190, ptr %10, align 4, !tbaa !9
  %191 = load i32, ptr %15, align 4, !tbaa !9
  %192 = load i32, ptr %16, align 4, !tbaa !9
  %193 = icmp ne i32 %191, %192
  %194 = zext i1 %193 to i32
  store i32 %194, ptr %15, align 4, !tbaa !9
  %195 = load i32, ptr %15, align 4, !tbaa !9
  %196 = icmp ne i32 %195, 0
  br i1 %196, label %197, label %198

197:                                              ; preds = %156
  br label %106

198:                                              ; preds = %156
  %199 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %199, ptr %15, align 4, !tbaa !9
  %200 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %200, ptr %16, align 4, !tbaa !9
  %201 = load ptr, ptr %5, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.w2c_hermes, ptr %201, i32 0, i32 6
  %203 = load i32, ptr %15, align 4, !tbaa !9
  %204 = zext i32 %203 to i64
  %205 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %202, i64 noundef %204, i32 noundef %205)
  store i32 1, ptr %15, align 4, !tbaa !9
  br label %224

206:                                              ; preds = %41
  store i32 0, ptr %15, align 4, !tbaa !9
  %207 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %207, ptr %6, align 4, !tbaa !9
  store i32 204136, ptr %16, align 4, !tbaa !9
  %208 = load i32, ptr %16, align 4, !tbaa !9
  %209 = load i32, ptr %15, align 4, !tbaa !9
  %210 = add i32 %209, %208
  store i32 %210, ptr %15, align 4, !tbaa !9
  %211 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %211, ptr %16, align 4, !tbaa !9
  store i32 81389, ptr %17, align 4, !tbaa !9
  %212 = load i32, ptr %17, align 4, !tbaa !9
  %213 = load i32, ptr %16, align 4, !tbaa !9
  %214 = add i32 %213, %212
  store i32 %214, ptr %16, align 4, !tbaa !9
  store i32 597, ptr %17, align 4, !tbaa !9
  %215 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %215, ptr %18, align 4, !tbaa !9
  store i32 48929, ptr %19, align 4, !tbaa !9
  %216 = load i32, ptr %19, align 4, !tbaa !9
  %217 = load i32, ptr %18, align 4, !tbaa !9
  %218 = add i32 %217, %216
  store i32 %218, ptr %18, align 4, !tbaa !9
  %219 = load ptr, ptr %5, align 8, !tbaa !5
  %220 = load i32, ptr %15, align 4, !tbaa !9
  %221 = load i32, ptr %16, align 4, !tbaa !9
  %222 = load i32, ptr %17, align 4, !tbaa !9
  %223 = load i32, ptr %18, 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) #5
  unreachable

224:                                              ; preds = %198, %125, %97, %34
  %225 = load i32, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  ret i32 %225
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}


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

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

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

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

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

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

9:                                                ; preds = %4
  %10 = zext i32 %2 to i64
  %11 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %10)
  %12 = icmp ult i32 %11, -2
  br i1 %12, label %13, label %37

13:                                               ; preds = %9
  %14 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %6)
  %15 = add i32 %8, -1
  %16 = mul i32 %11, 37
  %17 = and i32 %16, %15
  %18 = mul i32 %17, 12
  %19 = add i32 %14, %18
  %20 = zext i32 %19 to i64
  %21 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %20)
  %22 = icmp eq i32 %21, %11
  br i1 %22, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %13, %26
  %.0127 = phi i32 [ %29, %26 ], [ 0, %13 ]
  %.0126 = phi i32 [ %36, %26 ], [ %21, %13 ]
  %.0125 = phi i32 [ %31, %26 ], [ 1, %13 ]
  %.0124 = phi i32 [ %32, %26 ], [ %17, %13 ]
  %.0 = phi i32 [ %34, %26 ], [ %19, %13 ]
  %23 = icmp eq i32 %.0126, -1
  %.not133 = icmp eq i32 %.0127, 0
  br i1 %23, label %24, label %26

24:                                               ; preds = %.preheader
  %25 = select i1 %.not133, i32 %.0, i32 %.0127
  br label %.loopexit

26:                                               ; preds = %.preheader
  %27 = icmp eq i32 %.0126, -2
  %28 = select i1 %27, i1 %.not133, i1 false
  %29 = select i1 %28, i32 %.0, i32 %.0127
  %30 = add i32 %.0124, %.0125
  %31 = add i32 %.0125, 1
  %32 = and i32 %30, %15
  %33 = mul i32 %32, 12
  %34 = add i32 %33, %14
  %35 = zext i32 %34 to i64
  %36 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %35)
  %.not132 = icmp eq i32 %11, %36
  br i1 %.not132, label %.loopexit, label %.preheader

37:                                               ; preds = %9
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 204136, i32 noundef 81389, i32 noundef 597, i32 noundef 48929)
  tail call void @wasm_rt_trap(i32 noundef 5) #3
  unreachable

.loopexit:                                        ; preds = %26, %13, %4, %24
  %.lcssa.sink = phi i32 [ %25, %24 ], [ 0, %4 ], [ %19, %13 ], [ %34, %26 ]
  %.0123 = phi i32 [ 0, %24 ], [ 0, %4 ], [ 1, %13 ], [ 1, %26 ]
  %38 = zext i32 %3 to i64
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %38, i32 noundef %.lcssa.sink)
  ret i32 %.0123
}

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

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass