; 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

; 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
declare dso_local i32 @w2c_hermes_hermes0x3A0x3AUnaryOperatorInst0x3A0x3AgetSideEffect0x280x29(ptr noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetDerivedSideEffect0x280x29(ptr noundef %0, i32 noundef %1) #4 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 3, ptr %6, align 4, !tbaa !9
  %9 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %9, ptr %5, align 4, !tbaa !9
  %10 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %10, ptr %6, align 4, !tbaa !9
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.w2c_hermes, ptr %11, i32 0, i32 6
  %13 = load i32, ptr %6, align 4, !tbaa !9
  %14 = zext i32 %13 to i64
  %15 = add i64 %14, 8
  %16 = call i32 @i32_load8_u(ptr noundef %12, i64 noundef %15)
  store i32 %16, ptr %6, align 4, !tbaa !9
  store i32 4, ptr %7, align 4, !tbaa !9
  %17 = load i32, ptr %7, align 4, !tbaa !9
  %18 = load i32, ptr %6, align 4, !tbaa !9
  %19 = sub i32 %18, %17
  store i32 %19, ptr %6, align 4, !tbaa !9
  %20 = load i32, ptr %6, align 4, !tbaa !9
  switch i32 %20, label %125 [
    i32 0, label %21
    i32 1, label %22
    i32 2, label %23
    i32 3, label %24
    i32 4, label %25
    i32 5, label %26
    i32 6, label %27
    i32 7, label %28
    i32 8, label %29
    i32 9, label %30
    i32 10, label %31
    i32 11, label %32
    i32 12, label %33
    i32 13, label %34
    i32 14, label %35
    i32 15, label %36
    i32 16, label %37
    i32 17, label %38
    i32 18, label %39
    i32 19, label %40
    i32 20, label %41
    i32 21, label %42
    i32 22, label %43
    i32 23, label %44
    i32 24, label %45
    i32 25, label %46
    i32 26, label %47
    i32 27, label %48
    i32 28, label %49
    i32 29, label %50
    i32 30, label %51
    i32 31, label %52
    i32 32, label %53
    i32 33, label %54
    i32 34, label %55
    i32 35, label %56
    i32 36, label %57
    i32 37, label %58
    i32 38, label %59
    i32 39, label %60
    i32 40, label %61
    i32 41, label %62
    i32 42, label %63
    i32 43, label %64
    i32 44, label %65
    i32 45, label %66
    i32 46, label %67
    i32 47, label %68
    i32 48, label %69
    i32 49, label %70
    i32 50, label %71
    i32 51, label %72
    i32 52, label %73
    i32 53, label %74
    i32 54, label %75
    i32 55, label %76
    i32 56, label %77
    i32 57, label %78
    i32 58, label %79
    i32 59, label %80
    i32 60, label %81
    i32 61, label %82
    i32 62, label %83
    i32 63, label %84
    i32 64, label %85
    i32 65, label %86
    i32 66, label %87
    i32 67, label %88
    i32 68, label %89
    i32 69, label %90
    i32 70, label %91
    i32 71, label %92
    i32 72, label %93
    i32 73, label %94
    i32 74, label %95
    i32 75, label %96
    i32 76, label %97
    i32 77, label %98
    i32 78, label %99
    i32 79, label %100
    i32 80, label %101
    i32 81, label %102
    i32 82, label %103
    i32 83, label %104
    i32 84, label %105
    i32 85, label %106
    i32 86, label %107
    i32 87, label %108
    i32 88, label %109
    i32 89, label %110
    i32 90, label %111
    i32 91, label %112
    i32 92, label %113
    i32 93, label %114
    i32 94, label %115
    i32 95, label %116
    i32 96, label %117
    i32 97, label %118
    i32 98, label %119
    i32 99, label %120
    i32 100, label %121
    i32 101, label %122
    i32 102, label %123
    i32 103, label %124
  ]

21:                                               ; preds = %2
  br label %215

22:                                               ; preds = %2
  br label %126

23:                                               ; preds = %2
  br label %139

24:                                               ; preds = %2
  br label %213

25:                                               ; preds = %2
  br label %213

26:                                               ; preds = %2
  br label %213

27:                                               ; preds = %2
  br label %126

28:                                               ; preds = %2
  br label %152

29:                                               ; preds = %2
  br label %213

30:                                               ; preds = %2
  br label %213

31:                                               ; preds = %2
  br label %126

32:                                               ; preds = %2
  br label %126

33:                                               ; preds = %2
  br label %126

34:                                               ; preds = %2
  br label %165

35:                                               ; preds = %2
  br label %215

36:                                               ; preds = %2
  br label %215

37:                                               ; preds = %2
  br label %215

38:                                               ; preds = %2
  br label %215

39:                                               ; preds = %2
  br label %178

40:                                               ; preds = %2
  br label %213

41:                                               ; preds = %2
  br label %213

42:                                               ; preds = %2
  br label %213

43:                                               ; preds = %2
  br label %179

44:                                               ; preds = %2
  br label %213

45:                                               ; preds = %2
  br label %213

46:                                               ; preds = %2
  br label %215

47:                                               ; preds = %2
  br label %184

48:                                               ; preds = %2
  br label %213

49:                                               ; preds = %2
  br label %126

50:                                               ; preds = %2
  br label %213

51:                                               ; preds = %2
  br label %185

52:                                               ; preds = %2
  br label %126

53:                                               ; preds = %2
  br label %215

54:                                               ; preds = %2
  br label %215

55:                                               ; preds = %2
  br label %126

56:                                               ; preds = %2
  br label %126

57:                                               ; preds = %2
  br label %215

58:                                               ; preds = %2
  br label %215

59:                                               ; preds = %2
  br label %126

60:                                               ; preds = %2
  br label %215

61:                                               ; preds = %2
  br label %215

62:                                               ; preds = %2
  br label %126

63:                                               ; preds = %2
  br label %215

64:                                               ; preds = %2
  br label %215

65:                                               ; preds = %2
  br label %126

66:                                               ; preds = %2
  br label %190

67:                                               ; preds = %2
  br label %191

68:                                               ; preds = %2
  br label %191

69:                                               ; preds = %2
  br label %213

70:                                               ; preds = %2
  br label %213

71:                                               ; preds = %2
  br label %213

72:                                               ; preds = %2
  br label %213

73:                                               ; preds = %2
  br label %215

74:                                               ; preds = %2
  br label %213

75:                                               ; preds = %2
  br label %215

76:                                               ; preds = %2
  br label %213

77:                                               ; preds = %2
  br label %215

78:                                               ; preds = %2
  br label %213

79:                                               ; preds = %2
  br label %215

80:                                               ; preds = %2
  br label %215

81:                                               ; preds = %2
  br label %215

82:                                               ; preds = %2
  br label %215

83:                                               ; preds = %2
  br label %191

84:                                               ; preds = %2
  br label %192

85:                                               ; preds = %2
  br label %215

86:                                               ; preds = %2
  br label %126

87:                                               ; preds = %2
  br label %213

88:                                               ; preds = %2
  br label %213

89:                                               ; preds = %2
  br label %213

90:                                               ; preds = %2
  br label %213

91:                                               ; preds = %2
  br label %126

92:                                               ; preds = %2
  br label %126

93:                                               ; preds = %2
  br label %193

94:                                               ; preds = %2
  br label %213

95:                                               ; preds = %2
  br label %213

96:                                               ; preds = %2
  br label %215

97:                                               ; preds = %2
  br label %213

98:                                               ; preds = %2
  br label %213

99:                                               ; preds = %2
  br label %206

100:                                              ; preds = %2
  br label %206

101:                                              ; preds = %2
  br label %213

102:                                              ; preds = %2
  br label %213

103:                                              ; preds = %2
  br label %207

104:                                              ; preds = %2
  br label %213

105:                                              ; preds = %2
  br label %215

106:                                              ; preds = %2
  br label %126

107:                                              ; preds = %2
  br label %126

108:                                              ; preds = %2
  br label %215

109:                                              ; preds = %2
  br label %215

110:                                              ; preds = %2
  br label %215

111:                                              ; preds = %2
  br label %215

112:                                              ; preds = %2
  br label %215

113:                                              ; preds = %2
  br label %215

114:                                              ; preds = %2
  br label %126

115:                                              ; preds = %2
  br label %213

116:                                              ; preds = %2
  br label %215

117:                                              ; preds = %2
  br label %215

118:                                              ; preds = %2
  br label %213

119:                                              ; preds = %2
  br label %213

120:                                              ; preds = %2
  br label %215

121:                                              ; preds = %2
  br label %215

122:                                              ; preds = %2
  br label %212

123:                                              ; preds = %2
  br label %213

124:                                              ; preds = %2
  br label %213

125:                                              ; preds = %2
  br label %126

126:                                              ; preds = %125, %114, %107, %106, %92, %91, %86, %65, %62, %59, %56, %55, %52, %49, %33, %32, %31, %27, %22
  store i32 0, ptr %6, align 4, !tbaa !9
  %127 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %127, ptr %5, align 4, !tbaa !9
  store i32 102789, ptr %7, align 4, !tbaa !9
  %128 = load i32, ptr %7, align 4, !tbaa !9
  %129 = load i32, ptr %6, align 4, !tbaa !9
  %130 = add i32 %129, %128
  store i32 %130, ptr %6, align 4, !tbaa !9
  %131 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %131, ptr %7, align 4, !tbaa !9
  store i32 62264, ptr %8, align 4, !tbaa !9
  %132 = load i32, ptr %8, align 4, !tbaa !9
  %133 = load i32, ptr %7, align 4, !tbaa !9
  %134 = add i32 %133, %132
  store i32 %134, ptr %7, align 4, !tbaa !9
  store i32 427, ptr %8, align 4, !tbaa !9
  %135 = load ptr, ptr %3, align 8, !tbaa !5
  %136 = load i32, ptr %6, align 4, !tbaa !9
  %137 = load i32, ptr %7, align 4, !tbaa !9
  %138 = load i32, ptr %8, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %135, i32 noundef %136, i32 noundef %137, i32 noundef %138)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

139:                                              ; preds = %23
  store i32 0, ptr %6, align 4, !tbaa !9
  %140 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %140, ptr %5, align 4, !tbaa !9
  store i32 113943, ptr %7, align 4, !tbaa !9
  %141 = load i32, ptr %7, align 4, !tbaa !9
  %142 = load i32, ptr %6, align 4, !tbaa !9
  %143 = add i32 %142, %141
  store i32 %143, ptr %6, align 4, !tbaa !9
  %144 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %144, ptr %7, align 4, !tbaa !9
  store i32 78223, ptr %8, align 4, !tbaa !9
  %145 = load i32, ptr %8, align 4, !tbaa !9
  %146 = load i32, ptr %7, align 4, !tbaa !9
  %147 = add i32 %146, %145
  store i32 %147, ptr %7, align 4, !tbaa !9
  store i32 106, ptr %8, align 4, !tbaa !9
  %148 = load ptr, ptr %3, align 8, !tbaa !5
  %149 = load i32, ptr %6, align 4, !tbaa !9
  %150 = load i32, ptr %7, align 4, !tbaa !9
  %151 = load i32, ptr %8, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %148, i32 noundef %149, i32 noundef %150, i32 noundef %151)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

152:                                              ; preds = %28
  store i32 0, ptr %6, align 4, !tbaa !9
  %153 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %153, ptr %5, align 4, !tbaa !9
  store i32 113937, ptr %7, align 4, !tbaa !9
  %154 = load i32, ptr %7, align 4, !tbaa !9
  %155 = load i32, ptr %6, align 4, !tbaa !9
  %156 = add i32 %155, %154
  store i32 %156, ptr %6, align 4, !tbaa !9
  %157 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %157, ptr %7, align 4, !tbaa !9
  store i32 78223, ptr %8, align 4, !tbaa !9
  %158 = load i32, ptr %8, align 4, !tbaa !9
  %159 = load i32, ptr %7, align 4, !tbaa !9
  %160 = add i32 %159, %158
  store i32 %160, ptr %7, align 4, !tbaa !9
  store i32 149, ptr %8, align 4, !tbaa !9
  %161 = load ptr, ptr %3, align 8, !tbaa !5
  %162 = load i32, ptr %6, align 4, !tbaa !9
  %163 = load i32, ptr %7, align 4, !tbaa !9
  %164 = load i32, ptr %8, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %161, i32 noundef %162, i32 noundef %163, i32 noundef %164)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

165:                                              ; preds = %34
  store i32 0, ptr %6, align 4, !tbaa !9
  %166 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %166, ptr %5, align 4, !tbaa !9
  store i32 113980, ptr %7, align 4, !tbaa !9
  %167 = load i32, ptr %7, align 4, !tbaa !9
  %168 = load i32, ptr %6, align 4, !tbaa !9
  %169 = add i32 %168, %167
  store i32 %169, ptr %6, align 4, !tbaa !9
  %170 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %170, ptr %7, align 4, !tbaa !9
  store i32 78223, ptr %8, align 4, !tbaa !9
  %171 = load i32, ptr %8, align 4, !tbaa !9
  %172 = load i32, ptr %7, align 4, !tbaa !9
  %173 = add i32 %172, %171
  store i32 %173, ptr %7, align 4, !tbaa !9
  store i32 190, ptr %8, align 4, !tbaa !9
  %174 = load ptr, ptr %3, align 8, !tbaa !5
  %175 = load i32, ptr %6, align 4, !tbaa !9
  %176 = load i32, ptr %7, align 4, !tbaa !9
  %177 = load i32, ptr %8, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %174, i32 noundef %175, i32 noundef %176, i32 noundef %177)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

178:                                              ; preds = %39
  store i32 1, ptr %6, align 4, !tbaa !9
  br label %217

179:                                              ; preds = %43
  %180 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %180, ptr %6, align 4, !tbaa !9
  %181 = load ptr, ptr %3, align 8, !tbaa !5
  %182 = load i32, ptr %6, align 4, !tbaa !9
  %183 = call i32 @w2c_hermes_hermes0x3A0x3AUnaryOperatorInst0x3A0x3AgetSideEffect0x280x29(ptr noundef %181, i32 noundef %182)
  store i32 %183, ptr %6, align 4, !tbaa !9
  br label %217

184:                                              ; preds = %47
  store i32 2, ptr %6, align 4, !tbaa !9
  br label %217

185:                                              ; preds = %51
  %186 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %186, ptr %6, align 4, !tbaa !9
  %187 = load ptr, ptr %3, align 8, !tbaa !5
  %188 = load i32, ptr %6, align 4, !tbaa !9
  %189 = call i32 @w2c_hermes_hermes0x3A0x3ABinaryOperatorInst0x3A0x3AgetSideEffect0x280x29(ptr noundef %187, i32 noundef %188)
  store i32 %189, ptr %6, align 4, !tbaa !9
  br label %217

190:                                              ; preds = %66
  store i32 1, ptr %6, align 4, !tbaa !9
  br label %217

191:                                              ; preds = %83, %68, %67
  store i32 2, ptr %6, align 4, !tbaa !9
  br label %217

192:                                              ; preds = %84
  store i32 1, ptr %6, align 4, !tbaa !9
  br label %217

193:                                              ; preds = %93
  store i32 0, ptr %6, align 4, !tbaa !9
  %194 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %194, ptr %5, align 4, !tbaa !9
  store i32 113903, ptr %7, align 4, !tbaa !9
  %195 = load i32, ptr %7, align 4, !tbaa !9
  %196 = load i32, ptr %6, align 4, !tbaa !9
  %197 = add i32 %196, %195
  store i32 %197, ptr %6, align 4, !tbaa !9
  %198 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %198, ptr %7, align 4, !tbaa !9
  store i32 78223, ptr %8, align 4, !tbaa !9
  %199 = load i32, ptr %8, align 4, !tbaa !9
  %200 = load i32, ptr %7, align 4, !tbaa !9
  %201 = add i32 %200, %199
  store i32 %201, ptr %7, align 4, !tbaa !9
  store i32 222, ptr %8, align 4, !tbaa !9
  %202 = load ptr, ptr %3, align 8, !tbaa !5
  %203 = load i32, ptr %6, align 4, !tbaa !9
  %204 = load i32, ptr %7, align 4, !tbaa !9
  %205 = load i32, ptr %8, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %202, i32 noundef %203, i32 noundef %204, i32 noundef %205)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

206:                                              ; preds = %100, %99
  store i32 2, ptr %6, align 4, !tbaa !9
  br label %217

207:                                              ; preds = %103
  %208 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %208, ptr %6, align 4, !tbaa !9
  %209 = load ptr, ptr %3, align 8, !tbaa !5
  %210 = load i32, ptr %6, align 4, !tbaa !9
  %211 = call i32 @w2c_hermes_hermes0x3A0x3ACompareBranchInst0x3A0x3AgetSideEffect0x280x29(ptr noundef %209, i32 noundef %210)
  store i32 %211, ptr %6, align 4, !tbaa !9
  br label %217

212:                                              ; preds = %122
  store i32 1, ptr %6, align 4, !tbaa !9
  br label %217

213:                                              ; preds = %124, %123, %119, %118, %115, %104, %102, %101, %98, %97, %95, %94, %90, %89, %88, %87, %78, %76, %74, %72, %71, %70, %69, %50, %48, %45, %44, %42, %41, %40, %30, %29, %26, %25, %24
  store i32 0, ptr %6, align 4, !tbaa !9
  %214 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %214, ptr %5, align 4, !tbaa !9
  br label %215

215:                                              ; preds = %213, %121, %120, %117, %116, %113, %112, %111, %110, %109, %108, %105, %96, %85, %82, %81, %80, %79, %77, %75, %73, %64, %63, %61, %60, %58, %57, %54, %53, %46, %38, %37, %36, %35, %21
  %216 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %216, ptr %6, align 4, !tbaa !9
  br label %217

217:                                              ; preds = %215, %212, %207, %206, %192, %191, %190, %185, %184, %179, %178
  %218 = load i32, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  ret i32 %218
}

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetDerivedSideEffect0x280x29(ptr noundef %0, i32 noundef %1) local_unnamed_addr #3 {
  %3 = getelementptr inbounds i8, ptr %0, i64 40
  %4 = zext i32 %1 to i64
  %5 = add nuw nsw i64 %4, 8
  %6 = tail call i32 @i32_load8_u(ptr noundef nonnull %3, i64 noundef %5)
  switch i32 %6, label %7 [
    i32 4, label %22
    i32 107, label %21
    i32 6, label %8
    i32 7, label %21
    i32 8, label %21
    i32 9, label %21
    i32 106, label %21
    i32 11, label %9
    i32 12, label %21
    i32 13, label %21
    i32 105, label %23
    i32 104, label %22
    i32 103, label %22
    i32 17, label %10
    i32 18, label %22
    i32 19, label %22
    i32 20, label %22
    i32 21, label %22
    i32 22, label %23
    i32 23, label %21
    i32 24, label %21
    i32 25, label %21
    i32 26, label %11
    i32 27, label %21
    i32 28, label %21
    i32 29, label %22
    i32 30, label %13
    i32 31, label %21
    i32 102, label %21
    i32 33, label %21
    i32 34, label %14
    i32 101, label %21
    i32 36, label %22
    i32 37, label %22
    i32 100, label %22
    i32 99, label %22
    i32 40, label %22
    i32 41, label %22
    i32 98, label %21
    i32 43, label %22
    i32 44, label %22
    i32 96, label %22
    i32 46, label %22
    i32 47, label %22
    i32 95, label %22
    i32 49, label %23
    i32 50, label %16
    i32 51, label %16
    i32 52, label %21
    i32 53, label %21
    i32 54, label %21
    i32 55, label %21
    i32 56, label %22
    i32 57, label %21
    i32 58, label %22
    i32 59, label %21
    i32 60, label %22
    i32 61, label %21
    i32 62, label %22
    i32 63, label %22
    i32 64, label %22
    i32 65, label %22
    i32 66, label %16
    i32 67, label %23
    i32 68, label %22
    i32 94, label %22
    i32 70, label %21
    i32 71, label %21
    i32 72, label %21
    i32 73, label %21
    i32 93, label %22
    i32 92, label %22
    i32 76, label %17
    i32 77, label %21
    i32 78, label %21
    i32 79, label %22
    i32 80, label %21
    i32 81, label %21
    i32 82, label %18
    i32 83, label %18
    i32 84, label %21
    i32 85, label %21
    i32 86, label %19
    i32 87, label %21
    i32 88, label %22
    i32 91, label %22
  ]

7:                                                ; preds = %2
  tail call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef 102789, i32 noundef 62264, i32 noundef 427) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

8:                                                ; preds = %2
  tail call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef 113943, i32 noundef 78223, i32 noundef 106) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

9:                                                ; preds = %2
  tail call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef 113937, i32 noundef 78223, i32 noundef 149) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

10:                                               ; preds = %2
  tail call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef 113980, i32 noundef 78223, i32 noundef 190) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

11:                                               ; preds = %2
  %12 = tail call i32 @w2c_hermes_hermes0x3A0x3AUnaryOperatorInst0x3A0x3AgetSideEffect0x280x29(ptr noundef %0, i32 noundef %1)
  br label %23

13:                                               ; preds = %2
  br label %23

14:                                               ; preds = %2
  %15 = tail call i32 @w2c_hermes_hermes0x3A0x3ABinaryOperatorInst0x3A0x3AgetSideEffect0x280x29(ptr noundef %0, i32 noundef %1) #4
  br label %23

16:                                               ; preds = %2, %2, %2
  br label %23

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

18:                                               ; preds = %2, %2
  br label %23

19:                                               ; preds = %2
  %20 = tail call i32 @w2c_hermes_hermes0x3A0x3ACompareBranchInst0x3A0x3AgetSideEffect0x280x29(ptr noundef %0, i32 noundef %1) #4
  br label %23

21:                                               ; preds = %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2
  br label %23

22:                                               ; preds = %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2, %2
  br label %23

23:                                               ; preds = %21, %2, %2, %2, %2, %22, %19, %18, %16, %14, %13, %11
  %.0 = phi i32 [ %20, %19 ], [ 2, %18 ], [ 2, %16 ], [ %15, %14 ], [ 2, %13 ], [ %12, %11 ], [ 1, %2 ], [ 1, %2 ], [ 1, %2 ], [ 1, %2 ], [ 0, %21 ], [ 3, %22 ]
  ret i32 %.0
}

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

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

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