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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AregExpDollarNumberGetter0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #4 {
  %6 = alloca ptr, align 8
  %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 i64, align 8
  %16 = alloca i32, align 4
  %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 i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store i64 0, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.w2c_hermes, ptr %24, i32 0, i32 3
  %26 = load i32, ptr %25, align 8, !tbaa !13
  store i32 %26, ptr %16, align 4, !tbaa !9
  store i32 96, ptr %17, align 4, !tbaa !9
  %27 = load i32, ptr %17, align 4, !tbaa !9
  %28 = load i32, ptr %16, align 4, !tbaa !9
  %29 = sub i32 %28, %27
  store i32 %29, ptr %16, align 4, !tbaa !9
  %30 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %30, ptr %11, align 4, !tbaa !9
  %31 = load i32, ptr %16, align 4, !tbaa !9
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.w2c_hermes, ptr %32, i32 0, i32 3
  store i32 %31, ptr %33, align 8, !tbaa !13
  %34 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %34, ptr %16, align 4, !tbaa !9
  store i64 17179869184, ptr %22, align 8, !tbaa !11
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.w2c_hermes, ptr %35, i32 0, i32 6
  %37 = load i32, ptr %16, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = add i64 %38, 40
  %40 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %36, i64 noundef %39, i64 noundef %40)
  %41 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %41, ptr %16, align 4, !tbaa !9
  %42 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %42, ptr %17, align 4, !tbaa !9
  store i32 48, ptr %18, align 4, !tbaa !9
  %43 = load i32, ptr %18, align 4, !tbaa !9
  %44 = load i32, ptr %17, align 4, !tbaa !9
  %45 = add i32 %44, %43
  store i32 %45, ptr %17, align 4, !tbaa !9
  %46 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %46, ptr %12, align 4, !tbaa !9
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.w2c_hermes, ptr %47, i32 0, i32 6
  %49 = load i32, ptr %16, align 4, !tbaa !9
  %50 = zext i32 %49 to i64
  %51 = add i64 %50, 36
  %52 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %48, i64 noundef %51, i32 noundef %52)
  %53 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %53, ptr %16, align 4, !tbaa !9
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.w2c_hermes, ptr %54, i32 0, i32 6
  %56 = load i32, ptr %16, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = add i64 %57, 740
  %59 = call i32 @i32_load(ptr noundef %55, i64 noundef %58)
  store i32 %59, ptr %16, align 4, !tbaa !9
  %60 = load i32, ptr %16, align 4, !tbaa !9
  %61 = icmp ne i32 %60, 0
  br i1 %61, label %62, label %82

62:                                               ; preds = %5
  %63 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %63, ptr %16, align 4, !tbaa !9
  store i32 36, ptr %17, align 4, !tbaa !9
  %64 = load i32, ptr %17, align 4, !tbaa !9
  %65 = load i32, ptr %16, align 4, !tbaa !9
  %66 = add i32 %65, %64
  store i32 %66, ptr %16, align 4, !tbaa !9
  %67 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %67, ptr %17, align 4, !tbaa !9
  store i32 736, ptr %18, align 4, !tbaa !9
  %68 = load i32, ptr %18, align 4, !tbaa !9
  %69 = load i32, ptr %17, align 4, !tbaa !9
  %70 = add i32 %69, %68
  store i32 %70, ptr %17, align 4, !tbaa !9
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = load i32, ptr %16, align 4, !tbaa !9
  %73 = load i32, ptr %17, align 4, !tbaa !9
  %74 = call i32 @w2c_hermes_llvh0x3A0x3ASmallVectorImpl0x3Chermes0x3A0x3AOptValue0x3Chermes0x3A0x3Avm0x3A0x3ARegExpMatchRange0x3E0x3E0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ASmallVectorImpl0x3Chermes0x3A0x3AOptValue0x3Chermes0x3A0x3Avm0x3A0x3ARegExpMatchRange0x3E0x3E0x20const0x260x29(ptr noundef %71, i32 noundef %72, i32 noundef %73)
  store i32 %74, ptr %16, align 4, !tbaa !9
  %75 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %75, ptr %16, align 4, !tbaa !9
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.w2c_hermes, ptr %76, i32 0, i32 6
  %78 = load i32, ptr %16, align 4, !tbaa !9
  %79 = zext i32 %78 to i64
  %80 = add i64 %79, 40
  %81 = call i32 @i32_load(ptr noundef %77, i64 noundef %80)
  store i32 %81, ptr %16, align 4, !tbaa !9
  br label %83

82:                                               ; preds = %5
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %82, %62
  %84 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %84, ptr %13, align 4, !tbaa !9
  %85 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %85, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %86 = load i32, ptr %18, align 4, !tbaa !9
  %87 = load i32, ptr %17, align 4, !tbaa !9
  %88 = add i32 %87, %86
  store i32 %88, ptr %17, align 4, !tbaa !9
  %89 = load i32, ptr %16, align 4, !tbaa !9
  %90 = load i32, ptr %17, align 4, !tbaa !9
  %91 = icmp ult i32 %89, %90
  %92 = zext i1 %91 to i32
  store i32 %92, ptr %16, align 4, !tbaa !9
  %93 = load i32, ptr %16, align 4, !tbaa !9
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %95, label %96

95:                                               ; preds = %83
  br label %311

96:                                               ; preds = %83
  %97 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %97, ptr %16, align 4, !tbaa !9
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.w2c_hermes, ptr %98, i32 0, i32 6
  %100 = load i32, ptr %16, align 4, !tbaa !9
  %101 = zext i32 %100 to i64
  %102 = add i64 %101, 536
  %103 = call i64 @i64_load(ptr noundef %99, i64 noundef %102)
  store i64 %103, ptr %21, align 8, !tbaa !11
  %104 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %104, ptr %15, align 8, !tbaa !11
  store i64 -844424930131968, ptr %22, align 8, !tbaa !11
  %105 = load i64, ptr %21, align 8, !tbaa !11
  %106 = load i64, ptr %22, align 8, !tbaa !11
  %107 = icmp ult i64 %105, %106
  %108 = zext i1 %107 to i32
  store i32 %108, ptr %16, align 4, !tbaa !9
  %109 = load i32, ptr %16, align 4, !tbaa !9
  %110 = icmp ne i32 %109, 0
  br i1 %110, label %111, label %112

111:                                              ; preds = %96
  br label %311

112:                                              ; preds = %96
  %113 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %113, ptr %21, align 8, !tbaa !11
  %114 = load i64, ptr %21, align 8, !tbaa !11
  %115 = trunc i64 %114 to i32
  store i32 %115, ptr %16, align 4, !tbaa !9
  %116 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %116, ptr %14, align 4, !tbaa !9
  %117 = load i32, ptr %16, align 4, !tbaa !9
  %118 = icmp ne i32 %117, 0
  %119 = xor i1 %118, true
  %120 = zext i1 %119 to i32
  store i32 %120, ptr %16, align 4, !tbaa !9
  %121 = load i32, ptr %16, align 4, !tbaa !9
  %122 = icmp ne i32 %121, 0
  br i1 %122, label %123, label %124

123:                                              ; preds = %112
  br label %378

124:                                              ; preds = %112
  %125 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %125, ptr %16, align 4, !tbaa !9
  %126 = load ptr, ptr %6, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.w2c_hermes, ptr %126, i32 0, i32 6
  %128 = load i32, ptr %16, align 4, !tbaa !9
  %129 = zext i32 %128 to i64
  %130 = call i32 @i32_load(ptr noundef %127, i64 noundef %129)
  store i32 %130, ptr %16, align 4, !tbaa !9
  store i32 50331648, ptr %17, align 4, !tbaa !9
  %131 = load i32, ptr %17, align 4, !tbaa !9
  %132 = load i32, ptr %16, align 4, !tbaa !9
  %133 = sub i32 %132, %131
  store i32 %133, ptr %16, align 4, !tbaa !9
  store i32 134217727, ptr %17, align 4, !tbaa !9
  %134 = load i32, ptr %16, align 4, !tbaa !9
  %135 = load i32, ptr %17, align 4, !tbaa !9
  %136 = icmp ugt i32 %134, %135
  %137 = zext i1 %136 to i32
  store i32 %137, ptr %16, align 4, !tbaa !9
  %138 = load i32, ptr %16, align 4, !tbaa !9
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %140, label %141

140:                                              ; preds = %124
  br label %311

141:                                              ; preds = %124
  %142 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %142, ptr %16, align 4, !tbaa !9
  %143 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %143, ptr %17, align 4, !tbaa !9
  %144 = load i32, ptr %16, align 4, !tbaa !9
  %145 = load i32, ptr %17, align 4, !tbaa !9
  %146 = icmp uge i32 %144, %145
  %147 = zext i1 %146 to i32
  store i32 %147, ptr %16, align 4, !tbaa !9
  %148 = load i32, ptr %16, align 4, !tbaa !9
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %151

150:                                              ; preds = %141
  br label %396

151:                                              ; preds = %141
  %152 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %152, ptr %16, align 4, !tbaa !9
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.w2c_hermes, ptr %153, i32 0, i32 6
  %155 = load i32, ptr %16, align 4, !tbaa !9
  %156 = zext i32 %155 to i64
  %157 = add i64 %156, 36
  %158 = call i32 @i32_load(ptr noundef %154, i64 noundef %157)
  store i32 %158, ptr %16, align 4, !tbaa !9
  %159 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %159, ptr %17, align 4, !tbaa !9
  store i32 12, ptr %18, align 4, !tbaa !9
  %160 = load i32, ptr %18, align 4, !tbaa !9
  %161 = load i32, ptr %17, align 4, !tbaa !9
  %162 = mul i32 %161, %160
  store i32 %162, ptr %17, align 4, !tbaa !9
  %163 = load i32, ptr %17, align 4, !tbaa !9
  %164 = load i32, ptr %16, align 4, !tbaa !9
  %165 = add i32 %164, %163
  store i32 %165, ptr %16, align 4, !tbaa !9
  %166 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %166, ptr %8, align 4, !tbaa !9
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.w2c_hermes, ptr %167, i32 0, i32 6
  %169 = load i32, ptr %16, align 4, !tbaa !9
  %170 = zext i32 %169 to i64
  %171 = add i64 %170, 8
  %172 = call i32 @i32_load8_u(ptr noundef %168, i64 noundef %171)
  store i32 %172, ptr %16, align 4, !tbaa !9
  %173 = load i32, ptr %16, align 4, !tbaa !9
  %174 = icmp ne i32 %173, 0
  %175 = xor i1 %174, true
  %176 = zext i1 %175 to i32
  store i32 %176, ptr %16, align 4, !tbaa !9
  %177 = load i32, ptr %16, align 4, !tbaa !9
  %178 = icmp ne i32 %177, 0
  br i1 %178, label %179, label %180

179:                                              ; preds = %151
  br label %311

180:                                              ; preds = %151
  %181 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %181, ptr %16, align 4, !tbaa !9
  %182 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %182, ptr %17, align 4, !tbaa !9
  store i32 536, ptr %18, align 4, !tbaa !9
  %183 = load i32, ptr %18, align 4, !tbaa !9
  %184 = load i32, ptr %17, align 4, !tbaa !9
  %185 = add i32 %184, %183
  store i32 %185, ptr %17, align 4, !tbaa !9
  %186 = load ptr, ptr %6, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.w2c_hermes, ptr %186, i32 0, i32 6
  %188 = load i32, ptr %16, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = add i64 %189, 12
  %191 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %187, i64 noundef %190, i32 noundef %191)
  %192 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %192, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %193 = load ptr, ptr %6, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.w2c_hermes, ptr %193, i32 0, i32 6
  %195 = load i32, ptr %16, align 4, !tbaa !9
  %196 = zext i32 %195 to i64
  %197 = add i64 %196, 8
  %198 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %194, i64 noundef %197, i32 noundef %198)
  %199 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %199, ptr %16, align 4, !tbaa !9
  store i32 16, ptr %17, align 4, !tbaa !9
  %200 = load i32, ptr %17, align 4, !tbaa !9
  %201 = load i32, ptr %16, align 4, !tbaa !9
  %202 = add i32 %201, %200
  store i32 %202, ptr %16, align 4, !tbaa !9
  %203 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %203, ptr %17, align 4, !tbaa !9
  %204 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %204, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %205 = load i32, ptr %19, align 4, !tbaa !9
  %206 = load i32, ptr %18, align 4, !tbaa !9
  %207 = add i32 %206, %205
  store i32 %207, ptr %18, align 4, !tbaa !9
  %208 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %208, ptr %19, align 4, !tbaa !9
  %209 = load ptr, ptr %6, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.w2c_hermes, ptr %209, i32 0, i32 6
  %211 = load i32, ptr %19, align 4, !tbaa !9
  %212 = zext i32 %211 to i64
  %213 = call i32 @i32_load(ptr noundef %210, i64 noundef %212)
  store i32 %213, ptr %19, align 4, !tbaa !9
  %214 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %214, ptr %20, align 4, !tbaa !9
  %215 = load ptr, ptr %6, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.w2c_hermes, ptr %215, i32 0, i32 6
  %217 = load i32, ptr %20, align 4, !tbaa !9
  %218 = zext i32 %217 to i64
  %219 = add i64 %218, 4
  %220 = call i32 @i32_load(ptr noundef %216, i64 noundef %219)
  store i32 %220, ptr %20, align 4, !tbaa !9
  %221 = load ptr, ptr %6, align 8, !tbaa !5
  %222 = load i32, ptr %16, align 4, !tbaa !9
  %223 = load i32, ptr %17, align 4, !tbaa !9
  %224 = load i32, ptr %18, align 4, !tbaa !9
  %225 = load i32, ptr %19, align 4, !tbaa !9
  %226 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3Aslice0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef %221, i32 noundef %222, i32 noundef %223, i32 noundef %224, i32 noundef %225, i32 noundef %226)
  %227 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %227, ptr %16, align 4, !tbaa !9
  %228 = load ptr, ptr %6, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.w2c_hermes, ptr %228, i32 0, i32 6
  %230 = load i32, ptr %16, align 4, !tbaa !9
  %231 = zext i32 %230 to i64
  %232 = add i64 %231, 8
  %233 = call i32 @i32_load(ptr noundef %229, i64 noundef %232)
  store i32 %233, ptr %16, align 4, !tbaa !9
  %234 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %234, ptr %9, align 4, !tbaa !9
  %235 = load i32, ptr %16, align 4, !tbaa !9
  %236 = icmp ne i32 %235, 0
  br i1 %236, label %237, label %253

237:                                              ; preds = %180
  %238 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %238, ptr %16, align 4, !tbaa !9
  %239 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %239, ptr %17, align 4, !tbaa !9
  %240 = load ptr, ptr %6, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.w2c_hermes, ptr %240, i32 0, i32 6
  %242 = load i32, ptr %17, align 4, !tbaa !9
  %243 = zext i32 %242 to i64
  %244 = call i32 @i32_load(ptr noundef %241, i64 noundef %243)
  store i32 %244, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %245 = load i32, ptr %18, align 4, !tbaa !9
  %246 = load i32, ptr %17, align 4, !tbaa !9
  %247 = sub i32 %246, %245
  store i32 %247, ptr %17, align 4, !tbaa !9
  %248 = load ptr, ptr %6, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.w2c_hermes, ptr %248, i32 0, i32 6
  %250 = load i32, ptr %16, align 4, !tbaa !9
  %251 = zext i32 %250 to i64
  %252 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %249, i64 noundef %251, i32 noundef %252)
  br label %253

253:                                              ; preds = %237, %180
  %254 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %254, ptr %16, align 4, !tbaa !9
  %255 = load ptr, ptr %6, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.w2c_hermes, ptr %255, i32 0, i32 6
  %257 = load i32, ptr %16, align 4, !tbaa !9
  %258 = zext i32 %257 to i64
  %259 = add i64 %258, 16
  %260 = call i32 @i32_load(ptr noundef %256, i64 noundef %259)
  store i32 %260, ptr %16, align 4, !tbaa !9
  %261 = load i32, ptr %16, align 4, !tbaa !9
  switch i32 %261, label %264 [
    i32 0, label %262
    i32 1, label %263
  ]

262:                                              ; preds = %253
  br label %265

263:                                              ; preds = %253
  br label %290

264:                                              ; preds = %253
  br label %272

265:                                              ; preds = %262
  %266 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %266, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %267 = load ptr, ptr %6, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.w2c_hermes, ptr %267, i32 0, i32 6
  %269 = load i32, ptr %16, align 4, !tbaa !9
  %270 = zext i32 %269 to i64
  %271 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %268, i64 noundef %270, i32 noundef %271)
  br label %350

272:                                              ; preds = %264
  store i32 0, ptr %16, align 4, !tbaa !9
  %273 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %273, ptr %11, align 4, !tbaa !9
  store i32 109639, ptr %17, align 4, !tbaa !9
  %274 = load i32, ptr %17, align 4, !tbaa !9
  %275 = load i32, ptr %16, align 4, !tbaa !9
  %276 = add i32 %275, %274
  store i32 %276, ptr %16, align 4, !tbaa !9
  %277 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %277, ptr %17, align 4, !tbaa !9
  store i32 77564, ptr %18, align 4, !tbaa !9
  %278 = load i32, ptr %18, align 4, !tbaa !9
  %279 = load i32, ptr %17, align 4, !tbaa !9
  %280 = add i32 %279, %278
  store i32 %280, ptr %17, align 4, !tbaa !9
  store i32 179, ptr %18, align 4, !tbaa !9
  %281 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %281, ptr %19, align 4, !tbaa !9
  store i32 90402, ptr %20, align 4, !tbaa !9
  %282 = load i32, ptr %20, align 4, !tbaa !9
  %283 = load i32, ptr %19, align 4, !tbaa !9
  %284 = add i32 %283, %282
  store i32 %284, ptr %19, align 4, !tbaa !9
  %285 = load ptr, ptr %6, align 8, !tbaa !5
  %286 = load i32, ptr %16, align 4, !tbaa !9
  %287 = load i32, ptr %17, align 4, !tbaa !9
  %288 = load i32, ptr %18, align 4, !tbaa !9
  %289 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %285, i32 noundef %286, i32 noundef %287, i32 noundef %288, i32 noundef %289)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

290:                                              ; preds = %263
  %291 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %291, ptr %16, align 4, !tbaa !9
  %292 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %292, ptr %17, align 4, !tbaa !9
  %293 = load ptr, ptr %6, 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 = add i64 %296, 24
  %298 = call i64 @i64_load(ptr noundef %294, i64 noundef %297)
  store i64 %298, ptr %22, align 8, !tbaa !11
  %299 = load ptr, ptr %6, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.w2c_hermes, ptr %299, i32 0, i32 6
  %301 = load i32, ptr %16, align 4, !tbaa !9
  %302 = zext i32 %301 to i64
  %303 = add i64 %302, 8
  %304 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %300, i64 noundef %303, i64 noundef %304)
  %305 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %305, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %306 = load ptr, ptr %6, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.w2c_hermes, ptr %306, i32 0, i32 6
  %308 = load i32, ptr %16, align 4, !tbaa !9
  %309 = zext i32 %308 to i64
  %310 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %307, i64 noundef %309, i32 noundef %310)
  br label %350

311:                                              ; preds = %179, %140, %111, %95
  %312 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %312, ptr %16, align 4, !tbaa !9
  store i32 5516, ptr %17, align 4, !tbaa !9
  %313 = load i32, ptr %17, align 4, !tbaa !9
  %314 = load i32, ptr %16, align 4, !tbaa !9
  %315 = add i32 %314, %313
  store i32 %315, ptr %16, align 4, !tbaa !9
  %316 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %316, ptr %17, align 4, !tbaa !9
  store i32 14, ptr %18, align 4, !tbaa !9
  %317 = load ptr, ptr %6, align 8, !tbaa !5
  %318 = load i32, ptr %16, align 4, !tbaa !9
  %319 = load i32, ptr %17, align 4, !tbaa !9
  %320 = load i32, ptr %18, align 4, !tbaa !9
  %321 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef %317, i32 noundef %318, i32 noundef %319, i32 noundef %320)
  store i32 %321, ptr %16, align 4, !tbaa !9
  %322 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %322, ptr %9, align 4, !tbaa !9
  %323 = load i32, ptr %16, align 4, !tbaa !9
  %324 = icmp ne i32 %323, 0
  %325 = xor i1 %324, true
  %326 = zext i1 %325 to i32
  store i32 %326, ptr %16, align 4, !tbaa !9
  %327 = load i32, ptr %16, align 4, !tbaa !9
  %328 = icmp ne i32 %327, 0
  br i1 %328, label %329, label %330

329:                                              ; preds = %311
  br label %414

330:                                              ; preds = %311
  %331 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %331, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %332 = load ptr, ptr %6, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.w2c_hermes, ptr %332, i32 0, i32 6
  %334 = load i32, ptr %16, align 4, !tbaa !9
  %335 = zext i32 %334 to i64
  %336 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %333, i64 noundef %335, i32 noundef %336)
  %337 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %337, ptr %16, align 4, !tbaa !9
  %338 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %338, ptr %17, align 4, !tbaa !9
  %339 = load i32, ptr %17, align 4, !tbaa !9
  %340 = zext i32 %339 to i64
  store i64 %340, ptr %22, align 8, !tbaa !11
  store i64 -844424930131968, ptr %23, align 8, !tbaa !11
  %341 = load i64, ptr %23, align 8, !tbaa !11
  %342 = load i64, ptr %22, align 8, !tbaa !11
  %343 = or i64 %342, %341
  store i64 %343, ptr %22, align 8, !tbaa !11
  %344 = load ptr, ptr %6, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.w2c_hermes, ptr %344, i32 0, i32 6
  %346 = load i32, ptr %16, align 4, !tbaa !9
  %347 = zext i32 %346 to i64
  %348 = add i64 %347, 8
  %349 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %345, i64 noundef %348, i64 noundef %349)
  br label %350

350:                                              ; preds = %330, %290, %265
  %351 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %351, ptr %16, align 4, !tbaa !9
  %352 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %352, ptr %17, align 4, !tbaa !9
  %353 = load ptr, ptr %6, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.w2c_hermes, ptr %353, i32 0, i32 6
  %355 = load i32, ptr %17, align 4, !tbaa !9
  %356 = zext i32 %355 to i64
  %357 = add i64 %356, 36
  %358 = call i32 @i32_load(ptr noundef %354, i64 noundef %357)
  store i32 %358, ptr %17, align 4, !tbaa !9
  %359 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %359, ptr %9, align 4, !tbaa !9
  %360 = load i32, ptr %16, align 4, !tbaa !9
  %361 = load i32, ptr %17, align 4, !tbaa !9
  %362 = icmp ne i32 %360, %361
  %363 = zext i1 %362 to i32
  store i32 %363, ptr %16, align 4, !tbaa !9
  %364 = load i32, ptr %16, align 4, !tbaa !9
  %365 = icmp ne i32 %364, 0
  br i1 %365, label %366, label %370

366:                                              ; preds = %350
  %367 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %367, ptr %16, align 4, !tbaa !9
  %368 = load ptr, ptr %6, align 8, !tbaa !5
  %369 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %368, i32 noundef %369)
  br label %370

370:                                              ; preds = %366, %350
  %371 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %371, ptr %16, align 4, !tbaa !9
  store i32 96, ptr %17, align 4, !tbaa !9
  %372 = load i32, ptr %17, align 4, !tbaa !9
  %373 = load i32, ptr %16, align 4, !tbaa !9
  %374 = add i32 %373, %372
  store i32 %374, ptr %16, align 4, !tbaa !9
  %375 = load i32, ptr %16, align 4, !tbaa !9
  %376 = load ptr, ptr %6, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.w2c_hermes, ptr %376, i32 0, i32 3
  store i32 %375, ptr %377, align 8, !tbaa !13
  br label %432

378:                                              ; preds = %123
  store i32 0, ptr %16, align 4, !tbaa !9
  %379 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %379, ptr %11, align 4, !tbaa !9
  store i32 147142, ptr %17, align 4, !tbaa !9
  %380 = load i32, ptr %17, align 4, !tbaa !9
  %381 = load i32, ptr %16, align 4, !tbaa !9
  %382 = add i32 %381, %380
  store i32 %382, ptr %16, align 4, !tbaa !9
  %383 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %383, ptr %17, align 4, !tbaa !9
  store i32 82611, ptr %18, align 4, !tbaa !9
  %384 = load i32, ptr %18, align 4, !tbaa !9
  %385 = load i32, ptr %17, align 4, !tbaa !9
  %386 = add i32 %385, %384
  store i32 %386, ptr %17, align 4, !tbaa !9
  store i32 106, ptr %18, align 4, !tbaa !9
  %387 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %387, ptr %19, align 4, !tbaa !9
  store i32 28119, ptr %20, align 4, !tbaa !9
  %388 = load i32, ptr %20, align 4, !tbaa !9
  %389 = load i32, ptr %19, align 4, !tbaa !9
  %390 = add i32 %389, %388
  store i32 %390, ptr %19, align 4, !tbaa !9
  %391 = load ptr, ptr %6, align 8, !tbaa !5
  %392 = load i32, ptr %16, align 4, !tbaa !9
  %393 = load i32, ptr %17, align 4, !tbaa !9
  %394 = load i32, ptr %18, align 4, !tbaa !9
  %395 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %391, i32 noundef %392, i32 noundef %393, i32 noundef %394, i32 noundef %395)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

396:                                              ; preds = %150
  store i32 0, ptr %16, align 4, !tbaa !9
  %397 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %397, ptr %11, align 4, !tbaa !9
  store i32 118701, ptr %17, align 4, !tbaa !9
  %398 = load i32, ptr %17, align 4, !tbaa !9
  %399 = load i32, ptr %16, align 4, !tbaa !9
  %400 = add i32 %399, %398
  store i32 %400, ptr %16, align 4, !tbaa !9
  %401 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %401, ptr %17, align 4, !tbaa !9
  store i32 79572, ptr %18, align 4, !tbaa !9
  %402 = load i32, ptr %18, align 4, !tbaa !9
  %403 = load i32, ptr %17, align 4, !tbaa !9
  %404 = add i32 %403, %402
  store i32 %404, ptr %17, align 4, !tbaa !9
  store i32 161, ptr %18, align 4, !tbaa !9
  %405 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %405, ptr %19, align 4, !tbaa !9
  store i32 108367, ptr %20, align 4, !tbaa !9
  %406 = load i32, ptr %20, align 4, !tbaa !9
  %407 = load i32, ptr %19, align 4, !tbaa !9
  %408 = add i32 %407, %406
  store i32 %408, ptr %19, align 4, !tbaa !9
  %409 = load ptr, ptr %6, align 8, !tbaa !5
  %410 = load i32, ptr %16, align 4, !tbaa !9
  %411 = load i32, ptr %17, align 4, !tbaa !9
  %412 = load i32, ptr %18, align 4, !tbaa !9
  %413 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %409, i32 noundef %410, i32 noundef %411, i32 noundef %412, i32 noundef %413)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

414:                                              ; preds = %329
  store i32 0, ptr %16, align 4, !tbaa !9
  %415 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %415, ptr %11, align 4, !tbaa !9
  store i32 195004, ptr %17, align 4, !tbaa !9
  %416 = load i32, ptr %17, align 4, !tbaa !9
  %417 = load i32, ptr %16, align 4, !tbaa !9
  %418 = add i32 %417, %416
  store i32 %418, ptr %16, align 4, !tbaa !9
  %419 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %419, ptr %17, align 4, !tbaa !9
  store i32 83341, ptr %18, align 4, !tbaa !9
  %420 = load i32, ptr %18, align 4, !tbaa !9
  %421 = load i32, ptr %17, align 4, !tbaa !9
  %422 = add i32 %421, %420
  store i32 %422, ptr %17, align 4, !tbaa !9
  store i32 273, ptr %18, align 4, !tbaa !9
  %423 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %423, ptr %19, align 4, !tbaa !9
  store i32 90626, ptr %20, align 4, !tbaa !9
  %424 = load i32, ptr %20, align 4, !tbaa !9
  %425 = load i32, ptr %19, align 4, !tbaa !9
  %426 = add i32 %425, %424
  store i32 %426, ptr %19, align 4, !tbaa !9
  %427 = load ptr, ptr %6, align 8, !tbaa !5
  %428 = load i32, ptr %16, align 4, !tbaa !9
  %429 = load i32, ptr %17, align 4, !tbaa !9
  %430 = load i32, ptr %18, align 4, !tbaa !9
  %431 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %427, i32 noundef %428, i32 noundef %429, i32 noundef %430, i32 noundef %431)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

432:                                              ; preds = %370
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, 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
  ret void
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 24}
!14 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !15, i64 40, !17, i64 80}
!15 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !16, i64 32}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

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

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

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

declare void @w2c_hermes_dlfree(ptr noundef, i32 noundef) local_unnamed_addr #2

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AregExpDollarNumberGetter0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #3 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -96
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %8 to i64
  %11 = add nuw nsw i64 %10, 40
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %11, i64 noundef 17179869184)
  %12 = add i32 %7, -48
  %13 = add nuw nsw i64 %10, 36
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %13, i32 noundef %12)
  %14 = zext i32 %3 to i64
  %15 = add nuw nsw i64 %14, 740
  %16 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %15)
  %.not = icmp eq i32 %16, 0
  br i1 %.not, label %22, label %17

17:                                               ; preds = %5
  %18 = add i32 %7, -60
  %19 = add i32 %3, 736
  %20 = tail call i32 @w2c_hermes_llvh0x3A0x3ASmallVectorImpl0x3Chermes0x3A0x3AOptValue0x3Chermes0x3A0x3Avm0x3A0x3ARegExpMatchRange0x3E0x3E0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ASmallVectorImpl0x3Chermes0x3A0x3AOptValue0x3Chermes0x3A0x3Avm0x3A0x3ARegExpMatchRange0x3E0x3E0x20const0x260x29(ptr noundef nonnull %0, i32 noundef %18, i32 noundef %19)
  %21 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %11)
  br label %22

22:                                               ; preds = %5, %17
  %.0 = phi i32 [ %21, %17 ], [ 0, %5 ]
  %23 = add i32 %2, 1
  %24 = icmp ult i32 %.0, %23
  br i1 %24, label %68, label %25

25:                                               ; preds = %22
  %26 = add nuw nsw i64 %14, 536
  %27 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %26)
  %28 = icmp ult i64 %27, -844424930131968
  br i1 %28, label %68, label %29

29:                                               ; preds = %25
  %30 = and i64 %27, 4294967295
  %.not240 = icmp eq i64 %30, 0
  br i1 %.not240, label %80, label %31

31:                                               ; preds = %29
  %32 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %30)
  %33 = add i32 %32, -184549376
  %34 = icmp ult i32 %33, -134217728
  br i1 %34, label %68, label %35

35:                                               ; preds = %31
  %.not241 = icmp ugt i32 %.0, %2
  br i1 %.not241, label %36, label %81

36:                                               ; preds = %35
  %37 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %13)
  %38 = mul i32 %2, 12
  %39 = add i32 %37, %38
  %40 = zext i32 %39 to i64
  %41 = add nuw nsw i64 %40, 8
  %42 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %41)
  %.not242 = icmp eq i32 %42, 0
  br i1 %.not242, label %68, label %43

43:                                               ; preds = %36
  %44 = add i32 %3, 536
  %45 = add nuw nsw i64 %10, 12
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %45, i32 noundef %44)
  %46 = add nuw nsw i64 %10, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %46, i32 noundef 0)
  %47 = add i32 %7, -80
  %48 = add i32 %7, -88
  %49 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %40)
  %50 = add nuw nsw i64 %40, 4
  %51 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %50)
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3Aslice0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %47, i32 noundef %3, i32 noundef %48, i32 noundef %49, i32 noundef %51) #4
  %52 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %46)
  %.not243 = icmp eq i32 %52, 0
  br i1 %.not243, label %57, label %53

53:                                               ; preds = %43
  %54 = zext i32 %52 to i64
  %55 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %54)
  %56 = add i32 %55, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %54, i32 noundef %56)
  br label %57

57:                                               ; preds = %53, %43
  %58 = add nuw nsw i64 %10, 16
  %59 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %58)
  switch i32 %59, label %62 [
    i32 0, label %60
    i32 1, label %63
  ]

60:                                               ; preds = %57
  %61 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %61, i32 noundef 0)
  br label %76

62:                                               ; preds = %57
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 109639, i32 noundef 77564, i32 noundef 179, i32 noundef 90402) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

63:                                               ; preds = %57
  %64 = add nuw nsw i64 %10, 24
  %65 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %64)
  %66 = zext i32 %1 to i64
  %67 = add nuw nsw i64 %66, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %67, i64 noundef %65)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %66, i32 noundef 1)
  br label %76

68:                                               ; preds = %36, %31, %25, %22
  %69 = add i32 %3, 5516
  %70 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef nonnull %0, i32 noundef %69, i32 noundef %3, i32 noundef 14) #4
  %.not244 = icmp eq i32 %70, 0
  br i1 %.not244, label %82, label %71

71:                                               ; preds = %68
  %72 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %72, i32 noundef 1)
  %73 = zext i32 %70 to i64
  %74 = or disjoint i64 %73, -844424930131968
  %75 = add nuw nsw i64 %72, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %75, i64 noundef %74)
  br label %76

76:                                               ; preds = %71, %63, %60
  %77 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %13)
  %.not245 = icmp eq i32 %12, %77
  br i1 %.not245, label %79, label %78

78:                                               ; preds = %76
  tail call void @w2c_hermes_dlfree(ptr noundef nonnull %0, i32 noundef %77) #4
  br label %79

79:                                               ; preds = %78, %76
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

80:                                               ; preds = %29
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 147142, i32 noundef 82611, i32 noundef 106, i32 noundef 28119) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

81:                                               ; preds = %35
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 118701, i32 noundef 79572, i32 noundef 161, i32 noundef 108367) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

82:                                               ; preds = %68
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 195004, i32 noundef 83341, i32 noundef 273, i32 noundef 90626) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3Aslice0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}


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