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

; 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: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) #1

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

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

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

declare i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef, i32 noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Ftree_iterator0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fvalue_type0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Chermes0x3A0x3AUniqueString0x2A0x2C0x20hermes0x3A0x3AUniqueString0x2A0x3E0x2C0x20hermes0x3A0x3ACompiledRegExp0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Ftree_node0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fvalue_type0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Chermes0x3A0x3AUniqueString0x2A0x2C0x20hermes0x3A0x3AUniqueString0x2A0x3E0x2C0x20hermes0x3A0x3ACompiledRegExp0x3E0x2C0x20void0x2A0x3E0x2A0x2C0x20long0x3E0x2C0x20bool0x3E0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Ftree0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fvalue_type0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Chermes0x3A0x3AUniqueString0x2A0x2C0x20hermes0x3A0x3AUniqueString0x2A0x3E0x2C0x20hermes0x3A0x3ACompiledRegExp0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fmap_value_compare0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Chermes0x3A0x3AUniqueString0x2A0x2C0x20hermes0x3A0x3AUniqueString0x2A0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fvalue_type0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Chermes0x3A0x3AUniqueString0x2A0x2C0x20hermes0x3A0x3AUniqueString0x2A0x3E0x2C0x20hermes0x3A0x3ACompiledRegExp0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Chermes0x3A0x3AUniqueString0x2A0x2C0x20hermes0x3A0x3AUniqueString0x2A0x3E0x3E0x2C0x20true0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fvalue_type0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Chermes0x3A0x3AUniqueString0x2A0x2C0x20hermes0x3A0x3AUniqueString0x2A0x3E0x2C0x20hermes0x3A0x3ACompiledRegExp0x3E0x3E0x3E0x3A0x3A_0x5Femplace_unique_key_args0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Chermes0x3A0x3AUniqueString0x2A0x2C0x20hermes0x3A0x3AUniqueString0x2A0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Chermes0x3A0x3AUniqueString0x2A0x2C0x20hermes0x3A0x3AUniqueString0x2A0x3E0x2C0x20hermes0x3A0x3ACompiledRegExp0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Chermes0x3A0x3AUniqueString0x2A0x2C0x20hermes0x3A0x3AUniqueString0x2A0x3E0x20const0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Chermes0x3A0x3AUniqueString0x2A0x2C0x20hermes0x3A0x3AUniqueString0x2A0x3E0x260x260x2C0x20hermes0x3A0x3ACompiledRegExp0x260x260x29(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 i32, align 4
  %20 = alloca i32, align 4
  %21 = 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
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %22 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %22, ptr %17, align 4, !tbaa !9
  %23 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %23, ptr %18, align 4, !tbaa !9
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.w2c_hermes, ptr %24, i32 0, i32 6
  %26 = load i32, ptr %18, align 4, !tbaa !9
  %27 = zext i32 %26 to i64
  %28 = add i64 %27, 4
  %29 = call i32 @i32_load(ptr noundef %25, i64 noundef %28)
  store i32 %29, ptr %18, align 4, !tbaa !9
  %30 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %30, ptr %13, align 4, !tbaa !9
  %31 = load i32, ptr %18, align 4, !tbaa !9
  %32 = icmp ne i32 %31, 0
  %33 = xor i1 %32, true
  %34 = zext i1 %33 to i32
  store i32 %34, ptr %18, align 4, !tbaa !9
  %35 = load i32, ptr %18, align 4, !tbaa !9
  %36 = icmp ne i32 %35, 0
  br i1 %36, label %37, label %44

37:                                               ; preds = %6
  %38 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %38, ptr %18, align 4, !tbaa !9
  store i32 4, ptr %19, align 4, !tbaa !9
  %39 = load i32, ptr %19, align 4, !tbaa !9
  %40 = load i32, ptr %18, align 4, !tbaa !9
  %41 = add i32 %40, %39
  store i32 %41, ptr %18, align 4, !tbaa !9
  %42 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %42, ptr %15, align 4, !tbaa !9
  %43 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %43, ptr %10, align 4, !tbaa !9
  br label %150

44:                                               ; preds = %6
  %45 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %45, ptr %18, align 4, !tbaa !9
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.w2c_hermes, ptr %46, i32 0, i32 6
  %48 = load i32, ptr %18, align 4, !tbaa !9
  %49 = zext i32 %48 to i64
  %50 = add i64 %49, 4
  %51 = call i32 @i32_load(ptr noundef %47, i64 noundef %50)
  store i32 %51, ptr %18, align 4, !tbaa !9
  %52 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %52, ptr %16, align 4, !tbaa !9
  %53 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %53, ptr %18, align 4, !tbaa !9
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.w2c_hermes, ptr %54, i32 0, i32 6
  %56 = load i32, ptr %18, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = call i32 @i32_load(ptr noundef %55, i64 noundef %57)
  store i32 %58, ptr %18, align 4, !tbaa !9
  %59 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %59, ptr %14, align 4, !tbaa !9
  br label %60

60:                                               ; preds = %143, %117, %44
  %61 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %61, ptr %18, align 4, !tbaa !9
  %62 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %62, ptr %10, align 4, !tbaa !9
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.w2c_hermes, ptr %63, i32 0, i32 6
  %65 = load i32, ptr %18, align 4, !tbaa !9
  %66 = zext i32 %65 to i64
  %67 = add i64 %66, 16
  %68 = call i32 @i32_load(ptr noundef %64, i64 noundef %67)
  store i32 %68, ptr %18, align 4, !tbaa !9
  %69 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %69, ptr %13, align 4, !tbaa !9
  %70 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %70, ptr %19, align 4, !tbaa !9
  %71 = load i32, ptr %18, align 4, !tbaa !9
  %72 = load i32, ptr %19, align 4, !tbaa !9
  %73 = icmp ule i32 %71, %72
  %74 = zext i1 %73 to i32
  store i32 %74, ptr %18, align 4, !tbaa !9
  %75 = load i32, ptr %18, align 4, !tbaa !9
  %76 = icmp ne i32 %75, 0
  br i1 %76, label %77, label %105

77:                                               ; preds = %60
  %78 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %78, ptr %18, align 4, !tbaa !9
  %79 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %79, ptr %19, align 4, !tbaa !9
  %80 = load i32, ptr %18, align 4, !tbaa !9
  %81 = load i32, ptr %19, align 4, !tbaa !9
  %82 = icmp ult i32 %80, %81
  %83 = zext i1 %82 to i32
  store i32 %83, ptr %18, align 4, !tbaa !9
  %84 = load i32, ptr %18, align 4, !tbaa !9
  %85 = icmp ne i32 %84, 0
  br i1 %85, label %86, label %87

86:                                               ; preds = %77
  br label %132

87:                                               ; preds = %77
  %88 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %88, ptr %18, align 4, !tbaa !9
  %89 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %89, ptr %19, align 4, !tbaa !9
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.w2c_hermes, ptr %90, i32 0, i32 6
  %92 = load i32, ptr %19, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = add i64 %93, 20
  %95 = call i32 @i32_load(ptr noundef %91, i64 noundef %94)
  store i32 %95, ptr %19, align 4, !tbaa !9
  %96 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %96, ptr %13, align 4, !tbaa !9
  %97 = load i32, ptr %18, align 4, !tbaa !9
  %98 = load i32, ptr %19, align 4, !tbaa !9
  %99 = icmp uge i32 %97, %98
  %100 = zext i1 %99 to i32
  store i32 %100, ptr %18, align 4, !tbaa !9
  %101 = load i32, ptr %18, align 4, !tbaa !9
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %104

103:                                              ; preds = %87
  br label %119

104:                                              ; preds = %87
  br label %105

105:                                              ; preds = %104, %60
  %106 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %106, ptr %18, align 4, !tbaa !9
  %107 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %107, ptr %15, align 4, !tbaa !9
  %108 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %108, ptr %18, align 4, !tbaa !9
  %109 = load ptr, ptr %7, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.w2c_hermes, ptr %109, i32 0, i32 6
  %111 = load i32, ptr %18, align 4, !tbaa !9
  %112 = zext i32 %111 to i64
  %113 = call i32 @i32_load(ptr noundef %110, i64 noundef %112)
  store i32 %113, ptr %18, align 4, !tbaa !9
  %114 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %114, ptr %13, align 4, !tbaa !9
  %115 = load i32, ptr %18, align 4, !tbaa !9
  %116 = icmp ne i32 %115, 0
  br i1 %116, label %117, label %118

117:                                              ; preds = %105
  br label %60

118:                                              ; preds = %105
  br label %150

119:                                              ; preds = %103
  %120 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %120, ptr %18, align 4, !tbaa !9
  %121 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %121, ptr %19, align 4, !tbaa !9
  %122 = load i32, ptr %18, align 4, !tbaa !9
  %123 = load i32, ptr %19, align 4, !tbaa !9
  %124 = icmp ult i32 %122, %123
  %125 = zext i1 %124 to i32
  store i32 %125, ptr %18, align 4, !tbaa !9
  %126 = load i32, ptr %18, align 4, !tbaa !9
  %127 = icmp ne i32 %126, 0
  br i1 %127, label %128, label %129

128:                                              ; preds = %119
  br label %132

129:                                              ; preds = %119
  %130 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %130, ptr %18, align 4, !tbaa !9
  %131 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %131, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %257

132:                                              ; preds = %128, %86
  %133 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %133, ptr %18, align 4, !tbaa !9
  %134 = load ptr, ptr %7, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.w2c_hermes, ptr %134, i32 0, i32 6
  %136 = load i32, ptr %18, align 4, !tbaa !9
  %137 = zext i32 %136 to i64
  %138 = add i64 %137, 4
  %139 = call i32 @i32_load(ptr noundef %135, i64 noundef %138)
  store i32 %139, ptr %18, align 4, !tbaa !9
  %140 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %140, ptr %13, align 4, !tbaa !9
  %141 = load i32, ptr %18, align 4, !tbaa !9
  %142 = icmp ne i32 %141, 0
  br i1 %142, label %143, label %144

143:                                              ; preds = %132
  br label %60

144:                                              ; preds = %132
  %145 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %145, ptr %18, align 4, !tbaa !9
  store i32 4, ptr %19, align 4, !tbaa !9
  %146 = load i32, ptr %19, align 4, !tbaa !9
  %147 = load i32, ptr %18, align 4, !tbaa !9
  %148 = add i32 %147, %146
  store i32 %148, ptr %18, align 4, !tbaa !9
  %149 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %149, ptr %15, align 4, !tbaa !9
  br label %150

150:                                              ; preds = %144, %118, %37
  store i32 100, ptr %18, align 4, !tbaa !9
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = load i32, ptr %18, align 4, !tbaa !9
  %153 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %151, i32 noundef %152)
  store i32 %153, ptr %18, align 4, !tbaa !9
  %154 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %154, ptr %13, align 4, !tbaa !9
  %155 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %155, ptr %19, align 4, !tbaa !9
  %156 = load ptr, ptr %7, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.w2c_hermes, ptr %156, i32 0, i32 6
  %158 = load i32, ptr %19, align 4, !tbaa !9
  %159 = zext i32 %158 to i64
  %160 = call i64 @i64_load(ptr noundef %157, i64 noundef %159)
  store i64 %160, ptr %21, align 8, !tbaa !11
  %161 = load ptr, ptr %7, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.w2c_hermes, ptr %161, i32 0, i32 6
  %163 = load i32, ptr %18, align 4, !tbaa !9
  %164 = zext i32 %163 to i64
  %165 = add i64 %164, 16
  %166 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %162, i64 noundef %165, i64 noundef %166)
  %167 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %167, ptr %18, align 4, !tbaa !9
  store i32 24, ptr %19, align 4, !tbaa !9
  %168 = load i32, ptr %19, align 4, !tbaa !9
  %169 = load i32, ptr %18, align 4, !tbaa !9
  %170 = add i32 %169, %168
  store i32 %170, ptr %18, align 4, !tbaa !9
  %171 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %171, ptr %19, align 4, !tbaa !9
  %172 = load ptr, ptr %7, align 8, !tbaa !5
  %173 = load i32, ptr %18, align 4, !tbaa !9
  %174 = load i32, ptr %19, align 4, !tbaa !9
  %175 = call i32 @w2c_hermes_hermes0x3A0x3ACompiledRegExp0x3A0x3ACompiledRegExp0x28hermes0x3A0x3ACompiledRegExp0x260x260x29(ptr noundef %172, i32 noundef %173, i32 noundef %174)
  store i32 %175, ptr %18, align 4, !tbaa !9
  %176 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %176, ptr %18, align 4, !tbaa !9
  %177 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %177, ptr %19, align 4, !tbaa !9
  %178 = load ptr, ptr %7, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.w2c_hermes, ptr %178, i32 0, i32 6
  %180 = load i32, ptr %18, align 4, !tbaa !9
  %181 = zext i32 %180 to i64
  %182 = add i64 %181, 8
  %183 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %179, i64 noundef %182, i32 noundef %183)
  %184 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %184, ptr %18, align 4, !tbaa !9
  store i64 0, ptr %21, align 8, !tbaa !11
  %185 = load ptr, ptr %7, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.w2c_hermes, ptr %185, i32 0, i32 6
  %187 = load i32, ptr %18, align 4, !tbaa !9
  %188 = zext i32 %187 to i64
  %189 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %186, i64 noundef %188, i64 noundef %189)
  %190 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %190, ptr %18, align 4, !tbaa !9
  %191 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %191, ptr %19, align 4, !tbaa !9
  %192 = load ptr, ptr %7, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.w2c_hermes, ptr %192, i32 0, i32 6
  %194 = load i32, ptr %18, align 4, !tbaa !9
  %195 = zext i32 %194 to i64
  %196 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %193, i64 noundef %195, i32 noundef %196)
  %197 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %197, ptr %18, align 4, !tbaa !9
  %198 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %198, ptr %10, align 4, !tbaa !9
  %199 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %199, ptr %18, align 4, !tbaa !9
  %200 = load ptr, ptr %7, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.w2c_hermes, ptr %200, i32 0, i32 6
  %202 = load i32, ptr %18, align 4, !tbaa !9
  %203 = zext i32 %202 to i64
  %204 = call i32 @i32_load(ptr noundef %201, i64 noundef %203)
  store i32 %204, ptr %18, align 4, !tbaa !9
  %205 = load ptr, ptr %7, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.w2c_hermes, ptr %205, i32 0, i32 6
  %207 = load i32, ptr %18, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = call i32 @i32_load(ptr noundef %206, i64 noundef %208)
  store i32 %209, ptr %18, align 4, !tbaa !9
  %210 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %210, ptr %14, align 4, !tbaa !9
  %211 = load i32, ptr %18, align 4, !tbaa !9
  %212 = icmp ne i32 %211, 0
  br i1 %212, label %213, label %228

213:                                              ; preds = %150
  %214 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %214, ptr %18, align 4, !tbaa !9
  %215 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %215, ptr %19, align 4, !tbaa !9
  %216 = load ptr, ptr %7, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.w2c_hermes, ptr %216, i32 0, i32 6
  %218 = load i32, ptr %18, align 4, !tbaa !9
  %219 = zext i32 %218 to i64
  %220 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %217, i64 noundef %219, i32 noundef %220)
  %221 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %221, ptr %18, align 4, !tbaa !9
  %222 = load ptr, ptr %7, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.w2c_hermes, ptr %222, i32 0, i32 6
  %224 = load i32, ptr %18, align 4, !tbaa !9
  %225 = zext i32 %224 to i64
  %226 = call i32 @i32_load(ptr noundef %223, i64 noundef %225)
  store i32 %226, ptr %18, align 4, !tbaa !9
  %227 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %227, ptr %10, align 4, !tbaa !9
  br label %228

228:                                              ; preds = %213, %150
  %229 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %229, ptr %18, align 4, !tbaa !9
  %230 = load ptr, ptr %7, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.w2c_hermes, ptr %230, i32 0, i32 6
  %232 = load i32, ptr %18, align 4, !tbaa !9
  %233 = zext i32 %232 to i64
  %234 = add i64 %233, 4
  %235 = call i32 @i32_load(ptr noundef %231, i64 noundef %234)
  store i32 %235, ptr %18, align 4, !tbaa !9
  %236 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %236, ptr %19, align 4, !tbaa !9
  %237 = load ptr, ptr %7, align 8, !tbaa !5
  %238 = load i32, ptr %18, align 4, !tbaa !9
  %239 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Ftree_balance_after_insert0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Ftree_node_base0x3Cvoid0x2A0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Ftree_node_base0x3Cvoid0x2A0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Ftree_node_base0x3Cvoid0x2A0x3E0x2A0x29(ptr noundef %237, i32 noundef %238, i32 noundef %239)
  %240 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %240, ptr %18, align 4, !tbaa !9
  %241 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %241, ptr %19, align 4, !tbaa !9
  %242 = load ptr, ptr %7, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.w2c_hermes, ptr %242, i32 0, i32 6
  %244 = load i32, ptr %19, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  %246 = add i64 %245, 8
  %247 = call i32 @i32_load(ptr noundef %243, i64 noundef %246)
  store i32 %247, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %248 = load i32, ptr %20, align 4, !tbaa !9
  %249 = load i32, ptr %19, align 4, !tbaa !9
  %250 = add i32 %249, %248
  store i32 %250, ptr %19, align 4, !tbaa !9
  %251 = load ptr, ptr %7, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.w2c_hermes, ptr %251, i32 0, i32 6
  %253 = load i32, ptr %18, align 4, !tbaa !9
  %254 = zext i32 %253 to i64
  %255 = add i64 %254, 8
  %256 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %252, i64 noundef %255, i32 noundef %256)
  store i32 1, ptr %18, align 4, !tbaa !9
  br label %257

257:                                              ; preds = %228, %129
  %258 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %258, ptr %14, align 4, !tbaa !9
  %259 = load ptr, ptr %7, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.w2c_hermes, ptr %259, i32 0, i32 6
  %261 = load i32, ptr %17, align 4, !tbaa !9
  %262 = zext i32 %261 to i64
  %263 = add i64 %262, 4
  %264 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %260, i64 noundef %263, i32 noundef %264)
  %265 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %265, ptr %17, align 4, !tbaa !9
  %266 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %266, ptr %18, align 4, !tbaa !9
  %267 = load ptr, ptr %7, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.w2c_hermes, ptr %267, i32 0, i32 6
  %269 = load i32, ptr %17, align 4, !tbaa !9
  %270 = zext i32 %269 to i64
  %271 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %268, i64 noundef %270, i32 noundef %271)
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, 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 void
}

declare i32 @w2c_hermes_hermes0x3A0x3ACompiledRegExp0x3A0x3ACompiledRegExp0x28hermes0x3A0x3ACompiledRegExp0x260x260x29(ptr noundef, i32 noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Ftree_balance_after_insert0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Ftree_node_base0x3Cvoid0x2A0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Ftree_node_base0x3Cvoid0x2A0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Ftree_node_base0x3Cvoid0x2A0x3E0x2A0x29(ptr 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 = { "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 }

!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: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) local_unnamed_addr #0

; 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 void @i32_store8(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

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

declare i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef, i32 noundef) local_unnamed_addr #1

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

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

11:                                               ; preds = %6
  %12 = add i32 %2, 4
  br label %.loopexit153

13:                                               ; preds = %6
  %14 = zext i32 %3 to i64
  %15 = add nuw nsw i64 %14, 4
  %16 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %15)
  %17 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %14)
  br label %.backedge

.backedge:                                        ; preds = %.backedge.backedge, %13
  %.0137 = phi i32 [ %10, %13 ], [ %.0137.be, %.backedge.backedge ]
  %18 = zext i32 %.0137 to i64
  %19 = add nuw nsw i64 %18, 16
  %20 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %19)
  %.not148 = icmp ugt i32 %20, %17
  br i1 %.not148, label %26, label %21

21:                                               ; preds = %.backedge
  %22 = icmp ult i32 %20, %17
  br i1 %22, label %30, label %23

23:                                               ; preds = %21
  %24 = add nuw nsw i64 %18, 20
  %25 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %24)
  %.not149 = icmp ult i32 %16, %25
  br i1 %.not149, label %26, label %28

26:                                               ; preds = %23, %.backedge
  %27 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %18)
  %.not150 = icmp eq i32 %27, 0
  br i1 %.not150, label %.loopexit153, label %.backedge.backedge

.backedge.backedge:                               ; preds = %26, %30
  %.0137.be = phi i32 [ %32, %30 ], [ %27, %26 ]
  br label %.backedge

28:                                               ; preds = %23
  %29 = icmp ult i32 %25, %16
  br i1 %29, label %30, label %.loopexit

30:                                               ; preds = %28, %21
  %31 = add nuw nsw i64 %18, 4
  %32 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %31)
  %.not151 = icmp eq i32 %32, 0
  br i1 %.not151, label %33, label %.backedge.backedge

33:                                               ; preds = %30
  %34 = add i32 %.0137, 4
  br label %.loopexit153

.loopexit153:                                     ; preds = %26, %33, %11
  %.0140 = phi i32 [ %12, %11 ], [ %34, %33 ], [ %.0137, %26 ]
  %.0 = phi i32 [ %12, %11 ], [ %.0137, %33 ], [ %.0137, %26 ]
  %35 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %0, i32 noundef 100) #3
  %36 = zext i32 %4 to i64
  %37 = tail call i64 @i64_load(ptr noundef nonnull %7, i64 noundef %36)
  %38 = zext i32 %35 to i64
  %39 = add nuw nsw i64 %38, 16
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %39, i64 noundef %37)
  %40 = add i32 %35, 24
  %41 = tail call i32 @w2c_hermes_hermes0x3A0x3ACompiledRegExp0x3A0x3ACompiledRegExp0x28hermes0x3A0x3ACompiledRegExp0x260x260x29(ptr noundef %0, i32 noundef %40, i32 noundef %5) #3
  %42 = add nuw nsw i64 %38, 8
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %42, i32 noundef %.0)
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %38, i64 noundef 0)
  %43 = zext i32 %.0140 to i64
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %43, i32 noundef %35)
  %44 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %8)
  %45 = zext i32 %44 to i64
  %46 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %45)
  %.not152 = icmp eq i32 %46, 0
  br i1 %.not152, label %49, label %47

47:                                               ; preds = %.loopexit153
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %8, i32 noundef %46)
  %48 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %43)
  br label %49

49:                                               ; preds = %47, %.loopexit153
  %.1 = phi i32 [ %48, %47 ], [ %35, %.loopexit153 ]
  %50 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %9)
  tail call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Ftree_balance_after_insert0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Ftree_node_base0x3Cvoid0x2A0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Ftree_node_base0x3Cvoid0x2A0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Ftree_node_base0x3Cvoid0x2A0x3E0x2A0x29(ptr noundef %0, i32 noundef %50, i32 noundef %.1)
  %51 = add nuw nsw i64 %8, 8
  %52 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %51)
  %53 = add i32 %52, 1
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %51, i32 noundef %53)
  br label %.loopexit

.loopexit:                                        ; preds = %28, %49
  %.0139 = phi i32 [ 1, %49 ], [ 0, %28 ]
  %.1138 = phi i32 [ %35, %49 ], [ %.0137, %28 ]
  %54 = zext i32 %1 to i64
  %55 = add nuw nsw i64 %54, 4
  tail call void @i32_store8(ptr noundef nonnull %7, i64 noundef %55, i32 noundef %.0139)
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %54, i32 noundef %.1138)
  ret void
}

declare i32 @w2c_hermes_hermes0x3A0x3ACompiledRegExp0x3A0x3ACompiledRegExp0x28hermes0x3A0x3ACompiledRegExp0x260x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Ftree_balance_after_insert0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Ftree_node_base0x3Cvoid0x2A0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Ftree_node_base0x3Cvoid0x2A0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Ftree_node_base0x3Cvoid0x2A0x3E0x2A0x29(ptr 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 = { "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 = { 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,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass