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

; 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 i32 @i32_load8_u(ptr noundef, i64 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 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

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

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

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

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

36:                                               ; preds = %7
  %37 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %37, ptr %17, align 4, !tbaa !9
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.w2c_hermes, ptr %38, i32 0, i32 6
  %40 = load i32, ptr %17, align 4, !tbaa !9
  %41 = zext i32 %40 to i64
  %42 = add i64 %41, 1
  %43 = call i32 @i32_load(ptr noundef %39, i64 noundef %42)
  store i32 %43, ptr %17, align 4, !tbaa !9
  %44 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %44, ptr %15, align 4, !tbaa !9
  %45 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %45, ptr %18, align 4, !tbaa !9
  %46 = load ptr, ptr %8, 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, 168
  %51 = call i32 @i32_load(ptr noundef %47, i64 noundef %50)
  store i32 %51, ptr %18, align 4, !tbaa !9
  %52 = load i32, ptr %17, align 4, !tbaa !9
  %53 = load i32, ptr %18, align 4, !tbaa !9
  %54 = icmp uge i32 %52, %53
  %55 = zext i1 %54 to i32
  store i32 %55, ptr %17, align 4, !tbaa !9
  %56 = load i32, ptr %17, align 4, !tbaa !9
  %57 = icmp ne i32 %56, 0
  br i1 %57, label %58, label %59

58:                                               ; preds = %36
  br label %183

59:                                               ; preds = %36
  %60 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %60, ptr %17, align 4, !tbaa !9
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.w2c_hermes, ptr %61, i32 0, i32 6
  %63 = load i32, ptr %17, align 4, !tbaa !9
  %64 = zext i32 %63 to i64
  %65 = add i64 %64, 164
  %66 = call i32 @i32_load(ptr noundef %62, i64 noundef %65)
  store i32 %66, ptr %17, align 4, !tbaa !9
  %67 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %67, ptr %18, align 4, !tbaa !9
  store i32 3, ptr %19, align 4, !tbaa !9
  %68 = load i32, ptr %19, align 4, !tbaa !9
  %69 = and i32 %68, 31
  %70 = load i32, ptr %18, align 4, !tbaa !9
  %71 = shl i32 %70, %69
  store i32 %71, ptr %18, align 4, !tbaa !9
  %72 = load i32, ptr %18, align 4, !tbaa !9
  %73 = load i32, ptr %17, align 4, !tbaa !9
  %74 = add i32 %73, %72
  store i32 %74, ptr %17, align 4, !tbaa !9
  %75 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %75, ptr %18, align 4, !tbaa !9
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.w2c_hermes, ptr %76, i32 0, i32 6
  %78 = load i32, ptr %18, align 4, !tbaa !9
  %79 = zext i32 %78 to i64
  %80 = call i64 @i64_load(ptr noundef %77, i64 noundef %79)
  store i64 %80, ptr %22, align 8, !tbaa !11
  %81 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %81, ptr %16, align 8, !tbaa !11
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.w2c_hermes, ptr %82, i32 0, i32 6
  %84 = load i32, ptr %17, align 4, !tbaa !9
  %85 = zext i32 %84 to i64
  %86 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %83, i64 noundef %85, i64 noundef %86)
  %87 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %87, ptr %17, align 4, !tbaa !9
  %88 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %88, ptr %18, align 4, !tbaa !9
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.w2c_hermes, ptr %89, i32 0, i32 6
  %91 = load i32, ptr %17, align 4, !tbaa !9
  %92 = zext i32 %91 to i64
  %93 = add i64 %92, 20
  %94 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %90, i64 noundef %93, i32 noundef %94)
  %95 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %95, ptr %17, align 4, !tbaa !9
  %96 = load ptr, ptr %8, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.w2c_hermes, ptr %96, i32 0, i32 6
  %98 = load i32, ptr %17, align 4, !tbaa !9
  %99 = zext i32 %98 to i64
  %100 = add i64 %99, 16
  %101 = call i32 @i32_load(ptr noundef %97, i64 noundef %100)
  store i32 %101, ptr %17, align 4, !tbaa !9
  %102 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %102, ptr %22, align 8, !tbaa !11
  store i64 32, ptr %23, align 8, !tbaa !11
  %103 = load i64, ptr %23, align 8, !tbaa !11
  %104 = and i64 %103, 63
  %105 = load i64, ptr %22, align 8, !tbaa !11
  %106 = lshr i64 %105, %104
  store i64 %106, ptr %22, align 8, !tbaa !11
  %107 = load i64, ptr %22, align 8, !tbaa !11
  %108 = trunc i64 %107 to i32
  store i32 %108, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %109 = load i32, ptr %19, align 4, !tbaa !9
  %110 = and i32 %109, 31
  %111 = load i32, ptr %18, align 4, !tbaa !9
  %112 = shl i32 %111, %110
  store i32 %112, ptr %18, align 4, !tbaa !9
  %113 = load i32, ptr %18, align 4, !tbaa !9
  %114 = load i32, ptr %17, align 4, !tbaa !9
  %115 = add i32 %114, %113
  store i32 %115, ptr %17, align 4, !tbaa !9
  %116 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %116, ptr %13, align 4, !tbaa !9
  %117 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %117, ptr %18, align 4, !tbaa !9
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.w2c_hermes, ptr %118, i32 0, i32 6
  %120 = load i32, ptr %18, align 4, !tbaa !9
  %121 = zext i32 %120 to i64
  %122 = call i32 @i32_load(ptr noundef %119, i64 noundef %121)
  store i32 %122, ptr %18, align 4, !tbaa !9
  %123 = load i32, ptr %17, align 4, !tbaa !9
  %124 = load i32, ptr %18, align 4, !tbaa !9
  %125 = icmp ult i32 %123, %124
  %126 = zext i1 %125 to i32
  store i32 %126, ptr %17, align 4, !tbaa !9
  %127 = load i32, ptr %17, align 4, !tbaa !9
  %128 = icmp ne i32 %127, 0
  br i1 %128, label %129, label %130

129:                                              ; preds = %59
  br label %201

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

145:                                              ; preds = %130
  br label %201

146:                                              ; preds = %130
  %147 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %147, ptr %17, align 4, !tbaa !9
  %148 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %148, ptr %18, align 4, !tbaa !9
  %149 = load ptr, ptr %8, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.w2c_hermes, ptr %149, i32 0, i32 6
  %151 = load i32, ptr %17, align 4, !tbaa !9
  %152 = zext i32 %151 to i64
  %153 = add i64 %152, 8
  %154 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %150, i64 noundef %153, i32 noundef %154)
  %155 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %155, ptr %17, align 4, !tbaa !9
  %156 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %156, ptr %18, align 4, !tbaa !9
  %157 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %157, ptr %19, align 4, !tbaa !9
  %158 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %158, ptr %20, align 4, !tbaa !9
  %159 = load ptr, ptr %8, align 8, !tbaa !5
  %160 = load i32, ptr %17, align 4, !tbaa !9
  %161 = load i32, ptr %18, align 4, !tbaa !9
  %162 = load i32, ptr %19, align 4, !tbaa !9
  %163 = load i32, ptr %20, align 4, !tbaa !9
  %164 = call i32 @w2c_hermes_hermes0x3A0x3Aregex0x3A0x3AContext0x3Chermes0x3A0x3Aregex0x3A0x3AUTF16RegexTraits0x3E0x3A0x3AprepareToEnterLoopBody0x28hermes0x3A0x3Aregex0x3A0x3AState0x3Chermes0x3A0x3Aregex0x3A0x3AUTF16RegexTraits0x3E0x2A0x2C0x20hermes0x3A0x3Aregex0x3A0x3ABeginLoopInsn0x20const0x2A0x2C0x20llvh0x3A0x3ASmallVector0x3Chermes0x3A0x3Aregex0x3A0x3AContext0x3Chermes0x3A0x3Aregex0x3A0x3AUTF16RegexTraits0x3E0x3A0x3ABacktrackInsn0x2C0x2064u0x3E0x260x29(ptr noundef %159, i32 noundef %160, i32 noundef %161, i32 noundef %162, i32 noundef %163)
  store i32 %164, ptr %17, align 4, !tbaa !9
  br label %219

165:                                              ; preds = %7
  store i32 0, ptr %17, align 4, !tbaa !9
  %166 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %166, ptr %10, align 4, !tbaa !9
  store i32 151207, ptr %18, align 4, !tbaa !9
  %167 = load i32, ptr %18, align 4, !tbaa !9
  %168 = load i32, ptr %17, align 4, !tbaa !9
  %169 = add i32 %168, %167
  store i32 %169, ptr %17, align 4, !tbaa !9
  %170 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %170, ptr %18, align 4, !tbaa !9
  store i32 56495, ptr %19, align 4, !tbaa !9
  %171 = load i32, ptr %19, align 4, !tbaa !9
  %172 = load i32, ptr %18, align 4, !tbaa !9
  %173 = add i32 %172, %171
  store i32 %173, ptr %18, align 4, !tbaa !9
  store i32 712, ptr %19, align 4, !tbaa !9
  %174 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %174, ptr %20, align 4, !tbaa !9
  store i32 63127, ptr %21, align 4, !tbaa !9
  %175 = load i32, ptr %21, align 4, !tbaa !9
  %176 = load i32, ptr %20, align 4, !tbaa !9
  %177 = add i32 %176, %175
  store i32 %177, ptr %20, align 4, !tbaa !9
  %178 = load ptr, ptr %8, align 8, !tbaa !5
  %179 = load i32, ptr %17, align 4, !tbaa !9
  %180 = load i32, ptr %18, align 4, !tbaa !9
  %181 = load i32, ptr %19, align 4, !tbaa !9
  %182 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %178, i32 noundef %179, i32 noundef %180, i32 noundef %181, i32 noundef %182)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

183:                                              ; preds = %58
  store i32 0, ptr %17, align 4, !tbaa !9
  %184 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %184, ptr %10, align 4, !tbaa !9
  store i32 126775, ptr %18, align 4, !tbaa !9
  %185 = load i32, ptr %18, align 4, !tbaa !9
  %186 = load i32, ptr %17, align 4, !tbaa !9
  %187 = add i32 %186, %185
  store i32 %187, ptr %17, align 4, !tbaa !9
  %188 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %188, ptr %18, align 4, !tbaa !9
  store i32 56495, ptr %19, align 4, !tbaa !9
  %189 = load i32, ptr %19, align 4, !tbaa !9
  %190 = load i32, ptr %18, align 4, !tbaa !9
  %191 = add i32 %190, %189
  store i32 %191, ptr %18, align 4, !tbaa !9
  store i32 547, ptr %19, align 4, !tbaa !9
  %192 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %192, ptr %20, align 4, !tbaa !9
  store i32 63153, ptr %21, align 4, !tbaa !9
  %193 = load i32, ptr %21, align 4, !tbaa !9
  %194 = load i32, ptr %20, align 4, !tbaa !9
  %195 = add i32 %194, %193
  store i32 %195, ptr %20, align 4, !tbaa !9
  %196 = load ptr, ptr %8, align 8, !tbaa !5
  %197 = load i32, ptr %17, align 4, !tbaa !9
  %198 = load i32, ptr %18, align 4, !tbaa !9
  %199 = load i32, ptr %19, align 4, !tbaa !9
  %200 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %196, i32 noundef %197, i32 noundef %198, i32 noundef %199, i32 noundef %200)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

201:                                              ; preds = %145, %129
  store i32 0, ptr %17, align 4, !tbaa !9
  %202 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %202, ptr %10, align 4, !tbaa !9
  store i32 169824, ptr %18, align 4, !tbaa !9
  %203 = load i32, ptr %18, align 4, !tbaa !9
  %204 = load i32, ptr %17, align 4, !tbaa !9
  %205 = add i32 %204, %203
  store i32 %205, ptr %17, align 4, !tbaa !9
  %206 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %206, ptr %18, align 4, !tbaa !9
  store i32 56495, ptr %19, align 4, !tbaa !9
  %207 = load i32, ptr %19, align 4, !tbaa !9
  %208 = load i32, ptr %18, align 4, !tbaa !9
  %209 = add i32 %208, %207
  store i32 %209, ptr %18, align 4, !tbaa !9
  store i32 189, ptr %19, align 4, !tbaa !9
  %210 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %210, ptr %20, align 4, !tbaa !9
  store i32 49688, ptr %21, align 4, !tbaa !9
  %211 = load i32, ptr %21, align 4, !tbaa !9
  %212 = load i32, ptr %20, align 4, !tbaa !9
  %213 = add i32 %212, %211
  store i32 %213, ptr %20, align 4, !tbaa !9
  %214 = load ptr, ptr %8, align 8, !tbaa !5
  %215 = load i32, ptr %17, align 4, !tbaa !9
  %216 = load i32, ptr %18, align 4, !tbaa !9
  %217 = load i32, ptr %19, align 4, !tbaa !9
  %218 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %214, i32 noundef %215, i32 noundef %216, i32 noundef %217, i32 noundef %218)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

219:                                              ; preds = %146
  %220 = load i32, ptr %17, align 4, !tbaa !9
  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 4, 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 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  ret i32 %220
}

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}


; 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_load8_u(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: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #1

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Aregex0x3A0x3AContext0x3Chermes0x3A0x3Aregex0x3A0x3AUTF16RegexTraits0x3E0x3A0x3AperformEnterNonGreedyLoop0x28hermes0x3A0x3Aregex0x3A0x3AState0x3Chermes0x3A0x3Aregex0x3A0x3AUTF16RegexTraits0x3E0x2A0x2C0x20hermes0x3A0x3Aregex0x3A0x3ABeginLoopInsn0x20const0x2A0x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Aregex0x3A0x3ALoopData0x2C0x20llvh0x3A0x3ASmallVector0x3Chermes0x3A0x3Aregex0x3A0x3AContext0x3Chermes0x3A0x3Aregex0x3A0x3AUTF16RegexTraits0x3E0x3A0x3ABacktrackInsn0x2C0x2064u0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #3 {
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %3 to i64
  %10 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %9)
  %11 = icmp eq i32 %10, 24
  br i1 %11, label %12, label %41

12:                                               ; preds = %7
  %13 = add nuw nsw i64 %9, 1
  %14 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %13)
  %15 = zext i32 %2 to i64
  %16 = add nuw nsw i64 %15, 168
  %17 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %16)
  %.not = icmp ult i32 %14, %17
  br i1 %.not, label %18, label %42

18:                                               ; preds = %12
  %19 = add nuw nsw i64 %15, 164
  %20 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %19)
  %21 = shl i32 %14, 3
  %22 = add i32 %20, %21
  %23 = zext i32 %5 to i64
  %24 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %23)
  %25 = zext i32 %22 to i64
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %25, i64 noundef %24)
  %26 = add nuw nsw i64 %15, 20
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %26, i32 noundef %4)
  %27 = zext i32 %1 to i64
  %28 = add nuw nsw i64 %27, 16
  %29 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %28)
  %sh.diff = lshr i64 %24, 31
  %tr.sh.diff = trunc i64 %sh.diff to i32
  %30 = and i32 %tr.sh.diff, -2
  %31 = add i32 %29, %30
  %32 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %15)
  %33 = icmp ult i32 %31, %32
  br i1 %33, label %43, label %34

34:                                               ; preds = %18
  %35 = add nuw nsw i64 %15, 4
  %36 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %35)
  %37 = icmp ult i32 %36, %31
  br i1 %37, label %43, label %38

38:                                               ; preds = %34
  %39 = add nuw nsw i64 %15, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %39, i32 noundef %31)
  %40 = tail call i32 @w2c_hermes_hermes0x3A0x3Aregex0x3A0x3AContext0x3Chermes0x3A0x3Aregex0x3A0x3AUTF16RegexTraits0x3E0x3A0x3AprepareToEnterLoopBody0x28hermes0x3A0x3Aregex0x3A0x3AState0x3Chermes0x3A0x3Aregex0x3A0x3AUTF16RegexTraits0x3E0x2A0x2C0x20hermes0x3A0x3Aregex0x3A0x3ABeginLoopInsn0x20const0x2A0x2C0x20llvh0x3A0x3ASmallVector0x3Chermes0x3A0x3Aregex0x3A0x3AContext0x3Chermes0x3A0x3Aregex0x3A0x3AUTF16RegexTraits0x3E0x3A0x3ABacktrackInsn0x2C0x2064u0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %6)
  ret i32 %40

41:                                               ; preds = %7
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 151207, i32 noundef 56495, i32 noundef 712, i32 noundef 63127) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

42:                                               ; preds = %12
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 126775, i32 noundef 56495, i32 noundef 547, i32 noundef 63153) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

43:                                               ; preds = %34, %18
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 169824, i32 noundef 56495, i32 noundef 189, i32 noundef 49688) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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)"}


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