; 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_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x2C0x20false0x3E0x3A0x3AvisitChildren0x28hermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ASwitchCaseNode0x2A0x29(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 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
  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 8, ptr %16) #4
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.w2c_hermes, ptr %17, i32 0, i32 3
  %19 = load i32, ptr %18, align 8, !tbaa !11
  store i32 %19, ptr %11, align 4, !tbaa !9
  store i32 16, ptr %12, align 4, !tbaa !9
  %20 = load i32, ptr %12, align 4, !tbaa !9
  %21 = load i32, ptr %11, align 4, !tbaa !9
  %22 = sub i32 %21, %20
  store i32 %22, ptr %11, align 4, !tbaa !9
  %23 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %23, ptr %8, align 4, !tbaa !9
  %24 = load i32, ptr %11, align 4, !tbaa !9
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.w2c_hermes, ptr %25, i32 0, i32 3
  store i32 %24, ptr %26, align 8, !tbaa !11
  %27 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %27, ptr %11, align 4, !tbaa !9
  %28 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %28, ptr %12, align 4, !tbaa !9
  %29 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %29, ptr %13, align 4, !tbaa !9
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.w2c_hermes, ptr %30, i32 0, i32 6
  %32 = load i32, ptr %13, align 4, !tbaa !9
  %33 = zext i32 %32 to i64
  %34 = add i64 %33, 28
  %35 = call i32 @i32_load(ptr noundef %31, i64 noundef %34)
  store i32 %35, ptr %13, align 4, !tbaa !9
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = load i32, ptr %11, align 4, !tbaa !9
  %38 = load i32, ptr %12, align 4, !tbaa !9
  %39 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x2C0x20false0x3E0x3A0x3Avisit0x28hermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef %36, i32 noundef %37, i32 noundef %38, i32 noundef %39)
  %40 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %40, ptr %11, align 4, !tbaa !9
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.w2c_hermes, ptr %41, i32 0, i32 6
  %43 = load i32, ptr %11, align 4, !tbaa !9
  %44 = zext i32 %43 to i64
  %45 = add i64 %44, 4
  %46 = call i32 @i32_load8_u(ptr noundef %42, i64 noundef %45)
  store i32 %46, ptr %11, align 4, !tbaa !9
  %47 = load i32, ptr %11, align 4, !tbaa !9
  switch i32 %47, label %51 [
    i32 0, label %48
    i32 1, label %49
    i32 2, label %50
  ]

48:                                               ; preds = %3
  br label %86

49:                                               ; preds = %3
  br label %77

50:                                               ; preds = %3
  br label %69

51:                                               ; preds = %3
  br label %52

52:                                               ; preds = %51
  store i32 0, ptr %11, align 4, !tbaa !9
  store i32 195471, ptr %12, align 4, !tbaa !9
  %53 = load i32, ptr %12, align 4, !tbaa !9
  %54 = load i32, ptr %11, align 4, !tbaa !9
  %55 = add i32 %54, %53
  store i32 %55, ptr %11, align 4, !tbaa !9
  %56 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %56, ptr %12, align 4, !tbaa !9
  store i32 79034, ptr %13, align 4, !tbaa !9
  %57 = load i32, ptr %13, align 4, !tbaa !9
  %58 = load i32, ptr %12, align 4, !tbaa !9
  %59 = add i32 %58, %57
  store i32 %59, ptr %12, align 4, !tbaa !9
  store i32 282, ptr %13, align 4, !tbaa !9
  %60 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %60, ptr %14, align 4, !tbaa !9
  store i32 28109, ptr %15, align 4, !tbaa !9
  %61 = load i32, ptr %15, align 4, !tbaa !9
  %62 = load i32, ptr %14, align 4, !tbaa !9
  %63 = add i32 %62, %61
  store i32 %63, ptr %14, align 4, !tbaa !9
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = load i32, ptr %11, align 4, !tbaa !9
  %66 = load i32, ptr %12, align 4, !tbaa !9
  %67 = load i32, ptr %13, align 4, !tbaa !9
  %68 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %64, i32 noundef %65, i32 noundef %66, i32 noundef %67, i32 noundef %68)
  call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

69:                                               ; preds = %50
  %70 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %70, ptr %11, 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 %11, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = call i32 @i32_load(ptr noundef %72, i64 noundef %74)
  store i32 %75, ptr %11, align 4, !tbaa !9
  %76 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %76, ptr %7, align 4, !tbaa !9
  br label %77

77:                                               ; preds = %69, %49
  %78 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %78, ptr %11, align 4, !tbaa !9
  %79 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %79, ptr %12, align 4, !tbaa !9
  %80 = load ptr, ptr %4, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.w2c_hermes, ptr %80, i32 0, i32 6
  %82 = load i32, ptr %11, align 4, !tbaa !9
  %83 = zext i32 %82 to i64
  %84 = add i64 %83, 28
  %85 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %81, i64 noundef %84, i32 noundef %85)
  br label %86

86:                                               ; preds = %77, %48
  %87 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %87, ptr %11, align 4, !tbaa !9
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.w2c_hermes, ptr %88, i32 0, i32 6
  %90 = load i32, ptr %11, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = add i64 %91, 36
  %93 = call i32 @i32_load(ptr noundef %89, i64 noundef %92)
  store i32 %93, ptr %11, align 4, !tbaa !9
  %94 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %94, ptr %7, align 4, !tbaa !9
  %95 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %95, ptr %12, align 4, !tbaa !9
  store i32 32, ptr %13, align 4, !tbaa !9
  %96 = load i32, ptr %13, align 4, !tbaa !9
  %97 = load i32, ptr %12, align 4, !tbaa !9
  %98 = add i32 %97, %96
  store i32 %98, ptr %12, align 4, !tbaa !9
  %99 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %99, ptr %10, align 4, !tbaa !9
  %100 = load i32, ptr %11, align 4, !tbaa !9
  %101 = load i32, ptr %12, align 4, !tbaa !9
  %102 = icmp ne i32 %100, %101
  %103 = zext i1 %102 to i32
  store i32 %103, ptr %11, align 4, !tbaa !9
  %104 = load i32, ptr %11, align 4, !tbaa !9
  %105 = icmp ne i32 %104, 0
  br i1 %105, label %106, label %230

106:                                              ; preds = %86
  br label %107

107:                                              ; preds = %228, %106
  %108 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %108, ptr %11, align 4, !tbaa !9
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.w2c_hermes, ptr %109, i32 0, i32 6
  %111 = load i32, ptr %11, align 4, !tbaa !9
  %112 = zext i32 %111 to i64
  %113 = add i64 %112, 4
  %114 = call i32 @i32_load(ptr noundef %110, i64 noundef %113)
  store i32 %114, ptr %11, align 4, !tbaa !9
  %115 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %115, ptr %6, align 4, !tbaa !9
  %116 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %116, ptr %12, align 4, !tbaa !9
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.w2c_hermes, ptr %117, i32 0, i32 6
  %119 = load i32, ptr %12, align 4, !tbaa !9
  %120 = zext i32 %119 to i64
  %121 = call i32 @i32_load(ptr noundef %118, i64 noundef %120)
  store i32 %121, ptr %12, align 4, !tbaa !9
  %122 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %122, ptr %9, align 4, !tbaa !9
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.w2c_hermes, ptr %123, i32 0, i32 6
  %125 = load i32, ptr %11, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  %127 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %124, i64 noundef %126, i32 noundef %127)
  %128 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %128, ptr %11, align 4, !tbaa !9
  %129 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %129, ptr %12, align 4, !tbaa !9
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.w2c_hermes, ptr %130, i32 0, i32 6
  %132 = load i32, ptr %11, align 4, !tbaa !9
  %133 = zext i32 %132 to i64
  %134 = add i64 %133, 4
  %135 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %131, i64 noundef %134, i32 noundef %135)
  %136 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %136, ptr %11, align 4, !tbaa !9
  store i64 0, ptr %16, align 8, !tbaa !17
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.w2c_hermes, ptr %137, i32 0, i32 6
  %139 = load i32, ptr %11, align 4, !tbaa !9
  %140 = zext i32 %139 to i64
  %141 = load i64, ptr %16, align 8, !tbaa !17
  call void @i64_store(ptr noundef %138, i64 noundef %140, i64 noundef %141)
  %142 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %142, ptr %11, align 4, !tbaa !9
  store i32 8, ptr %12, align 4, !tbaa !9
  %143 = load i32, ptr %12, align 4, !tbaa !9
  %144 = load i32, ptr %11, align 4, !tbaa !9
  %145 = add i32 %144, %143
  store i32 %145, ptr %11, align 4, !tbaa !9
  %146 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %146, ptr %12, align 4, !tbaa !9
  %147 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %147, ptr %13, align 4, !tbaa !9
  %148 = load ptr, ptr %4, align 8, !tbaa !5
  %149 = load i32, ptr %11, align 4, !tbaa !9
  %150 = load i32, ptr %12, align 4, !tbaa !9
  %151 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x2C0x20false0x3E0x3A0x3Avisit0x28hermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef %148, i32 noundef %149, i32 noundef %150, i32 noundef %151)
  %152 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %152, ptr %11, align 4, !tbaa !9
  %153 = load ptr, ptr %4, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.w2c_hermes, ptr %153, i32 0, i32 6
  %155 = load i32, ptr %11, align 4, !tbaa !9
  %156 = zext i32 %155 to i64
  %157 = add i64 %156, 12
  %158 = call i32 @i32_load8_u(ptr noundef %154, i64 noundef %157)
  store i32 %158, ptr %11, align 4, !tbaa !9
  %159 = load i32, ptr %11, align 4, !tbaa !9
  switch i32 %159, label %163 [
    i32 0, label %160
    i32 1, label %161
    i32 2, label %162
  ]

160:                                              ; preds = %107
  br label %179

161:                                              ; preds = %107
  br label %218

162:                                              ; preds = %107
  br label %164

163:                                              ; preds = %107
  br label %238

164:                                              ; preds = %162
  %165 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %165, ptr %11, align 4, !tbaa !9
  %166 = load ptr, ptr %4, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.w2c_hermes, ptr %166, i32 0, i32 6
  %168 = load i32, ptr %11, align 4, !tbaa !9
  %169 = zext i32 %168 to i64
  %170 = add i64 %169, 8
  %171 = call i32 @i32_load(ptr noundef %167, i64 noundef %170)
  store i32 %171, ptr %11, align 4, !tbaa !9
  %172 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %172, ptr %7, align 4, !tbaa !9
  %173 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %173, ptr %11, align 4, !tbaa !9
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.w2c_hermes, ptr %174, i32 0, i32 6
  %176 = load i32, ptr %11, align 4, !tbaa !9
  %177 = zext i32 %176 to i64
  %178 = call i32 @i32_load(ptr noundef %175, i64 noundef %177)
  store i32 %178, ptr %11, align 4, !tbaa !9
  br label %186

179:                                              ; preds = %160
  %180 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %180, ptr %11, align 4, !tbaa !9
  %181 = load ptr, ptr %4, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.w2c_hermes, ptr %181, i32 0, i32 6
  %183 = load i32, ptr %11, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  %185 = call i32 @i32_load(ptr noundef %182, i64 noundef %184)
  store i32 %185, ptr %11, align 4, !tbaa !9
  br label %186

186:                                              ; preds = %179, %164
  %187 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %187, ptr %9, align 4, !tbaa !9
  %188 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %188, ptr %11, align 4, !tbaa !9
  %189 = load i32, ptr %9, 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 %11, align 4, !tbaa !9
  %193 = zext i32 %192 to i64
  %194 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %191, i64 noundef %193, i32 noundef %194)
  %195 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %195, ptr %11, align 4, !tbaa !9
  %196 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %196, ptr %12, align 4, !tbaa !9
  %197 = load ptr, ptr %4, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.w2c_hermes, ptr %197, i32 0, i32 6
  %199 = load i32, ptr %11, align 4, !tbaa !9
  %200 = zext i32 %199 to i64
  %201 = add i64 %200, 4
  %202 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %198, i64 noundef %201, i32 noundef %202)
  %203 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %203, ptr %11, align 4, !tbaa !9
  %204 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %204, ptr %12, align 4, !tbaa !9
  %205 = load ptr, ptr %4, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.w2c_hermes, ptr %205, i32 0, i32 6
  %207 = load i32, ptr %11, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = add i64 %208, 4
  %210 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %206, i64 noundef %209, i32 noundef %210)
  %211 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %211, ptr %11, align 4, !tbaa !9
  %212 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %212, ptr %12, align 4, !tbaa !9
  %213 = load ptr, ptr %4, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.w2c_hermes, ptr %213, i32 0, i32 6
  %215 = load i32, ptr %11, align 4, !tbaa !9
  %216 = zext i32 %215 to i64
  %217 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %214, i64 noundef %216, i32 noundef %217)
  br label %218

218:                                              ; preds = %186, %161
  %219 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %219, ptr %11, align 4, !tbaa !9
  %220 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %220, ptr %12, align 4, !tbaa !9
  %221 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %221, ptr %7, align 4, !tbaa !9
  %222 = load i32, ptr %11, align 4, !tbaa !9
  %223 = load i32, ptr %12, align 4, !tbaa !9
  %224 = icmp ne i32 %222, %223
  %225 = zext i1 %224 to i32
  store i32 %225, ptr %11, align 4, !tbaa !9
  %226 = load i32, ptr %11, align 4, !tbaa !9
  %227 = icmp ne i32 %226, 0
  br i1 %227, label %228, label %229

228:                                              ; preds = %218
  br label %107

229:                                              ; preds = %218
  br label %230

230:                                              ; preds = %229, %86
  %231 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %231, ptr %11, align 4, !tbaa !9
  store i32 16, ptr %12, align 4, !tbaa !9
  %232 = load i32, ptr %12, align 4, !tbaa !9
  %233 = load i32, ptr %11, align 4, !tbaa !9
  %234 = add i32 %233, %232
  store i32 %234, ptr %11, align 4, !tbaa !9
  %235 = load i32, ptr %11, align 4, !tbaa !9
  %236 = load ptr, ptr %4, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.w2c_hermes, ptr %236, i32 0, i32 3
  store i32 %235, ptr %237, align 8, !tbaa !11
  br label %256

238:                                              ; preds = %163
  store i32 0, ptr %11, align 4, !tbaa !9
  %239 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %239, ptr %7, align 4, !tbaa !9
  store i32 195392, ptr %12, align 4, !tbaa !9
  %240 = load i32, ptr %12, align 4, !tbaa !9
  %241 = load i32, ptr %11, align 4, !tbaa !9
  %242 = add i32 %241, %240
  store i32 %242, ptr %11, align 4, !tbaa !9
  %243 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %243, ptr %12, align 4, !tbaa !9
  store i32 79034, ptr %13, align 4, !tbaa !9
  %244 = load i32, ptr %13, align 4, !tbaa !9
  %245 = load i32, ptr %12, align 4, !tbaa !9
  %246 = add i32 %245, %244
  store i32 %246, ptr %12, align 4, !tbaa !9
  store i32 254, ptr %13, align 4, !tbaa !9
  %247 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %247, ptr %14, align 4, !tbaa !9
  store i32 28103, ptr %15, align 4, !tbaa !9
  %248 = load i32, ptr %15, align 4, !tbaa !9
  %249 = load i32, ptr %14, align 4, !tbaa !9
  %250 = add i32 %249, %248
  store i32 %250, ptr %14, align 4, !tbaa !9
  %251 = load ptr, ptr %4, align 8, !tbaa !5
  %252 = load i32, ptr %11, align 4, !tbaa !9
  %253 = load i32, ptr %12, align 4, !tbaa !9
  %254 = load i32, ptr %13, align 4, !tbaa !9
  %255 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %251, i32 noundef %252, i32 noundef %253, i32 noundef %254, i32 noundef %255)
  call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

256:                                              ; preds = %230
  call void @llvm.lifetime.end.p0(i64 8, 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_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x2C0x20false0x3E0x3A0x3AvisitChildren0x28hermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ASwitchCaseNode0x2A0x29(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, -16
  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, 28
  %10 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %9)
  tail call void @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x2C0x20false0x3E0x3A0x3Avisit0x28hermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef %0, i32 noundef %6, i32 noundef %1, i32 noundef %10)
  %11 = zext i32 %6 to i64
  %12 = add nuw nsw i64 %11, 4
  %13 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %12)
  switch i32 %13, label %14 [
    i32 0, label %18
    i32 1, label %17
    i32 2, label %15
  ]

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

15:                                               ; preds = %3
  %16 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %11)
  br label %17

17:                                               ; preds = %3, %15
  %.0140 = phi i32 [ %16, %15 ], [ 0, %3 ]
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %9, i32 noundef %.0140)
  br label %18

18:                                               ; preds = %3, %17
  %19 = add nuw nsw i64 %8, 36
  %20 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %19)
  %21 = add i32 %2, 32
  %.not = icmp eq i32 %20, %21
  br i1 %.not, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %18
  %22 = add i32 %5, -8
  %23 = add nuw nsw i64 %11, 12
  %24 = add nuw nsw i64 %11, 8
  br label %25

25:                                               ; preds = %.preheader, %42
  %.1 = phi i32 [ %28, %42 ], [ %20, %.preheader ]
  %26 = zext i32 %.1 to i64
  %27 = add nuw nsw i64 %26, 4
  %28 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %27)
  %29 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %26)
  %30 = zext i32 %28 to i64
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %30, i32 noundef %29)
  %31 = zext i32 %29 to i64
  %32 = add nuw nsw i64 %31, 4
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %32, i32 noundef %28)
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %26, i64 noundef 0)
  tail call void @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x2C0x20false0x3E0x3A0x3Avisit0x28hermes0x3A0x3Asem0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3ABlockScopingTransformations0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef %0, i32 noundef %22, i32 noundef %1, i32 noundef %.1)
  %33 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %23)
  switch i32 %33, label %43 [
    i32 0, label %37
    i32 1, label %42
    i32 2, label %34
  ]

34:                                               ; preds = %25
  %35 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %24)
  %36 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %30)
  %.pre = zext i32 %35 to i64
  %.pre144 = add nuw nsw i64 %.pre, 4
  br label %39

37:                                               ; preds = %25
  %38 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %30)
  br label %39

39:                                               ; preds = %37, %34
  %.pre-phi145 = phi i64 [ %27, %37 ], [ %.pre144, %34 ]
  %.pre-phi = phi i64 [ %26, %37 ], [ %.pre, %34 ]
  %.2 = phi i32 [ %.1, %37 ], [ %35, %34 ]
  %.0 = phi i32 [ %38, %37 ], [ %36, %34 ]
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %.pre-phi, i32 noundef %.0)
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %.pre-phi145, i32 noundef %28)
  %40 = zext i32 %.0 to i64
  %41 = add nuw nsw i64 %40, 4
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %41, i32 noundef %.2)
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %30, i32 noundef %.2)
  br label %42

42:                                               ; preds = %25, %39
  %.not143 = icmp eq i32 %21, %28
  br i1 %.not143, label %.loopexit, label %25

.loopexit:                                        ; preds = %42, %18
  store i32 %5, ptr %4, align 8, !tbaa !5
  ret void

43:                                               ; preds = %25
  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: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass