; 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 void @i64_store(ptr noundef, i64 noundef, i64 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_u(ptr noundef, i64 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
declare dso_local void @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x2C0x20false0x3E0x3A0x3Avisit0x28hermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x2C0x20false0x3E0x3A0x3AvisitChildren0x28hermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3AHookTypeAnnotationNode0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) #3 {
  %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 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) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, 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
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  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 8, ptr %17) #4
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.w2c_hermes, ptr %18, i32 0, i32 3
  %20 = load i32, ptr %19, align 8, !tbaa !11
  store i32 %20, ptr %12, align 4, !tbaa !9
  store i32 32, ptr %13, align 4, !tbaa !9
  %21 = load i32, ptr %13, align 4, !tbaa !9
  %22 = load i32, ptr %12, align 4, !tbaa !9
  %23 = sub i32 %22, %21
  store i32 %23, ptr %12, align 4, !tbaa !9
  %24 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %24, ptr %8, align 4, !tbaa !9
  %25 = load i32, ptr %12, align 4, !tbaa !9
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.w2c_hermes, ptr %26, i32 0, i32 3
  store i32 %25, ptr %27, align 8, !tbaa !11
  %28 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %28, ptr %12, align 4, !tbaa !9
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.w2c_hermes, ptr %29, i32 0, i32 6
  %31 = load i32, ptr %12, align 4, !tbaa !9
  %32 = zext i32 %31 to i64
  %33 = add i64 %32, 32
  %34 = call i32 @i32_load(ptr noundef %30, i64 noundef %33)
  store i32 %34, ptr %12, align 4, !tbaa !9
  %35 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %35, ptr %7, align 4, !tbaa !9
  %36 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %36, ptr %13, align 4, !tbaa !9
  store i32 28, ptr %14, align 4, !tbaa !9
  %37 = load i32, ptr %14, align 4, !tbaa !9
  %38 = load i32, ptr %13, align 4, !tbaa !9
  %39 = add i32 %38, %37
  store i32 %39, ptr %13, align 4, !tbaa !9
  %40 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %40, ptr %11, align 4, !tbaa !9
  %41 = load i32, ptr %12, align 4, !tbaa !9
  %42 = load i32, ptr %13, align 4, !tbaa !9
  %43 = icmp ne i32 %41, %42
  %44 = zext i1 %43 to i32
  store i32 %44, ptr %12, align 4, !tbaa !9
  %45 = load i32, ptr %12, align 4, !tbaa !9
  %46 = icmp ne i32 %45, 0
  br i1 %46, label %47, label %171

47:                                               ; preds = %3
  br label %48

48:                                               ; preds = %169, %47
  %49 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %49, ptr %12, align 4, !tbaa !9
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.w2c_hermes, ptr %50, i32 0, i32 6
  %52 = load i32, ptr %12, align 4, !tbaa !9
  %53 = zext i32 %52 to i64
  %54 = add i64 %53, 4
  %55 = call i32 @i32_load(ptr noundef %51, i64 noundef %54)
  store i32 %55, ptr %12, align 4, !tbaa !9
  %56 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %56, ptr %9, align 4, !tbaa !9
  %57 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %57, ptr %13, align 4, !tbaa !9
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.w2c_hermes, ptr %58, i32 0, i32 6
  %60 = load i32, ptr %13, 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 %13, align 4, !tbaa !9
  %63 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %63, ptr %10, align 4, !tbaa !9
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.w2c_hermes, ptr %64, i32 0, i32 6
  %66 = load i32, ptr %12, align 4, !tbaa !9
  %67 = zext i32 %66 to i64
  %68 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %65, i64 noundef %67, i32 noundef %68)
  %69 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %69, ptr %12, align 4, !tbaa !9
  %70 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %70, ptr %13, align 4, !tbaa !9
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.w2c_hermes, ptr %71, i32 0, i32 6
  %73 = load i32, ptr %12, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = add i64 %74, 4
  %76 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %72, i64 noundef %75, i32 noundef %76)
  %77 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %77, ptr %12, align 4, !tbaa !9
  store i64 0, ptr %17, align 8, !tbaa !17
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.w2c_hermes, ptr %78, i32 0, i32 6
  %80 = load i32, ptr %12, align 4, !tbaa !9
  %81 = zext i32 %80 to i64
  %82 = load i64, ptr %17, align 8, !tbaa !17
  call void @i64_store(ptr noundef %79, i64 noundef %81, i64 noundef %82)
  %83 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %83, ptr %12, align 4, !tbaa !9
  store i32 24, ptr %13, align 4, !tbaa !9
  %84 = load i32, ptr %13, align 4, !tbaa !9
  %85 = load i32, ptr %12, align 4, !tbaa !9
  %86 = add i32 %85, %84
  store i32 %86, ptr %12, align 4, !tbaa !9
  %87 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %87, ptr %13, align 4, !tbaa !9
  %88 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %88, ptr %14, align 4, !tbaa !9
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = load i32, ptr %12, align 4, !tbaa !9
  %91 = load i32, ptr %13, align 4, !tbaa !9
  %92 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x2C0x20false0x3E0x3A0x3Avisit0x28hermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %92)
  %93 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %93, ptr %12, align 4, !tbaa !9
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.w2c_hermes, ptr %94, i32 0, i32 6
  %96 = load i32, ptr %12, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = add i64 %97, 28
  %99 = call i32 @i32_load8_u(ptr noundef %95, i64 noundef %98)
  store i32 %99, ptr %12, align 4, !tbaa !9
  %100 = load i32, ptr %12, align 4, !tbaa !9
  switch i32 %100, label %104 [
    i32 0, label %101
    i32 1, label %102
    i32 2, label %103
  ]

101:                                              ; preds = %48
  br label %120

102:                                              ; preds = %48
  br label %159

103:                                              ; preds = %48
  br label %105

104:                                              ; preds = %48
  br label %370

105:                                              ; preds = %103
  %106 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %106, ptr %12, align 4, !tbaa !9
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.w2c_hermes, ptr %107, i32 0, i32 6
  %109 = load i32, ptr %12, align 4, !tbaa !9
  %110 = zext i32 %109 to i64
  %111 = add i64 %110, 24
  %112 = call i32 @i32_load(ptr noundef %108, i64 noundef %111)
  store i32 %112, ptr %12, align 4, !tbaa !9
  %113 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %113, ptr %7, align 4, !tbaa !9
  %114 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %114, ptr %12, align 4, !tbaa !9
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.w2c_hermes, ptr %115, i32 0, i32 6
  %117 = load i32, ptr %12, align 4, !tbaa !9
  %118 = zext i32 %117 to i64
  %119 = call i32 @i32_load(ptr noundef %116, i64 noundef %118)
  store i32 %119, ptr %12, align 4, !tbaa !9
  br label %127

120:                                              ; preds = %101
  %121 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %121, ptr %12, align 4, !tbaa !9
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.w2c_hermes, ptr %122, i32 0, i32 6
  %124 = load i32, ptr %12, align 4, !tbaa !9
  %125 = zext i32 %124 to i64
  %126 = call i32 @i32_load(ptr noundef %123, i64 noundef %125)
  store i32 %126, ptr %12, align 4, !tbaa !9
  br label %127

127:                                              ; preds = %120, %105
  %128 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %128, ptr %10, align 4, !tbaa !9
  %129 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %129, ptr %12, align 4, !tbaa !9
  %130 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %130, ptr %13, align 4, !tbaa !9
  %131 = load ptr, ptr %4, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.w2c_hermes, ptr %131, i32 0, i32 6
  %133 = load i32, ptr %12, align 4, !tbaa !9
  %134 = zext i32 %133 to i64
  %135 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %132, i64 noundef %134, i32 noundef %135)
  %136 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %136, ptr %12, align 4, !tbaa !9
  %137 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %137, ptr %13, align 4, !tbaa !9
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.w2c_hermes, ptr %138, i32 0, i32 6
  %140 = load i32, ptr %12, align 4, !tbaa !9
  %141 = zext i32 %140 to i64
  %142 = add i64 %141, 4
  %143 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %139, i64 noundef %142, i32 noundef %143)
  %144 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %144, ptr %12, align 4, !tbaa !9
  %145 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %145, ptr %13, align 4, !tbaa !9
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.w2c_hermes, ptr %146, i32 0, i32 6
  %148 = load i32, ptr %12, align 4, !tbaa !9
  %149 = zext i32 %148 to i64
  %150 = add i64 %149, 4
  %151 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %147, i64 noundef %150, i32 noundef %151)
  %152 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %152, ptr %12, align 4, !tbaa !9
  %153 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %153, ptr %13, align 4, !tbaa !9
  %154 = load ptr, ptr %4, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.w2c_hermes, ptr %154, i32 0, i32 6
  %156 = load i32, ptr %12, align 4, !tbaa !9
  %157 = zext i32 %156 to i64
  %158 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %155, i64 noundef %157, i32 noundef %158)
  br label %159

159:                                              ; preds = %127, %102
  %160 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %160, ptr %12, align 4, !tbaa !9
  %161 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %161, ptr %7, align 4, !tbaa !9
  %162 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %162, ptr %13, align 4, !tbaa !9
  %163 = load i32, ptr %12, align 4, !tbaa !9
  %164 = load i32, ptr %13, align 4, !tbaa !9
  %165 = icmp ne i32 %163, %164
  %166 = zext i1 %165 to i32
  store i32 %166, ptr %12, align 4, !tbaa !9
  %167 = load i32, ptr %12, align 4, !tbaa !9
  %168 = icmp ne i32 %167, 0
  br i1 %168, label %169, label %170

169:                                              ; preds = %159
  br label %48

170:                                              ; preds = %159
  br label %171

171:                                              ; preds = %170, %3
  %172 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %172, ptr %12, align 4, !tbaa !9
  store i32 16, ptr %13, align 4, !tbaa !9
  %173 = load i32, ptr %13, align 4, !tbaa !9
  %174 = load i32, ptr %12, align 4, !tbaa !9
  %175 = add i32 %174, %173
  store i32 %175, ptr %12, align 4, !tbaa !9
  %176 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %176, ptr %13, align 4, !tbaa !9
  %177 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %177, ptr %14, align 4, !tbaa !9
  %178 = load ptr, ptr %4, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.w2c_hermes, ptr %178, i32 0, i32 6
  %180 = load i32, ptr %14, align 4, !tbaa !9
  %181 = zext i32 %180 to i64
  %182 = add i64 %181, 36
  %183 = call i32 @i32_load(ptr noundef %179, i64 noundef %182)
  store i32 %183, ptr %14, align 4, !tbaa !9
  %184 = load ptr, ptr %4, align 8, !tbaa !5
  %185 = load i32, ptr %12, align 4, !tbaa !9
  %186 = load i32, ptr %13, align 4, !tbaa !9
  %187 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x2C0x20false0x3E0x3A0x3Avisit0x28hermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef %184, i32 noundef %185, i32 noundef %186, i32 noundef %187)
  store i32 0, ptr %12, align 4, !tbaa !9
  %188 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %188, ptr %7, align 4, !tbaa !9
  %189 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %189, ptr %12, align 4, !tbaa !9
  %190 = load ptr, ptr %4, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.w2c_hermes, ptr %190, i32 0, i32 6
  %192 = load i32, ptr %12, align 4, !tbaa !9
  %193 = zext i32 %192 to i64
  %194 = add i64 %193, 20
  %195 = call i32 @i32_load8_u(ptr noundef %191, i64 noundef %194)
  store i32 %195, ptr %12, align 4, !tbaa !9
  %196 = load i32, ptr %12, align 4, !tbaa !9
  switch i32 %196, label %200 [
    i32 0, label %197
    i32 1, label %198
    i32 2, label %199
  ]

197:                                              ; preds = %171
  br label %236

198:                                              ; preds = %171
  br label %227

199:                                              ; preds = %171
  br label %218

200:                                              ; preds = %171
  br label %201

201:                                              ; preds = %200
  store i32 0, ptr %12, align 4, !tbaa !9
  store i32 195471, ptr %13, align 4, !tbaa !9
  %202 = load i32, ptr %13, align 4, !tbaa !9
  %203 = load i32, ptr %12, align 4, !tbaa !9
  %204 = add i32 %203, %202
  store i32 %204, ptr %12, align 4, !tbaa !9
  %205 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %205, ptr %13, align 4, !tbaa !9
  store i32 79034, ptr %14, align 4, !tbaa !9
  %206 = load i32, ptr %14, align 4, !tbaa !9
  %207 = load i32, ptr %13, align 4, !tbaa !9
  %208 = add i32 %207, %206
  store i32 %208, ptr %13, align 4, !tbaa !9
  store i32 282, ptr %14, align 4, !tbaa !9
  %209 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %209, ptr %15, align 4, !tbaa !9
  store i32 28109, ptr %16, align 4, !tbaa !9
  %210 = load i32, ptr %16, align 4, !tbaa !9
  %211 = load i32, ptr %15, align 4, !tbaa !9
  %212 = add i32 %211, %210
  store i32 %212, ptr %15, align 4, !tbaa !9
  %213 = load ptr, ptr %4, align 8, !tbaa !5
  %214 = load i32, ptr %12, align 4, !tbaa !9
  %215 = load i32, ptr %13, align 4, !tbaa !9
  %216 = load i32, ptr %14, align 4, !tbaa !9
  %217 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %213, i32 noundef %214, i32 noundef %215, i32 noundef %216, i32 noundef %217)
  call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

218:                                              ; preds = %199
  %219 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %219, ptr %12, align 4, !tbaa !9
  %220 = load ptr, ptr %4, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.w2c_hermes, ptr %220, i32 0, i32 6
  %222 = load i32, ptr %12, align 4, !tbaa !9
  %223 = zext i32 %222 to i64
  %224 = add i64 %223, 16
  %225 = call i32 @i32_load(ptr noundef %221, i64 noundef %224)
  store i32 %225, ptr %12, align 4, !tbaa !9
  %226 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %226, ptr %7, align 4, !tbaa !9
  br label %227

227:                                              ; preds = %218, %198
  %228 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %228, ptr %12, align 4, !tbaa !9
  %229 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %229, ptr %13, align 4, !tbaa !9
  %230 = load ptr, ptr %4, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.w2c_hermes, ptr %230, i32 0, i32 6
  %232 = load i32, ptr %12, align 4, !tbaa !9
  %233 = zext i32 %232 to i64
  %234 = add i64 %233, 36
  %235 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %231, i64 noundef %234, i32 noundef %235)
  br label %236

236:                                              ; preds = %227, %197
  %237 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %237, ptr %12, align 4, !tbaa !9
  store i32 8, ptr %13, align 4, !tbaa !9
  %238 = load i32, ptr %13, align 4, !tbaa !9
  %239 = load i32, ptr %12, align 4, !tbaa !9
  %240 = add i32 %239, %238
  store i32 %240, ptr %12, align 4, !tbaa !9
  %241 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %241, ptr %13, align 4, !tbaa !9
  %242 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %242, ptr %14, align 4, !tbaa !9
  %243 = load ptr, ptr %4, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.w2c_hermes, ptr %243, i32 0, i32 6
  %245 = load i32, ptr %14, align 4, !tbaa !9
  %246 = zext i32 %245 to i64
  %247 = add i64 %246, 40
  %248 = call i32 @i32_load(ptr noundef %244, i64 noundef %247)
  store i32 %248, ptr %14, align 4, !tbaa !9
  %249 = load ptr, ptr %4, align 8, !tbaa !5
  %250 = load i32, ptr %12, align 4, !tbaa !9
  %251 = load i32, ptr %13, align 4, !tbaa !9
  %252 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x2C0x20false0x3E0x3A0x3Avisit0x28hermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef %249, i32 noundef %250, i32 noundef %251, i32 noundef %252)
  store i32 0, ptr %12, align 4, !tbaa !9
  %253 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %253, ptr %7, align 4, !tbaa !9
  %254 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %254, ptr %12, align 4, !tbaa !9
  %255 = load ptr, ptr %4, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.w2c_hermes, ptr %255, i32 0, i32 6
  %257 = load i32, ptr %12, align 4, !tbaa !9
  %258 = zext i32 %257 to i64
  %259 = add i64 %258, 12
  %260 = call i32 @i32_load8_u(ptr noundef %256, i64 noundef %259)
  store i32 %260, ptr %12, align 4, !tbaa !9
  %261 = load i32, ptr %12, align 4, !tbaa !9
  switch i32 %261, label %265 [
    i32 0, label %262
    i32 1, label %263
    i32 2, label %264
  ]

262:                                              ; preds = %236
  br label %301

263:                                              ; preds = %236
  br label %292

264:                                              ; preds = %236
  br label %283

265:                                              ; preds = %236
  br label %266

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

283:                                              ; preds = %264
  %284 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %284, ptr %12, align 4, !tbaa !9
  %285 = load ptr, ptr %4, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.w2c_hermes, ptr %285, i32 0, i32 6
  %287 = load i32, ptr %12, align 4, !tbaa !9
  %288 = zext i32 %287 to i64
  %289 = add i64 %288, 8
  %290 = call i32 @i32_load(ptr noundef %286, i64 noundef %289)
  store i32 %290, ptr %12, align 4, !tbaa !9
  %291 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %291, ptr %7, align 4, !tbaa !9
  br label %292

292:                                              ; preds = %283, %263
  %293 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %293, ptr %12, align 4, !tbaa !9
  %294 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %294, ptr %13, align 4, !tbaa !9
  %295 = load ptr, ptr %4, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.w2c_hermes, ptr %295, i32 0, i32 6
  %297 = load i32, ptr %12, align 4, !tbaa !9
  %298 = zext i32 %297 to i64
  %299 = add i64 %298, 40
  %300 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %296, i64 noundef %299, i32 noundef %300)
  br label %301

301:                                              ; preds = %292, %262
  %302 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %302, ptr %12, align 4, !tbaa !9
  %303 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %303, ptr %13, align 4, !tbaa !9
  %304 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %304, ptr %14, align 4, !tbaa !9
  %305 = load ptr, ptr %4, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.w2c_hermes, ptr %305, i32 0, i32 6
  %307 = load i32, ptr %14, align 4, !tbaa !9
  %308 = zext i32 %307 to i64
  %309 = add i64 %308, 44
  %310 = call i32 @i32_load(ptr noundef %306, i64 noundef %309)
  store i32 %310, ptr %14, align 4, !tbaa !9
  %311 = load ptr, ptr %4, align 8, !tbaa !5
  %312 = load i32, ptr %12, align 4, !tbaa !9
  %313 = load i32, ptr %13, align 4, !tbaa !9
  %314 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x2C0x20false0x3E0x3A0x3Avisit0x28hermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef %311, i32 noundef %312, i32 noundef %313, i32 noundef %314)
  store i32 0, ptr %12, align 4, !tbaa !9
  %315 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %315, ptr %7, align 4, !tbaa !9
  %316 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %316, ptr %12, align 4, !tbaa !9
  %317 = load ptr, ptr %4, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.w2c_hermes, ptr %317, i32 0, i32 6
  %319 = load i32, ptr %12, align 4, !tbaa !9
  %320 = zext i32 %319 to i64
  %321 = add i64 %320, 4
  %322 = call i32 @i32_load8_u(ptr noundef %318, i64 noundef %321)
  store i32 %322, ptr %12, align 4, !tbaa !9
  %323 = load i32, ptr %12, align 4, !tbaa !9
  switch i32 %323, label %327 [
    i32 0, label %324
    i32 1, label %325
    i32 2, label %326
  ]

324:                                              ; preds = %301
  br label %362

325:                                              ; preds = %301
  br label %353

326:                                              ; preds = %301
  br label %345

327:                                              ; preds = %301
  br label %328

328:                                              ; preds = %327
  store i32 0, ptr %12, align 4, !tbaa !9
  store i32 195471, ptr %13, align 4, !tbaa !9
  %329 = load i32, ptr %13, align 4, !tbaa !9
  %330 = load i32, ptr %12, align 4, !tbaa !9
  %331 = add i32 %330, %329
  store i32 %331, ptr %12, align 4, !tbaa !9
  %332 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %332, ptr %13, align 4, !tbaa !9
  store i32 79034, ptr %14, align 4, !tbaa !9
  %333 = load i32, ptr %14, align 4, !tbaa !9
  %334 = load i32, ptr %13, align 4, !tbaa !9
  %335 = add i32 %334, %333
  store i32 %335, ptr %13, align 4, !tbaa !9
  store i32 282, ptr %14, align 4, !tbaa !9
  %336 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %336, ptr %15, align 4, !tbaa !9
  store i32 28109, ptr %16, align 4, !tbaa !9
  %337 = load i32, ptr %16, align 4, !tbaa !9
  %338 = load i32, ptr %15, align 4, !tbaa !9
  %339 = add i32 %338, %337
  store i32 %339, ptr %15, align 4, !tbaa !9
  %340 = load ptr, ptr %4, align 8, !tbaa !5
  %341 = load i32, ptr %12, align 4, !tbaa !9
  %342 = load i32, ptr %13, align 4, !tbaa !9
  %343 = load i32, ptr %14, align 4, !tbaa !9
  %344 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %340, i32 noundef %341, i32 noundef %342, i32 noundef %343, i32 noundef %344)
  call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

345:                                              ; preds = %326
  %346 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %346, ptr %12, align 4, !tbaa !9
  %347 = load ptr, ptr %4, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.w2c_hermes, ptr %347, i32 0, i32 6
  %349 = load i32, ptr %12, align 4, !tbaa !9
  %350 = zext i32 %349 to i64
  %351 = call i32 @i32_load(ptr noundef %348, i64 noundef %350)
  store i32 %351, ptr %12, align 4, !tbaa !9
  %352 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %352, ptr %7, align 4, !tbaa !9
  br label %353

353:                                              ; preds = %345, %325
  %354 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %354, ptr %12, align 4, !tbaa !9
  %355 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %355, ptr %13, align 4, !tbaa !9
  %356 = load ptr, ptr %4, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.w2c_hermes, ptr %356, i32 0, i32 6
  %358 = load i32, ptr %12, align 4, !tbaa !9
  %359 = zext i32 %358 to i64
  %360 = add i64 %359, 44
  %361 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %357, i64 noundef %360, i32 noundef %361)
  br label %362

362:                                              ; preds = %353, %324
  %363 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %363, ptr %12, align 4, !tbaa !9
  store i32 32, ptr %13, align 4, !tbaa !9
  %364 = load i32, ptr %13, align 4, !tbaa !9
  %365 = load i32, ptr %12, align 4, !tbaa !9
  %366 = add i32 %365, %364
  store i32 %366, ptr %12, align 4, !tbaa !9
  %367 = load i32, ptr %12, align 4, !tbaa !9
  %368 = load ptr, ptr %4, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.w2c_hermes, ptr %368, i32 0, i32 3
  store i32 %367, ptr %369, align 8, !tbaa !11
  br label %388

370:                                              ; preds = %104
  store i32 0, ptr %12, align 4, !tbaa !9
  %371 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %371, ptr %7, align 4, !tbaa !9
  store i32 195392, ptr %13, align 4, !tbaa !9
  %372 = load i32, ptr %13, align 4, !tbaa !9
  %373 = load i32, ptr %12, align 4, !tbaa !9
  %374 = add i32 %373, %372
  store i32 %374, ptr %12, align 4, !tbaa !9
  %375 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %375, ptr %13, align 4, !tbaa !9
  store i32 79034, ptr %14, align 4, !tbaa !9
  %376 = load i32, ptr %14, align 4, !tbaa !9
  %377 = load i32, ptr %13, align 4, !tbaa !9
  %378 = add i32 %377, %376
  store i32 %378, ptr %13, align 4, !tbaa !9
  store i32 254, ptr %14, align 4, !tbaa !9
  %379 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %379, ptr %15, align 4, !tbaa !9
  store i32 28103, ptr %16, align 4, !tbaa !9
  %380 = load i32, ptr %16, align 4, !tbaa !9
  %381 = load i32, ptr %15, align 4, !tbaa !9
  %382 = add i32 %381, %380
  store i32 %382, ptr %15, align 4, !tbaa !9
  %383 = load ptr, ptr %4, align 8, !tbaa !5
  %384 = load i32, ptr %12, align 4, !tbaa !9
  %385 = load i32, ptr %13, align 4, !tbaa !9
  %386 = load i32, ptr %14, align 4, !tbaa !9
  %387 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %383, i32 noundef %384, i32 noundef %385, i32 noundef %386, i32 noundef %387)
  call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

388:                                              ; preds = %362
  call void @llvm.lifetime.end.p0(i64 8, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  ret void
}

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}
!11 = !{!12, !10, i64 24}
!12 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !16, i64 80}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}
!17 = !{!14, !14, 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 void @i64_store(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_u(ptr noundef, i64 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
declare dso_local void @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x2C0x20false0x3E0x3A0x3Avisit0x28hermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x2C0x20false0x3E0x3A0x3AvisitChildren0x28hermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3AHookTypeAnnotationNode0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 {
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = add i32 %5, -32
  store i32 %6, ptr %4, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  %8 = zext i32 %2 to i64
  %9 = add nuw nsw i64 %8, 32
  %10 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %9)
  %11 = add i32 %2, 28
  %.not = icmp eq i32 %10, %11
  br i1 %.not, label %..loopexit_crit_edge, label %.preheader

..loopexit_crit_edge:                             ; preds = %3
  %.pre223 = zext i32 %6 to i64
  br label %.loopexit

.preheader:                                       ; preds = %3
  %12 = add i32 %5, -8
  %13 = zext i32 %6 to i64
  %14 = add nuw nsw i64 %13, 28
  %15 = add nuw nsw i64 %13, 24
  br label %16

16:                                               ; preds = %.preheader, %33
  %.0 = phi i32 [ %19, %33 ], [ %10, %.preheader ]
  %17 = zext i32 %.0 to i64
  %18 = add nuw nsw i64 %17, 4
  %19 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %18)
  %20 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %17)
  %21 = zext i32 %19 to i64
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %21, i32 noundef %20)
  %22 = zext i32 %20 to i64
  %23 = add nuw nsw i64 %22, 4
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %23, i32 noundef %19)
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %17, i64 noundef 0)
  tail call void @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x2C0x20false0x3E0x3A0x3Avisit0x28hermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef %0, i32 noundef %12, i32 noundef %1, i32 noundef %.0)
  %24 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %14)
  switch i32 %24, label %65 [
    i32 0, label %28
    i32 1, label %33
    i32 2, label %25
  ]

25:                                               ; preds = %16
  %26 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %15)
  %27 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %21)
  %.pre = zext i32 %26 to i64
  %.pre221 = add nuw nsw i64 %.pre, 4
  br label %30

28:                                               ; preds = %16
  %29 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %21)
  br label %30

30:                                               ; preds = %28, %25
  %.pre-phi222 = phi i64 [ %18, %28 ], [ %.pre221, %25 ]
  %.pre-phi = phi i64 [ %17, %28 ], [ %.pre, %25 ]
  %.0217 = phi i32 [ %29, %28 ], [ %27, %25 ]
  %.1 = phi i32 [ %.0, %28 ], [ %26, %25 ]
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %.pre-phi, i32 noundef %.0217)
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %.pre-phi222, i32 noundef %19)
  %31 = zext i32 %.0217 to i64
  %32 = add nuw nsw i64 %31, 4
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %32, i32 noundef %.1)
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %21, i32 noundef %.1)
  br label %33

33:                                               ; preds = %16, %30
  %.not220 = icmp eq i32 %19, %11
  br i1 %.not220, label %.loopexit, label %16

.loopexit:                                        ; preds = %33, %..loopexit_crit_edge
  %.pre-phi224 = phi i64 [ %.pre223, %..loopexit_crit_edge ], [ %13, %33 ]
  %34 = add i32 %5, -16
  %35 = add nuw nsw i64 %8, 36
  %36 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %35)
  tail call void @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x2C0x20false0x3E0x3A0x3Avisit0x28hermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef %0, i32 noundef %34, i32 noundef %1, i32 noundef %36)
  %37 = add nuw nsw i64 %.pre-phi224, 20
  %38 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %37)
  switch i32 %38, label %39 [
    i32 0, label %44
    i32 1, label %43
    i32 2, label %40
  ]

39:                                               ; preds = %.loopexit
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 195471, i32 noundef 79034, i32 noundef 282, i32 noundef 28109)
  tail call void @wasm_rt_trap(i32 noundef 5) #3
  unreachable

40:                                               ; preds = %.loopexit
  %41 = add nuw nsw i64 %.pre-phi224, 16
  %42 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %41)
  br label %43

43:                                               ; preds = %.loopexit, %40
  %.2 = phi i32 [ %42, %40 ], [ 0, %.loopexit ]
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %35, i32 noundef %.2)
  br label %44

44:                                               ; preds = %.loopexit, %43
  %45 = add i32 %5, -24
  %46 = add nuw nsw i64 %8, 40
  %47 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %46)
  tail call void @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x2C0x20false0x3E0x3A0x3Avisit0x28hermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef %0, i32 noundef %45, i32 noundef %1, i32 noundef %47)
  %48 = add nuw nsw i64 %.pre-phi224, 12
  %49 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %48)
  switch i32 %49, label %50 [
    i32 0, label %55
    i32 1, label %54
    i32 2, label %51
  ]

50:                                               ; preds = %44
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 195471, i32 noundef 79034, i32 noundef 282, i32 noundef 28109)
  tail call void @wasm_rt_trap(i32 noundef 5) #3
  unreachable

51:                                               ; preds = %44
  %52 = add nuw nsw i64 %.pre-phi224, 8
  %53 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %52)
  br label %54

54:                                               ; preds = %44, %51
  %.3 = phi i32 [ %53, %51 ], [ 0, %44 ]
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %46, i32 noundef %.3)
  br label %55

55:                                               ; preds = %44, %54
  %56 = add nuw nsw i64 %8, 44
  %57 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %56)
  tail call void @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x2C0x20false0x3E0x3A0x3Avisit0x28hermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef %0, i32 noundef %6, i32 noundef %1, i32 noundef %57)
  %58 = add nuw nsw i64 %.pre-phi224, 4
  %59 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %58)
  switch i32 %59, label %60 [
    i32 0, label %64
    i32 1, label %63
    i32 2, label %61
  ]

60:                                               ; preds = %55
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 195471, i32 noundef 79034, i32 noundef 282, i32 noundef 28109)
  tail call void @wasm_rt_trap(i32 noundef 5) #3
  unreachable

61:                                               ; preds = %55
  %62 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %.pre-phi224)
  br label %63

63:                                               ; preds = %55, %61
  %.4 = phi i32 [ %62, %61 ], [ 0, %55 ]
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %56, i32 noundef %.4)
  br label %64

64:                                               ; preds = %55, %63
  store i32 %5, ptr %4, align 8, !tbaa !5
  ret void

65:                                               ; preds = %16
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 195392, i32 noundef 79034, i32 noundef 254, i32 noundef 28103)
  tail call void @wasm_rt_trap(i32 noundef 5) #3
  unreachable
}

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)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}


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