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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }

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

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

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

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

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

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

35:                                               ; preds = %6
  %36 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %36, ptr %20, align 4, !tbaa !9
  br label %271

37:                                               ; preds = %6
  %38 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %38, ptr %20, align 4, !tbaa !9
  %39 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %39, ptr %21, align 4, !tbaa !9
  %40 = load i32, ptr %21, align 4, !tbaa !9
  %41 = load i32, ptr %20, align 4, !tbaa !9
  %42 = sub i32 %41, %40
  store i32 %42, ptr %20, align 4, !tbaa !9
  store i32 3, ptr %21, align 4, !tbaa !9
  %43 = load i32, ptr %20, align 4, !tbaa !9
  %44 = load i32, ptr %21, align 4, !tbaa !9
  %45 = and i32 %44, 31
  %46 = ashr i32 %43, %45
  store i32 %46, ptr %20, align 4, !tbaa !9
  %47 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %47, ptr %9, align 4, !tbaa !9
  %48 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %48, ptr %20, align 4, !tbaa !9
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.w2c_hermes, ptr %49, i32 0, i32 6
  %51 = load i32, ptr %20, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = call i64 @i64_load(ptr noundef %50, i64 noundef %52)
  store i64 %53, ptr %25, align 8, !tbaa !11
  %54 = load i64, ptr %25, align 8, !tbaa !11
  store i64 %54, ptr %19, align 8, !tbaa !11
  store i64 32, ptr %26, align 8, !tbaa !11
  %55 = load i64, ptr %26, align 8, !tbaa !11
  %56 = and i64 %55, 63
  %57 = load i64, ptr %25, align 8, !tbaa !11
  %58 = lshr i64 %57, %56
  store i64 %58, ptr %25, align 8, !tbaa !11
  %59 = load i64, ptr %25, align 8, !tbaa !11
  %60 = trunc i64 %59 to i32
  store i32 %60, ptr %20, align 4, !tbaa !9
  %61 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %61, ptr %26, align 8, !tbaa !11
  %62 = load i64, ptr %26, align 8, !tbaa !11
  %63 = trunc i64 %62 to i32
  store i32 %63, ptr %21, align 4, !tbaa !9
  %64 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %64, ptr %10, align 4, !tbaa !9
  %65 = load i32, ptr %21, align 4, !tbaa !9
  %66 = load i32, ptr %20, align 4, !tbaa !9
  %67 = add i32 %66, %65
  store i32 %67, ptr %20, align 4, !tbaa !9
  %68 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %68, ptr %13, align 4, !tbaa !9
  br label %69

69:                                               ; preds = %268, %37
  %70 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %70, ptr %20, align 4, !tbaa !9
  %71 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %71, ptr %21, align 4, !tbaa !9
  store i32 1, ptr %22, align 4, !tbaa !9
  %72 = load i32, ptr %22, align 4, !tbaa !9
  %73 = and i32 %72, 31
  %74 = load i32, ptr %21, align 4, !tbaa !9
  %75 = lshr i32 %74, %73
  store i32 %75, ptr %21, align 4, !tbaa !9
  %76 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %76, ptr %16, align 4, !tbaa !9
  store i32 3, ptr %22, align 4, !tbaa !9
  %77 = load i32, ptr %22, align 4, !tbaa !9
  %78 = and i32 %77, 31
  %79 = load i32, ptr %21, align 4, !tbaa !9
  %80 = shl i32 %79, %78
  store i32 %80, ptr %21, align 4, !tbaa !9
  %81 = load i32, ptr %21, align 4, !tbaa !9
  %82 = load i32, ptr %20, align 4, !tbaa !9
  %83 = add i32 %82, %81
  store i32 %83, ptr %20, align 4, !tbaa !9
  %84 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %84, ptr %17, align 4, !tbaa !9
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.w2c_hermes, ptr %85, i32 0, i32 6
  %87 = load i32, ptr %20, align 4, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = call i64 @i64_load(ptr noundef %86, i64 noundef %88)
  store i64 %89, ptr %25, align 8, !tbaa !11
  %90 = load i64, ptr %25, align 8, !tbaa !11
  store i64 %90, ptr %19, align 8, !tbaa !11
  store i64 32, ptr %26, align 8, !tbaa !11
  %91 = load i64, ptr %26, align 8, !tbaa !11
  %92 = and i64 %91, 63
  %93 = load i64, ptr %25, align 8, !tbaa !11
  %94 = lshr i64 %93, %92
  store i64 %94, ptr %25, align 8, !tbaa !11
  %95 = load i64, ptr %25, align 8, !tbaa !11
  %96 = trunc i64 %95 to i32
  store i32 %96, ptr %20, align 4, !tbaa !9
  %97 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %97, ptr %18, align 4, !tbaa !9
  %98 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %98, ptr %26, align 8, !tbaa !11
  %99 = load i64, ptr %26, align 8, !tbaa !11
  %100 = trunc i64 %99 to i32
  store i32 %100, ptr %21, align 4, !tbaa !9
  %101 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %101, ptr %14, align 4, !tbaa !9
  %102 = load i32, ptr %21, align 4, !tbaa !9
  %103 = load i32, ptr %20, align 4, !tbaa !9
  %104 = add i32 %103, %102
  store i32 %104, ptr %20, align 4, !tbaa !9
  %105 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %105, ptr %15, align 4, !tbaa !9
  %106 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %106, ptr %21, align 4, !tbaa !9
  %107 = load i32, ptr %20, align 4, !tbaa !9
  %108 = load i32, ptr %21, align 4, !tbaa !9
  %109 = icmp uge i32 %107, %108
  %110 = zext i1 %109 to i32
  store i32 %110, ptr %20, align 4, !tbaa !9
  %111 = load i32, ptr %20, align 4, !tbaa !9
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %196

113:                                              ; preds = %69
  %114 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %114, ptr %20, align 4, !tbaa !9
  %115 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %115, ptr %21, align 4, !tbaa !9
  %116 = load i32, ptr %20, align 4, !tbaa !9
  %117 = load i32, ptr %21, align 4, !tbaa !9
  %118 = icmp ult i32 %116, %117
  %119 = zext i1 %118 to i32
  store i32 %119, ptr %20, align 4, !tbaa !9
  %120 = load i32, ptr %20, align 4, !tbaa !9
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %122, label %153

122:                                              ; preds = %113
  %123 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %123, ptr %20, align 4, !tbaa !9
  %124 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %124, ptr %21, align 4, !tbaa !9
  %125 = load i32, ptr %20, align 4, !tbaa !9
  %126 = load i32, ptr %21, align 4, !tbaa !9
  %127 = icmp ugt i32 %125, %126
  %128 = zext i1 %127 to i32
  store i32 %128, ptr %20, align 4, !tbaa !9
  %129 = load i32, ptr %20, align 4, !tbaa !9
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %131, label %132

131:                                              ; preds = %122
  br label %214

132:                                              ; preds = %122
  %133 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %133, ptr %20, align 4, !tbaa !9
  %134 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %134, ptr %21, align 4, !tbaa !9
  %135 = load i32, ptr %20, align 4, !tbaa !9
  %136 = load i32, ptr %21, align 4, !tbaa !9
  %137 = icmp ugt i32 %135, %136
  %138 = zext i1 %137 to i32
  store i32 %138, ptr %20, align 4, !tbaa !9
  %139 = load i32, ptr %20, align 4, !tbaa !9
  %140 = icmp ne i32 %139, 0
  br i1 %140, label %141, label %142

141:                                              ; preds = %132
  br label %250

142:                                              ; preds = %132
  %143 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %143, ptr %20, align 4, !tbaa !9
  %144 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %144, ptr %21, align 4, !tbaa !9
  %145 = load i32, ptr %20, align 4, !tbaa !9
  %146 = load i32, ptr %21, align 4, !tbaa !9
  %147 = icmp ne i32 %145, %146
  %148 = zext i1 %147 to i32
  store i32 %148, ptr %20, align 4, !tbaa !9
  %149 = load i32, ptr %20, align 4, !tbaa !9
  %150 = icmp ne i32 %149, 0
  br i1 %150, label %151, label %152

151:                                              ; preds = %142
  br label %174

152:                                              ; preds = %142
  br label %250

153:                                              ; preds = %113
  %154 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %154, ptr %20, align 4, !tbaa !9
  %155 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %155, ptr %21, align 4, !tbaa !9
  %156 = load i32, ptr %20, align 4, !tbaa !9
  %157 = load i32, ptr %21, align 4, !tbaa !9
  %158 = icmp eq i32 %156, %157
  %159 = zext i1 %158 to i32
  store i32 %159, ptr %20, align 4, !tbaa !9
  %160 = load i32, ptr %20, align 4, !tbaa !9
  %161 = icmp ne i32 %160, 0
  br i1 %161, label %162, label %163

162:                                              ; preds = %153
  br label %250

163:                                              ; preds = %153
  %164 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %164, ptr %20, align 4, !tbaa !9
  %165 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %165, ptr %21, align 4, !tbaa !9
  %166 = load i32, ptr %20, align 4, !tbaa !9
  %167 = load i32, ptr %21, align 4, !tbaa !9
  %168 = icmp ugt i32 %166, %167
  %169 = zext i1 %168 to i32
  store i32 %169, ptr %20, align 4, !tbaa !9
  %170 = load i32, ptr %20, align 4, !tbaa !9
  %171 = icmp ne i32 %170, 0
  br i1 %171, label %172, label %173

172:                                              ; preds = %163
  br label %232

173:                                              ; preds = %163
  br label %174

174:                                              ; preds = %173, %151
  %175 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %175, ptr %20, align 4, !tbaa !9
  %176 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %176, ptr %21, align 4, !tbaa !9
  %177 = load i32, ptr %20, align 4, !tbaa !9
  %178 = load i32, ptr %21, align 4, !tbaa !9
  %179 = icmp uge i32 %177, %178
  %180 = zext i1 %179 to i32
  store i32 %180, ptr %20, align 4, !tbaa !9
  %181 = load i32, ptr %20, align 4, !tbaa !9
  %182 = icmp ne i32 %181, 0
  br i1 %182, label %183, label %184

183:                                              ; preds = %174
  br label %250

184:                                              ; preds = %174
  %185 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %185, ptr %20, align 4, !tbaa !9
  %186 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %186, ptr %21, align 4, !tbaa !9
  %187 = load i32, ptr %20, align 4, !tbaa !9
  %188 = load i32, ptr %21, align 4, !tbaa !9
  %189 = icmp eq i32 %187, %188
  %190 = zext i1 %189 to i32
  store i32 %190, ptr %20, align 4, !tbaa !9
  %191 = load i32, ptr %20, align 4, !tbaa !9
  %192 = icmp ne i32 %191, 0
  br i1 %192, label %193, label %194

193:                                              ; preds = %184
  br label %250

194:                                              ; preds = %184
  %195 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %195, ptr %20, align 4, !tbaa !9
  br label %264

196:                                              ; preds = %69
  store i32 0, ptr %20, align 4, !tbaa !9
  %197 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %197, ptr %9, align 4, !tbaa !9
  store i32 177671, ptr %21, align 4, !tbaa !9
  %198 = load i32, ptr %21, align 4, !tbaa !9
  %199 = load i32, ptr %20, align 4, !tbaa !9
  %200 = add i32 %199, %198
  store i32 %200, ptr %20, align 4, !tbaa !9
  %201 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %201, ptr %21, align 4, !tbaa !9
  store i32 77631, ptr %22, align 4, !tbaa !9
  %202 = load i32, ptr %22, align 4, !tbaa !9
  %203 = load i32, ptr %21, align 4, !tbaa !9
  %204 = add i32 %203, %202
  store i32 %204, ptr %21, align 4, !tbaa !9
  store i32 29, ptr %22, align 4, !tbaa !9
  %205 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %205, ptr %23, align 4, !tbaa !9
  store i32 102973, ptr %24, align 4, !tbaa !9
  %206 = load i32, ptr %24, align 4, !tbaa !9
  %207 = load i32, ptr %23, align 4, !tbaa !9
  %208 = add i32 %207, %206
  store i32 %208, ptr %23, align 4, !tbaa !9
  %209 = load ptr, ptr %7, align 8, !tbaa !5
  %210 = load i32, ptr %20, align 4, !tbaa !9
  %211 = load i32, ptr %21, align 4, !tbaa !9
  %212 = load i32, ptr %22, align 4, !tbaa !9
  %213 = load i32, ptr %23, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %209, i32 noundef %210, i32 noundef %211, i32 noundef %212, i32 noundef %213)
  call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

214:                                              ; preds = %131
  store i32 0, ptr %20, align 4, !tbaa !9
  %215 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %215, ptr %9, align 4, !tbaa !9
  store i32 177671, ptr %21, align 4, !tbaa !9
  %216 = load i32, ptr %21, align 4, !tbaa !9
  %217 = load i32, ptr %20, align 4, !tbaa !9
  %218 = add i32 %217, %216
  store i32 %218, ptr %20, align 4, !tbaa !9
  %219 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %219, ptr %21, align 4, !tbaa !9
  store i32 77631, ptr %22, align 4, !tbaa !9
  %220 = load i32, ptr %22, align 4, !tbaa !9
  %221 = load i32, ptr %21, align 4, !tbaa !9
  %222 = add i32 %221, %220
  store i32 %222, ptr %21, align 4, !tbaa !9
  store i32 29, ptr %22, align 4, !tbaa !9
  %223 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %223, ptr %23, align 4, !tbaa !9
  store i32 102973, ptr %24, align 4, !tbaa !9
  %224 = load i32, ptr %24, align 4, !tbaa !9
  %225 = load i32, ptr %23, align 4, !tbaa !9
  %226 = add i32 %225, %224
  store i32 %226, ptr %23, align 4, !tbaa !9
  %227 = load ptr, ptr %7, align 8, !tbaa !5
  %228 = load i32, ptr %20, align 4, !tbaa !9
  %229 = load i32, ptr %21, align 4, !tbaa !9
  %230 = load i32, ptr %22, align 4, !tbaa !9
  %231 = load i32, ptr %23, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %227, i32 noundef %228, i32 noundef %229, i32 noundef %230, i32 noundef %231)
  call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

232:                                              ; preds = %172
  store i32 0, ptr %20, align 4, !tbaa !9
  %233 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %233, ptr %9, align 4, !tbaa !9
  store i32 177671, ptr %21, align 4, !tbaa !9
  %234 = load i32, ptr %21, align 4, !tbaa !9
  %235 = load i32, ptr %20, align 4, !tbaa !9
  %236 = add i32 %235, %234
  store i32 %236, ptr %20, align 4, !tbaa !9
  %237 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %237, ptr %21, align 4, !tbaa !9
  store i32 77631, ptr %22, align 4, !tbaa !9
  %238 = load i32, ptr %22, align 4, !tbaa !9
  %239 = load i32, ptr %21, align 4, !tbaa !9
  %240 = add i32 %239, %238
  store i32 %240, ptr %21, align 4, !tbaa !9
  store i32 29, ptr %22, align 4, !tbaa !9
  %241 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %241, ptr %23, align 4, !tbaa !9
  store i32 102973, ptr %24, align 4, !tbaa !9
  %242 = load i32, ptr %24, align 4, !tbaa !9
  %243 = load i32, ptr %23, align 4, !tbaa !9
  %244 = add i32 %243, %242
  store i32 %244, ptr %23, align 4, !tbaa !9
  %245 = load ptr, ptr %7, align 8, !tbaa !5
  %246 = load i32, ptr %20, align 4, !tbaa !9
  %247 = load i32, ptr %21, align 4, !tbaa !9
  %248 = load i32, ptr %22, align 4, !tbaa !9
  %249 = load i32, ptr %23, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %245, i32 noundef %246, i32 noundef %247, i32 noundef %248, i32 noundef %249)
  call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

250:                                              ; preds = %193, %183, %162, %152, %141
  %251 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %251, ptr %20, align 4, !tbaa !9
  store i32 8, ptr %21, align 4, !tbaa !9
  %252 = load i32, ptr %21, align 4, !tbaa !9
  %253 = load i32, ptr %20, align 4, !tbaa !9
  %254 = add i32 %253, %252
  store i32 %254, ptr %20, align 4, !tbaa !9
  %255 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %255, ptr %8, align 4, !tbaa !9
  %256 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %256, ptr %20, align 4, !tbaa !9
  %257 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %257, ptr %21, align 4, !tbaa !9
  store i32 -1, ptr %22, align 4, !tbaa !9
  %258 = load i32, ptr %22, align 4, !tbaa !9
  %259 = load i32, ptr %21, align 4, !tbaa !9
  %260 = xor i32 %259, %258
  store i32 %260, ptr %21, align 4, !tbaa !9
  %261 = load i32, ptr %21, align 4, !tbaa !9
  %262 = load i32, ptr %20, align 4, !tbaa !9
  %263 = add i32 %262, %261
  store i32 %263, ptr %20, align 4, !tbaa !9
  br label %264

264:                                              ; preds = %250, %194
  %265 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %265, ptr %9, align 4, !tbaa !9
  %266 = load i32, ptr %20, align 4, !tbaa !9
  %267 = icmp ne i32 %266, 0
  br i1 %267, label %268, label %269

268:                                              ; preds = %264
  br label %69

269:                                              ; preds = %264
  %270 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %270, ptr %20, align 4, !tbaa !9
  br label %271

271:                                              ; preds = %269, %35
  %272 = load i32, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  ret i32 %272
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !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 i64 @i64_load(ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3ACodePointRange0x2A0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fupper_bound0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20hermes0x3A0x3ACodePointSet0x3A0x3Aadd0x28hermes0x3A0x3ACodePointRange0x290x3A0x3A0x27lambda0x270x28hermes0x3A0x3ACodePointRange0x2C0x20hermes0x3A0x3ACodePointRange0x290x260x2C0x20hermes0x3A0x3ACodePointRange0x2A0x2C0x20hermes0x3A0x3ACodePointRange0x2A0x2C0x20hermes0x3A0x3ACodePointRange0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fidentity0x260x3E0x28hermes0x3A0x3ACodePointRange0x2A0x2C0x20hermes0x3A0x3ACodePointRange0x2A0x2C0x20hermes0x3A0x3ACodePointRange0x20const0x260x2C0x20hermes0x3A0x3ACodePointSet0x3A0x3Aadd0x28hermes0x3A0x3ACodePointRange0x290x3A0x3A0x27lambda0x270x28hermes0x3A0x3ACodePointRange0x2C0x20hermes0x3A0x3ACodePointRange0x290x260x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fidentity0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #2 {
  %7 = icmp eq i32 %1, %2
  br i1 %7, label %.loopexit, label %8

8:                                                ; preds = %6
  %9 = sub i32 %2, %1
  %10 = ashr i32 %9, 3
  %11 = getelementptr inbounds i8, ptr %0, i64 40
  %12 = zext i32 %3 to i64
  %13 = tail call i64 @i64_load(ptr noundef nonnull %11, i64 noundef %12)
  %14 = lshr i64 %13, 32
  %15 = trunc nuw i64 %14 to i32
  %16 = trunc i64 %13 to i32
  %17 = add i32 %15, %16
  %18 = icmp ult i32 %17, %16
  %.fr184 = freeze i1 %18
  br i1 %.fr184, label %.split.us.split.us, label %.split.split.preheader

.split.us.split.us:                               ; preds = %8, %32
  %.0151.us.us = phi i32 [ %35, %32 ], [ %10, %8 ]
  %.0149.us.us = phi i32 [ %33, %32 ], [ %1, %8 ]
  %19 = lshr i32 %.0151.us.us, 1
  %20 = shl i32 %19, 3
  %21 = add i32 %20, %.0149.us.us
  %22 = zext i32 %21 to i64
  %23 = tail call i64 @i64_load(ptr noundef nonnull %11, i64 noundef %22)
  %24 = lshr i64 %23, 32
  %25 = trunc nuw i64 %24 to i32
  %26 = trunc i64 %23 to i32
  %27 = add i32 %25, %26
  %.not.us.us = icmp ult i32 %27, %25
  br i1 %.not.us.us, label %.split171.us, label %28

28:                                               ; preds = %.split.us.split.us
  %29 = icmp ugt i32 %27, %16
  br i1 %29, label %.split175.us, label %30

30:                                               ; preds = %28
  %31 = icmp eq i32 %27, %16
  br i1 %31, label %32, label %.split173.us

32:                                               ; preds = %30
  %33 = add i32 %21, 8
  %34 = xor i32 %19, -1
  %35 = add i32 %.0151.us.us, %34
  %.not161.us.us = icmp eq i32 %35, 0
  br i1 %.not161.us.us, label %.loopexit, label %.split.us.split.us

.split.split.preheader:                           ; preds = %8
  %invariant.umax = tail call i32 @llvm.umax.i32(i32 %16, i32 %17)
  br label %.split.split

.split.split:                                     ; preds = %.split.split.preheader, %55
  %.0151 = phi i32 [ %.0, %55 ], [ %10, %.split.split.preheader ]
  %.0149 = phi i32 [ %.1150, %55 ], [ %1, %.split.split.preheader ]
  %36 = lshr i32 %.0151, 1
  %37 = shl i32 %36, 3
  %38 = add i32 %37, %.0149
  %39 = zext i32 %38 to i64
  %40 = tail call i64 @i64_load(ptr noundef nonnull %11, i64 noundef %39)
  %41 = lshr i64 %40, 32
  %42 = trunc nuw i64 %41 to i32
  %43 = trunc i64 %40 to i32
  %44 = add i32 %42, %43
  %.not = icmp ult i32 %44, %42
  br i1 %.not, label %.split171.us, label %45

45:                                               ; preds = %.split.split
  %46 = icmp ugt i32 %44, %16
  br i1 %46, label %47, label %48

47:                                               ; preds = %45
  %or.cond163.not = icmp ult i32 %invariant.umax, %43
  br i1 %or.cond163.not, label %55, label %51

48:                                               ; preds = %45
  %49 = icmp eq i32 %44, %16
  br i1 %49, label %51, label %50

50:                                               ; preds = %48
  %.not160.old = icmp uge i32 %16, %43
  %.old = icmp eq i32 %17, %43
  %or.cond164 = select i1 %.not160.old, i1 true, i1 %.old
  br i1 %or.cond164, label %51, label %55

.split171.us:                                     ; preds = %.split.split, %.split.us.split.us
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 177671, i32 noundef 77631, i32 noundef 29, i32 noundef 102973)
  tail call void @wasm_rt_trap(i32 noundef 5) #4
  unreachable

.split175.us:                                     ; preds = %28
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 177671, i32 noundef 77631, i32 noundef 29, i32 noundef 102973)
  tail call void @wasm_rt_trap(i32 noundef 5) #4
  unreachable

.split173.us:                                     ; preds = %30
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 177671, i32 noundef 77631, i32 noundef 29, i32 noundef 102973)
  tail call void @wasm_rt_trap(i32 noundef 5) #4
  unreachable

51:                                               ; preds = %50, %48, %47
  %52 = add i32 %38, 8
  %53 = xor i32 %36, -1
  %54 = add i32 %.0151, %53
  br label %55

55:                                               ; preds = %47, %50, %51
  %.1150 = phi i32 [ %52, %51 ], [ %.0149, %50 ], [ %.0149, %47 ]
  %.0 = phi i32 [ %54, %51 ], [ %36, %50 ], [ %36, %47 ]
  %.not161 = icmp eq i32 %.0, 0
  br i1 %.not161, label %.loopexit, label %.split.split

.loopexit:                                        ; preds = %55, %32, %6
  %.1 = phi i32 [ %1, %6 ], [ %33, %32 ], [ %.1150, %55 ]
  ret i32 %.1
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #3

attributes #0 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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: ConstraintEliminationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass