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

; 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: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) #0

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

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

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

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

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

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

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

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

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

declare void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef, i32 noundef) #4

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #5

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @f64_reinterpret_i64(i64 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden double @wasm_fabs(double noundef) #0

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #4

declare i32 @w2c_hermes_hermes0x3A0x3AtruncateToInt32SlowPath0x28double0x29(ptr noundef, double noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSTypedArray0x3Cshort0x2C0x200x28hermes0x3A0x3Avm0x3A0x3ACellKind0x29360x3E0x3A0x3A_setOwnIndexedImpl0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  %16 = alloca double, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !9
  store i32 %5, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store i64 0, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  store double 0.000000e+00, ptr %16, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.w2c_hermes, ptr %25, i32 0, i32 3
  %27 = load i32, ptr %26, align 8, !tbaa !15
  store i32 %27, ptr %17, align 4, !tbaa !9
  store i32 48, ptr %18, align 4, !tbaa !9
  %28 = load i32, ptr %18, align 4, !tbaa !9
  %29 = load i32, ptr %17, align 4, !tbaa !9
  %30 = sub i32 %29, %28
  store i32 %30, ptr %17, align 4, !tbaa !9
  %31 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %31, ptr %13, align 4, !tbaa !9
  %32 = load i32, ptr %17, align 4, !tbaa !9
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.w2c_hermes, ptr %33, i32 0, i32 3
  store i32 %32, ptr %34, align 8, !tbaa !15
  %35 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %35, ptr %17, align 4, !tbaa !9
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.w2c_hermes, ptr %36, i32 0, i32 6
  %38 = load i32, ptr %17, align 4, !tbaa !9
  %39 = zext i32 %38 to i64
  %40 = call i64 @i64_load(ptr noundef %37, i64 noundef %39)
  store i64 %40, ptr %21, align 8, !tbaa !11
  %41 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %41, ptr %15, align 8, !tbaa !11
  store i64 -1970324836974592, ptr %22, align 8, !tbaa !11
  %42 = load i64, ptr %21, align 8, !tbaa !11
  %43 = load i64, ptr %22, align 8, !tbaa !11
  %44 = icmp uge i64 %42, %43
  %45 = zext i1 %44 to i32
  store i32 %45, ptr %17, align 4, !tbaa !9
  %46 = load i32, ptr %17, align 4, !tbaa !9
  %47 = icmp ne i32 %46, 0
  br i1 %47, label %48, label %81

48:                                               ; preds = %6
  %49 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %49, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %50 = load i32, ptr %18, align 4, !tbaa !9
  %51 = load i32, ptr %17, align 4, !tbaa !9
  %52 = add i32 %51, %50
  store i32 %52, ptr %17, align 4, !tbaa !9
  %53 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %53, ptr %18, align 4, !tbaa !9
  %54 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %54, ptr %19, align 4, !tbaa !9
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = load i32, ptr %17, align 4, !tbaa !9
  %57 = load i32, ptr %18, align 4, !tbaa !9
  %58 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %55, i32 noundef %56, i32 noundef %57, i32 noundef %58)
  %59 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %59, ptr %17, align 4, !tbaa !9
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.w2c_hermes, ptr %60, i32 0, i32 6
  %62 = load i32, ptr %17, align 4, !tbaa !9
  %63 = zext i32 %62 to i64
  %64 = add i64 %63, 8
  %65 = call i32 @i32_load(ptr noundef %61, i64 noundef %64)
  store i32 %65, ptr %17, align 4, !tbaa !9
  %66 = load i32, ptr %17, align 4, !tbaa !9
  %67 = icmp ne i32 %66, 0
  %68 = xor i1 %67, true
  %69 = zext i1 %68 to i32
  store i32 %69, ptr %17, align 4, !tbaa !9
  %70 = load i32, ptr %17, align 4, !tbaa !9
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %73

72:                                               ; preds = %48
  br label %317

73:                                               ; preds = %48
  %74 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %74, ptr %17, align 4, !tbaa !9
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.w2c_hermes, ptr %75, i32 0, i32 6
  %77 = load i32, ptr %17, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  %79 = add i64 %78, 16
  %80 = call i64 @i64_load(ptr noundef %76, i64 noundef %79)
  store i64 %80, ptr %21, align 8, !tbaa !11
  br label %83

81:                                               ; preds = %6
  %82 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %82, ptr %21, align 8, !tbaa !11
  br label %83

83:                                               ; preds = %81, %73
  %84 = load i64, ptr %21, align 8, !tbaa !11
  %85 = call double @f64_reinterpret_i64(i64 noundef %84)
  store double %85, ptr %23, align 8, !tbaa !13
  %86 = load double, ptr %23, align 8, !tbaa !13
  store double %86, ptr %16, align 8, !tbaa !13
  %87 = load double, ptr %23, align 8, !tbaa !13
  %88 = call double @wasm_fabs(double noundef %87)
  store double %88, ptr %23, align 8, !tbaa !13
  store double 0x41E0000000000000, ptr %24, align 8, !tbaa !13
  %89 = load double, ptr %23, align 8, !tbaa !13
  %90 = load double, ptr %24, align 8, !tbaa !13
  %91 = fcmp olt double %89, %90
  %92 = zext i1 %91 to i32
  store i32 %92, ptr %17, align 4, !tbaa !9
  %93 = load i32, ptr %17, align 4, !tbaa !9
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %95, label %132

95:                                               ; preds = %83
  %96 = load double, ptr %16, align 8, !tbaa !13
  store double %96, ptr %23, align 8, !tbaa !13
  %97 = load double, ptr %23, align 8, !tbaa !13
  %98 = load double, ptr %23, align 8, !tbaa !13
  %99 = fcmp une double %97, %98
  %100 = xor i1 %99, true
  %101 = xor i1 %100, true
  %102 = zext i1 %101 to i32
  %103 = sext i32 %102 to i64
  %104 = call i64 @llvm.expect.i64(i64 %103, i64 0)
  %105 = icmp ne i64 %104, 0
  br i1 %105, label %106, label %108

106:                                              ; preds = %95
  call void @wasm_rt_trap(i32 noundef 4) #7
  unreachable

107:                                              ; No predecessors!
  br label %130

108:                                              ; preds = %95
  %109 = load double, ptr %23, align 8, !tbaa !13
  %110 = fcmp ogt double %109, 0xC1E0000000200000
  br i1 %110, label %111, label %114

111:                                              ; preds = %108
  %112 = load double, ptr %23, align 8, !tbaa !13
  %113 = fcmp olt double %112, 0x41E0000000000000
  br label %114

114:                                              ; preds = %111, %108
  %115 = phi i1 [ false, %108 ], [ %113, %111 ]
  %116 = xor i1 %115, true
  %117 = xor i1 %116, true
  %118 = xor i1 %117, true
  %119 = zext i1 %118 to i32
  %120 = sext i32 %119 to i64
  %121 = call i64 @llvm.expect.i64(i64 %120, i64 0)
  %122 = icmp ne i64 %121, 0
  br i1 %122, label %123, label %125

123:                                              ; preds = %114
  call void @wasm_rt_trap(i32 noundef 2) #7
  unreachable

124:                                              ; No predecessors!
  br label %128

125:                                              ; preds = %114
  %126 = load double, ptr %23, align 8, !tbaa !13
  %127 = fptosi double %126 to i32
  br label %128

128:                                              ; preds = %125, %124
  %129 = phi i32 [ 0, %124 ], [ %127, %125 ]
  br label %130

130:                                              ; preds = %128, %107
  %131 = phi i32 [ 0, %107 ], [ %129, %128 ]
  store i32 %131, ptr %17, align 4, !tbaa !9
  br label %133

132:                                              ; preds = %83
  store i32 -2147483648, ptr %17, align 4, !tbaa !9
  br label %133

133:                                              ; preds = %132, %130
  %134 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %134, ptr %12, align 4, !tbaa !9
  %135 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %135, ptr %17, align 4, !tbaa !9
  %136 = load i32, ptr %17, align 4, !tbaa !9
  %137 = sitofp i32 %136 to double
  store double %137, ptr %23, align 8, !tbaa !13
  %138 = load double, ptr %16, align 8, !tbaa !13
  store double %138, ptr %24, align 8, !tbaa !13
  %139 = load double, ptr %23, align 8, !tbaa !13
  %140 = load double, ptr %24, align 8, !tbaa !13
  %141 = fcmp une double %139, %140
  %142 = zext i1 %141 to i32
  store i32 %142, ptr %17, align 4, !tbaa !9
  %143 = load i32, ptr %17, align 4, !tbaa !9
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %151

145:                                              ; preds = %133
  %146 = load double, ptr %16, align 8, !tbaa !13
  store double %146, ptr %23, align 8, !tbaa !13
  %147 = load ptr, ptr %7, align 8, !tbaa !5
  %148 = load double, ptr %23, align 8, !tbaa !13
  %149 = call i32 @w2c_hermes_hermes0x3A0x3AtruncateToInt32SlowPath0x28double0x29(ptr noundef %147, double noundef %148)
  store i32 %149, ptr %17, align 4, !tbaa !9
  %150 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %150, ptr %12, align 4, !tbaa !9
  br label %151

151:                                              ; preds = %145, %133
  %152 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %152, ptr %17, align 4, !tbaa !9
  %153 = load ptr, ptr %7, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.w2c_hermes, ptr %153, i32 0, i32 6
  %155 = load i32, ptr %17, align 4, !tbaa !9
  %156 = zext i32 %155 to i64
  %157 = call i32 @i32_load(ptr noundef %154, i64 noundef %156)
  store i32 %157, ptr %17, align 4, !tbaa !9
  %158 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %158, ptr %9, align 4, !tbaa !9
  %159 = load ptr, ptr %7, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.w2c_hermes, ptr %159, i32 0, i32 6
  %161 = load i32, ptr %17, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = add i64 %162, 20
  %164 = call i32 @i32_load(ptr noundef %160, i64 noundef %163)
  store i32 %164, ptr %17, align 4, !tbaa !9
  %165 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %165, ptr %14, align 4, !tbaa !9
  %166 = load i32, ptr %17, align 4, !tbaa !9
  %167 = icmp ne i32 %166, 0
  br i1 %167, label %168, label %180

168:                                              ; preds = %151
  %169 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %169, ptr %17, align 4, !tbaa !9
  %170 = load ptr, ptr %7, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.w2c_hermes, ptr %170, i32 0, i32 6
  %172 = load i32, ptr %17, align 4, !tbaa !9
  %173 = zext i32 %172 to i64
  %174 = add i64 %173, 29
  %175 = call i32 @i32_load8_u(ptr noundef %171, i64 noundef %174)
  store i32 %175, ptr %17, align 4, !tbaa !9
  %176 = load i32, ptr %17, align 4, !tbaa !9
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %179

178:                                              ; preds = %168
  br label %224

179:                                              ; preds = %168
  br label %180

180:                                              ; preds = %179, %151
  %181 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %181, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %182 = load ptr, ptr %7, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.w2c_hermes, ptr %182, i32 0, i32 6
  %184 = load i32, ptr %17, align 4, !tbaa !9
  %185 = zext i32 %184 to i64
  %186 = add i64 %185, 40
  %187 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %183, i64 noundef %186, i32 noundef %187)
  %188 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %188, ptr %17, align 4, !tbaa !9
  store i64 197568495617, ptr %22, align 8, !tbaa !11
  %189 = load ptr, ptr %7, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.w2c_hermes, ptr %189, i32 0, i32 6
  %191 = load i32, ptr %17, align 4, !tbaa !9
  %192 = zext i32 %191 to i64
  %193 = add i64 %192, 32
  %194 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %190, i64 noundef %193, i64 noundef %194)
  %195 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %195, ptr %17, align 4, !tbaa !9
  store i32 3, ptr %18, align 4, !tbaa !9
  %196 = load ptr, ptr %7, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.w2c_hermes, ptr %196, i32 0, i32 6
  %198 = load i32, ptr %17, align 4, !tbaa !9
  %199 = zext i32 %198 to i64
  %200 = add i64 %199, 16
  %201 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %197, i64 noundef %200, i32 noundef %201)
  %202 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %202, ptr %17, align 4, !tbaa !9
  store i32 38730, ptr %18, align 4, !tbaa !9
  %203 = load ptr, ptr %7, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.w2c_hermes, ptr %203, i32 0, i32 6
  %205 = load i32, ptr %17, align 4, !tbaa !9
  %206 = zext i32 %205 to i64
  %207 = add i64 %206, 8
  %208 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %204, i64 noundef %207, i32 noundef %208)
  %209 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %209, ptr %17, align 4, !tbaa !9
  %210 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %210, ptr %18, align 4, !tbaa !9
  %211 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %211, ptr %19, align 4, !tbaa !9
  store i32 8, ptr %20, align 4, !tbaa !9
  %212 = load i32, ptr %20, align 4, !tbaa !9
  %213 = load i32, ptr %19, align 4, !tbaa !9
  %214 = add i32 %213, %212
  store i32 %214, ptr %19, align 4, !tbaa !9
  %215 = load ptr, ptr %7, align 8, !tbaa !5
  %216 = load i32, ptr %18, align 4, !tbaa !9
  %217 = load i32, ptr %19, align 4, !tbaa !9
  %218 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %215, i32 noundef %216, i32 noundef %217)
  store i32 %218, ptr %18, align 4, !tbaa !9
  %219 = load ptr, ptr %7, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.w2c_hermes, ptr %219, i32 0, i32 6
  %221 = load i32, ptr %17, align 4, !tbaa !9
  %222 = zext i32 %221 to i64
  %223 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %220, i64 noundef %222, i32 noundef %223)
  br label %338

224:                                              ; preds = %178
  %225 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %225, ptr %17, align 4, !tbaa !9
  %226 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %226, ptr %18, align 4, !tbaa !9
  %227 = load ptr, ptr %7, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.w2c_hermes, ptr %227, i32 0, i32 6
  %229 = load i32, ptr %18, align 4, !tbaa !9
  %230 = zext i32 %229 to i64
  %231 = add i64 %230, 24
  %232 = call i32 @i32_load(ptr noundef %228, i64 noundef %231)
  store i32 %232, ptr %18, align 4, !tbaa !9
  %233 = load i32, ptr %17, align 4, !tbaa !9
  %234 = load i32, ptr %18, align 4, !tbaa !9
  %235 = icmp ult i32 %233, %234
  %236 = zext i1 %235 to i32
  store i32 %236, ptr %17, align 4, !tbaa !9
  %237 = load i32, ptr %17, align 4, !tbaa !9
  %238 = icmp ne i32 %237, 0
  br i1 %238, label %239, label %298

239:                                              ; preds = %224
  %240 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %240, ptr %17, align 4, !tbaa !9
  %241 = load ptr, ptr %7, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.w2c_hermes, ptr %241, i32 0, i32 6
  %243 = load i32, ptr %17, align 4, !tbaa !9
  %244 = zext i32 %243 to i64
  %245 = add i64 %244, 5300
  %246 = call i32 @i32_load8_u(ptr noundef %242, i64 noundef %245)
  store i32 %246, ptr %17, align 4, !tbaa !9
  %247 = load i32, ptr %17, align 4, !tbaa !9
  %248 = icmp ne i32 %247, 0
  %249 = xor i1 %248, true
  %250 = zext i1 %249 to i32
  store i32 %250, ptr %17, align 4, !tbaa !9
  %251 = load i32, ptr %17, align 4, !tbaa !9
  %252 = icmp ne i32 %251, 0
  br i1 %252, label %253, label %254

253:                                              ; preds = %239
  br label %335

254:                                              ; preds = %239
  %255 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %255, ptr %17, align 4, !tbaa !9
  %256 = load ptr, ptr %7, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.w2c_hermes, ptr %256, i32 0, i32 6
  %258 = load i32, ptr %17, align 4, !tbaa !9
  %259 = zext i32 %258 to i64
  %260 = add i64 %259, 28
  %261 = call i32 @i32_load(ptr noundef %257, i64 noundef %260)
  store i32 %261, ptr %17, align 4, !tbaa !9
  %262 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %262, ptr %18, align 4, !tbaa !9
  store i32 1272, ptr %19, align 4, !tbaa !9
  %263 = load i32, ptr %19, align 4, !tbaa !9
  %264 = load i32, ptr %18, align 4, !tbaa !9
  %265 = add i32 %264, %263
  store i32 %265, ptr %18, align 4, !tbaa !9
  %266 = load ptr, ptr %7, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.w2c_hermes, ptr %266, i32 0, i32 6
  %268 = load i32, ptr %18, align 4, !tbaa !9
  %269 = zext i32 %268 to i64
  %270 = call i32 @i32_load(ptr noundef %267, i64 noundef %269)
  store i32 %270, ptr %18, align 4, !tbaa !9
  %271 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %271, ptr %19, align 4, !tbaa !9
  %272 = load ptr, ptr %7, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.w2c_hermes, ptr %272, i32 0, i32 6
  %274 = load i32, ptr %19, align 4, !tbaa !9
  %275 = zext i32 %274 to i64
  %276 = add i64 %275, 20
  %277 = call i32 @i32_load(ptr noundef %273, i64 noundef %276)
  store i32 %277, ptr %19, align 4, !tbaa !9
  %278 = load i32, ptr %19, align 4, !tbaa !9
  %279 = load i32, ptr %18, align 4, !tbaa !9
  %280 = xor i32 %279, %278
  store i32 %280, ptr %18, align 4, !tbaa !9
  %281 = load i32, ptr %18, align 4, !tbaa !9
  %282 = load i32, ptr %17, align 4, !tbaa !9
  %283 = add i32 %282, %281
  store i32 %283, ptr %17, align 4, !tbaa !9
  %284 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %284, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %285 = load i32, ptr %19, align 4, !tbaa !9
  %286 = and i32 %285, 31
  %287 = load i32, ptr %18, align 4, !tbaa !9
  %288 = shl i32 %287, %286
  store i32 %288, ptr %18, align 4, !tbaa !9
  %289 = load i32, ptr %18, align 4, !tbaa !9
  %290 = load i32, ptr %17, align 4, !tbaa !9
  %291 = add i32 %290, %289
  store i32 %291, ptr %17, align 4, !tbaa !9
  %292 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %292, ptr %18, align 4, !tbaa !9
  %293 = load ptr, ptr %7, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.w2c_hermes, ptr %293, i32 0, i32 6
  %295 = load i32, ptr %17, align 4, !tbaa !9
  %296 = zext i32 %295 to i64
  %297 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %294, i64 noundef %296, i32 noundef %297)
  br label %298

298:                                              ; preds = %254, %224
  %299 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %299, ptr %17, align 4, !tbaa !9
  %300 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %300, ptr %18, align 4, !tbaa !9
  %301 = load ptr, ptr %7, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.w2c_hermes, ptr %301, i32 0, i32 6
  %303 = load i32, ptr %18, align 4, !tbaa !9
  %304 = zext i32 %303 to i64
  %305 = call i32 @i32_load16_u(ptr noundef %302, i64 noundef %304)
  store i32 %305, ptr %18, align 4, !tbaa !9
  store i32 65024, ptr %19, align 4, !tbaa !9
  %306 = load i32, ptr %19, align 4, !tbaa !9
  %307 = load i32, ptr %18, align 4, !tbaa !9
  %308 = and i32 %307, %306
  store i32 %308, ptr %18, align 4, !tbaa !9
  store i32 257, ptr %19, align 4, !tbaa !9
  %309 = load i32, ptr %19, align 4, !tbaa !9
  %310 = load i32, ptr %18, align 4, !tbaa !9
  %311 = or i32 %310, %309
  store i32 %311, ptr %18, align 4, !tbaa !9
  %312 = load ptr, ptr %7, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.w2c_hermes, ptr %312, i32 0, i32 6
  %314 = load i32, ptr %17, align 4, !tbaa !9
  %315 = zext i32 %314 to i64
  %316 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %313, i64 noundef %315, i32 noundef %316)
  br label %338

317:                                              ; preds = %72
  %318 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %318, ptr %17, align 4, !tbaa !9
  %319 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %319, ptr %18, align 4, !tbaa !9
  %320 = load ptr, ptr %7, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.w2c_hermes, ptr %320, i32 0, i32 6
  %322 = load i32, ptr %18, align 4, !tbaa !9
  %323 = zext i32 %322 to i64
  %324 = add i64 %323, 1
  %325 = call i32 @i32_load8_u(ptr noundef %321, i64 noundef %324)
  store i32 %325, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %326 = load i32, ptr %19, align 4, !tbaa !9
  %327 = and i32 %326, 31
  %328 = load i32, ptr %18, align 4, !tbaa !9
  %329 = shl i32 %328, %327
  store i32 %329, ptr %18, align 4, !tbaa !9
  %330 = load ptr, ptr %7, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.w2c_hermes, ptr %330, i32 0, i32 6
  %332 = load i32, ptr %17, align 4, !tbaa !9
  %333 = zext i32 %332 to i64
  %334 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %331, i64 noundef %333, i32 noundef %334)
  br label %338

335:                                              ; preds = %253
  store i32 38571, ptr %17, align 4, !tbaa !9
  %336 = load ptr, ptr %7, align 8, !tbaa !5
  %337 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef %336, i32 noundef %337)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

338:                                              ; preds = %317, %298, %180
  %339 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %339, ptr %17, align 4, !tbaa !9
  store i32 48, ptr %18, align 4, !tbaa !9
  %340 = load i32, ptr %18, align 4, !tbaa !9
  %341 = load i32, ptr %17, align 4, !tbaa !9
  %342 = add i32 %341, %340
  store i32 %342, ptr %17, align 4, !tbaa !9
  %343 = load i32, ptr %17, align 4, !tbaa !9
  %344 = load ptr, ptr %7, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.w2c_hermes, ptr %344, i32 0, i32 3
  store i32 %343, ptr %345, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  ret void
}

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #4 = { "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 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { 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, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!16, !10, i64 24}
!16 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !17, i64 40, !19, i64 80}
!17 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !18, i64 32}
!18 = !{!"_Bool", !7, i64 0}
!19 = !{!"", !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: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

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

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

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

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

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

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

declare void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef, i32 noundef) local_unnamed_addr #3

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @f64_reinterpret_i64(i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden double @wasm_fabs(double noundef) local_unnamed_addr #0

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare i32 @w2c_hermes_hermes0x3A0x3AtruncateToInt32SlowPath0x28double0x29(ptr noundef, double noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSTypedArray0x3Cshort0x2C0x200x28hermes0x3A0x3Avm0x3A0x3ACellKind0x29360x3E0x3A0x3A_setOwnIndexedImpl0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 {
  %7 = getelementptr inbounds i8, ptr %0, i64 24
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = add i32 %8, -48
  store i32 %9, ptr %7, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = zext i32 %5 to i64
  %12 = tail call i64 @i64_load(ptr noundef nonnull %10, i64 noundef %11)
  %13 = icmp ugt i64 %12, -1970324836974593
  br i1 %13, label %14, label %22

14:                                               ; preds = %6
  %15 = add i32 %8, -40
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %15, i32 noundef %3, i32 noundef %5) #4
  %16 = zext i32 %9 to i64
  %17 = add nuw nsw i64 %16, 8
  %18 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %17)
  %.not = icmp eq i32 %18, 0
  br i1 %.not, label %85, label %19

19:                                               ; preds = %14
  %20 = add nuw nsw i64 %16, 16
  %21 = tail call i64 @i64_load(ptr noundef nonnull %10, i64 noundef %20)
  br label %22

22:                                               ; preds = %6, %19
  %.0 = phi i64 [ %21, %19 ], [ %12, %6 ]
  %23 = tail call double @f64_reinterpret_i64(i64 noundef %.0)
  %24 = tail call double @wasm_fabs(double noundef %23)
  %25 = fcmp olt double %24, 0x41E0000000000000
  br i1 %25, label %26, label %35

26:                                               ; preds = %22
  %27 = fcmp uno double %23, 0.000000e+00
  br i1 %27, label %28, label %29, !prof !15

28:                                               ; preds = %26
  tail call void @wasm_rt_trap(i32 noundef 4) #5
  unreachable

29:                                               ; preds = %26
  %30 = fcmp ule double %23, 0xC1E0000000200000
  %31 = fcmp uge double %23, 0x41E0000000000000
  %.not163 = or i1 %30, %31
  br i1 %.not163, label %32, label %33, !prof !15

32:                                               ; preds = %29
  tail call void @wasm_rt_trap(i32 noundef 2) #5
  unreachable

33:                                               ; preds = %29
  %34 = fptosi double %23 to i32
  br label %35

35:                                               ; preds = %22, %33
  %.0155 = phi i32 [ %34, %33 ], [ -2147483648, %22 ]
  %36 = sitofp i32 %.0155 to double
  %37 = fcmp une double %23, %36
  br i1 %37, label %38, label %40

38:                                               ; preds = %35
  %39 = tail call i32 @w2c_hermes_hermes0x3A0x3AtruncateToInt32SlowPath0x28double0x29(ptr noundef nonnull %0, double noundef %23) #4
  br label %40

40:                                               ; preds = %38, %35
  %.0156 = phi i32 [ %39, %38 ], [ %.0155, %35 ]
  %41 = zext i32 %2 to i64
  %42 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %41)
  %43 = zext i32 %42 to i64
  %44 = add nuw nsw i64 %43, 20
  %45 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %44)
  %.not164 = icmp eq i32 %45, 0
  br i1 %.not164, label %50, label %46

46:                                               ; preds = %40
  %47 = zext i32 %45 to i64
  %48 = add nuw nsw i64 %47, 29
  %49 = tail call i32 @i32_load8_u(ptr noundef nonnull %10, i64 noundef %48)
  %.not165 = icmp eq i32 %49, 0
  br i1 %.not165, label %50, label %59

50:                                               ; preds = %46, %40
  %51 = zext i32 %9 to i64
  %52 = add nuw nsw i64 %51, 40
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %52, i32 noundef 0)
  %53 = add nuw nsw i64 %51, 32
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %53, i64 noundef 197568495617)
  %54 = add nuw nsw i64 %51, 16
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %54, i32 noundef 3)
  %55 = add nuw nsw i64 %51, 8
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %55, i32 noundef 38730)
  %56 = add i32 %8, -40
  %57 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %56)
  %58 = zext i32 %1 to i64
  tail call void @i32_store8(ptr noundef nonnull %10, i64 noundef %58, i32 noundef %57)
  br label %91

59:                                               ; preds = %46
  %60 = add nuw nsw i64 %43, 24
  %61 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %60)
  %62 = icmp ugt i32 %61, %4
  br i1 %62, label %63, label %80

63:                                               ; preds = %59
  %64 = zext i32 %3 to i64
  %65 = add nuw nsw i64 %64, 5300
  %66 = tail call i32 @i32_load8_u(ptr noundef nonnull %10, i64 noundef %65)
  %.not166 = icmp eq i32 %66, 0
  br i1 %.not166, label %90, label %67

67:                                               ; preds = %63
  %68 = add nuw nsw i64 %43, 28
  %69 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %68)
  %70 = add i32 %3, 1272
  %71 = zext i32 %70 to i64
  %72 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %71)
  %73 = add nuw nsw i64 %47, 20
  %74 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %73)
  %75 = xor i32 %74, %72
  %76 = shl i32 %4, 1
  %77 = add i32 %69, %76
  %78 = add i32 %77, %75
  %79 = zext i32 %78 to i64
  tail call void @i32_store16(ptr noundef nonnull %10, i64 noundef %79, i32 noundef %.0156)
  br label %80

80:                                               ; preds = %67, %59
  %81 = zext i32 %1 to i64
  %82 = tail call i32 @i32_load16_u(ptr noundef nonnull %10, i64 noundef %81)
  %83 = and i32 %82, 65024
  %84 = or disjoint i32 %83, 257
  tail call void @i32_store16(ptr noundef nonnull %10, i64 noundef %81, i32 noundef %84)
  br label %91

85:                                               ; preds = %14
  %86 = zext i32 %1 to i64
  %87 = add nuw nsw i64 %86, 1
  %88 = tail call i32 @i32_load8_u(ptr noundef nonnull %10, i64 noundef %87)
  %89 = shl i32 %88, 8
  tail call void @i32_store16(ptr noundef nonnull %10, i64 noundef %86, i32 noundef %89)
  br label %91

90:                                               ; preds = %63
  tail call void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef nonnull %0, i32 noundef 38571) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

91:                                               ; preds = %85, %80, %50
  store i32 %8, ptr %7, align 8, !tbaa !5
  ret void
}

attributes #0 = { 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 = { 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 }
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}
!15 = !{!"branch_weights", !"expected", i32 1, i32 2000}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,LowerExpectIntrinsicPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass