; 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: nounwind uwtable
declare dso_local void @w2c_hermes_dlfree(ptr noundef, i32 noundef) #0

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

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

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

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

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

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

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

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

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

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

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

35:                                               ; preds = %2
  %36 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %36, ptr %14, align 4, !tbaa !9
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.w2c_hermes, ptr %37, i32 0, i32 6
  %39 = load i32, ptr %14, align 4, !tbaa !9
  %40 = zext i32 %39 to i64
  %41 = call i32 @i32_load(ptr noundef %38, i64 noundef %40)
  store i32 %41, ptr %14, align 4, !tbaa !9
  %42 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %42, ptr %9, align 4, !tbaa !9
  store i64 1, ptr %19, align 8, !tbaa !11
  %43 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %43, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %44 = load i32, ptr %17, align 4, !tbaa !9
  %45 = load i32, ptr %16, align 4, !tbaa !9
  %46 = add i32 %45, %44
  store i32 %46, ptr %16, align 4, !tbaa !9
  %47 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %47, ptr %10, align 4, !tbaa !9
  %48 = load i32, ptr %16, align 4, !tbaa !9
  %49 = zext i32 %48 to i64
  store i64 %49, ptr %20, align 8, !tbaa !11
  %50 = load i64, ptr %20, align 8, !tbaa !11
  %51 = and i64 %50, 63
  %52 = load i64, ptr %19, align 8, !tbaa !11
  %53 = shl i64 %52, %51
  store i64 %53, ptr %19, align 8, !tbaa !11
  %54 = load i64, ptr %19, align 8, !tbaa !11
  %55 = trunc i64 %54 to i32
  store i32 %55, ptr %15, align 4, !tbaa !9
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = load i32, ptr %14, align 4, !tbaa !9
  %58 = load i32, ptr %15, align 4, !tbaa !9
  %59 = call i32 @w2c_hermes_hermes0x3A0x3AcheckedCalloc0x28unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef %56, i32 noundef %57, i32 noundef %58)
  store i32 %59, ptr %14, align 4, !tbaa !9
  %60 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %60, ptr %8, align 4, !tbaa !9
  %61 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %61, ptr %14, align 4, !tbaa !9
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.w2c_hermes, ptr %62, i32 0, i32 6
  %64 = load i32, ptr %14, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = call i32 @i32_load(ptr noundef %63, i64 noundef %65)
  store i32 %66, ptr %14, align 4, !tbaa !9
  %67 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %67, ptr %11, align 4, !tbaa !9
  %68 = load i32, ptr %14, align 4, !tbaa !9
  %69 = icmp ne i32 %68, 0
  %70 = xor i1 %69, true
  %71 = zext i1 %70 to i32
  store i32 %71, ptr %14, align 4, !tbaa !9
  %72 = load i32, ptr %14, align 4, !tbaa !9
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %83

74:                                               ; preds = %35
  %75 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %75, ptr %14, align 4, !tbaa !9
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.w2c_hermes, ptr %76, i32 0, i32 6
  %78 = load i32, ptr %14, align 4, !tbaa !9
  %79 = zext i32 %78 to i64
  %80 = add i64 %79, 8
  %81 = call i32 @i32_load(ptr noundef %77, i64 noundef %80)
  store i32 %81, ptr %14, align 4, !tbaa !9
  %82 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %82, ptr %7, align 4, !tbaa !9
  br label %333

83:                                               ; preds = %35
  %84 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %84, ptr %14, align 4, !tbaa !9
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.w2c_hermes, ptr %85, i32 0, i32 6
  %87 = load i32, ptr %14, align 4, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = add i64 %88, 4
  %90 = call i32 @i32_load(ptr noundef %86, i64 noundef %89)
  store i32 %90, ptr %14, align 4, !tbaa !9
  %91 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %91, ptr %12, align 4, !tbaa !9
  store i32 3, ptr %15, align 4, !tbaa !9
  %92 = load i32, ptr %14, align 4, !tbaa !9
  %93 = load i32, ptr %15, align 4, !tbaa !9
  %94 = icmp uge i32 %92, %93
  %95 = zext i1 %94 to i32
  store i32 %95, ptr %14, align 4, !tbaa !9
  %96 = load i32, ptr %14, align 4, !tbaa !9
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %99

98:                                               ; preds = %83
  br label %321

99:                                               ; preds = %83
  %100 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %100, ptr %14, align 4, !tbaa !9
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.w2c_hermes, ptr %101, i32 0, i32 6
  %103 = load i32, ptr %14, align 4, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = add i64 %104, 8
  %106 = call i32 @i32_load(ptr noundef %102, i64 noundef %105)
  store i32 %106, ptr %14, align 4, !tbaa !9
  %107 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %107, ptr %7, align 4, !tbaa !9
  %108 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %108, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %109 = load i32, ptr %15, align 4, !tbaa !9
  %110 = load i32, ptr %14, align 4, !tbaa !9
  %111 = add i32 %110, %109
  store i32 %111, ptr %14, align 4, !tbaa !9
  %112 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %112, ptr %13, align 4, !tbaa !9
  br label %113

113:                                              ; preds = %284, %99
  %114 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %114, ptr %14, align 4, !tbaa !9
  %115 = load i32, ptr %14, align 4, !tbaa !9
  switch i32 %115, label %118 [
    i32 0, label %116
    i32 1, label %117
  ]

116:                                              ; preds = %113
  br label %149

117:                                              ; preds = %113
  br label %119

118:                                              ; preds = %113
  br label %134

119:                                              ; preds = %117
  %120 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %120, ptr %14, align 4, !tbaa !9
  %121 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %121, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %122 = load i32, ptr %16, align 4, !tbaa !9
  %123 = and i32 %122, 31
  %124 = load i32, ptr %15, align 4, !tbaa !9
  %125 = shl i32 %124, %123
  store i32 %125, ptr %15, align 4, !tbaa !9
  %126 = load i32, ptr %15, align 4, !tbaa !9
  %127 = load i32, ptr %14, align 4, !tbaa !9
  %128 = add i32 %127, %126
  store i32 %128, ptr %14, align 4, !tbaa !9
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.w2c_hermes, ptr %129, i32 0, i32 6
  %131 = load i32, ptr %14, align 4, !tbaa !9
  %132 = zext i32 %131 to i64
  %133 = call i32 @i32_load16_u(ptr noundef %130, i64 noundef %132)
  store i32 %133, ptr %14, align 4, !tbaa !9
  br label %160

134:                                              ; preds = %118
  %135 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %135, ptr %14, align 4, !tbaa !9
  %136 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %136, ptr %15, align 4, !tbaa !9
  store i32 2, ptr %16, align 4, !tbaa !9
  %137 = load i32, ptr %16, align 4, !tbaa !9
  %138 = and i32 %137, 31
  %139 = load i32, ptr %15, align 4, !tbaa !9
  %140 = shl i32 %139, %138
  store i32 %140, ptr %15, align 4, !tbaa !9
  %141 = load i32, ptr %15, align 4, !tbaa !9
  %142 = load i32, ptr %14, align 4, !tbaa !9
  %143 = add i32 %142, %141
  store i32 %143, ptr %14, align 4, !tbaa !9
  %144 = load ptr, ptr %3, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.w2c_hermes, ptr %144, i32 0, i32 6
  %146 = load i32, ptr %14, align 4, !tbaa !9
  %147 = zext i32 %146 to i64
  %148 = call i32 @i32_load(ptr noundef %145, i64 noundef %147)
  store i32 %148, ptr %14, align 4, !tbaa !9
  br label %160

149:                                              ; preds = %116
  %150 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %150, ptr %14, align 4, !tbaa !9
  %151 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %151, ptr %15, align 4, !tbaa !9
  %152 = load i32, ptr %15, align 4, !tbaa !9
  %153 = load i32, ptr %14, align 4, !tbaa !9
  %154 = add i32 %153, %152
  store i32 %154, ptr %14, align 4, !tbaa !9
  %155 = load ptr, ptr %3, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.w2c_hermes, ptr %155, i32 0, i32 6
  %157 = load i32, ptr %14, align 4, !tbaa !9
  %158 = zext i32 %157 to i64
  %159 = call i32 @i32_load8_u(ptr noundef %156, i64 noundef %158)
  store i32 %159, ptr %14, align 4, !tbaa !9
  br label %160

160:                                              ; preds = %149, %134, %119
  %161 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %161, ptr %6, align 4, !tbaa !9
  %162 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %162, ptr %14, align 4, !tbaa !9
  %163 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %163, ptr %15, align 4, !tbaa !9
  %164 = load i32, ptr %14, align 4, !tbaa !9
  %165 = load i32, ptr %15, align 4, !tbaa !9
  %166 = icmp eq i32 %164, %165
  %167 = zext i1 %166 to i32
  store i32 %167, ptr %14, align 4, !tbaa !9
  %168 = load i32, ptr %14, align 4, !tbaa !9
  %169 = icmp ne i32 %168, 0
  br i1 %169, label %170, label %171

170:                                              ; preds = %160
  br label %303

171:                                              ; preds = %160
  %172 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %172, ptr %14, align 4, !tbaa !9
  %173 = load i32, ptr %14, align 4, !tbaa !9
  switch i32 %173, label %177 [
    i32 0, label %174
    i32 1, label %175
    i32 2, label %176
  ]

174:                                              ; preds = %171
  br label %178

175:                                              ; preds = %171
  br label %199

176:                                              ; preds = %171
  br label %255

177:                                              ; preds = %171
  br label %224

178:                                              ; preds = %174
  %179 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %179, ptr %14, align 4, !tbaa !9
  store i32 255, ptr %15, align 4, !tbaa !9
  %180 = load i32, ptr %14, align 4, !tbaa !9
  %181 = load i32, ptr %15, align 4, !tbaa !9
  %182 = icmp ugt i32 %180, %181
  %183 = zext i1 %182 to i32
  store i32 %183, ptr %14, align 4, !tbaa !9
  %184 = load i32, ptr %14, align 4, !tbaa !9
  %185 = icmp ne i32 %184, 0
  br i1 %185, label %186, label %187

186:                                              ; preds = %178
  br label %237

187:                                              ; preds = %178
  %188 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %188, ptr %14, align 4, !tbaa !9
  %189 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %189, ptr %15, align 4, !tbaa !9
  %190 = load i32, ptr %15, align 4, !tbaa !9
  %191 = load i32, ptr %14, align 4, !tbaa !9
  %192 = add i32 %191, %190
  store i32 %192, ptr %14, align 4, !tbaa !9
  %193 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %193, ptr %15, align 4, !tbaa !9
  %194 = load ptr, ptr %3, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.w2c_hermes, ptr %194, i32 0, i32 6
  %196 = load i32, ptr %14, align 4, !tbaa !9
  %197 = zext i32 %196 to i64
  %198 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %195, i64 noundef %197, i32 noundef %198)
  br label %271

199:                                              ; preds = %175
  %200 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %200, ptr %14, align 4, !tbaa !9
  store i32 65535, ptr %15, align 4, !tbaa !9
  %201 = load i32, ptr %14, align 4, !tbaa !9
  %202 = load i32, ptr %15, align 4, !tbaa !9
  %203 = icmp ugt i32 %201, %202
  %204 = zext i1 %203 to i32
  store i32 %204, ptr %14, align 4, !tbaa !9
  %205 = load i32, ptr %14, align 4, !tbaa !9
  %206 = icmp ne i32 %205, 0
  br i1 %206, label %207, label %208

207:                                              ; preds = %199
  br label %237

208:                                              ; preds = %199
  %209 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %209, ptr %14, align 4, !tbaa !9
  %210 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %210, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %211 = load i32, ptr %16, align 4, !tbaa !9
  %212 = and i32 %211, 31
  %213 = load i32, ptr %15, align 4, !tbaa !9
  %214 = shl i32 %213, %212
  store i32 %214, ptr %15, align 4, !tbaa !9
  %215 = load i32, ptr %15, align 4, !tbaa !9
  %216 = load i32, ptr %14, align 4, !tbaa !9
  %217 = add i32 %216, %215
  store i32 %217, ptr %14, align 4, !tbaa !9
  %218 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %218, ptr %15, align 4, !tbaa !9
  %219 = load ptr, ptr %3, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.w2c_hermes, ptr %219, i32 0, i32 6
  %221 = load i32, ptr %14, align 4, !tbaa !9
  %222 = zext i32 %221 to i64
  %223 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %220, i64 noundef %222, i32 noundef %223)
  br label %271

224:                                              ; preds = %177
  store i32 0, ptr %14, align 4, !tbaa !9
  %225 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %225, ptr %5, align 4, !tbaa !9
  store i32 99504, ptr %15, align 4, !tbaa !9
  %226 = load i32, ptr %15, align 4, !tbaa !9
  %227 = load i32, ptr %14, align 4, !tbaa !9
  %228 = add i32 %227, %226
  store i32 %228, ptr %14, align 4, !tbaa !9
  %229 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %229, ptr %15, align 4, !tbaa !9
  store i32 76496, ptr %16, align 4, !tbaa !9
  %230 = load i32, ptr %16, align 4, !tbaa !9
  %231 = load i32, ptr %15, align 4, !tbaa !9
  %232 = add i32 %231, %230
  store i32 %232, ptr %15, align 4, !tbaa !9
  store i32 109, ptr %16, align 4, !tbaa !9
  %233 = load ptr, ptr %3, align 8, !tbaa !5
  %234 = load i32, ptr %14, align 4, !tbaa !9
  %235 = load i32, ptr %15, align 4, !tbaa !9
  %236 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %233, i32 noundef %234, i32 noundef %235, i32 noundef %236)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

237:                                              ; preds = %207, %186
  store i32 0, ptr %14, align 4, !tbaa !9
  %238 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %238, ptr %5, align 4, !tbaa !9
  store i32 137506, ptr %15, align 4, !tbaa !9
  %239 = load i32, ptr %15, align 4, !tbaa !9
  %240 = load i32, ptr %14, align 4, !tbaa !9
  %241 = add i32 %240, %239
  store i32 %241, ptr %14, align 4, !tbaa !9
  %242 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %242, ptr %15, align 4, !tbaa !9
  store i32 53955, ptr %16, align 4, !tbaa !9
  %243 = load i32, ptr %16, align 4, !tbaa !9
  %244 = load i32, ptr %15, align 4, !tbaa !9
  %245 = add i32 %244, %243
  store i32 %245, ptr %15, align 4, !tbaa !9
  store i32 17, ptr %16, align 4, !tbaa !9
  %246 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %246, ptr %17, align 4, !tbaa !9
  store i32 63776, ptr %18, align 4, !tbaa !9
  %247 = load i32, ptr %18, align 4, !tbaa !9
  %248 = load i32, ptr %17, align 4, !tbaa !9
  %249 = add i32 %248, %247
  store i32 %249, ptr %17, align 4, !tbaa !9
  %250 = load ptr, ptr %3, align 8, !tbaa !5
  %251 = load i32, ptr %14, align 4, !tbaa !9
  %252 = load i32, ptr %15, align 4, !tbaa !9
  %253 = load i32, ptr %16, align 4, !tbaa !9
  %254 = load i32, ptr %17, 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 = %176
  %256 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %256, ptr %14, align 4, !tbaa !9
  %257 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %257, ptr %15, align 4, !tbaa !9
  store i32 2, ptr %16, align 4, !tbaa !9
  %258 = load i32, ptr %16, align 4, !tbaa !9
  %259 = and i32 %258, 31
  %260 = load i32, ptr %15, align 4, !tbaa !9
  %261 = shl i32 %260, %259
  store i32 %261, ptr %15, align 4, !tbaa !9
  %262 = load i32, ptr %15, align 4, !tbaa !9
  %263 = load i32, ptr %14, align 4, !tbaa !9
  %264 = add i32 %263, %262
  store i32 %264, ptr %14, align 4, !tbaa !9
  %265 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %265, ptr %15, align 4, !tbaa !9
  %266 = load ptr, ptr %3, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.w2c_hermes, ptr %266, i32 0, i32 6
  %268 = load i32, ptr %14, align 4, !tbaa !9
  %269 = zext i32 %268 to i64
  %270 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %267, i64 noundef %269, i32 noundef %270)
  br label %271

271:                                              ; preds = %255, %208, %187
  %272 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %272, ptr %14, align 4, !tbaa !9
  %273 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %273, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %274 = load i32, ptr %16, align 4, !tbaa !9
  %275 = load i32, ptr %15, align 4, !tbaa !9
  %276 = add i32 %275, %274
  store i32 %276, ptr %15, align 4, !tbaa !9
  %277 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %277, ptr %5, align 4, !tbaa !9
  %278 = load i32, ptr %14, align 4, !tbaa !9
  %279 = load i32, ptr %15, align 4, !tbaa !9
  %280 = icmp ne i32 %278, %279
  %281 = zext i1 %280 to i32
  store i32 %281, ptr %14, align 4, !tbaa !9
  %282 = load i32, ptr %14, align 4, !tbaa !9
  %283 = icmp ne i32 %282, 0
  br i1 %283, label %284, label %285

284:                                              ; preds = %271
  br label %113

285:                                              ; preds = %271
  br label %333

286:                                              ; preds = %2
  store i32 0, ptr %14, align 4, !tbaa !9
  store i32 137540, ptr %15, align 4, !tbaa !9
  %287 = load i32, ptr %15, align 4, !tbaa !9
  %288 = load i32, ptr %14, align 4, !tbaa !9
  %289 = add i32 %288, %287
  store i32 %289, ptr %14, align 4, !tbaa !9
  %290 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %290, ptr %15, align 4, !tbaa !9
  store i32 53955, ptr %16, align 4, !tbaa !9
  %291 = load i32, ptr %16, align 4, !tbaa !9
  %292 = load i32, ptr %15, align 4, !tbaa !9
  %293 = add i32 %292, %291
  store i32 %293, ptr %15, align 4, !tbaa !9
  store i32 13, ptr %16, align 4, !tbaa !9
  %294 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %294, ptr %17, align 4, !tbaa !9
  store i32 63776, ptr %18, align 4, !tbaa !9
  %295 = load i32, ptr %18, align 4, !tbaa !9
  %296 = load i32, ptr %17, align 4, !tbaa !9
  %297 = add i32 %296, %295
  store i32 %297, ptr %17, align 4, !tbaa !9
  %298 = load ptr, ptr %3, align 8, !tbaa !5
  %299 = load i32, ptr %14, align 4, !tbaa !9
  %300 = load i32, ptr %15, align 4, !tbaa !9
  %301 = load i32, ptr %16, align 4, !tbaa !9
  %302 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %298, i32 noundef %299, i32 noundef %300, i32 noundef %301, i32 noundef %302)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

303:                                              ; preds = %170
  store i32 0, ptr %14, align 4, !tbaa !9
  %304 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %304, ptr %5, align 4, !tbaa !9
  store i32 108064, ptr %15, align 4, !tbaa !9
  %305 = load i32, ptr %15, align 4, !tbaa !9
  %306 = load i32, ptr %14, align 4, !tbaa !9
  %307 = add i32 %306, %305
  store i32 %307, ptr %14, align 4, !tbaa !9
  %308 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %308, ptr %15, align 4, !tbaa !9
  store i32 76496, ptr %16, align 4, !tbaa !9
  %309 = load i32, ptr %16, align 4, !tbaa !9
  %310 = load i32, ptr %15, align 4, !tbaa !9
  %311 = add i32 %310, %309
  store i32 %311, ptr %15, align 4, !tbaa !9
  store i32 100, ptr %16, align 4, !tbaa !9
  %312 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %312, ptr %17, align 4, !tbaa !9
  store i32 35618, ptr %18, align 4, !tbaa !9
  %313 = load i32, ptr %18, align 4, !tbaa !9
  %314 = load i32, ptr %17, align 4, !tbaa !9
  %315 = add i32 %314, %313
  store i32 %315, ptr %17, align 4, !tbaa !9
  %316 = load ptr, ptr %3, align 8, !tbaa !5
  %317 = load i32, ptr %14, align 4, !tbaa !9
  %318 = load i32, ptr %15, align 4, !tbaa !9
  %319 = load i32, ptr %16, align 4, !tbaa !9
  %320 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %316, i32 noundef %317, i32 noundef %318, i32 noundef %319, i32 noundef %320)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

321:                                              ; preds = %98
  store i32 0, ptr %14, align 4, !tbaa !9
  store i32 99504, ptr %15, align 4, !tbaa !9
  %322 = load i32, ptr %15, align 4, !tbaa !9
  %323 = load i32, ptr %14, align 4, !tbaa !9
  %324 = add i32 %323, %322
  store i32 %324, ptr %14, align 4, !tbaa !9
  %325 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %325, ptr %15, align 4, !tbaa !9
  store i32 76496, ptr %16, align 4, !tbaa !9
  %326 = load i32, ptr %16, align 4, !tbaa !9
  %327 = load i32, ptr %15, align 4, !tbaa !9
  %328 = add i32 %327, %326
  store i32 %328, ptr %15, align 4, !tbaa !9
  store i32 63, ptr %16, align 4, !tbaa !9
  %329 = load ptr, ptr %3, align 8, !tbaa !5
  %330 = load i32, ptr %14, align 4, !tbaa !9
  %331 = load i32, ptr %15, align 4, !tbaa !9
  %332 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %329, i32 noundef %330, i32 noundef %331, i32 noundef %332)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

333:                                              ; preds = %285, %74
  %334 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %334, ptr %14, align 4, !tbaa !9
  %335 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %335, ptr %15, align 4, !tbaa !9
  %336 = load ptr, ptr %3, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.w2c_hermes, ptr %336, i32 0, i32 6
  %338 = load i32, ptr %14, align 4, !tbaa !9
  %339 = zext i32 %338 to i64
  %340 = add i64 %339, 8
  %341 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %337, i64 noundef %340, i32 noundef %341)
  %342 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %342, ptr %14, align 4, !tbaa !9
  %343 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %343, ptr %15, align 4, !tbaa !9
  %344 = load ptr, ptr %3, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.w2c_hermes, ptr %344, i32 0, i32 6
  %346 = load i32, ptr %14, align 4, !tbaa !9
  %347 = zext i32 %346 to i64
  %348 = add i64 %347, 4
  %349 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %345, i64 noundef %348, i32 noundef %349)
  %350 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %350, ptr %14, align 4, !tbaa !9
  %351 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %351, ptr %15, align 4, !tbaa !9
  %352 = load ptr, ptr %3, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.w2c_hermes, ptr %352, i32 0, i32 6
  %354 = load i32, ptr %14, align 4, !tbaa !9
  %355 = zext i32 %354 to i64
  %356 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %353, i64 noundef %355, i32 noundef %356)
  %357 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %357, ptr %14, align 4, !tbaa !9
  %358 = load ptr, ptr %3, align 8, !tbaa !5
  %359 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %358, i32 noundef %359)
  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 4, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  ret void
}

declare i32 @w2c_hermes_hermes0x3A0x3AcheckedCalloc0x28unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef, i32 noundef, i32 noundef) #4

declare void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #4

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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: nounwind uwtable
declare dso_local void @w2c_hermes_dlfree(ptr 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 void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

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

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

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

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

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

; 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 #0

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

8:                                                ; preds = %2
  %9 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %4)
  %10 = add nsw i32 %6, 1
  %11 = and i32 %10, 63
  %12 = zext nneg i32 %11 to i64
  %13 = shl nuw i64 1, %12
  %14 = trunc i64 %13 to i32
  %15 = tail call i32 @w2c_hermes_hermes0x3A0x3AcheckedCalloc0x28unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef %0, i32 noundef %9, i32 noundef %14) #4
  %16 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %4)
  %.not = icmp eq i32 %16, 0
  br i1 %.not, label %17, label %20

17:                                               ; preds = %8
  %18 = add nuw nsw i64 %4, 8
  %19 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %18)
  br label %.loopexit

20:                                               ; preds = %8
  %21 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %5)
  %22 = icmp ugt i32 %21, 2
  br i1 %22, label %70, label %23

23:                                               ; preds = %20
  %24 = add nuw nsw i64 %4, 8
  %25 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %24)
  %26 = zext i32 %9 to i64
  %27 = zext i32 %16 to i64
  br label %28

28:                                               ; preds = %67, %23
  %indvars.iv = phi i64 [ %indvars.iv.next, %67 ], [ 0, %23 ]
  %29 = trunc nuw i64 %indvars.iv to i32
  switch i32 %21, label %35 [
    i32 0, label %40
    i32 1, label %30
  ]

30:                                               ; preds = %28
  %31 = shl i32 %29, 1
  %32 = add i32 %31, %25
  %33 = zext i32 %32 to i64
  %34 = tail call i32 @i32_load16_u(ptr noundef nonnull %3, i64 noundef %33)
  br label %44

35:                                               ; preds = %28
  %36 = shl i32 %29, 2
  %37 = add i32 %36, %25
  %38 = zext i32 %37 to i64
  %39 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %38)
  br label %44

40:                                               ; preds = %28
  %41 = add i32 %25, %29
  %42 = zext i32 %41 to i64
  %43 = tail call i32 @i32_load8_u(ptr noundef nonnull %3, i64 noundef %42)
  br label %44

44:                                               ; preds = %40, %35, %30
  %.0201 = phi i32 [ %39, %35 ], [ %34, %30 ], [ %43, %40 ]
  %45 = icmp eq i64 %indvars.iv, %26
  br i1 %45, label %69, label %46

46:                                               ; preds = %44
  switch i32 %6, label %60 [
    i32 -1, label %47
    i32 0, label %53
    i32 1, label %62
  ]

47:                                               ; preds = %46
  %48 = icmp ugt i32 %.0201, 255
  br i1 %48, label %61, label %49

49:                                               ; preds = %47
  %50 = trunc nuw i64 %indvars.iv to i32
  %51 = add i32 %15, %50
  %52 = zext i32 %51 to i64
  tail call void @i32_store8(ptr noundef nonnull %3, i64 noundef %52, i32 noundef %.0201)
  br label %67

53:                                               ; preds = %46
  %54 = icmp ugt i32 %.0201, 65535
  br i1 %54, label %61, label %55

55:                                               ; preds = %53
  %56 = trunc nuw i64 %indvars.iv to i32
  %57 = shl i32 %56, 1
  %58 = add i32 %57, %15
  %59 = zext i32 %58 to i64
  tail call void @i32_store16(ptr noundef nonnull %3, i64 noundef %59, i32 noundef %.0201)
  br label %67

60:                                               ; preds = %46
  tail call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef 99504, i32 noundef 76496, i32 noundef 109) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

61:                                               ; preds = %53, %47
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 137506, i32 noundef 53955, i32 noundef 17, i32 noundef 63776)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

62:                                               ; preds = %46
  %63 = trunc nuw i64 %indvars.iv to i32
  %64 = shl i32 %63, 2
  %65 = add i32 %64, %15
  %66 = zext i32 %65 to i64
  tail call void @i32_store(ptr noundef nonnull %3, i64 noundef %66, i32 noundef %.0201)
  br label %67

67:                                               ; preds = %62, %55, %49
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %.not206 = icmp eq i64 %indvars.iv.next, %27
  br i1 %.not206, label %.loopexit, label %28

68:                                               ; preds = %2
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 137540, i32 noundef 53955, i32 noundef 13, i32 noundef 63776)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

69:                                               ; preds = %44
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 108064, i32 noundef 76496, i32 noundef 100, i32 noundef 35618)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

70:                                               ; preds = %20
  tail call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef 99504, i32 noundef 76496, i32 noundef 63) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

.loopexit:                                        ; preds = %67, %17
  %.pre-phi = phi i64 [ %18, %17 ], [ %24, %67 ]
  %.0202 = phi i32 [ %19, %17 ], [ %25, %67 ]
  tail call void @i32_store(ptr noundef nonnull %3, i64 noundef %.pre-phi, i32 noundef %15)
  tail call void @i32_store(ptr noundef nonnull %3, i64 noundef %5, i32 noundef %10)
  tail call void @i32_store(ptr noundef nonnull %3, i64 noundef %4, i32 noundef %9)
  tail call void @w2c_hermes_dlfree(ptr noundef %0, i32 noundef %.0202)
  ret void
}

declare i32 @w2c_hermes_hermes0x3A0x3AcheckedCalloc0x28unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

attributes #0 = { 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 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }

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

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


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