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

; 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: inlinehint nounwind uwtable
declare hidden void @i32_store8(ptr noundef, i64 noundef, i32 noundef) #1

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

; 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) #2

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

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

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

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

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

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

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

32:                                               ; preds = %4
  %33 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %33, ptr %12, align 4, !tbaa !9
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.w2c_hermes, ptr %34, i32 0, i32 6
  %36 = load i32, ptr %12, align 4, !tbaa !9
  %37 = zext i32 %36 to i64
  %38 = add i64 %37, 8
  %39 = call i32 @i32_load(ptr noundef %35, i64 noundef %38)
  store i32 %39, ptr %12, align 4, !tbaa !9
  store i32 117, ptr %13, align 4, !tbaa !9
  %40 = load i32, ptr %13, align 4, !tbaa !9
  %41 = load i32, ptr %12, align 4, !tbaa !9
  %42 = sub i32 %41, %40
  store i32 %42, ptr %12, align 4, !tbaa !9
  %43 = load i32, ptr %12, align 4, !tbaa !9
  switch i32 %43, label %77 [
    i32 0, label %44
    i32 1, label %45
    i32 2, label %46
    i32 3, label %47
    i32 4, label %48
    i32 5, label %49
    i32 6, label %50
    i32 7, label %51
    i32 8, label %52
    i32 9, label %53
    i32 10, label %54
    i32 11, label %55
    i32 12, label %56
    i32 13, label %57
    i32 14, label %58
    i32 15, label %59
    i32 16, label %60
    i32 17, label %61
    i32 18, label %62
    i32 19, label %63
    i32 20, label %64
    i32 21, label %65
    i32 22, label %66
    i32 23, label %67
    i32 24, label %68
    i32 25, label %69
    i32 26, label %70
    i32 27, label %71
    i32 28, label %72
    i32 29, label %73
    i32 30, label %74
    i32 31, label %75
    i32 32, label %76
  ]

44:                                               ; preds = %32
  br label %83

45:                                               ; preds = %32
  br label %98

46:                                               ; preds = %32
  br label %93

47:                                               ; preds = %32
  br label %172

48:                                               ; preds = %32
  br label %172

49:                                               ; preds = %32
  br label %172

50:                                               ; preds = %32
  br label %88

51:                                               ; preds = %32
  br label %172

52:                                               ; preds = %32
  br label %108

53:                                               ; preds = %32
  br label %103

54:                                               ; preds = %32
  br label %78

55:                                               ; preds = %32
  br label %172

56:                                               ; preds = %32
  br label %172

57:                                               ; preds = %32
  br label %172

58:                                               ; preds = %32
  br label %172

59:                                               ; preds = %32
  br label %172

60:                                               ; preds = %32
  br label %172

61:                                               ; preds = %32
  br label %172

62:                                               ; preds = %32
  br label %172

63:                                               ; preds = %32
  br label %172

64:                                               ; preds = %32
  br label %172

65:                                               ; preds = %32
  br label %172

66:                                               ; preds = %32
  br label %172

67:                                               ; preds = %32
  br label %172

68:                                               ; preds = %32
  br label %172

69:                                               ; preds = %32
  br label %172

70:                                               ; preds = %32
  br label %172

71:                                               ; preds = %32
  br label %172

72:                                               ; preds = %32
  br label %172

73:                                               ; preds = %32
  br label %172

74:                                               ; preds = %32
  br label %172

75:                                               ; preds = %32
  br label %172

76:                                               ; preds = %32
  br label %113

77:                                               ; preds = %32
  br label %172

78:                                               ; preds = %54
  %79 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %79, ptr %12, align 4, !tbaa !9
  store i32 1092, ptr %13, align 4, !tbaa !9
  %80 = load i32, ptr %13, align 4, !tbaa !9
  %81 = load i32, ptr %12, align 4, !tbaa !9
  %82 = add i32 %81, %80
  store i32 %82, ptr %12, align 4, !tbaa !9
  br label %160

83:                                               ; preds = %44
  %84 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %84, ptr %12, align 4, !tbaa !9
  store i32 1100, ptr %13, align 4, !tbaa !9
  %85 = load i32, ptr %13, align 4, !tbaa !9
  %86 = load i32, ptr %12, align 4, !tbaa !9
  %87 = add i32 %86, %85
  store i32 %87, ptr %12, align 4, !tbaa !9
  br label %160

88:                                               ; preds = %50
  %89 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %89, ptr %12, align 4, !tbaa !9
  store i32 1104, ptr %13, align 4, !tbaa !9
  %90 = load i32, ptr %13, align 4, !tbaa !9
  %91 = load i32, ptr %12, align 4, !tbaa !9
  %92 = add i32 %91, %90
  store i32 %92, ptr %12, align 4, !tbaa !9
  br label %160

93:                                               ; preds = %46
  %94 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %94, ptr %12, align 4, !tbaa !9
  store i32 1112, ptr %13, align 4, !tbaa !9
  %95 = load i32, ptr %13, align 4, !tbaa !9
  %96 = load i32, ptr %12, align 4, !tbaa !9
  %97 = add i32 %96, %95
  store i32 %97, ptr %12, align 4, !tbaa !9
  br label %160

98:                                               ; preds = %45
  %99 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %99, ptr %12, align 4, !tbaa !9
  store i32 1116, ptr %13, align 4, !tbaa !9
  %100 = load i32, ptr %13, align 4, !tbaa !9
  %101 = load i32, ptr %12, align 4, !tbaa !9
  %102 = add i32 %101, %100
  store i32 %102, ptr %12, align 4, !tbaa !9
  br label %160

103:                                              ; preds = %53
  %104 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %104, ptr %12, align 4, !tbaa !9
  store i32 1128, ptr %13, align 4, !tbaa !9
  %105 = load i32, ptr %13, align 4, !tbaa !9
  %106 = load i32, ptr %12, align 4, !tbaa !9
  %107 = add i32 %106, %105
  store i32 %107, ptr %12, align 4, !tbaa !9
  br label %160

108:                                              ; preds = %52
  %109 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %109, ptr %12, align 4, !tbaa !9
  store i32 1124, ptr %13, align 4, !tbaa !9
  %110 = load i32, ptr %13, align 4, !tbaa !9
  %111 = load i32, ptr %12, align 4, !tbaa !9
  %112 = add i32 %111, %110
  store i32 %112, ptr %12, align 4, !tbaa !9
  br label %160

113:                                              ; preds = %76
  %114 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %114, ptr %12, align 4, !tbaa !9
  %115 = load ptr, ptr %5, 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 = add i64 %118, 32
  %120 = call i32 @i32_load(ptr noundef %116, i64 noundef %119)
  store i32 %120, ptr %12, align 4, !tbaa !9
  %121 = load i32, ptr %12, align 4, !tbaa !9
  %122 = icmp ne i32 %121, 0
  br i1 %122, label %123, label %124

123:                                              ; preds = %113
  br label %172

124:                                              ; preds = %113
  %125 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %125, ptr %12, align 4, !tbaa !9
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.w2c_hermes, ptr %126, i32 0, i32 6
  %128 = load i32, ptr %12, align 4, !tbaa !9
  %129 = zext i32 %128 to i64
  %130 = add i64 %129, 28
  %131 = call i32 @i32_load(ptr noundef %127, i64 noundef %130)
  store i32 %131, ptr %12, align 4, !tbaa !9
  %132 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %132, ptr %10, align 4, !tbaa !9
  %133 = load i32, ptr %12, align 4, !tbaa !9
  %134 = icmp ne i32 %133, 0
  %135 = xor i1 %134, true
  %136 = zext i1 %135 to i32
  store i32 %136, ptr %12, align 4, !tbaa !9
  %137 = load i32, ptr %12, align 4, !tbaa !9
  %138 = icmp ne i32 %137, 0
  br i1 %138, label %139, label %140

139:                                              ; preds = %124
  br label %282

140:                                              ; preds = %124
  %141 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %141, ptr %12, align 4, !tbaa !9
  %142 = load ptr, ptr %5, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.w2c_hermes, ptr %142, i32 0, i32 6
  %144 = load i32, ptr %12, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = add i64 %145, 8
  %147 = call i32 @i32_load(ptr noundef %143, i64 noundef %146)
  store i32 %147, ptr %12, align 4, !tbaa !9
  store i32 64, ptr %13, align 4, !tbaa !9
  %148 = load i32, ptr %12, align 4, !tbaa !9
  %149 = load i32, ptr %13, align 4, !tbaa !9
  %150 = icmp ne i32 %148, %149
  %151 = zext i1 %150 to i32
  store i32 %151, ptr %12, align 4, !tbaa !9
  %152 = load i32, ptr %12, align 4, !tbaa !9
  %153 = icmp ne i32 %152, 0
  br i1 %153, label %154, label %155

154:                                              ; preds = %140
  br label %172

155:                                              ; preds = %140
  %156 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %156, ptr %12, align 4, !tbaa !9
  store i32 28, ptr %13, align 4, !tbaa !9
  %157 = load i32, ptr %13, align 4, !tbaa !9
  %158 = load i32, ptr %12, align 4, !tbaa !9
  %159 = add i32 %158, %157
  store i32 %159, ptr %12, align 4, !tbaa !9
  br label %160

160:                                              ; preds = %155, %108, %103, %98, %93, %88, %83, %78
  %161 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %161, ptr %10, align 4, !tbaa !9
  %162 = load ptr, ptr %5, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.w2c_hermes, ptr %162, i32 0, i32 6
  %164 = load i32, ptr %12, align 4, !tbaa !9
  %165 = zext i32 %164 to i64
  %166 = call i32 @i32_load(ptr noundef %163, i64 noundef %165)
  store i32 %166, ptr %12, align 4, !tbaa !9
  %167 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %167, ptr %10, align 4, !tbaa !9
  %168 = load i32, ptr %12, align 4, !tbaa !9
  %169 = icmp ne i32 %168, 0
  br i1 %169, label %170, label %171

170:                                              ; preds = %160
  br label %241

171:                                              ; preds = %160
  br label %172

172:                                              ; preds = %171, %154, %123, %77, %75, %74, %73, %72, %71, %70, %69, %68, %67, %66, %65, %64, %63, %62, %61, %60, %59, %58, %57, %56, %55, %51, %49, %48, %47
  %173 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %173, ptr %12, align 4, !tbaa !9
  %174 = load ptr, ptr %5, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.w2c_hermes, ptr %174, i32 0, i32 6
  %176 = load i32, ptr %12, align 4, !tbaa !9
  %177 = zext i32 %176 to i64
  %178 = add i64 %177, 16
  %179 = call i64 @i64_load(ptr noundef %175, i64 noundef %178)
  store i64 %179, ptr %17, align 8, !tbaa !11
  %180 = load i64, ptr %17, align 8, !tbaa !11
  store i64 %180, ptr %11, align 8, !tbaa !11
  %181 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %181, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  %182 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %182, ptr %10, align 4, !tbaa !9
  store i32 104597, ptr %14, align 4, !tbaa !9
  %183 = load i32, ptr %14, align 4, !tbaa !9
  %184 = load i32, ptr %13, align 4, !tbaa !9
  %185 = add i32 %184, %183
  store i32 %185, ptr %13, align 4, !tbaa !9
  %186 = load ptr, ptr %5, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.w2c_hermes, ptr %186, i32 0, i32 6
  %188 = load i32, ptr %12, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = add i64 %189, 12
  %191 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %187, i64 noundef %190, i32 noundef %191)
  %192 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %192, ptr %12, align 4, !tbaa !9
  store i32 259, ptr %13, align 4, !tbaa !9
  %193 = load ptr, ptr %5, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.w2c_hermes, ptr %193, i32 0, i32 6
  %195 = load i32, ptr %12, align 4, !tbaa !9
  %196 = zext i32 %195 to i64
  %197 = add i64 %196, 20
  %198 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %194, i64 noundef %197, i32 noundef %198)
  %199 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %199, ptr %12, align 4, !tbaa !9
  %200 = load ptr, ptr %5, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.w2c_hermes, ptr %200, i32 0, i32 6
  %202 = load i32, ptr %12, align 4, !tbaa !9
  %203 = zext i32 %202 to i64
  %204 = add i64 %203, 4
  %205 = call i32 @i32_load(ptr noundef %201, i64 noundef %204)
  store i32 %205, ptr %12, align 4, !tbaa !9
  %206 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %206, ptr %8, align 4, !tbaa !9
  %207 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %207, ptr %12, align 4, !tbaa !9
  %208 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %208, ptr %18, align 8, !tbaa !11
  %209 = load ptr, ptr %5, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.w2c_hermes, ptr %209, i32 0, i32 6
  %211 = load i32, ptr %12, align 4, !tbaa !9
  %212 = zext i32 %211 to i64
  %213 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %210, i64 noundef %212, i64 noundef %213)
  %214 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %214, ptr %12, align 4, !tbaa !9
  %215 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %215, ptr %18, align 8, !tbaa !11
  %216 = load ptr, ptr %5, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.w2c_hermes, ptr %216, i32 0, i32 6
  %218 = load i32, ptr %12, align 4, !tbaa !9
  %219 = zext i32 %218 to i64
  %220 = add i64 %219, 24
  %221 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %217, i64 noundef %220, i64 noundef %221)
  %222 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %222, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  %223 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %223, ptr %14, align 4, !tbaa !9
  %224 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %224, ptr %15, align 4, !tbaa !9
  store i32 12, ptr %16, align 4, !tbaa !9
  %225 = load i32, ptr %16, align 4, !tbaa !9
  %226 = load i32, ptr %15, align 4, !tbaa !9
  %227 = add i32 %226, %225
  store i32 %227, ptr %15, align 4, !tbaa !9
  store i32 2, ptr %16, align 4, !tbaa !9
  %228 = load ptr, ptr %5, align 8, !tbaa !5
  %229 = load i32, ptr %12, align 4, !tbaa !9
  %230 = load i32, ptr %13, align 4, !tbaa !9
  %231 = load i32, ptr %14, align 4, !tbaa !9
  %232 = load i32, ptr %15, align 4, !tbaa !9
  %233 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3ASourceErrorManager0x3A0x3Amessage0x28hermes0x3A0x3ASourceErrorManager0x3A0x3ADiagKind0x2C0x20llvh0x3A0x3ASMRange0x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20hermes0x3A0x3ASubsystem0x29(ptr noundef %228, i32 noundef %229, i32 noundef %230, i32 noundef %231, i32 noundef %232, i32 noundef %233)
  %234 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %234, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  %235 = load ptr, ptr %5, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.w2c_hermes, ptr %235, i32 0, i32 6
  %237 = load i32, ptr %12, align 4, !tbaa !9
  %238 = zext i32 %237 to i64
  %239 = add i64 %238, 4
  %240 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %236, i64 noundef %239, i32 noundef %240)
  br label %256

241:                                              ; preds = %170
  %242 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %242, ptr %12, align 4, !tbaa !9
  %243 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %243, ptr %13, align 4, !tbaa !9
  %244 = load ptr, ptr %5, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.w2c_hermes, ptr %244, i32 0, i32 6
  %246 = load i32, ptr %12, align 4, !tbaa !9
  %247 = zext i32 %246 to i64
  %248 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %245, i64 noundef %247, i32 noundef %248)
  %249 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %249, ptr %12, align 4, !tbaa !9
  store i32 1, ptr %13, align 4, !tbaa !9
  %250 = load ptr, ptr %5, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.w2c_hermes, ptr %250, i32 0, i32 6
  %252 = load i32, ptr %12, align 4, !tbaa !9
  %253 = zext i32 %252 to i64
  %254 = add i64 %253, 4
  %255 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %251, i64 noundef %254, i32 noundef %255)
  br label %256

256:                                              ; preds = %241, %172
  %257 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %257, ptr %12, align 4, !tbaa !9
  store i32 32, ptr %13, align 4, !tbaa !9
  %258 = load i32, ptr %13, align 4, !tbaa !9
  %259 = load i32, ptr %12, align 4, !tbaa !9
  %260 = add i32 %259, %258
  store i32 %260, ptr %12, align 4, !tbaa !9
  %261 = load i32, ptr %12, align 4, !tbaa !9
  %262 = load ptr, ptr %5, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.w2c_hermes, ptr %262, i32 0, i32 3
  store i32 %261, ptr %263, align 8, !tbaa !13
  br label %300

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

282:                                              ; preds = %139
  store i32 0, ptr %12, align 4, !tbaa !9
  %283 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %283, ptr %9, align 4, !tbaa !9
  store i32 147142, ptr %13, align 4, !tbaa !9
  %284 = load i32, ptr %13, align 4, !tbaa !9
  %285 = load i32, ptr %12, align 4, !tbaa !9
  %286 = add i32 %285, %284
  store i32 %286, ptr %12, align 4, !tbaa !9
  %287 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %287, ptr %13, align 4, !tbaa !9
  store i32 82611, ptr %14, align 4, !tbaa !9
  %288 = load i32, ptr %14, align 4, !tbaa !9
  %289 = load i32, ptr %13, align 4, !tbaa !9
  %290 = add i32 %289, %288
  store i32 %290, ptr %13, align 4, !tbaa !9
  store i32 106, ptr %14, align 4, !tbaa !9
  %291 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %291, ptr %15, align 4, !tbaa !9
  store i32 28119, ptr %16, align 4, !tbaa !9
  %292 = load i32, ptr %16, align 4, !tbaa !9
  %293 = load i32, ptr %15, align 4, !tbaa !9
  %294 = add i32 %293, %292
  store i32 %294, ptr %15, align 4, !tbaa !9
  %295 = load ptr, ptr %5, align 8, !tbaa !5
  %296 = load i32, ptr %12, align 4, !tbaa !9
  %297 = load i32, ptr %13, align 4, !tbaa !9
  %298 = load i32, ptr %14, align 4, !tbaa !9
  %299 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %295, i32 noundef %296, i32 noundef %297, i32 noundef %298, i32 noundef %299)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

300:                                              ; preds = %256
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, 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
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 24}
!14 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !15, i64 40, !17, i64 80}
!15 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !16, i64 32}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}


; 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: inlinehint nounwind uwtable
declare hidden void @i32_store8(ptr noundef, i64 noundef, 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 #0

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

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_hermes0x3A0x3ASourceErrorManager0x3A0x3Amessage0x28hermes0x3A0x3ASourceErrorManager0x3A0x3ADiagKind0x2C0x20llvh0x3A0x3ASMRange0x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20hermes0x3A0x3ASubsystem0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Aparser0x3A0x3Adetail0x3A0x3AJSParserImpl0x3A0x3AreparseTypeAnnotationAsIdFlow0x28hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 {
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = add i32 %6, -32
  store i32 %7, ptr %5, align 8, !tbaa !5
  %.not = icmp eq i32 %3, 0
  br i1 %.not, label %58, label %8

8:                                                ; preds = %4
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %3 to i64
  %11 = add nuw nsw i64 %10, 8
  %12 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %11)
  switch i32 %12, label %42 [
    i32 117, label %15
    i32 118, label %21
    i32 119, label %19
    i32 149, label %27
    i32 127, label %13
    i32 126, label %23
    i32 123, label %17
    i32 125, label %25
  ]

13:                                               ; preds = %8
  %14 = add i32 %2, 1092
  br label %39

15:                                               ; preds = %8
  %16 = add i32 %2, 1100
  br label %39

17:                                               ; preds = %8
  %18 = add i32 %2, 1104
  br label %39

19:                                               ; preds = %8
  %20 = add i32 %2, 1112
  br label %39

21:                                               ; preds = %8
  %22 = add i32 %2, 1116
  br label %39

23:                                               ; preds = %8
  %24 = add i32 %2, 1128
  br label %39

25:                                               ; preds = %8
  %26 = add i32 %2, 1124
  br label %39

27:                                               ; preds = %8
  %28 = add nuw nsw i64 %10, 32
  %29 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %28)
  %.not146 = icmp eq i32 %29, 0
  br i1 %.not146, label %30, label %42

30:                                               ; preds = %27
  %31 = add nuw nsw i64 %10, 28
  %32 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %31)
  %.not147 = icmp eq i32 %32, 0
  br i1 %.not147, label %59, label %33

33:                                               ; preds = %30
  %34 = zext i32 %32 to i64
  %35 = add nuw nsw i64 %34, 8
  %36 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %35)
  %.not148 = icmp eq i32 %36, 64
  br i1 %.not148, label %37, label %42

37:                                               ; preds = %33
  %38 = add i32 %32, 28
  br label %39

39:                                               ; preds = %37, %25, %23, %21, %19, %17, %15, %13
  %.0 = phi i32 [ %26, %25 ], [ %18, %17 ], [ %24, %23 ], [ %14, %13 ], [ %38, %37 ], [ %20, %19 ], [ %22, %21 ], [ %16, %15 ]
  %40 = zext i32 %.0 to i64
  %41 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %40)
  %.not149 = icmp eq i32 %41, 0
  br i1 %.not149, label %42, label %54

42:                                               ; preds = %39, %33, %27, %8
  %43 = add nuw nsw i64 %10, 16
  %44 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %43)
  %45 = zext i32 %7 to i64
  %46 = add nuw nsw i64 %45, 12
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %46, i32 noundef 104597)
  %47 = add nuw nsw i64 %45, 20
  tail call void @i32_store16(ptr noundef nonnull %9, i64 noundef %47, i32 noundef 259)
  %48 = zext i32 %2 to i64
  %49 = add nuw nsw i64 %48, 4
  %50 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %49)
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %45, i64 noundef %44)
  %51 = add nuw nsw i64 %45, 24
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %51, i64 noundef %44)
  %52 = add i32 %6, -20
  tail call void @w2c_hermes_hermes0x3A0x3ASourceErrorManager0x3A0x3Amessage0x28hermes0x3A0x3ASourceErrorManager0x3A0x3ADiagKind0x2C0x20llvh0x3A0x3ASMRange0x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20hermes0x3A0x3ASubsystem0x29(ptr noundef nonnull %0, i32 noundef %50, i32 noundef 0, i32 noundef %7, i32 noundef %52, i32 noundef 2) #4
  %53 = zext i32 %1 to i64
  br label %56

54:                                               ; preds = %39
  %55 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %55, i32 noundef %41)
  br label %56

56:                                               ; preds = %54, %42
  %.sink151 = phi i64 [ %55, %54 ], [ %53, %42 ]
  %.sink150 = phi i32 [ 1, %54 ], [ 0, %42 ]
  %57 = add nuw nsw i64 %.sink151, 4
  tail call void @i32_store8(ptr noundef nonnull %9, i64 noundef %57, i32 noundef %.sink150)
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void

58:                                               ; preds = %4
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %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

59:                                               ; preds = %30
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %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
}

attributes #0 = { 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 #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 = { "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)"}
!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,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass