; 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

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

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

65:                                               ; preds = %5
  br label %291

66:                                               ; preds = %5
  %67 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %67, ptr %15, align 4, !tbaa !9
  store i32 36, ptr %16, align 4, !tbaa !9
  %68 = load i32, ptr %16, align 4, !tbaa !9
  %69 = load i32, ptr %15, align 4, !tbaa !9
  %70 = add i32 %69, %68
  store i32 %70, ptr %15, align 4, !tbaa !9
  %71 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %71, ptr %16, align 4, !tbaa !9
  store i32 736, ptr %17, align 4, !tbaa !9
  %72 = load i32, ptr %17, align 4, !tbaa !9
  %73 = load i32, ptr %16, align 4, !tbaa !9
  %74 = add i32 %73, %72
  store i32 %74, ptr %16, align 4, !tbaa !9
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = load i32, ptr %15, align 4, !tbaa !9
  %77 = load i32, ptr %16, align 4, !tbaa !9
  %78 = call i32 @w2c_hermes_llvh0x3A0x3ASmallVectorImpl0x3Chermes0x3A0x3AOptValue0x3Chermes0x3A0x3Avm0x3A0x3ARegExpMatchRange0x3E0x3E0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ASmallVectorImpl0x3Chermes0x3A0x3AOptValue0x3Chermes0x3A0x3Avm0x3A0x3ARegExpMatchRange0x3E0x3E0x20const0x260x29(ptr noundef %75, i32 noundef %76, i32 noundef %77)
  store i32 %78, ptr %15, align 4, !tbaa !9
  %79 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %79, ptr %15, align 4, !tbaa !9
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.w2c_hermes, ptr %80, i32 0, i32 6
  %82 = load i32, ptr %15, align 4, !tbaa !9
  %83 = zext i32 %82 to i64
  %84 = add i64 %83, 40
  %85 = call i32 @i32_load(ptr noundef %81, i64 noundef %84)
  store i32 %85, ptr %15, align 4, !tbaa !9
  %86 = load i32, ptr %15, align 4, !tbaa !9
  %87 = icmp ne i32 %86, 0
  %88 = xor i1 %87, true
  %89 = zext i1 %88 to i32
  store i32 %89, ptr %15, align 4, !tbaa !9
  %90 = load i32, ptr %15, align 4, !tbaa !9
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %92, label %93

92:                                               ; preds = %66
  br label %291

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

108:                                              ; preds = %93
  br label %291

109:                                              ; preds = %93
  %110 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %110, ptr %20, align 8, !tbaa !11
  %111 = load i64, ptr %20, align 8, !tbaa !11
  %112 = trunc i64 %111 to i32
  store i32 %112, ptr %15, align 4, !tbaa !9
  %113 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %113, ptr %12, align 4, !tbaa !9
  %114 = load i32, ptr %15, align 4, !tbaa !9
  %115 = icmp ne i32 %114, 0
  %116 = xor i1 %115, true
  %117 = zext i1 %116 to i32
  store i32 %117, ptr %15, align 4, !tbaa !9
  %118 = load i32, ptr %15, align 4, !tbaa !9
  %119 = icmp ne i32 %118, 0
  br i1 %119, label %120, label %121

120:                                              ; preds = %109
  br label %358

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

137:                                              ; preds = %121
  br label %291

138:                                              ; preds = %121
  %139 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %139, ptr %15, align 4, !tbaa !9
  %140 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %140, ptr %16, align 4, !tbaa !9
  store i32 536, ptr %17, align 4, !tbaa !9
  %141 = load i32, ptr %17, align 4, !tbaa !9
  %142 = load i32, ptr %16, align 4, !tbaa !9
  %143 = add i32 %142, %141
  store i32 %143, ptr %16, align 4, !tbaa !9
  %144 = load ptr, ptr %6, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.w2c_hermes, ptr %144, i32 0, i32 6
  %146 = load i32, ptr %15, align 4, !tbaa !9
  %147 = zext i32 %146 to i64
  %148 = add i64 %147, 12
  %149 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %145, i64 noundef %148, i32 noundef %149)
  %150 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %150, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %151 = load ptr, ptr %6, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.w2c_hermes, ptr %151, i32 0, i32 6
  %153 = load i32, ptr %15, align 4, !tbaa !9
  %154 = zext i32 %153 to i64
  %155 = add i64 %154, 8
  %156 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %152, i64 noundef %155, i32 noundef %156)
  %157 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %157, ptr %15, align 4, !tbaa !9
  %158 = load ptr, ptr %6, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.w2c_hermes, ptr %158, i32 0, i32 6
  %160 = load i32, ptr %15, align 4, !tbaa !9
  %161 = zext i32 %160 to i64
  %162 = add i64 %161, 36
  %163 = call i32 @i32_load(ptr noundef %159, i64 noundef %162)
  store i32 %163, ptr %15, align 4, !tbaa !9
  %164 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %164, ptr %12, align 4, !tbaa !9
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.w2c_hermes, ptr %165, i32 0, i32 6
  %167 = load i32, ptr %15, align 4, !tbaa !9
  %168 = zext i32 %167 to i64
  %169 = add i64 %168, 8
  %170 = call i32 @i32_load8_u(ptr noundef %166, i64 noundef %169)
  store i32 %170, ptr %15, align 4, !tbaa !9
  %171 = load i32, ptr %15, align 4, !tbaa !9
  %172 = icmp ne i32 %171, 0
  %173 = xor i1 %172, true
  %174 = zext i1 %173 to i32
  store i32 %174, ptr %15, align 4, !tbaa !9
  %175 = load i32, ptr %15, align 4, !tbaa !9
  %176 = icmp ne i32 %175, 0
  br i1 %176, label %177, label %178

177:                                              ; preds = %138
  br label %376

178:                                              ; preds = %138
  %179 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %179, ptr %15, align 4, !tbaa !9
  store i32 16, ptr %16, align 4, !tbaa !9
  %180 = load i32, ptr %16, align 4, !tbaa !9
  %181 = load i32, ptr %15, align 4, !tbaa !9
  %182 = add i32 %181, %180
  store i32 %182, ptr %15, align 4, !tbaa !9
  %183 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %183, ptr %16, align 4, !tbaa !9
  %184 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %184, ptr %17, align 4, !tbaa !9
  store i32 8, 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 %12, align 4, !tbaa !9
  store i32 %188, ptr %18, align 4, !tbaa !9
  %189 = load ptr, ptr %6, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.w2c_hermes, ptr %189, i32 0, i32 6
  %191 = load i32, ptr %18, align 4, !tbaa !9
  %192 = zext i32 %191 to i64
  %193 = call i32 @i32_load(ptr noundef %190, i64 noundef %192)
  store i32 %193, ptr %18, align 4, !tbaa !9
  %194 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %194, ptr %19, align 4, !tbaa !9
  %195 = load ptr, ptr %6, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.w2c_hermes, ptr %195, i32 0, i32 6
  %197 = load i32, ptr %19, align 4, !tbaa !9
  %198 = zext i32 %197 to i64
  %199 = add i64 %198, 4
  %200 = call i32 @i32_load(ptr noundef %196, i64 noundef %199)
  store i32 %200, ptr %19, align 4, !tbaa !9
  %201 = load ptr, ptr %6, align 8, !tbaa !5
  %202 = load i32, ptr %15, align 4, !tbaa !9
  %203 = load i32, ptr %16, align 4, !tbaa !9
  %204 = load i32, ptr %17, align 4, !tbaa !9
  %205 = load i32, ptr %18, align 4, !tbaa !9
  %206 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3Aslice0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef %201, i32 noundef %202, i32 noundef %203, i32 noundef %204, i32 noundef %205, i32 noundef %206)
  %207 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %207, ptr %15, align 4, !tbaa !9
  %208 = load ptr, ptr %6, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.w2c_hermes, ptr %208, i32 0, i32 6
  %210 = load i32, ptr %15, align 4, !tbaa !9
  %211 = zext i32 %210 to i64
  %212 = add i64 %211, 8
  %213 = call i32 @i32_load(ptr noundef %209, i64 noundef %212)
  store i32 %213, ptr %15, align 4, !tbaa !9
  %214 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %214, ptr %9, align 4, !tbaa !9
  %215 = load i32, ptr %15, align 4, !tbaa !9
  %216 = icmp ne i32 %215, 0
  br i1 %216, label %217, label %233

217:                                              ; preds = %178
  %218 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %218, ptr %15, align 4, !tbaa !9
  %219 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %219, ptr %16, align 4, !tbaa !9
  %220 = load ptr, ptr %6, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.w2c_hermes, ptr %220, i32 0, i32 6
  %222 = load i32, ptr %16, align 4, !tbaa !9
  %223 = zext i32 %222 to i64
  %224 = call i32 @i32_load(ptr noundef %221, i64 noundef %223)
  store i32 %224, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %225 = load i32, ptr %17, align 4, !tbaa !9
  %226 = load i32, ptr %16, align 4, !tbaa !9
  %227 = sub i32 %226, %225
  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 %15, align 4, !tbaa !9
  %231 = zext i32 %230 to i64
  %232 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %229, i64 noundef %231, i32 noundef %232)
  br label %233

233:                                              ; preds = %217, %178
  %234 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %234, ptr %15, align 4, !tbaa !9
  %235 = load ptr, ptr %6, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.w2c_hermes, ptr %235, i32 0, i32 6
  %237 = load i32, ptr %15, align 4, !tbaa !9
  %238 = zext i32 %237 to i64
  %239 = add i64 %238, 16
  %240 = call i32 @i32_load(ptr noundef %236, i64 noundef %239)
  store i32 %240, ptr %15, align 4, !tbaa !9
  %241 = load i32, ptr %15, align 4, !tbaa !9
  switch i32 %241, label %244 [
    i32 0, label %242
    i32 1, label %243
  ]

242:                                              ; preds = %233
  br label %245

243:                                              ; preds = %233
  br label %270

244:                                              ; preds = %233
  br label %252

245:                                              ; preds = %242
  %246 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %246, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %247 = load ptr, ptr %6, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.w2c_hermes, ptr %247, i32 0, i32 6
  %249 = load i32, ptr %15, align 4, !tbaa !9
  %250 = zext i32 %249 to i64
  %251 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %248, i64 noundef %250, i32 noundef %251)
  br label %330

252:                                              ; preds = %244
  store i32 0, ptr %15, align 4, !tbaa !9
  %253 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %253, ptr %11, align 4, !tbaa !9
  store i32 109639, ptr %16, align 4, !tbaa !9
  %254 = load i32, ptr %16, align 4, !tbaa !9
  %255 = load i32, ptr %15, align 4, !tbaa !9
  %256 = add i32 %255, %254
  store i32 %256, ptr %15, align 4, !tbaa !9
  %257 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %257, ptr %16, align 4, !tbaa !9
  store i32 77564, ptr %17, align 4, !tbaa !9
  %258 = load i32, ptr %17, align 4, !tbaa !9
  %259 = load i32, ptr %16, align 4, !tbaa !9
  %260 = add i32 %259, %258
  store i32 %260, ptr %16, align 4, !tbaa !9
  store i32 179, ptr %17, align 4, !tbaa !9
  %261 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %261, ptr %18, align 4, !tbaa !9
  store i32 90402, ptr %19, align 4, !tbaa !9
  %262 = load i32, ptr %19, align 4, !tbaa !9
  %263 = load i32, ptr %18, align 4, !tbaa !9
  %264 = add i32 %263, %262
  store i32 %264, ptr %18, align 4, !tbaa !9
  %265 = load ptr, ptr %6, align 8, !tbaa !5
  %266 = load i32, ptr %15, align 4, !tbaa !9
  %267 = load i32, ptr %16, align 4, !tbaa !9
  %268 = load i32, ptr %17, align 4, !tbaa !9
  %269 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %265, i32 noundef %266, i32 noundef %267, i32 noundef %268, i32 noundef %269)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

270:                                              ; preds = %243
  %271 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %271, ptr %15, align 4, !tbaa !9
  %272 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %272, ptr %16, align 4, !tbaa !9
  %273 = load ptr, ptr %6, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.w2c_hermes, ptr %273, i32 0, i32 6
  %275 = load i32, ptr %16, align 4, !tbaa !9
  %276 = zext i32 %275 to i64
  %277 = add i64 %276, 24
  %278 = call i64 @i64_load(ptr noundef %274, i64 noundef %277)
  store i64 %278, ptr %21, align 8, !tbaa !11
  %279 = load ptr, ptr %6, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.w2c_hermes, ptr %279, i32 0, i32 6
  %281 = load i32, ptr %15, align 4, !tbaa !9
  %282 = zext i32 %281 to i64
  %283 = add i64 %282, 8
  %284 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %280, i64 noundef %283, i64 noundef %284)
  %285 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %285, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %286 = load ptr, ptr %6, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.w2c_hermes, ptr %286, i32 0, i32 6
  %288 = load i32, ptr %15, align 4, !tbaa !9
  %289 = zext i32 %288 to i64
  %290 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %287, i64 noundef %289, i32 noundef %290)
  br label %330

291:                                              ; preds = %137, %108, %92, %65
  %292 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %292, ptr %15, align 4, !tbaa !9
  store i32 5516, ptr %16, align 4, !tbaa !9
  %293 = load i32, ptr %16, align 4, !tbaa !9
  %294 = load i32, ptr %15, align 4, !tbaa !9
  %295 = add i32 %294, %293
  store i32 %295, ptr %15, align 4, !tbaa !9
  %296 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %296, ptr %16, align 4, !tbaa !9
  store i32 14, ptr %17, align 4, !tbaa !9
  %297 = load ptr, ptr %6, align 8, !tbaa !5
  %298 = load i32, ptr %15, align 4, !tbaa !9
  %299 = load i32, ptr %16, align 4, !tbaa !9
  %300 = load i32, ptr %17, align 4, !tbaa !9
  %301 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef %297, i32 noundef %298, i32 noundef %299, i32 noundef %300)
  store i32 %301, ptr %15, align 4, !tbaa !9
  %302 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %302, ptr %9, align 4, !tbaa !9
  %303 = load i32, ptr %15, align 4, !tbaa !9
  %304 = icmp ne i32 %303, 0
  %305 = xor i1 %304, true
  %306 = zext i1 %305 to i32
  store i32 %306, ptr %15, align 4, !tbaa !9
  %307 = load i32, ptr %15, align 4, !tbaa !9
  %308 = icmp ne i32 %307, 0
  br i1 %308, label %309, label %310

309:                                              ; preds = %291
  br label %394

310:                                              ; preds = %291
  %311 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %311, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %312 = load ptr, ptr %6, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.w2c_hermes, ptr %312, i32 0, i32 6
  %314 = load i32, ptr %15, align 4, !tbaa !9
  %315 = zext i32 %314 to i64
  %316 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %313, i64 noundef %315, i32 noundef %316)
  %317 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %317, ptr %15, align 4, !tbaa !9
  %318 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %318, ptr %16, align 4, !tbaa !9
  %319 = load i32, ptr %16, align 4, !tbaa !9
  %320 = zext i32 %319 to i64
  store i64 %320, ptr %21, align 8, !tbaa !11
  store i64 -844424930131968, ptr %22, align 8, !tbaa !11
  %321 = load i64, ptr %22, align 8, !tbaa !11
  %322 = load i64, ptr %21, align 8, !tbaa !11
  %323 = or i64 %322, %321
  store i64 %323, ptr %21, align 8, !tbaa !11
  %324 = load ptr, ptr %6, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.w2c_hermes, ptr %324, i32 0, i32 6
  %326 = load i32, ptr %15, align 4, !tbaa !9
  %327 = zext i32 %326 to i64
  %328 = add i64 %327, 8
  %329 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %325, i64 noundef %328, i64 noundef %329)
  br label %330

330:                                              ; preds = %310, %270, %245
  %331 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %331, ptr %15, align 4, !tbaa !9
  %332 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %332, ptr %16, align 4, !tbaa !9
  %333 = load ptr, ptr %6, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.w2c_hermes, ptr %333, i32 0, i32 6
  %335 = load i32, ptr %16, align 4, !tbaa !9
  %336 = zext i32 %335 to i64
  %337 = add i64 %336, 36
  %338 = call i32 @i32_load(ptr noundef %334, i64 noundef %337)
  store i32 %338, ptr %16, align 4, !tbaa !9
  %339 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %339, ptr %9, align 4, !tbaa !9
  %340 = load i32, ptr %15, align 4, !tbaa !9
  %341 = load i32, ptr %16, align 4, !tbaa !9
  %342 = icmp ne i32 %340, %341
  %343 = zext i1 %342 to i32
  store i32 %343, ptr %15, align 4, !tbaa !9
  %344 = load i32, ptr %15, align 4, !tbaa !9
  %345 = icmp ne i32 %344, 0
  br i1 %345, label %346, label %350

346:                                              ; preds = %330
  %347 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %347, ptr %15, align 4, !tbaa !9
  %348 = load ptr, ptr %6, align 8, !tbaa !5
  %349 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %348, i32 noundef %349)
  br label %350

350:                                              ; preds = %346, %330
  %351 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %351, ptr %15, align 4, !tbaa !9
  store i32 96, ptr %16, align 4, !tbaa !9
  %352 = load i32, ptr %16, align 4, !tbaa !9
  %353 = load i32, ptr %15, align 4, !tbaa !9
  %354 = add i32 %353, %352
  store i32 %354, ptr %15, align 4, !tbaa !9
  %355 = load i32, ptr %15, align 4, !tbaa !9
  %356 = load ptr, ptr %6, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.w2c_hermes, ptr %356, i32 0, i32 3
  store i32 %355, ptr %357, align 8, !tbaa !13
  br label %412

358:                                              ; preds = %120
  store i32 0, ptr %15, align 4, !tbaa !9
  %359 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %359, ptr %11, align 4, !tbaa !9
  store i32 147142, ptr %16, align 4, !tbaa !9
  %360 = load i32, ptr %16, align 4, !tbaa !9
  %361 = load i32, ptr %15, align 4, !tbaa !9
  %362 = add i32 %361, %360
  store i32 %362, ptr %15, align 4, !tbaa !9
  %363 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %363, ptr %16, align 4, !tbaa !9
  store i32 82611, ptr %17, align 4, !tbaa !9
  %364 = load i32, ptr %17, align 4, !tbaa !9
  %365 = load i32, ptr %16, align 4, !tbaa !9
  %366 = add i32 %365, %364
  store i32 %366, ptr %16, align 4, !tbaa !9
  store i32 106, ptr %17, align 4, !tbaa !9
  %367 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %367, ptr %18, align 4, !tbaa !9
  store i32 28119, ptr %19, align 4, !tbaa !9
  %368 = load i32, ptr %19, align 4, !tbaa !9
  %369 = load i32, ptr %18, align 4, !tbaa !9
  %370 = add i32 %369, %368
  store i32 %370, ptr %18, align 4, !tbaa !9
  %371 = load ptr, ptr %6, align 8, !tbaa !5
  %372 = load i32, ptr %15, align 4, !tbaa !9
  %373 = load i32, ptr %16, align 4, !tbaa !9
  %374 = load i32, ptr %17, align 4, !tbaa !9
  %375 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %371, i32 noundef %372, i32 noundef %373, i32 noundef %374, i32 noundef %375)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

376:                                              ; preds = %177
  store i32 0, ptr %15, align 4, !tbaa !9
  %377 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %377, ptr %11, align 4, !tbaa !9
  store i32 118714, ptr %16, align 4, !tbaa !9
  %378 = load i32, ptr %16, align 4, !tbaa !9
  %379 = load i32, ptr %15, align 4, !tbaa !9
  %380 = add i32 %379, %378
  store i32 %380, ptr %15, align 4, !tbaa !9
  %381 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %381, ptr %16, align 4, !tbaa !9
  store i32 83198, ptr %17, align 4, !tbaa !9
  %382 = load i32, ptr %17, align 4, !tbaa !9
  %383 = load i32, ptr %16, align 4, !tbaa !9
  %384 = add i32 %383, %382
  store i32 %384, ptr %16, align 4, !tbaa !9
  store i32 58, ptr %17, align 4, !tbaa !9
  %385 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %385, ptr %18, align 4, !tbaa !9
  store i32 90402, ptr %19, align 4, !tbaa !9
  %386 = load i32, ptr %19, align 4, !tbaa !9
  %387 = load i32, ptr %18, align 4, !tbaa !9
  %388 = add i32 %387, %386
  store i32 %388, ptr %18, align 4, !tbaa !9
  %389 = load ptr, ptr %6, align 8, !tbaa !5
  %390 = load i32, ptr %15, align 4, !tbaa !9
  %391 = load i32, ptr %16, align 4, !tbaa !9
  %392 = load i32, ptr %17, align 4, !tbaa !9
  %393 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %389, i32 noundef %390, i32 noundef %391, i32 noundef %392, i32 noundef %393)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

394:                                              ; preds = %309
  store i32 0, ptr %15, align 4, !tbaa !9
  %395 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %395, ptr %11, align 4, !tbaa !9
  store i32 195004, ptr %16, align 4, !tbaa !9
  %396 = load i32, ptr %16, align 4, !tbaa !9
  %397 = load i32, ptr %15, align 4, !tbaa !9
  %398 = add i32 %397, %396
  store i32 %398, ptr %15, align 4, !tbaa !9
  %399 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %399, ptr %16, align 4, !tbaa !9
  store i32 83341, ptr %17, align 4, !tbaa !9
  %400 = load i32, ptr %17, align 4, !tbaa !9
  %401 = load i32, ptr %16, align 4, !tbaa !9
  %402 = add i32 %401, %400
  store i32 %402, ptr %16, align 4, !tbaa !9
  store i32 273, ptr %17, align 4, !tbaa !9
  %403 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %403, ptr %18, align 4, !tbaa !9
  store i32 90626, ptr %19, align 4, !tbaa !9
  %404 = load i32, ptr %19, align 4, !tbaa !9
  %405 = load i32, ptr %18, align 4, !tbaa !9
  %406 = add i32 %405, %404
  store i32 %406, ptr %18, align 4, !tbaa !9
  %407 = load ptr, ptr %6, align 8, !tbaa !5
  %408 = load i32, ptr %15, align 4, !tbaa !9
  %409 = load i32, ptr %16, align 4, !tbaa !9
  %410 = load i32, ptr %17, align 4, !tbaa !9
  %411 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %407, i32 noundef %408, i32 noundef %409, i32 noundef %410, i32 noundef %411)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

412:                                              ; preds = %350
  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 8, 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 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, 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
}

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AregExpLastMatchGetter0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(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 %62, 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)
  %.not224 = icmp eq i32 %21, 0
  br i1 %.not224, label %62, label %22

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

26:                                               ; preds = %22
  %27 = and i64 %24, 4294967295
  %.not225 = icmp eq i64 %27, 0
  br i1 %.not225, label %74, label %28

28:                                               ; preds = %26
  %29 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %27)
  %30 = add i32 %29, -184549376
  %31 = icmp ult i32 %30, -134217728
  br i1 %31, label %62, label %32

32:                                               ; preds = %28
  %33 = add i32 %3, 536
  %34 = add nuw nsw i64 %10, 12
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %34, i32 noundef %33)
  %35 = add nuw nsw i64 %10, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %35, i32 noundef 0)
  %36 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %13)
  %37 = zext i32 %36 to i64
  %38 = add nuw nsw i64 %37, 8
  %39 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %38)
  %.not226 = icmp eq i32 %39, 0
  br i1 %.not226, label %75, label %40

40:                                               ; preds = %32
  %41 = add i32 %7, -80
  %42 = add i32 %7, -88
  %43 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %37)
  %44 = add nuw nsw i64 %37, 4
  %45 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %44)
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3Aslice0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %41, i32 noundef %3, i32 noundef %42, i32 noundef %43, i32 noundef %45) #4
  %46 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %35)
  %.not227 = icmp eq i32 %46, 0
  br i1 %.not227, label %51, label %47

47:                                               ; preds = %40
  %48 = zext i32 %46 to i64
  %49 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %48)
  %50 = add i32 %49, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %48, i32 noundef %50)
  br label %51

51:                                               ; preds = %47, %40
  %52 = add nuw nsw i64 %10, 16
  %53 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %52)
  switch i32 %53, label %56 [
    i32 0, label %54
    i32 1, label %57
  ]

54:                                               ; preds = %51
  %55 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %55, i32 noundef 0)
  br label %70

56:                                               ; preds = %51
  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

57:                                               ; preds = %51
  %58 = add nuw nsw i64 %10, 24
  %59 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %58)
  %60 = zext i32 %1 to i64
  %61 = add nuw nsw i64 %60, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %61, i64 noundef %59)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %60, i32 noundef 1)
  br label %70

62:                                               ; preds = %28, %22, %17, %5
  %63 = add i32 %3, 5516
  %64 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef nonnull %0, i32 noundef %63, i32 noundef %3, i32 noundef 14) #4
  %.not228 = icmp eq i32 %64, 0
  br i1 %.not228, label %76, label %65

65:                                               ; preds = %62
  %66 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %66, i32 noundef 1)
  %67 = zext i32 %64 to i64
  %68 = or disjoint i64 %67, -844424930131968
  %69 = add nuw nsw i64 %66, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %69, i64 noundef %68)
  br label %70

70:                                               ; preds = %65, %57, %54
  %71 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %13)
  %.not229 = icmp eq i32 %12, %71
  br i1 %.not229, label %73, label %72

72:                                               ; preds = %70
  tail call void @w2c_hermes_dlfree(ptr noundef nonnull %0, i32 noundef %71) #4
  br label %73

73:                                               ; preds = %72, %70
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

74:                                               ; preds = %26
  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

75:                                               ; preds = %32
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 118714, i32 noundef 83198, i32 noundef 58, i32 noundef 90402) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

76:                                               ; preds = %62
  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
}

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