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

; 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: noreturn
declare void @wasm_rt_trap(i32 noundef) #1

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

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3ATerminatorInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2) #4 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %13 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %13, ptr %8, align 4, !tbaa !9
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.w2c_hermes, ptr %14, i32 0, i32 6
  %16 = load i32, ptr %8, align 4, !tbaa !9
  %17 = zext i32 %16 to i64
  %18 = add i64 %17, 8
  %19 = call i32 @i32_load8_u(ptr noundef %15, i64 noundef %18)
  store i32 %19, ptr %8, align 4, !tbaa !9
  %20 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %20, ptr %7, align 4, !tbaa !9
  store i32 77, ptr %9, align 4, !tbaa !9
  %21 = load i32, ptr %8, align 4, !tbaa !9
  %22 = load i32, ptr %9, align 4, !tbaa !9
  %23 = icmp eq i32 %21, %22
  %24 = zext i1 %23 to i32
  store i32 %24, ptr %8, align 4, !tbaa !9
  %25 = load i32, ptr %8, align 4, !tbaa !9
  %26 = icmp ne i32 %25, 0
  br i1 %26, label %27, label %78

27:                                               ; preds = %3
  %28 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %28, ptr %8, align 4, !tbaa !9
  %29 = load i32, ptr %8, align 4, !tbaa !9
  %30 = icmp ne i32 %29, 0
  br i1 %30, label %31, label %32

31:                                               ; preds = %27
  br label %198

32:                                               ; preds = %27
  %33 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %33, ptr %8, align 4, !tbaa !9
  store i32 0, ptr %9, align 4, !tbaa !9
  %34 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %34, ptr %10, align 4, !tbaa !9
  store i32 77, ptr %11, align 4, !tbaa !9
  %35 = load i32, ptr %10, align 4, !tbaa !9
  %36 = load i32, ptr %11, align 4, !tbaa !9
  %37 = icmp eq i32 %35, %36
  %38 = zext i1 %37 to i32
  store i32 %38, ptr %10, align 4, !tbaa !9
  %39 = load i32, ptr %10, align 4, !tbaa !9
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %41, label %43

41:                                               ; preds = %32
  %42 = load i32, ptr %8, align 4, !tbaa !9
  br label %45

43:                                               ; preds = %32
  %44 = load i32, ptr %9, align 4, !tbaa !9
  br label %45

45:                                               ; preds = %43, %41
  %46 = phi i32 [ %42, %41 ], [ %44, %43 ]
  store i32 %46, ptr %8, align 4, !tbaa !9
  store i32 0, ptr %9, align 4, !tbaa !9
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = load i32, ptr %8, align 4, !tbaa !9
  %49 = load i32, ptr %9, align 4, !tbaa !9
  %50 = call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef %47, i32 noundef %48, i32 noundef %49)
  store i32 %50, ptr %8, align 4, !tbaa !9
  %51 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %51, ptr %5, align 4, !tbaa !9
  %52 = load i32, ptr %8, align 4, !tbaa !9
  %53 = icmp ne i32 %52, 0
  %54 = xor i1 %53, true
  %55 = zext i1 %54 to i32
  store i32 %55, ptr %8, align 4, !tbaa !9
  %56 = load i32, ptr %8, align 4, !tbaa !9
  %57 = icmp ne i32 %56, 0
  br i1 %57, label %58, label %59

58:                                               ; preds = %45
  br label %216

59:                                               ; preds = %45
  %60 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %60, ptr %8, align 4, !tbaa !9
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.w2c_hermes, ptr %61, i32 0, i32 6
  %63 = load i32, ptr %8, align 4, !tbaa !9
  %64 = zext i32 %63 to i64
  %65 = call i32 @i32_load8_u(ptr noundef %62, i64 noundef %64)
  store i32 %65, ptr %8, align 4, !tbaa !9
  store i32 126, ptr %9, align 4, !tbaa !9
  %66 = load i32, ptr %8, align 4, !tbaa !9
  %67 = load i32, ptr %9, align 4, !tbaa !9
  %68 = icmp ne i32 %66, %67
  %69 = zext i1 %68 to i32
  store i32 %69, ptr %8, align 4, !tbaa !9
  %70 = load i32, ptr %8, align 4, !tbaa !9
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %73

72:                                               ; preds = %59
  br label %234

73:                                               ; preds = %59
  %74 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %74, ptr %8, align 4, !tbaa !9
  store i32 8, ptr %9, align 4, !tbaa !9
  %75 = load i32, ptr %9, align 4, !tbaa !9
  %76 = load i32, ptr %8, align 4, !tbaa !9
  %77 = sub i32 %76, %75
  store i32 %77, ptr %8, align 4, !tbaa !9
  br label %252

78:                                               ; preds = %3
  %79 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %79, ptr %8, align 4, !tbaa !9
  store i32 78, ptr %9, align 4, !tbaa !9
  %80 = load i32, ptr %9, align 4, !tbaa !9
  %81 = load i32, ptr %8, align 4, !tbaa !9
  %82 = sub i32 %81, %80
  store i32 %82, ptr %8, align 4, !tbaa !9
  %83 = load i32, ptr %8, align 4, !tbaa !9
  switch i32 %83, label %95 [
    i32 0, label %84
    i32 1, label %85
    i32 2, label %86
    i32 3, label %87
    i32 4, label %88
    i32 5, label %89
    i32 6, label %90
    i32 7, label %91
    i32 8, label %92
    i32 9, label %93
    i32 10, label %94
  ]

84:                                               ; preds = %78
  br label %96

85:                                               ; preds = %78
  br label %109

86:                                               ; preds = %78
  br label %191

87:                                               ; preds = %78
  br label %122

88:                                               ; preds = %78
  br label %129

89:                                               ; preds = %78
  br label %136

90:                                               ; preds = %78
  br label %143

91:                                               ; preds = %78
  br label %150

92:                                               ; preds = %78
  br label %157

93:                                               ; preds = %78
  br label %164

94:                                               ; preds = %78
  br label %171

95:                                               ; preds = %78
  br label %178

96:                                               ; preds = %84
  store i32 0, ptr %8, align 4, !tbaa !9
  %97 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %97, ptr %5, align 4, !tbaa !9
  store i32 208013, ptr %9, align 4, !tbaa !9
  %98 = load i32, ptr %9, align 4, !tbaa !9
  %99 = load i32, ptr %8, align 4, !tbaa !9
  %100 = add i32 %99, %98
  store i32 %100, ptr %8, align 4, !tbaa !9
  %101 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %101, ptr %9, align 4, !tbaa !9
  store i32 78223, ptr %10, align 4, !tbaa !9
  %102 = load i32, ptr %10, align 4, !tbaa !9
  %103 = load i32, ptr %9, align 4, !tbaa !9
  %104 = add i32 %103, %102
  store i32 %104, ptr %9, align 4, !tbaa !9
  store i32 504, ptr %10, align 4, !tbaa !9
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = load i32, ptr %8, align 4, !tbaa !9
  %107 = load i32, ptr %9, align 4, !tbaa !9
  %108 = load i32, ptr %10, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %105, i32 noundef %106, i32 noundef %107, i32 noundef %108)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

109:                                              ; preds = %85
  store i32 0, ptr %8, align 4, !tbaa !9
  %110 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %110, ptr %5, align 4, !tbaa !9
  store i32 207985, ptr %9, align 4, !tbaa !9
  %111 = load i32, ptr %9, align 4, !tbaa !9
  %112 = load i32, ptr %8, align 4, !tbaa !9
  %113 = add i32 %112, %111
  store i32 %113, ptr %8, align 4, !tbaa !9
  %114 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %114, ptr %9, align 4, !tbaa !9
  store i32 78223, ptr %10, align 4, !tbaa !9
  %115 = load i32, ptr %10, align 4, !tbaa !9
  %116 = load i32, ptr %9, align 4, !tbaa !9
  %117 = add i32 %116, %115
  store i32 %117, ptr %9, align 4, !tbaa !9
  store i32 1988, ptr %10, align 4, !tbaa !9
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = load i32, ptr %8, align 4, !tbaa !9
  %120 = load i32, ptr %9, align 4, !tbaa !9
  %121 = load i32, ptr %10, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %118, i32 noundef %119, i32 noundef %120, i32 noundef %121)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

122:                                              ; preds = %87
  %123 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %123, ptr %8, align 4, !tbaa !9
  %124 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %124, ptr %9, align 4, !tbaa !9
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = load i32, ptr %8, align 4, !tbaa !9
  %127 = load i32, ptr %9, align 4, !tbaa !9
  %128 = call i32 @w2c_hermes_hermes0x3A0x3ACondBranchInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %125, i32 noundef %126, i32 noundef %127)
  store i32 %128, ptr %8, align 4, !tbaa !9
  br label %252

129:                                              ; preds = %88
  %130 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %130, ptr %8, align 4, !tbaa !9
  %131 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %131, ptr %9, align 4, !tbaa !9
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = load i32, ptr %8, align 4, !tbaa !9
  %134 = load i32, ptr %9, align 4, !tbaa !9
  %135 = call i32 @w2c_hermes_hermes0x3A0x3AGetPNamesInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %132, i32 noundef %133, i32 noundef %134)
  store i32 %135, ptr %8, align 4, !tbaa !9
  br label %252

136:                                              ; preds = %89
  %137 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %137, ptr %8, align 4, !tbaa !9
  %138 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %138, ptr %9, align 4, !tbaa !9
  %139 = load ptr, ptr %4, align 8, !tbaa !5
  %140 = load i32, ptr %8, align 4, !tbaa !9
  %141 = load i32, ptr %9, align 4, !tbaa !9
  %142 = call i32 @w2c_hermes_hermes0x3A0x3AGetNextPNameInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %139, i32 noundef %140, i32 noundef %141)
  store i32 %142, ptr %8, align 4, !tbaa !9
  br label %252

143:                                              ; preds = %90
  %144 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %144, ptr %8, align 4, !tbaa !9
  %145 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %145, ptr %9, align 4, !tbaa !9
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = load i32, ptr %8, align 4, !tbaa !9
  %148 = load i32, ptr %9, align 4, !tbaa !9
  %149 = call i32 @w2c_hermes_hermes0x3A0x3ACheckHasInstanceInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %146, i32 noundef %147, i32 noundef %148)
  store i32 %149, ptr %8, align 4, !tbaa !9
  br label %252

150:                                              ; preds = %91
  %151 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %151, ptr %8, align 4, !tbaa !9
  %152 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %152, ptr %9, align 4, !tbaa !9
  %153 = load ptr, ptr %4, align 8, !tbaa !5
  %154 = load i32, ptr %8, align 4, !tbaa !9
  %155 = load i32, ptr %9, align 4, !tbaa !9
  %156 = call i32 @w2c_hermes_hermes0x3A0x3ATryStartInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %153, i32 noundef %154, i32 noundef %155)
  store i32 %156, ptr %8, align 4, !tbaa !9
  br label %252

157:                                              ; preds = %92
  %158 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %158, ptr %8, align 4, !tbaa !9
  %159 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %159, ptr %9, align 4, !tbaa !9
  %160 = load ptr, ptr %4, align 8, !tbaa !5
  %161 = load i32, ptr %8, align 4, !tbaa !9
  %162 = load i32, ptr %9, align 4, !tbaa !9
  %163 = call i32 @w2c_hermes_hermes0x3A0x3ACompareBranchInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %160, i32 noundef %161, i32 noundef %162)
  store i32 %163, ptr %8, align 4, !tbaa !9
  br label %252

164:                                              ; preds = %93
  %165 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %165, ptr %8, align 4, !tbaa !9
  %166 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %166, ptr %9, align 4, !tbaa !9
  %167 = load ptr, ptr %4, align 8, !tbaa !5
  %168 = load i32, ptr %8, align 4, !tbaa !9
  %169 = load i32, ptr %9, align 4, !tbaa !9
  %170 = call i32 @w2c_hermes_hermes0x3A0x3ASwitchImmInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %167, i32 noundef %168, i32 noundef %169)
  store i32 %170, ptr %8, align 4, !tbaa !9
  br label %252

171:                                              ; preds = %94
  %172 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %172, ptr %8, align 4, !tbaa !9
  %173 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %173, ptr %9, align 4, !tbaa !9
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = load i32, ptr %8, align 4, !tbaa !9
  %176 = load i32, ptr %9, align 4, !tbaa !9
  %177 = call i32 @w2c_hermes_hermes0x3A0x3ASaveAndYieldInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %174, i32 noundef %175, i32 noundef %176)
  store i32 %177, ptr %8, align 4, !tbaa !9
  br label %252

178:                                              ; preds = %95
  store i32 0, ptr %8, align 4, !tbaa !9
  %179 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %179, ptr %5, align 4, !tbaa !9
  store i32 208202, ptr %9, align 4, !tbaa !9
  %180 = load i32, ptr %9, align 4, !tbaa !9
  %181 = load i32, ptr %8, align 4, !tbaa !9
  %182 = add i32 %181, %180
  store i32 %182, ptr %8, align 4, !tbaa !9
  %183 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %183, ptr %9, align 4, !tbaa !9
  store i32 55652, ptr %10, align 4, !tbaa !9
  %184 = load i32, ptr %10, align 4, !tbaa !9
  %185 = load i32, ptr %9, align 4, !tbaa !9
  %186 = add i32 %185, %184
  store i32 %186, ptr %9, align 4, !tbaa !9
  store i32 39, ptr %10, align 4, !tbaa !9
  %187 = load ptr, ptr %4, align 8, !tbaa !5
  %188 = load i32, ptr %8, align 4, !tbaa !9
  %189 = load i32, ptr %9, align 4, !tbaa !9
  %190 = load i32, ptr %10, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %187, i32 noundef %188, i32 noundef %189, i32 noundef %190)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

191:                                              ; preds = %86
  %192 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %192, ptr %8, align 4, !tbaa !9
  %193 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %193, ptr %9, align 4, !tbaa !9
  %194 = load ptr, ptr %4, align 8, !tbaa !5
  %195 = load i32, ptr %8, align 4, !tbaa !9
  %196 = load i32, ptr %9, align 4, !tbaa !9
  %197 = call i32 @w2c_hermes_hermes0x3A0x3ASwitchInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %194, i32 noundef %195, i32 noundef %196)
  store i32 %197, ptr %8, align 4, !tbaa !9
  br label %252

198:                                              ; preds = %31
  store i32 0, ptr %8, align 4, !tbaa !9
  %199 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %199, ptr %5, align 4, !tbaa !9
  store i32 203851, ptr %9, align 4, !tbaa !9
  %200 = load i32, ptr %9, align 4, !tbaa !9
  %201 = load i32, ptr %8, align 4, !tbaa !9
  %202 = add i32 %201, %200
  store i32 %202, ptr %8, align 4, !tbaa !9
  %203 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %203, ptr %9, align 4, !tbaa !9
  store i32 78223, ptr %10, align 4, !tbaa !9
  %204 = load i32, ptr %10, align 4, !tbaa !9
  %205 = load i32, ptr %9, align 4, !tbaa !9
  %206 = add i32 %205, %204
  store i32 %206, ptr %9, align 4, !tbaa !9
  store i32 296, ptr %10, align 4, !tbaa !9
  %207 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %207, ptr %11, align 4, !tbaa !9
  store i32 48619, ptr %12, align 4, !tbaa !9
  %208 = load i32, ptr %12, align 4, !tbaa !9
  %209 = load i32, ptr %11, align 4, !tbaa !9
  %210 = add i32 %209, %208
  store i32 %210, ptr %11, align 4, !tbaa !9
  %211 = load ptr, ptr %4, align 8, !tbaa !5
  %212 = load i32, ptr %8, align 4, !tbaa !9
  %213 = load i32, ptr %9, align 4, !tbaa !9
  %214 = load i32, ptr %10, align 4, !tbaa !9
  %215 = load i32, ptr %11, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %211, i32 noundef %212, i32 noundef %213, i32 noundef %214, i32 noundef %215)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

216:                                              ; preds = %58
  store i32 0, ptr %8, align 4, !tbaa !9
  %217 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %217, ptr %5, align 4, !tbaa !9
  store i32 147142, ptr %9, align 4, !tbaa !9
  %218 = load i32, ptr %9, align 4, !tbaa !9
  %219 = load i32, ptr %8, align 4, !tbaa !9
  %220 = add i32 %219, %218
  store i32 %220, ptr %8, align 4, !tbaa !9
  %221 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %221, ptr %9, align 4, !tbaa !9
  store i32 82611, ptr %10, align 4, !tbaa !9
  %222 = load i32, ptr %10, align 4, !tbaa !9
  %223 = load i32, ptr %9, align 4, !tbaa !9
  %224 = add i32 %223, %222
  store i32 %224, ptr %9, align 4, !tbaa !9
  store i32 106, ptr %10, align 4, !tbaa !9
  %225 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %225, ptr %11, align 4, !tbaa !9
  store i32 28119, ptr %12, align 4, !tbaa !9
  %226 = load i32, ptr %12, align 4, !tbaa !9
  %227 = load i32, ptr %11, align 4, !tbaa !9
  %228 = add i32 %227, %226
  store i32 %228, ptr %11, align 4, !tbaa !9
  %229 = load ptr, ptr %4, align 8, !tbaa !5
  %230 = load i32, ptr %8, align 4, !tbaa !9
  %231 = load i32, ptr %9, align 4, !tbaa !9
  %232 = load i32, ptr %10, align 4, !tbaa !9
  %233 = load i32, ptr %11, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %229, i32 noundef %230, i32 noundef %231, i32 noundef %232, i32 noundef %233)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

234:                                              ; preds = %72
  store i32 0, ptr %8, align 4, !tbaa !9
  %235 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %235, ptr %5, align 4, !tbaa !9
  store i32 205012, ptr %9, align 4, !tbaa !9
  %236 = load i32, ptr %9, align 4, !tbaa !9
  %237 = load i32, ptr %8, align 4, !tbaa !9
  %238 = add i32 %237, %236
  store i32 %238, ptr %8, align 4, !tbaa !9
  %239 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %239, ptr %9, align 4, !tbaa !9
  store i32 82611, ptr %10, align 4, !tbaa !9
  %240 = load i32, ptr %10, align 4, !tbaa !9
  %241 = load i32, ptr %9, align 4, !tbaa !9
  %242 = add i32 %241, %240
  store i32 %242, ptr %9, align 4, !tbaa !9
  store i32 255, ptr %10, align 4, !tbaa !9
  %243 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %243, ptr %11, align 4, !tbaa !9
  store i32 24720, ptr %12, align 4, !tbaa !9
  %244 = load i32, ptr %12, align 4, !tbaa !9
  %245 = load i32, ptr %11, align 4, !tbaa !9
  %246 = add i32 %245, %244
  store i32 %246, ptr %11, align 4, !tbaa !9
  %247 = load ptr, ptr %4, align 8, !tbaa !5
  %248 = load i32, ptr %8, align 4, !tbaa !9
  %249 = load i32, ptr %9, align 4, !tbaa !9
  %250 = load i32, ptr %10, align 4, !tbaa !9
  %251 = load i32, ptr %11, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %247, i32 noundef %248, i32 noundef %249, i32 noundef %250, i32 noundef %251)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

252:                                              ; preds = %191, %171, %164, %157, %150, %143, %136, %129, %122, %73
  %253 = load i32, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  ret i32 %253
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef, i32 noundef, i32 noundef) #4

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3AGetPNamesInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef, i32 noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3AGetNextPNameInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef, i32 noundef, i32 noundef) #4

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3ATryStartInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef, i32 noundef, i32 noundef) #4

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3ASwitchImmInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef, i32 noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3ASaveAndYieldInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef, i32 noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3ASwitchInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef, i32 noundef, i32 noundef) #4

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

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

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


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

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3ATerminatorInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #3 {
  %4 = getelementptr inbounds i8, ptr %0, i64 40
  %5 = zext i32 %1 to i64
  %6 = add nuw nsw i64 %5, 8
  %7 = tail call i32 @i32_load8_u(ptr noundef nonnull %4, i64 noundef %6)
  switch i32 %7, label %34 [
    i32 77, label %8
    i32 78, label %16
    i32 79, label %17
    i32 80, label %35
    i32 81, label %18
    i32 82, label %20
    i32 83, label %22
    i32 84, label %24
    i32 85, label %26
    i32 86, label %28
    i32 87, label %30
    i32 88, label %32
  ]

8:                                                ; preds = %3
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %9, label %37

9:                                                ; preds = %8
  %10 = tail call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef 0)
  %.not153 = icmp eq i32 %10, 0
  br i1 %.not153, label %38, label %11

11:                                               ; preds = %9
  %12 = zext i32 %10 to i64
  %13 = tail call i32 @i32_load8_u(ptr noundef nonnull %4, i64 noundef %12)
  %.not154 = icmp eq i32 %13, 126
  br i1 %.not154, label %14, label %39

14:                                               ; preds = %11
  %15 = add i32 %10, -8
  br label %40

16:                                               ; preds = %3
  tail call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef 208013, i32 noundef 78223, i32 noundef 504) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

17:                                               ; preds = %3
  tail call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef 207985, i32 noundef 78223, i32 noundef 1988) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

18:                                               ; preds = %3
  %19 = tail call i32 @w2c_hermes_hermes0x3A0x3ACondBranchInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2) #4
  br label %40

20:                                               ; preds = %3
  %21 = tail call i32 @w2c_hermes_hermes0x3A0x3AGetPNamesInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2)
  br label %40

22:                                               ; preds = %3
  %23 = tail call i32 @w2c_hermes_hermes0x3A0x3AGetNextPNameInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2)
  br label %40

24:                                               ; preds = %3
  %25 = tail call i32 @w2c_hermes_hermes0x3A0x3ACheckHasInstanceInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2) #4
  br label %40

26:                                               ; preds = %3
  %27 = tail call i32 @w2c_hermes_hermes0x3A0x3ATryStartInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2)
  br label %40

28:                                               ; preds = %3
  %29 = tail call i32 @w2c_hermes_hermes0x3A0x3ACompareBranchInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2) #4
  br label %40

30:                                               ; preds = %3
  %31 = tail call i32 @w2c_hermes_hermes0x3A0x3ASwitchImmInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2)
  br label %40

32:                                               ; preds = %3
  %33 = tail call i32 @w2c_hermes_hermes0x3A0x3ASaveAndYieldInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2)
  br label %40

34:                                               ; preds = %3
  tail call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef 208202, i32 noundef 55652, i32 noundef 39) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

35:                                               ; preds = %3
  %36 = tail call i32 @w2c_hermes_hermes0x3A0x3ASwitchInst0x3A0x3AgetSuccessor0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2)
  br label %40

37:                                               ; preds = %8
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 203851, i32 noundef 78223, i32 noundef 296, i32 noundef 48619) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

38:                                               ; preds = %9
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 147142, i32 noundef 82611, i32 noundef 106, i32 noundef 28119) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

39:                                               ; preds = %11
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 205012, i32 noundef 82611, i32 noundef 255, i32 noundef 24720) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

40:                                               ; preds = %35, %32, %30, %28, %26, %24, %22, %20, %18, %14
  %.0 = phi i32 [ %15, %14 ], [ %33, %32 ], [ %31, %30 ], [ %29, %28 ], [ %27, %26 ], [ %25, %24 ], [ %23, %22 ], [ %21, %20 ], [ %19, %18 ], [ %36, %35 ]
  ret i32 %.0
}

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

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

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

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

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

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

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

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

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

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

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 = { "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 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,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass