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

; 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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AEvacAcceptor0x3Ctrue0x3E0x3A0x3AacceptHeap0x28hermes0x3A0x3Avm0x3A0x3ACompressedPointer0x2C0x20void0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #4 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %16 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %16, ptr %11, align 4, !tbaa !9
  store i32 -4194304, ptr %12, align 4, !tbaa !9
  %17 = load i32, ptr %12, align 4, !tbaa !9
  %18 = load i32, ptr %11, align 4, !tbaa !9
  %19 = and i32 %18, %17
  store i32 %19, ptr %11, align 4, !tbaa !9
  %20 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %20, ptr %9, align 4, !tbaa !9
  %21 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %21, ptr %12, align 4, !tbaa !9
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.w2c_hermes, ptr %22, i32 0, i32 6
  %24 = load i32, ptr %12, align 4, !tbaa !9
  %25 = zext i32 %24 to i64
  %26 = add i64 %25, 12
  %27 = call i32 @i32_load(ptr noundef %23, i64 noundef %26)
  store i32 %27, ptr %12, align 4, !tbaa !9
  %28 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %28, ptr %10, align 4, !tbaa !9
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.w2c_hermes, ptr %29, i32 0, i32 6
  %31 = load i32, ptr %12, align 4, !tbaa !9
  %32 = zext i32 %31 to i64
  %33 = add i64 %32, 604
  %34 = call i32 @i32_load(ptr noundef %30, i64 noundef %33)
  store i32 %34, ptr %12, align 4, !tbaa !9
  %35 = load i32, ptr %11, align 4, !tbaa !9
  %36 = load i32, ptr %12, align 4, !tbaa !9
  %37 = icmp ne i32 %35, %36
  %38 = zext i1 %37 to i32
  store i32 %38, ptr %11, align 4, !tbaa !9
  %39 = load i32, ptr %11, align 4, !tbaa !9
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %41, label %60

41:                                               ; preds = %4
  %42 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %42, ptr %11, align 4, !tbaa !9
  store i32 4460, ptr %12, align 4, !tbaa !9
  %43 = load i32, ptr %12, align 4, !tbaa !9
  %44 = load i32, ptr %11, align 4, !tbaa !9
  %45 = add i32 %44, %43
  store i32 %45, ptr %11, align 4, !tbaa !9
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.w2c_hermes, ptr %46, i32 0, i32 6
  %48 = load i32, ptr %11, align 4, !tbaa !9
  %49 = zext i32 %48 to i64
  %50 = call i32 @i32_load(ptr noundef %47, i64 noundef %49)
  store i32 %50, ptr %11, align 4, !tbaa !9
  %51 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %51, ptr %12, align 4, !tbaa !9
  %52 = load i32, ptr %11, align 4, !tbaa !9
  %53 = load i32, ptr %12, align 4, !tbaa !9
  %54 = icmp ne i32 %52, %53
  %55 = zext i1 %54 to i32
  store i32 %55, ptr %11, align 4, !tbaa !9
  %56 = load i32, ptr %11, align 4, !tbaa !9
  %57 = icmp ne i32 %56, 0
  br i1 %57, label %58, label %59

58:                                               ; preds = %41
  br label %148

59:                                               ; preds = %41
  br label %60

60:                                               ; preds = %59, %4
  %61 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %61, ptr %11, align 4, !tbaa !9
  store i32 16384, ptr %12, align 4, !tbaa !9
  %62 = load i32, ptr %12, align 4, !tbaa !9
  %63 = load i32, ptr %11, align 4, !tbaa !9
  %64 = add i32 %63, %62
  store i32 %64, ptr %11, align 4, !tbaa !9
  %65 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %65, ptr %9, align 4, !tbaa !9
  %66 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %66, ptr %12, align 4, !tbaa !9
  %67 = load i32, ptr %11, align 4, !tbaa !9
  %68 = load i32, ptr %12, align 4, !tbaa !9
  %69 = icmp ugt i32 %67, %68
  %70 = zext i1 %69 to i32
  store i32 %70, ptr %11, align 4, !tbaa !9
  %71 = load i32, ptr %11, align 4, !tbaa !9
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %73, label %74

73:                                               ; preds = %60
  br label %212

74:                                               ; preds = %60
  %75 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %75, ptr %11, align 4, !tbaa !9
  store i32 -4194304, ptr %12, align 4, !tbaa !9
  %76 = load i32, ptr %12, align 4, !tbaa !9
  %77 = load i32, ptr %11, align 4, !tbaa !9
  %78 = and i32 %77, %76
  store i32 %78, ptr %11, align 4, !tbaa !9
  store i32 4194304, ptr %12, align 4, !tbaa !9
  %79 = load i32, ptr %12, align 4, !tbaa !9
  %80 = load i32, ptr %11, align 4, !tbaa !9
  %81 = add i32 %80, %79
  store i32 %81, ptr %11, align 4, !tbaa !9
  %82 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %82, ptr %12, align 4, !tbaa !9
  %83 = load i32, ptr %11, align 4, !tbaa !9
  %84 = load i32, ptr %12, align 4, !tbaa !9
  %85 = icmp ule i32 %83, %84
  %86 = zext i1 %85 to i32
  store i32 %86, ptr %11, align 4, !tbaa !9
  %87 = load i32, ptr %11, align 4, !tbaa !9
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %89, label %90

89:                                               ; preds = %74
  br label %212

90:                                               ; preds = %74
  %91 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %91, ptr %11, align 4, !tbaa !9
  %92 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %92, ptr %12, align 4, !tbaa !9
  %93 = load i32, ptr %12, align 4, !tbaa !9
  %94 = load i32, ptr %11, align 4, !tbaa !9
  %95 = sub i32 %94, %93
  store i32 %95, ptr %11, align 4, !tbaa !9
  %96 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %96, ptr %10, align 4, !tbaa !9
  store i32 4194304, ptr %12, align 4, !tbaa !9
  %97 = load i32, ptr %11, align 4, !tbaa !9
  %98 = load i32, ptr %12, align 4, !tbaa !9
  %99 = icmp uge i32 %97, %98
  %100 = zext i1 %99 to i32
  store i32 %100, ptr %11, align 4, !tbaa !9
  %101 = load i32, ptr %11, align 4, !tbaa !9
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %104

103:                                              ; preds = %90
  br label %230

104:                                              ; preds = %90
  %105 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %105, ptr %11, align 4, !tbaa !9
  %106 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %106, ptr %12, align 4, !tbaa !9
  store i32 6, ptr %13, align 4, !tbaa !9
  %107 = load i32, ptr %13, align 4, !tbaa !9
  %108 = and i32 %107, 31
  %109 = load i32, ptr %12, align 4, !tbaa !9
  %110 = lshr i32 %109, %108
  store i32 %110, ptr %12, align 4, !tbaa !9
  store i32 67108860, ptr %13, align 4, !tbaa !9
  %111 = load i32, ptr %13, align 4, !tbaa !9
  %112 = load i32, ptr %12, align 4, !tbaa !9
  %113 = and i32 %112, %111
  store i32 %113, ptr %12, align 4, !tbaa !9
  %114 = load i32, ptr %12, align 4, !tbaa !9
  %115 = load i32, ptr %11, align 4, !tbaa !9
  %116 = add i32 %115, %114
  store i32 %116, ptr %11, align 4, !tbaa !9
  %117 = load ptr, ptr %5, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.w2c_hermes, ptr %117, i32 0, i32 6
  %119 = load i32, ptr %11, align 4, !tbaa !9
  %120 = zext i32 %119 to i64
  %121 = call i32 @i32_load(ptr noundef %118, i64 noundef %120)
  store i32 %121, ptr %11, align 4, !tbaa !9
  %122 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %122, ptr %12, align 4, !tbaa !9
  store i32 3, ptr %13, align 4, !tbaa !9
  %123 = load i32, ptr %13, align 4, !tbaa !9
  %124 = and i32 %123, 31
  %125 = load i32, ptr %12, align 4, !tbaa !9
  %126 = lshr i32 %125, %124
  store i32 %126, ptr %12, align 4, !tbaa !9
  %127 = load i32, ptr %12, align 4, !tbaa !9
  %128 = and i32 %127, 31
  %129 = load i32, ptr %11, align 4, !tbaa !9
  %130 = lshr i32 %129, %128
  store i32 %130, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %131 = load i32, ptr %12, align 4, !tbaa !9
  %132 = load i32, ptr %11, align 4, !tbaa !9
  %133 = and i32 %132, %131
  store i32 %133, ptr %11, align 4, !tbaa !9
  %134 = load i32, ptr %11, align 4, !tbaa !9
  %135 = icmp ne i32 %134, 0
  %136 = xor i1 %135, true
  %137 = zext i1 %136 to i32
  store i32 %137, ptr %11, align 4, !tbaa !9
  %138 = load i32, ptr %11, align 4, !tbaa !9
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %140, label %141

140:                                              ; preds = %104
  br label %248

141:                                              ; preds = %104
  %142 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %142, ptr %11, align 4, !tbaa !9
  %143 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %143, ptr %12, align 4, !tbaa !9
  %144 = load ptr, ptr %5, align 8, !tbaa !5
  %145 = load i32, ptr %11, align 4, !tbaa !9
  %146 = load i32, ptr %12, align 4, !tbaa !9
  %147 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACompressedPointer0x20hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AEvacAcceptor0x3Ctrue0x3E0x3A0x3AforwardCell0x3Chermes0x3A0x3Avm0x3A0x3ACompressedPointer0x3E0x28hermes0x3A0x3Avm0x3A0x3AGCCell0x2A0x29(ptr noundef %144, i32 noundef %145, i32 noundef %146)
  store i32 %147, ptr %11, align 4, !tbaa !9
  br label %284

148:                                              ; preds = %58
  %149 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %149, ptr %11, align 4, !tbaa !9
  %150 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %150, ptr %12, align 4, !tbaa !9
  store i32 4452, ptr %13, align 4, !tbaa !9
  %151 = load i32, ptr %13, align 4, !tbaa !9
  %152 = load i32, ptr %12, align 4, !tbaa !9
  %153 = add i32 %152, %151
  store i32 %153, ptr %12, align 4, !tbaa !9
  %154 = load ptr, ptr %5, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.w2c_hermes, ptr %154, i32 0, i32 6
  %156 = load i32, ptr %12, align 4, !tbaa !9
  %157 = zext i32 %156 to i64
  %158 = call i32 @i32_load(ptr noundef %155, i64 noundef %157)
  store i32 %158, ptr %12, align 4, !tbaa !9
  %159 = load i32, ptr %11, align 4, !tbaa !9
  %160 = load i32, ptr %12, align 4, !tbaa !9
  %161 = icmp eq i32 %159, %160
  %162 = zext i1 %161 to i32
  store i32 %162, ptr %11, align 4, !tbaa !9
  %163 = load i32, ptr %11, align 4, !tbaa !9
  %164 = icmp ne i32 %163, 0
  br i1 %164, label %165, label %210

165:                                              ; preds = %148
  %166 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %166, ptr %11, align 4, !tbaa !9
  store i32 -4194304, ptr %12, align 4, !tbaa !9
  %167 = load i32, ptr %12, align 4, !tbaa !9
  %168 = load i32, ptr %11, align 4, !tbaa !9
  %169 = and i32 %168, %167
  store i32 %169, ptr %11, align 4, !tbaa !9
  %170 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %170, ptr %9, align 4, !tbaa !9
  %171 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %171, ptr %12, align 4, !tbaa !9
  %172 = load i32, ptr %11, align 4, !tbaa !9
  %173 = load i32, ptr %12, align 4, !tbaa !9
  %174 = icmp ugt i32 %172, %173
  %175 = zext i1 %174 to i32
  store i32 %175, ptr %11, align 4, !tbaa !9
  %176 = load i32, ptr %11, align 4, !tbaa !9
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %179

178:                                              ; preds = %165
  br label %266

179:                                              ; preds = %165
  %180 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %180, ptr %11, align 4, !tbaa !9
  store i32 4194816, ptr %12, align 4, !tbaa !9
  %181 = load i32, ptr %12, align 4, !tbaa !9
  %182 = load i32, ptr %11, align 4, !tbaa !9
  %183 = add i32 %182, %181
  store i32 %183, ptr %11, align 4, !tbaa !9
  %184 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %184, ptr %12, align 4, !tbaa !9
  %185 = load i32, ptr %11, align 4, !tbaa !9
  %186 = load i32, ptr %12, align 4, !tbaa !9
  %187 = icmp ule i32 %185, %186
  %188 = zext i1 %187 to i32
  store i32 %188, ptr %11, align 4, !tbaa !9
  %189 = load i32, ptr %11, align 4, !tbaa !9
  %190 = icmp ne i32 %189, 0
  br i1 %190, label %191, label %192

191:                                              ; preds = %179
  br label %266

192:                                              ; preds = %179
  %193 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %193, ptr %11, align 4, !tbaa !9
  %194 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %194, ptr %12, align 4, !tbaa !9
  store i32 9, ptr %13, align 4, !tbaa !9
  %195 = load i32, ptr %13, align 4, !tbaa !9
  %196 = and i32 %195, 31
  %197 = load i32, ptr %12, align 4, !tbaa !9
  %198 = lshr i32 %197, %196
  store i32 %198, ptr %12, align 4, !tbaa !9
  store i32 8191, ptr %13, align 4, !tbaa !9
  %199 = load i32, ptr %13, align 4, !tbaa !9
  %200 = load i32, ptr %12, align 4, !tbaa !9
  %201 = and i32 %200, %199
  store i32 %201, ptr %12, align 4, !tbaa !9
  %202 = load i32, ptr %12, align 4, !tbaa !9
  %203 = load i32, ptr %11, align 4, !tbaa !9
  %204 = add i32 %203, %202
  store i32 %204, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %205 = load ptr, ptr %5, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.w2c_hermes, ptr %205, i32 0, i32 6
  %207 = load i32, ptr %11, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %206, i64 noundef %208, i32 noundef %209)
  br label %210

210:                                              ; preds = %192, %148
  %211 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %211, ptr %11, align 4, !tbaa !9
  br label %284

212:                                              ; preds = %89, %73
  store i32 0, ptr %11, align 4, !tbaa !9
  %213 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %213, ptr %7, align 4, !tbaa !9
  store i32 170852, ptr %12, align 4, !tbaa !9
  %214 = load i32, ptr %12, align 4, !tbaa !9
  %215 = load i32, ptr %11, align 4, !tbaa !9
  %216 = add i32 %215, %214
  store i32 %216, ptr %11, align 4, !tbaa !9
  %217 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %217, ptr %12, align 4, !tbaa !9
  store i32 86240, ptr %13, align 4, !tbaa !9
  %218 = load i32, ptr %13, align 4, !tbaa !9
  %219 = load i32, ptr %12, align 4, !tbaa !9
  %220 = add i32 %219, %218
  store i32 %220, ptr %12, align 4, !tbaa !9
  store i32 118, ptr %13, align 4, !tbaa !9
  %221 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %221, ptr %14, align 4, !tbaa !9
  store i32 19893, ptr %15, align 4, !tbaa !9
  %222 = load i32, ptr %15, align 4, !tbaa !9
  %223 = load i32, ptr %14, align 4, !tbaa !9
  %224 = add i32 %223, %222
  store i32 %224, ptr %14, align 4, !tbaa !9
  %225 = load ptr, ptr %5, align 8, !tbaa !5
  %226 = load i32, ptr %11, align 4, !tbaa !9
  %227 = load i32, ptr %12, align 4, !tbaa !9
  %228 = load i32, ptr %13, align 4, !tbaa !9
  %229 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %225, i32 noundef %226, i32 noundef %227, i32 noundef %228, i32 noundef %229)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

230:                                              ; preds = %103
  store i32 0, ptr %11, align 4, !tbaa !9
  %231 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %231, ptr %7, align 4, !tbaa !9
  store i32 169713, ptr %12, align 4, !tbaa !9
  %232 = load i32, ptr %12, align 4, !tbaa !9
  %233 = load i32, ptr %11, align 4, !tbaa !9
  %234 = add i32 %233, %232
  store i32 %234, ptr %11, align 4, !tbaa !9
  %235 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %235, ptr %12, align 4, !tbaa !9
  store i32 86240, ptr %13, align 4, !tbaa !9
  %236 = load i32, ptr %13, align 4, !tbaa !9
  %237 = load i32, ptr %12, align 4, !tbaa !9
  %238 = add i32 %237, %236
  store i32 %238, ptr %12, align 4, !tbaa !9
  store i32 134, ptr %13, align 4, !tbaa !9
  %239 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %239, ptr %14, align 4, !tbaa !9
  store i32 39587, ptr %15, align 4, !tbaa !9
  %240 = load i32, ptr %15, align 4, !tbaa !9
  %241 = load i32, ptr %14, align 4, !tbaa !9
  %242 = add i32 %241, %240
  store i32 %242, ptr %14, align 4, !tbaa !9
  %243 = load ptr, ptr %5, align 8, !tbaa !5
  %244 = load i32, ptr %11, align 4, !tbaa !9
  %245 = load i32, ptr %12, align 4, !tbaa !9
  %246 = load i32, ptr %13, align 4, !tbaa !9
  %247 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %243, i32 noundef %244, i32 noundef %245, i32 noundef %246, i32 noundef %247)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

248:                                              ; preds = %140
  store i32 0, ptr %11, align 4, !tbaa !9
  %249 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %249, ptr %7, align 4, !tbaa !9
  store i32 191444, ptr %12, align 4, !tbaa !9
  %250 = load i32, ptr %12, align 4, !tbaa !9
  %251 = load i32, ptr %11, align 4, !tbaa !9
  %252 = add i32 %251, %250
  store i32 %252, ptr %11, align 4, !tbaa !9
  %253 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %253, ptr %12, align 4, !tbaa !9
  store i32 62693, ptr %13, align 4, !tbaa !9
  %254 = load i32, ptr %13, align 4, !tbaa !9
  %255 = load i32, ptr %12, align 4, !tbaa !9
  %256 = add i32 %255, %254
  store i32 %256, ptr %12, align 4, !tbaa !9
  store i32 452, ptr %13, align 4, !tbaa !9
  %257 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %257, ptr %14, align 4, !tbaa !9
  store i32 63384, ptr %15, align 4, !tbaa !9
  %258 = load i32, ptr %15, align 4, !tbaa !9
  %259 = load i32, ptr %14, align 4, !tbaa !9
  %260 = add i32 %259, %258
  store i32 %260, ptr %14, align 4, !tbaa !9
  %261 = load ptr, ptr %5, align 8, !tbaa !5
  %262 = load i32, ptr %11, align 4, !tbaa !9
  %263 = load i32, ptr %12, align 4, !tbaa !9
  %264 = load i32, ptr %13, align 4, !tbaa !9
  %265 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %261, i32 noundef %262, i32 noundef %263, i32 noundef %264, i32 noundef %265)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

266:                                              ; preds = %191, %178
  store i32 0, ptr %11, align 4, !tbaa !9
  %267 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %267, ptr %7, align 4, !tbaa !9
  store i32 196978, ptr %12, align 4, !tbaa !9
  %268 = load i32, ptr %12, align 4, !tbaa !9
  %269 = load i32, ptr %11, align 4, !tbaa !9
  %270 = add i32 %269, %268
  store i32 %270, ptr %11, align 4, !tbaa !9
  %271 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %271, ptr %12, align 4, !tbaa !9
  store i32 86311, ptr %13, align 4, !tbaa !9
  %272 = load i32, ptr %13, align 4, !tbaa !9
  %273 = load i32, ptr %12, align 4, !tbaa !9
  %274 = add i32 %273, %272
  store i32 %274, ptr %12, align 4, !tbaa !9
  store i32 300, ptr %13, align 4, !tbaa !9
  %275 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %275, ptr %14, align 4, !tbaa !9
  store i32 19893, ptr %15, align 4, !tbaa !9
  %276 = load i32, ptr %15, align 4, !tbaa !9
  %277 = load i32, ptr %14, align 4, !tbaa !9
  %278 = add i32 %277, %276
  store i32 %278, ptr %14, align 4, !tbaa !9
  %279 = load ptr, ptr %5, align 8, !tbaa !5
  %280 = load i32, ptr %11, align 4, !tbaa !9
  %281 = load i32, ptr %12, align 4, !tbaa !9
  %282 = load i32, ptr %13, align 4, !tbaa !9
  %283 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %279, i32 noundef %280, i32 noundef %281, i32 noundef %282, i32 noundef %283)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

284:                                              ; preds = %210, %141
  %285 = load i32, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret i32 %285
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #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"

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AEvacAcceptor0x3Ctrue0x3E0x3A0x3AacceptHeap0x28hermes0x3A0x3Avm0x3A0x3ACompressedPointer0x2C0x20void0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 {
  %5 = and i32 %2, -4194304
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  %7 = zext i32 %1 to i64
  %8 = add nuw nsw i64 %7, 12
  %9 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %8)
  %10 = zext i32 %9 to i64
  %11 = add nuw nsw i64 %10, 604
  %12 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %11)
  %.not = icmp eq i32 %5, %12
  br i1 %.not, label %17, label %13

13:                                               ; preds = %4
  %14 = add i32 %9, 4460
  %15 = zext i32 %14 to i64
  %16 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %15)
  %.not168 = icmp eq i32 %16, %5
  br i1 %.not168, label %17, label %36

17:                                               ; preds = %13, %4
  %18 = or disjoint i32 %5, 16384
  %19 = icmp ule i32 %18, %2
  %20 = add i32 %5, 4194304
  %.not169 = icmp ugt i32 %20, %2
  %or.cond = and i1 %19, %.not169
  br i1 %or.cond, label %21, label %49

21:                                               ; preds = %17
  %22 = sub i32 %2, %18
  %23 = icmp ugt i32 %22, 4194303
  br i1 %23, label %50, label %24

24:                                               ; preds = %21
  %25 = lshr i32 %22, 6
  %26 = and i32 %25, 65532
  %27 = add nuw nsw i32 %26, %18
  %28 = zext i32 %27 to i64
  %29 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %28)
  %30 = lshr i32 %2, 3
  %31 = and i32 %30, 31
  %32 = shl nuw i32 1, %31
  %33 = and i32 %29, %32
  %.not170 = icmp eq i32 %33, 0
  br i1 %.not170, label %51, label %34

34:                                               ; preds = %24
  %35 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACompressedPointer0x20hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AEvacAcceptor0x3Ctrue0x3E0x3A0x3AforwardCell0x3Chermes0x3A0x3Avm0x3A0x3ACompressedPointer0x3E0x28hermes0x3A0x3Avm0x3A0x3AGCCell0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2)
  br label %53

36:                                               ; preds = %13
  %37 = add i32 %9, 4452
  %38 = zext i32 %37 to i64
  %39 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %38)
  %40 = icmp eq i32 %5, %39
  br i1 %40, label %41, label %53

41:                                               ; preds = %36
  %42 = and i32 %3, -4194304
  %43 = add i32 %42, 4194816
  %.not171 = icmp ugt i32 %43, %3
  br i1 %.not171, label %44, label %52

44:                                               ; preds = %41
  %45 = lshr i32 %3, 9
  %46 = and i32 %45, 8191
  %47 = or disjoint i32 %46, %42
  %48 = zext i32 %47 to i64
  tail call void @i32_store8(ptr noundef nonnull %6, i64 noundef %48, i32 noundef 1)
  br label %53

49:                                               ; preds = %17
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 170852, i32 noundef 86240, i32 noundef 118, i32 noundef 19893) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

50:                                               ; preds = %21
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 169713, i32 noundef 86240, i32 noundef 134, i32 noundef 39587) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

51:                                               ; preds = %24
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 191444, i32 noundef 62693, i32 noundef 452, i32 noundef 63384) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

52:                                               ; preds = %41
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 196978, i32 noundef 86311, i32 noundef 300, i32 noundef 19893) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

53:                                               ; preds = %36, %44, %34
  %.0 = phi i32 [ %35, %34 ], [ %2, %44 ], [ %2, %36 ]
  ret i32 %.0
}

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

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 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,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass