; 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_store8(ptr noundef, i64 noundef, i32 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 void @i32_store16(ptr noundef, i64 noundef, i32 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_hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3Aadvance0x28hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3AGrammarContext0x29(ptr noundef, i32 noundef, i32 noundef) #4

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

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

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

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

52:                                               ; preds = %4
  %53 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %53, ptr %16, align 4, !tbaa !9
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.w2c_hermes, ptr %54, i32 0, i32 6
  %56 = load i32, ptr %16, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = add i64 %57, 4
  %59 = call i32 @i32_load(ptr noundef %55, i64 noundef %58)
  store i32 %59, ptr %16, align 4, !tbaa !9
  %60 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %60, ptr %10, align 4, !tbaa !9
  %61 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %61, ptr %16, align 4, !tbaa !9
  %62 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %62, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %63 = load i32, ptr %18, align 4, !tbaa !9
  %64 = load i32, ptr %17, align 4, !tbaa !9
  %65 = add i32 %64, %63
  store i32 %65, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = load i32, ptr %17, align 4, !tbaa !9
  %68 = load i32, ptr %18, align 4, !tbaa !9
  %69 = call i32 @w2c_hermes_hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3Aadvance0x28hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3AGrammarContext0x29(ptr noundef %66, i32 noundef %67, i32 noundef %68)
  store i32 %69, ptr %17, align 4, !tbaa !9
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.w2c_hermes, ptr %70, i32 0, i32 6
  %72 = load i32, ptr %16, align 4, !tbaa !9
  %73 = zext i32 %72 to i64
  %74 = add i64 %73, 872
  %75 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %71, i64 noundef %74, i32 noundef %75)
  %76 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %76, ptr %16, align 4, !tbaa !9
  store i32 32, ptr %17, align 4, !tbaa !9
  %77 = load i32, ptr %17, align 4, !tbaa !9
  %78 = load i32, ptr %16, align 4, !tbaa !9
  %79 = add i32 %78, %77
  store i32 %79, ptr %16, align 4, !tbaa !9
  %80 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %80, ptr %17, align 4, !tbaa !9
  %81 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %81, ptr %18, align 4, !tbaa !9
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = load i32, ptr %16, align 4, !tbaa !9
  %84 = load i32, ptr %17, align 4, !tbaa !9
  %85 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Aparser0x3A0x3Adetail0x3A0x3AJSParserImpl0x3A0x3AparseBindingElement0x28hermes0x3A0x3Aparser0x3A0x3Adetail0x3A0x3AParam0x29(ptr noundef %82, i32 noundef %83, i32 noundef %84, i32 noundef %85)
  %86 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %86, ptr %16, align 4, !tbaa !9
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.w2c_hermes, ptr %87, i32 0, i32 6
  %89 = load i32, ptr %16, align 4, !tbaa !9
  %90 = zext i32 %89 to i64
  %91 = add i64 %90, 36
  %92 = call i32 @i32_load8_u(ptr noundef %88, i64 noundef %91)
  store i32 %92, ptr %16, align 4, !tbaa !9
  %93 = load i32, ptr %16, align 4, !tbaa !9
  %94 = icmp ne i32 %93, 0
  %95 = xor i1 %94, true
  %96 = zext i1 %95 to i32
  store i32 %96, ptr %16, align 4, !tbaa !9
  %97 = load i32, ptr %16, align 4, !tbaa !9
  %98 = icmp ne i32 %97, 0
  br i1 %98, label %99, label %107

99:                                               ; preds = %52
  %100 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %100, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.w2c_hermes, ptr %101, i32 0, i32 6
  %103 = load i32, ptr %16, align 4, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = add i64 %104, 4
  %106 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %102, i64 noundef %105, i32 noundef %106)
  br label %374

107:                                              ; preds = %52
  %108 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %108, ptr %16, align 4, !tbaa !9
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.w2c_hermes, ptr %109, i32 0, i32 6
  %111 = load i32, ptr %16, align 4, !tbaa !9
  %112 = zext i32 %111 to i64
  %113 = add i64 %112, 32
  %114 = call i32 @i32_load(ptr noundef %110, i64 noundef %113)
  store i32 %114, ptr %16, align 4, !tbaa !9
  %115 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %115, ptr %8, align 4, !tbaa !9
  %116 = load i32, ptr %16, align 4, !tbaa !9
  %117 = icmp ne i32 %116, 0
  %118 = xor i1 %117, true
  %119 = zext i1 %118 to i32
  store i32 %119, ptr %16, align 4, !tbaa !9
  %120 = load i32, ptr %16, align 4, !tbaa !9
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %122, label %123

122:                                              ; preds = %107
  br label %400

123:                                              ; preds = %107
  %124 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %124, ptr %16, align 4, !tbaa !9
  %125 = load ptr, ptr %5, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.w2c_hermes, ptr %125, i32 0, i32 6
  %127 = load i32, ptr %16, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = add i64 %128, 8
  %130 = call i32 @i32_load(ptr noundef %126, i64 noundef %129)
  store i32 %130, ptr %16, align 4, !tbaa !9
  store i32 95, ptr %17, align 4, !tbaa !9
  %131 = load i32, ptr %16, align 4, !tbaa !9
  %132 = load i32, ptr %17, align 4, !tbaa !9
  %133 = icmp eq i32 %131, %132
  %134 = zext i1 %133 to i32
  store i32 %134, ptr %16, align 4, !tbaa !9
  %135 = load i32, ptr %16, align 4, !tbaa !9
  %136 = icmp ne i32 %135, 0
  br i1 %136, label %137, label %210

137:                                              ; preds = %123
  %138 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %138, ptr %16, align 4, !tbaa !9
  %139 = load ptr, ptr %5, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.w2c_hermes, ptr %139, i32 0, i32 6
  %141 = load i32, ptr %16, align 4, !tbaa !9
  %142 = zext i32 %141 to i64
  %143 = add i64 %142, 16
  %144 = call i64 @i64_load(ptr noundef %140, i64 noundef %143)
  store i64 %144, ptr %21, align 8, !tbaa !11
  %145 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %145, ptr %15, align 8, !tbaa !11
  %146 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %146, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %147 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %147, ptr %10, align 4, !tbaa !9
  store i32 48983, ptr %18, align 4, !tbaa !9
  %148 = load i32, ptr %18, align 4, !tbaa !9
  %149 = load i32, ptr %17, align 4, !tbaa !9
  %150 = add i32 %149, %148
  store i32 %150, ptr %17, align 4, !tbaa !9
  %151 = load ptr, ptr %5, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.w2c_hermes, ptr %151, i32 0, i32 6
  %153 = load i32, ptr %16, align 4, !tbaa !9
  %154 = zext i32 %153 to i64
  %155 = add i64 %154, 20
  %156 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %152, i64 noundef %155, i32 noundef %156)
  %157 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %157, ptr %16, align 4, !tbaa !9
  store i32 259, ptr %17, align 4, !tbaa !9
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.w2c_hermes, ptr %158, i32 0, i32 6
  %160 = load i32, ptr %16, align 4, !tbaa !9
  %161 = zext i32 %160 to i64
  %162 = add i64 %161, 28
  %163 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %159, i64 noundef %162, i32 noundef %163)
  %164 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %164, ptr %16, align 4, !tbaa !9
  %165 = load ptr, ptr %5, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.w2c_hermes, ptr %165, i32 0, i32 6
  %167 = load i32, ptr %16, align 4, !tbaa !9
  %168 = zext i32 %167 to i64
  %169 = add i64 %168, 4
  %170 = call i32 @i32_load(ptr noundef %166, i64 noundef %169)
  store i32 %170, ptr %16, align 4, !tbaa !9
  %171 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %171, ptr %7, align 4, !tbaa !9
  %172 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %172, ptr %16, align 4, !tbaa !9
  %173 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %173, ptr %22, align 8, !tbaa !11
  %174 = load ptr, ptr %5, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.w2c_hermes, ptr %174, i32 0, i32 6
  %176 = load i32, ptr %16, align 4, !tbaa !9
  %177 = zext i32 %176 to i64
  %178 = add i64 %177, 8
  %179 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %175, i64 noundef %178, i64 noundef %179)
  %180 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %180, ptr %16, align 4, !tbaa !9
  %181 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %181, ptr %22, align 8, !tbaa !11
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.w2c_hermes, ptr %182, i32 0, i32 6
  %184 = load i32, ptr %16, align 4, !tbaa !9
  %185 = zext i32 %184 to i64
  %186 = add i64 %185, 40
  %187 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %183, i64 noundef %186, i64 noundef %187)
  %188 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %188, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %189 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %189, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %190 = load i32, ptr %19, align 4, !tbaa !9
  %191 = load i32, ptr %18, align 4, !tbaa !9
  %192 = add i32 %191, %190
  store i32 %192, ptr %18, align 4, !tbaa !9
  %193 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %193, ptr %19, align 4, !tbaa !9
  store i32 20, ptr %20, align 4, !tbaa !9
  %194 = load i32, ptr %20, align 4, !tbaa !9
  %195 = load i32, ptr %19, align 4, !tbaa !9
  %196 = add i32 %195, %194
  store i32 %196, ptr %19, align 4, !tbaa !9
  store i32 2, ptr %20, align 4, !tbaa !9
  %197 = load ptr, ptr %5, align 8, !tbaa !5
  %198 = load i32, ptr %16, align 4, !tbaa !9
  %199 = load i32, ptr %17, align 4, !tbaa !9
  %200 = load i32, ptr %18, align 4, !tbaa !9
  %201 = load i32, ptr %19, align 4, !tbaa !9
  %202 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3ASourceErrorManager0x3A0x3Amessage0x28hermes0x3A0x3ASourceErrorManager0x3A0x3ADiagKind0x2C0x20llvh0x3A0x3ASMRange0x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20hermes0x3A0x3ASubsystem0x29(ptr noundef %197, i32 noundef %198, i32 noundef %199, i32 noundef %200, i32 noundef %201, i32 noundef %202)
  %203 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %203, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %204 = load ptr, ptr %5, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.w2c_hermes, ptr %204, i32 0, i32 6
  %206 = load i32, ptr %16, align 4, !tbaa !9
  %207 = zext i32 %206 to i64
  %208 = add i64 %207, 4
  %209 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %205, i64 noundef %208, i32 noundef %209)
  br label %374

210:                                              ; preds = %123
  %211 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %211, ptr %16, align 4, !tbaa !9
  %212 = load ptr, ptr %5, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.w2c_hermes, ptr %212, i32 0, i32 6
  %214 = load i32, ptr %16, align 4, !tbaa !9
  %215 = zext i32 %214 to i64
  %216 = add i64 %215, 88
  %217 = call i32 @i32_load(ptr noundef %213, i64 noundef %216)
  store i32 %217, ptr %16, align 4, !tbaa !9
  %218 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %218, ptr %14, align 4, !tbaa !9
  %219 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %219, ptr %16, align 4, !tbaa !9
  %220 = load ptr, ptr %5, 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
  %225 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %225, ptr %13, align 4, !tbaa !9
  %226 = load ptr, ptr %5, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.w2c_hermes, ptr %226, i32 0, i32 6
  %228 = load i32, ptr %16, align 4, !tbaa !9
  %229 = zext i32 %228 to i64
  %230 = add i64 %229, 12
  %231 = call i32 @i32_load(ptr noundef %227, i64 noundef %230)
  store i32 %231, ptr %16, align 4, !tbaa !9
  %232 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %232, ptr %12, align 4, !tbaa !9
  %233 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %233, ptr %17, align 4, !tbaa !9
  %234 = load ptr, ptr %5, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.w2c_hermes, ptr %234, i32 0, i32 6
  %236 = load i32, ptr %17, align 4, !tbaa !9
  %237 = zext i32 %236 to i64
  %238 = call i32 @i32_load(ptr noundef %235, i64 noundef %237)
  store i32 %238, ptr %17, align 4, !tbaa !9
  %239 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %239, ptr %18, align 4, !tbaa !9
  %240 = load ptr, ptr %5, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.w2c_hermes, ptr %240, i32 0, i32 6
  %242 = load i32, ptr %18, align 4, !tbaa !9
  %243 = zext i32 %242 to i64
  %244 = call i32 @i32_load(ptr noundef %241, i64 noundef %243)
  store i32 %244, ptr %18, align 4, !tbaa !9
  store i32 2, ptr %19, align 4, !tbaa !9
  %245 = load i32, ptr %19, align 4, !tbaa !9
  %246 = and i32 %245, 31
  %247 = load i32, ptr %18, align 4, !tbaa !9
  %248 = shl i32 %247, %246
  store i32 %248, ptr %18, align 4, !tbaa !9
  %249 = load i32, ptr %18, align 4, !tbaa !9
  %250 = load i32, ptr %17, align 4, !tbaa !9
  %251 = add i32 %250, %249
  store i32 %251, ptr %17, align 4, !tbaa !9
  %252 = load ptr, ptr %5, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.w2c_hermes, ptr %252, i32 0, i32 6
  %254 = load i32, ptr %17, align 4, !tbaa !9
  %255 = zext i32 %254 to i64
  %256 = call i32 @i32_load(ptr noundef %253, i64 noundef %255)
  store i32 %256, ptr %17, align 4, !tbaa !9
  %257 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %257, ptr %11, align 4, !tbaa !9
  %258 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %258, ptr %18, align 4, !tbaa !9
  %259 = load ptr, ptr %5, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.w2c_hermes, ptr %259, i32 0, i32 6
  %261 = load i32, ptr %18, align 4, !tbaa !9
  %262 = zext i32 %261 to i64
  %263 = add i64 %262, 4
  %264 = call i32 @i32_load(ptr noundef %260, i64 noundef %263)
  store i32 %264, ptr %18, align 4, !tbaa !9
  %265 = load i32, ptr %18, align 4, !tbaa !9
  %266 = load i32, ptr %17, align 4, !tbaa !9
  %267 = add i32 %266, %265
  store i32 %267, ptr %17, align 4, !tbaa !9
  store i32 7, ptr %18, align 4, !tbaa !9
  %268 = load i32, ptr %18, align 4, !tbaa !9
  %269 = load i32, ptr %17, align 4, !tbaa !9
  %270 = add i32 %269, %268
  store i32 %270, ptr %17, align 4, !tbaa !9
  store i32 -8, ptr %18, align 4, !tbaa !9
  %271 = load i32, ptr %18, align 4, !tbaa !9
  %272 = load i32, ptr %17, align 4, !tbaa !9
  %273 = and i32 %272, %271
  store i32 %273, ptr %17, align 4, !tbaa !9
  %274 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %274, ptr %7, align 4, !tbaa !9
  %275 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %275, ptr %18, align 4, !tbaa !9
  %276 = load i32, ptr %18, align 4, !tbaa !9
  %277 = load i32, ptr %17, align 4, !tbaa !9
  %278 = sub i32 %277, %276
  store i32 %278, ptr %17, align 4, !tbaa !9
  %279 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %279, ptr %11, align 4, !tbaa !9
  %280 = load ptr, ptr %5, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.w2c_hermes, ptr %280, i32 0, i32 6
  %282 = load i32, ptr %16, align 4, !tbaa !9
  %283 = zext i32 %282 to i64
  %284 = add i64 %283, 4
  %285 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %281, i64 noundef %284, i32 noundef %285)
  %286 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %286, ptr %16, align 4, !tbaa !9
  store i32 32, ptr %17, align 4, !tbaa !9
  %287 = load i32, ptr %17, align 4, !tbaa !9
  %288 = load i32, ptr %16, align 4, !tbaa !9
  %289 = add i32 %288, %287
  store i32 %289, ptr %16, align 4, !tbaa !9
  %290 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %290, ptr %11, align 4, !tbaa !9
  store i32 262145, ptr %17, align 4, !tbaa !9
  %291 = load i32, ptr %16, align 4, !tbaa !9
  %292 = load i32, ptr %17, align 4, !tbaa !9
  %293 = icmp uge i32 %291, %292
  %294 = zext i1 %293 to i32
  store i32 %294, ptr %16, align 4, !tbaa !9
  %295 = load i32, ptr %16, align 4, !tbaa !9
  %296 = icmp ne i32 %295, 0
  br i1 %296, label %297, label %305

297:                                              ; preds = %210
  %298 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %298, ptr %16, align 4, !tbaa !9
  store i32 32, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %299 = load ptr, ptr %5, align 8, !tbaa !5
  %300 = load i32, ptr %16, align 4, !tbaa !9
  %301 = load i32, ptr %17, align 4, !tbaa !9
  %302 = load i32, ptr %18, align 4, !tbaa !9
  %303 = call i32 @w2c_hermes_hermes0x3A0x3ABacktrackingBumpPtrAllocator0x3A0x3AallocateNewSlab0x28unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef %299, i32 noundef %300, i32 noundef %301, i32 noundef %302)
  store i32 %303, ptr %16, align 4, !tbaa !9
  %304 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %304, ptr %7, align 4, !tbaa !9
  br label %314

305:                                              ; preds = %210
  %306 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %306, ptr %16, align 4, !tbaa !9
  %307 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %307, ptr %17, align 4, !tbaa !9
  %308 = load ptr, ptr %5, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.w2c_hermes, ptr %308, i32 0, i32 6
  %310 = load i32, ptr %16, align 4, !tbaa !9
  %311 = zext i32 %310 to i64
  %312 = add i64 %311, 4
  %313 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %309, i64 noundef %312, i32 noundef %313)
  br label %314

314:                                              ; preds = %305, %297
  %315 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %315, ptr %16, align 4, !tbaa !9
  %316 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %316, ptr %17, align 4, !tbaa !9
  %317 = load ptr, ptr %5, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.w2c_hermes, ptr %317, i32 0, i32 6
  %319 = load i32, ptr %16, align 4, !tbaa !9
  %320 = zext i32 %319 to i64
  %321 = add i64 %320, 28
  %322 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %318, i64 noundef %321, i32 noundef %322)
  %323 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %323, ptr %16, align 4, !tbaa !9
  store i64 94, ptr %22, align 8, !tbaa !11
  %324 = load ptr, ptr %5, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.w2c_hermes, ptr %324, i32 0, i32 6
  %326 = load i32, ptr %16, align 4, !tbaa !9
  %327 = zext i32 %326 to i64
  %328 = add i64 %327, 8
  %329 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %325, i64 noundef %328, i64 noundef %329)
  %330 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %330, ptr %16, align 4, !tbaa !9
  store i64 0, ptr %22, align 8, !tbaa !11
  %331 = load ptr, ptr %5, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.w2c_hermes, ptr %331, i32 0, i32 6
  %333 = load i32, ptr %16, align 4, !tbaa !9
  %334 = zext i32 %333 to i64
  %335 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %332, i64 noundef %334, i64 noundef %335)
  %336 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %336, ptr %16, align 4, !tbaa !9
  %337 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %337, ptr %17, align 4, !tbaa !9
  %338 = load ptr, ptr %5, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.w2c_hermes, ptr %338, i32 0, i32 6
  %340 = load i32, ptr %16, align 4, !tbaa !9
  %341 = zext i32 %340 to i64
  %342 = add i64 %341, 24
  %343 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %339, i64 noundef %342, i32 noundef %343)
  %344 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %344, ptr %16, align 4, !tbaa !9
  %345 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %345, ptr %17, align 4, !tbaa !9
  %346 = load ptr, ptr %5, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.w2c_hermes, ptr %346, i32 0, i32 6
  %348 = load i32, ptr %16, align 4, !tbaa !9
  %349 = zext i32 %348 to i64
  %350 = add i64 %349, 16
  %351 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %347, i64 noundef %350, i32 noundef %351)
  %352 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %352, ptr %16, align 4, !tbaa !9
  %353 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %353, ptr %17, align 4, !tbaa !9
  %354 = load ptr, ptr %5, align 8, !tbaa !5
  %355 = getelementptr inbounds %struct.w2c_hermes, ptr %354, i32 0, i32 6
  %356 = load i32, ptr %16, align 4, !tbaa !9
  %357 = zext i32 %356 to i64
  %358 = add i64 %357, 20
  %359 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %355, i64 noundef %358, i32 noundef %359)
  %360 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %360, ptr %16, align 4, !tbaa !9
  %361 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %361, ptr %17, align 4, !tbaa !9
  %362 = load ptr, ptr %5, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.w2c_hermes, ptr %362, i32 0, i32 6
  %364 = load i32, ptr %16, align 4, !tbaa !9
  %365 = zext i32 %364 to i64
  %366 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %363, i64 noundef %365, i32 noundef %366)
  %367 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %367, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %368 = load ptr, ptr %5, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.w2c_hermes, ptr %368, i32 0, i32 6
  %370 = load i32, ptr %16, align 4, !tbaa !9
  %371 = zext i32 %370 to i64
  %372 = add i64 %371, 4
  %373 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %369, i64 noundef %372, i32 noundef %373)
  br label %374

374:                                              ; preds = %314, %137, %99
  %375 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %375, ptr %16, align 4, !tbaa !9
  store i32 48, ptr %17, align 4, !tbaa !9
  %376 = load i32, ptr %17, align 4, !tbaa !9
  %377 = load i32, ptr %16, align 4, !tbaa !9
  %378 = add i32 %377, %376
  store i32 %378, ptr %16, align 4, !tbaa !9
  %379 = load i32, ptr %16, align 4, !tbaa !9
  %380 = load ptr, ptr %5, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.w2c_hermes, ptr %380, i32 0, i32 3
  store i32 %379, ptr %381, align 8, !tbaa !13
  br label %418

382:                                              ; preds = %4
  store i32 0, ptr %16, align 4, !tbaa !9
  %383 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %383, ptr %9, align 4, !tbaa !9
  store i32 202274, ptr %17, align 4, !tbaa !9
  %384 = load i32, ptr %17, align 4, !tbaa !9
  %385 = load i32, ptr %16, align 4, !tbaa !9
  %386 = add i32 %385, %384
  store i32 %386, ptr %16, align 4, !tbaa !9
  %387 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %387, ptr %17, align 4, !tbaa !9
  store i32 59292, ptr %18, align 4, !tbaa !9
  %388 = load i32, ptr %18, align 4, !tbaa !9
  %389 = load i32, ptr %17, align 4, !tbaa !9
  %390 = add i32 %389, %388
  store i32 %390, ptr %17, align 4, !tbaa !9
  store i32 1284, ptr %18, align 4, !tbaa !9
  %391 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %391, ptr %19, align 4, !tbaa !9
  store i32 27337, ptr %20, align 4, !tbaa !9
  %392 = load i32, ptr %20, align 4, !tbaa !9
  %393 = load i32, ptr %19, align 4, !tbaa !9
  %394 = add i32 %393, %392
  store i32 %394, ptr %19, align 4, !tbaa !9
  %395 = load ptr, ptr %5, align 8, !tbaa !5
  %396 = load i32, ptr %16, align 4, !tbaa !9
  %397 = load i32, ptr %17, align 4, !tbaa !9
  %398 = load i32, ptr %18, align 4, !tbaa !9
  %399 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %395, i32 noundef %396, i32 noundef %397, i32 noundef %398, i32 noundef %399)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

400:                                              ; preds = %122
  store i32 0, ptr %16, align 4, !tbaa !9
  %401 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %401, ptr %9, align 4, !tbaa !9
  store i32 147142, ptr %17, align 4, !tbaa !9
  %402 = load i32, ptr %17, align 4, !tbaa !9
  %403 = load i32, ptr %16, align 4, !tbaa !9
  %404 = add i32 %403, %402
  store i32 %404, ptr %16, align 4, !tbaa !9
  %405 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %405, ptr %17, align 4, !tbaa !9
  store i32 82611, ptr %18, align 4, !tbaa !9
  %406 = load i32, ptr %18, align 4, !tbaa !9
  %407 = load i32, ptr %17, align 4, !tbaa !9
  %408 = add i32 %407, %406
  store i32 %408, ptr %17, align 4, !tbaa !9
  store i32 106, ptr %18, align 4, !tbaa !9
  %409 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %409, ptr %19, align 4, !tbaa !9
  store i32 28119, ptr %20, align 4, !tbaa !9
  %410 = load i32, ptr %20, align 4, !tbaa !9
  %411 = load i32, ptr %19, align 4, !tbaa !9
  %412 = add i32 %411, %410
  store i32 %412, ptr %19, align 4, !tbaa !9
  %413 = load ptr, ptr %5, align 8, !tbaa !5
  %414 = load i32, ptr %16, align 4, !tbaa !9
  %415 = load i32, ptr %17, align 4, !tbaa !9
  %416 = load i32, ptr %18, align 4, !tbaa !9
  %417 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %413, i32 noundef %414, i32 noundef %415, i32 noundef %416, i32 noundef %417)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

418:                                              ; preds = %374
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #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 i32 @i32_load8_u(ptr noundef, i64 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 @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 void @i32_store16(ptr noundef, i64 noundef, i32 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_hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3Aadvance0x28hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3AGrammarContext0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Aparser0x3A0x3Adetail0x3A0x3AJSParserImpl0x3A0x3AparseBindingRestElement0x28hermes0x3A0x3Aparser0x3A0x3Adetail0x3A0x3AParam0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 {
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = add i32 %6, -48
  store i32 %7, ptr %5, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %2 to i64
  %10 = add nuw nsw i64 %9, 872
  %11 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %10)
  %12 = zext i32 %11 to i64
  %13 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %12)
  %14 = icmp eq i32 %13, 59
  br i1 %14, label %15, label %81

15:                                               ; preds = %4
  %16 = add nuw nsw i64 %12, 4
  %17 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %16)
  %18 = add i32 %2, 8
  %19 = tail call i32 @w2c_hermes_hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3Aadvance0x28hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3AGrammarContext0x29(ptr noundef nonnull %0, i32 noundef %18, i32 noundef 0)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %10, i32 noundef %19)
  %20 = add i32 %6, -16
  tail call void @w2c_hermes_hermes0x3A0x3Aparser0x3A0x3Adetail0x3A0x3AJSParserImpl0x3A0x3AparseBindingElement0x28hermes0x3A0x3Aparser0x3A0x3Adetail0x3A0x3AParam0x29(ptr noundef nonnull %0, i32 noundef %20, i32 noundef %2, i32 noundef %3)
  %21 = zext i32 %7 to i64
  %22 = add nuw nsw i64 %21, 36
  %23 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %22)
  %.not = icmp eq i32 %23, 0
  br i1 %.not, label %24, label %26

24:                                               ; preds = %15
  %25 = zext i32 %1 to i64
  br label %79

26:                                               ; preds = %15
  %27 = add nuw nsw i64 %21, 32
  %28 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %27)
  %.not234 = icmp eq i32 %28, 0
  br i1 %.not234, label %82, label %29

29:                                               ; preds = %26
  %30 = zext i32 %28 to i64
  %31 = add nuw nsw i64 %30, 8
  %32 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %31)
  %33 = icmp eq i32 %32, 95
  br i1 %33, label %34, label %46

34:                                               ; preds = %29
  %35 = add nuw nsw i64 %30, 16
  %36 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %35)
  %37 = add nuw nsw i64 %21, 20
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %37, i32 noundef 48983)
  %38 = add nuw nsw i64 %21, 28
  tail call void @i32_store16(ptr noundef nonnull %8, i64 noundef %38, i32 noundef 259)
  %39 = add nuw nsw i64 %9, 4
  %40 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %39)
  %41 = add nuw nsw i64 %21, 8
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %41, i64 noundef %36)
  %42 = add nuw nsw i64 %21, 40
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %42, i64 noundef %36)
  %43 = add i32 %6, -40
  %44 = add i32 %6, -28
  tail call void @w2c_hermes_hermes0x3A0x3ASourceErrorManager0x3A0x3Amessage0x28hermes0x3A0x3ASourceErrorManager0x3A0x3ADiagKind0x2C0x20llvh0x3A0x3ASMRange0x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20hermes0x3A0x3ASubsystem0x29(ptr noundef nonnull %0, i32 noundef %40, i32 noundef 0, i32 noundef %43, i32 noundef %44, i32 noundef 2) #4
  %45 = zext i32 %1 to i64
  br label %79

46:                                               ; preds = %29
  %47 = add nuw nsw i64 %9, 88
  %48 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %47)
  %49 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %9)
  %50 = zext i32 %49 to i64
  %51 = add nuw nsw i64 %50, 12
  %52 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %51)
  %53 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %50)
  %54 = zext i32 %52 to i64
  %55 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %54)
  %56 = shl i32 %55, 2
  %57 = add i32 %56, %53
  %58 = zext i32 %57 to i64
  %59 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %58)
  %60 = add nuw nsw i64 %54, 4
  %61 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %60)
  %62 = add i32 %59, 7
  %63 = add i32 %62, %61
  %64 = and i32 %63, -8
  %65 = sub i32 %64, %59
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %60, i32 noundef %65)
  %66 = add i32 %65, 32
  %67 = icmp ugt i32 %66, 262144
  br i1 %67, label %68, label %70

68:                                               ; preds = %46
  %69 = tail call i32 @w2c_hermes_hermes0x3A0x3ABacktrackingBumpPtrAllocator0x3A0x3AallocateNewSlab0x28unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %49, i32 noundef 32, i32 noundef 8) #4
  br label %71

70:                                               ; preds = %46
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %60, i32 noundef %66)
  br label %71

71:                                               ; preds = %70, %68
  %.0 = phi i32 [ %69, %68 ], [ %64, %70 ]
  %72 = zext i32 %.0 to i64
  %73 = add nuw nsw i64 %72, 28
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %73, i32 noundef %28)
  %74 = add nuw nsw i64 %72, 8
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %74, i64 noundef 94)
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %72, i64 noundef 0)
  %75 = add nuw nsw i64 %72, 24
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %75, i32 noundef %17)
  %76 = add nuw nsw i64 %72, 16
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %76, i32 noundef %17)
  %77 = add nuw nsw i64 %72, 20
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %77, i32 noundef %48)
  %78 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %78, i32 noundef %.0)
  br label %79

79:                                               ; preds = %71, %34, %24
  %.sink236 = phi i64 [ %78, %71 ], [ %45, %34 ], [ %25, %24 ]
  %.sink235 = phi i32 [ 1, %71 ], [ 0, %34 ], [ 0, %24 ]
  %80 = add nuw nsw i64 %.sink236, 4
  tail call void @i32_store8(ptr noundef nonnull %8, i64 noundef %80, i32 noundef %.sink235)
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void

81:                                               ; preds = %4
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 202274, i32 noundef 59292, i32 noundef 1284, i32 noundef 27337) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

82:                                               ; 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
}

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,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass