; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_opt_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_load(ptr noundef, i64 noundef) #1

; 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: 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_hermes0x3A0x3ASourceErrorManager0x3A0x3Amessage0x28hermes0x3A0x3ASourceErrorManager0x3A0x3ADiagKind0x2C0x20llvh0x3A0x3ASMRange0x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20hermes0x3A0x3ASubsystem0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

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

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

45:                                               ; preds = %5
  br label %132

46:                                               ; preds = %5
  %47 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %47, ptr %14, align 4, !tbaa !9
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.w2c_hermes, ptr %48, i32 0, i32 6
  %50 = load i32, ptr %14, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = add i64 %51, 28
  %53 = call i32 @i32_load8_u(ptr noundef %49, i64 noundef %52)
  store i32 %53, ptr %14, align 4, !tbaa !9
  %54 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %54, ptr %15, align 4, !tbaa !9
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.w2c_hermes, ptr %55, i32 0, i32 6
  %57 = load i32, ptr %15, align 4, !tbaa !9
  %58 = zext i32 %57 to i64
  %59 = add i64 %58, 881
  %60 = call i32 @i32_load8_u(ptr noundef %56, i64 noundef %59)
  store i32 %60, ptr %15, align 4, !tbaa !9
  %61 = load i32, ptr %15, align 4, !tbaa !9
  %62 = load i32, ptr %14, align 4, !tbaa !9
  %63 = or i32 %62, %61
  store i32 %63, ptr %14, align 4, !tbaa !9
  %64 = load i32, ptr %14, align 4, !tbaa !9
  %65 = icmp ne i32 %64, 0
  %66 = xor i1 %65, true
  %67 = zext i1 %66 to i32
  store i32 %67, ptr %14, align 4, !tbaa !9
  %68 = load i32, ptr %14, align 4, !tbaa !9
  %69 = icmp ne i32 %68, 0
  br i1 %69, label %70, label %71

70:                                               ; preds = %46
  br label %132

71:                                               ; preds = %46
  %72 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %72, ptr %14, align 4, !tbaa !9
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.w2c_hermes, ptr %73, i32 0, i32 6
  %75 = load i32, ptr %14, align 4, !tbaa !9
  %76 = zext i32 %75 to i64
  %77 = call i64 @i64_load(ptr noundef %74, i64 noundef %76)
  store i64 %77, ptr %19, align 8, !tbaa !11
  %78 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %78, ptr %13, align 8, !tbaa !11
  %79 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %79, ptr %14, align 4, !tbaa !9
  store i32 38095, 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 %14, align 4, !tbaa !9
  %83 = zext i32 %82 to i64
  %84 = add i64 %83, 28
  %85 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %81, i64 noundef %84, i32 noundef %85)
  %86 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %86, ptr %14, align 4, !tbaa !9
  store i32 259, ptr %15, align 4, !tbaa !9
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.w2c_hermes, ptr %87, i32 0, i32 6
  %89 = load i32, ptr %14, align 4, !tbaa !9
  %90 = zext i32 %89 to i64
  %91 = add i64 %90, 36
  %92 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %88, i64 noundef %91, i32 noundef %92)
  %93 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %93, ptr %14, align 4, !tbaa !9
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.w2c_hermes, ptr %94, i32 0, i32 6
  %96 = load i32, ptr %14, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = add i64 %97, 4
  %99 = call i32 @i32_load(ptr noundef %95, i64 noundef %98)
  store i32 %99, ptr %14, align 4, !tbaa !9
  %100 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %100, ptr %12, align 4, !tbaa !9
  %101 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %101, ptr %14, align 4, !tbaa !9
  %102 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %102, ptr %20, align 8, !tbaa !11
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.w2c_hermes, ptr %103, i32 0, i32 6
  %105 = load i32, ptr %14, align 4, !tbaa !9
  %106 = zext i32 %105 to i64
  %107 = add i64 %106, 16
  %108 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %104, i64 noundef %107, i64 noundef %108)
  %109 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %109, ptr %14, align 4, !tbaa !9
  %110 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %110, ptr %20, align 8, !tbaa !11
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.w2c_hermes, ptr %111, i32 0, i32 6
  %113 = load i32, ptr %14, align 4, !tbaa !9
  %114 = zext i32 %113 to i64
  %115 = add i64 %114, 40
  %116 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %112, i64 noundef %115, i64 noundef %116)
  %117 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %117, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %118 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %118, ptr %16, align 4, !tbaa !9
  store i32 16, ptr %17, align 4, !tbaa !9
  %119 = load i32, ptr %17, align 4, !tbaa !9
  %120 = load i32, ptr %16, align 4, !tbaa !9
  %121 = add i32 %120, %119
  store i32 %121, ptr %16, align 4, !tbaa !9
  %122 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %122, ptr %17, align 4, !tbaa !9
  store i32 28, ptr %18, align 4, !tbaa !9
  %123 = load i32, ptr %18, align 4, !tbaa !9
  %124 = load i32, ptr %17, align 4, !tbaa !9
  %125 = add i32 %124, %123
  store i32 %125, ptr %17, align 4, !tbaa !9
  store i32 2, ptr %18, align 4, !tbaa !9
  %126 = load ptr, ptr %6, align 8, !tbaa !5
  %127 = load i32, ptr %14, align 4, !tbaa !9
  %128 = load i32, ptr %15, align 4, !tbaa !9
  %129 = load i32, ptr %16, align 4, !tbaa !9
  %130 = load i32, ptr %17, align 4, !tbaa !9
  %131 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3ASourceErrorManager0x3A0x3Amessage0x28hermes0x3A0x3ASourceErrorManager0x3A0x3ADiagKind0x2C0x20llvh0x3A0x3ASMRange0x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20hermes0x3A0x3ASubsystem0x29(ptr noundef %126, i32 noundef %127, i32 noundef %128, i32 noundef %129, i32 noundef %130, i32 noundef %131)
  br label %132

132:                                              ; preds = %71, %70, %45
  %133 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %133, ptr %14, align 4, !tbaa !9
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.w2c_hermes, ptr %134, i32 0, i32 6
  %136 = load i32, ptr %14, align 4, !tbaa !9
  %137 = zext i32 %136 to i64
  %138 = add i64 %137, 1016
  %139 = call i32 @i32_load(ptr noundef %135, i64 noundef %138)
  store i32 %139, ptr %14, align 4, !tbaa !9
  %140 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %140, ptr %15, align 4, !tbaa !9
  %141 = load i32, ptr %14, align 4, !tbaa !9
  %142 = load i32, ptr %15, align 4, !tbaa !9
  %143 = icmp ne i32 %141, %142
  %144 = zext i1 %143 to i32
  store i32 %144, ptr %14, align 4, !tbaa !9
  %145 = load i32, ptr %14, align 4, !tbaa !9
  %146 = icmp ne i32 %145, 0
  br i1 %146, label %147, label %148

147:                                              ; preds = %132
  br label %224

148:                                              ; preds = %132
  %149 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %149, ptr %14, align 4, !tbaa !9
  %150 = load ptr, ptr %6, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.w2c_hermes, ptr %150, i32 0, i32 6
  %152 = load i32, ptr %14, align 4, !tbaa !9
  %153 = zext i32 %152 to i64
  %154 = add i64 %153, 882
  %155 = call i32 @i32_load8_u(ptr noundef %151, i64 noundef %154)
  store i32 %155, ptr %14, align 4, !tbaa !9
  %156 = load i32, ptr %14, align 4, !tbaa !9
  %157 = icmp ne i32 %156, 0
  %158 = xor i1 %157, true
  %159 = zext i1 %158 to i32
  store i32 %159, ptr %14, align 4, !tbaa !9
  %160 = load i32, ptr %14, align 4, !tbaa !9
  %161 = icmp ne i32 %160, 0
  br i1 %161, label %162, label %163

162:                                              ; preds = %148
  br label %224

163:                                              ; preds = %148
  %164 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %164, ptr %14, 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 %14, align 4, !tbaa !9
  %168 = zext i32 %167 to i64
  %169 = call i64 @i64_load(ptr noundef %166, i64 noundef %168)
  store i64 %169, ptr %19, align 8, !tbaa !11
  %170 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %170, ptr %13, align 8, !tbaa !11
  %171 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %171, ptr %14, align 4, !tbaa !9
  store i32 38050, ptr %15, align 4, !tbaa !9
  %172 = load ptr, ptr %6, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.w2c_hermes, ptr %172, i32 0, i32 6
  %174 = load i32, ptr %14, align 4, !tbaa !9
  %175 = zext i32 %174 to i64
  %176 = add i64 %175, 28
  %177 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %173, i64 noundef %176, i32 noundef %177)
  %178 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %178, ptr %14, align 4, !tbaa !9
  store i32 259, ptr %15, align 4, !tbaa !9
  %179 = load ptr, ptr %6, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.w2c_hermes, ptr %179, i32 0, i32 6
  %181 = load i32, ptr %14, align 4, !tbaa !9
  %182 = zext i32 %181 to i64
  %183 = add i64 %182, 36
  %184 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %180, i64 noundef %183, i32 noundef %184)
  %185 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %185, ptr %14, align 4, !tbaa !9
  %186 = load ptr, ptr %6, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.w2c_hermes, ptr %186, i32 0, i32 6
  %188 = load i32, ptr %14, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = add i64 %189, 4
  %191 = call i32 @i32_load(ptr noundef %187, i64 noundef %190)
  store i32 %191, ptr %14, align 4, !tbaa !9
  %192 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %192, ptr %12, align 4, !tbaa !9
  %193 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %193, ptr %14, align 4, !tbaa !9
  %194 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %194, ptr %20, align 8, !tbaa !11
  %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 %14, align 4, !tbaa !9
  %198 = zext i32 %197 to i64
  %199 = add i64 %198, 8
  %200 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %196, i64 noundef %199, i64 noundef %200)
  %201 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %201, ptr %14, align 4, !tbaa !9
  %202 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %202, ptr %20, align 8, !tbaa !11
  %203 = load ptr, ptr %6, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.w2c_hermes, ptr %203, i32 0, i32 6
  %205 = load i32, ptr %14, align 4, !tbaa !9
  %206 = zext i32 %205 to i64
  %207 = add i64 %206, 40
  %208 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %204, i64 noundef %207, i64 noundef %208)
  %209 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %209, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %210 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %210, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %211 = load i32, ptr %17, align 4, !tbaa !9
  %212 = load i32, ptr %16, align 4, !tbaa !9
  %213 = add i32 %212, %211
  store i32 %213, ptr %16, align 4, !tbaa !9
  %214 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %214, ptr %17, align 4, !tbaa !9
  store i32 28, ptr %18, align 4, !tbaa !9
  %215 = load i32, ptr %18, align 4, !tbaa !9
  %216 = load i32, ptr %17, align 4, !tbaa !9
  %217 = add i32 %216, %215
  store i32 %217, ptr %17, align 4, !tbaa !9
  store i32 2, ptr %18, align 4, !tbaa !9
  %218 = load ptr, ptr %6, align 8, !tbaa !5
  %219 = load i32, ptr %14, align 4, !tbaa !9
  %220 = load i32, ptr %15, align 4, !tbaa !9
  %221 = load i32, ptr %16, align 4, !tbaa !9
  %222 = load i32, ptr %17, align 4, !tbaa !9
  %223 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3ASourceErrorManager0x3A0x3Amessage0x28hermes0x3A0x3ASourceErrorManager0x3A0x3ADiagKind0x2C0x20llvh0x3A0x3ASMRange0x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20hermes0x3A0x3ASubsystem0x29(ptr noundef %218, i32 noundef %219, i32 noundef %220, i32 noundef %221, i32 noundef %222, i32 noundef %223)
  br label %224

224:                                              ; preds = %163, %162, %147
  %225 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %225, ptr %14, align 4, !tbaa !9
  %226 = load ptr, ptr %6, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.w2c_hermes, ptr %226, i32 0, i32 6
  %228 = load i32, ptr %14, align 4, !tbaa !9
  %229 = zext i32 %228 to i64
  %230 = add i64 %229, 28
  %231 = call i32 @i32_load8_u(ptr noundef %227, i64 noundef %230)
  store i32 %231, ptr %14, align 4, !tbaa !9
  %232 = load i32, ptr %14, align 4, !tbaa !9
  %233 = icmp ne i32 %232, 0
  %234 = xor i1 %233, true
  %235 = zext i1 %234 to i32
  store i32 %235, ptr %14, align 4, !tbaa !9
  %236 = load i32, ptr %14, align 4, !tbaa !9
  %237 = icmp ne i32 %236, 0
  br i1 %237, label %238, label %239

238:                                              ; preds = %224
  br label %312

239:                                              ; preds = %224
  %240 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %240, ptr %14, align 4, !tbaa !9
  %241 = load ptr, ptr %6, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.w2c_hermes, ptr %241, i32 0, i32 6
  %243 = load i32, ptr %14, align 4, !tbaa !9
  %244 = zext i32 %243 to i64
  %245 = add i64 %244, 932
  %246 = call i32 @i32_load(ptr noundef %242, i64 noundef %245)
  store i32 %246, ptr %14, align 4, !tbaa !9
  %247 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %247, ptr %15, align 4, !tbaa !9
  %248 = load i32, ptr %14, align 4, !tbaa !9
  %249 = load i32, ptr %15, align 4, !tbaa !9
  %250 = icmp ne i32 %248, %249
  %251 = zext i1 %250 to i32
  store i32 %251, ptr %14, align 4, !tbaa !9
  %252 = load i32, ptr %14, align 4, !tbaa !9
  %253 = icmp ne i32 %252, 0
  br i1 %253, label %254, label %255

254:                                              ; preds = %239
  br label %312

255:                                              ; preds = %239
  %256 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %256, ptr %14, align 4, !tbaa !9
  %257 = load ptr, ptr %6, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.w2c_hermes, ptr %257, i32 0, i32 6
  %259 = load i32, ptr %14, align 4, !tbaa !9
  %260 = zext i32 %259 to i64
  %261 = call i64 @i64_load(ptr noundef %258, i64 noundef %260)
  store i64 %261, ptr %19, align 8, !tbaa !11
  %262 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %262, ptr %13, align 8, !tbaa !11
  %263 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %263, ptr %14, align 4, !tbaa !9
  store i32 38179, ptr %15, align 4, !tbaa !9
  %264 = load ptr, ptr %6, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.w2c_hermes, ptr %264, i32 0, i32 6
  %266 = load i32, ptr %14, align 4, !tbaa !9
  %267 = zext i32 %266 to i64
  %268 = add i64 %267, 28
  %269 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %265, i64 noundef %268, i32 noundef %269)
  %270 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %270, ptr %14, align 4, !tbaa !9
  store i32 259, ptr %15, align 4, !tbaa !9
  %271 = load ptr, ptr %6, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.w2c_hermes, ptr %271, i32 0, i32 6
  %273 = load i32, ptr %14, align 4, !tbaa !9
  %274 = zext i32 %273 to i64
  %275 = add i64 %274, 36
  %276 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %272, i64 noundef %275, i32 noundef %276)
  %277 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %277, ptr %14, align 4, !tbaa !9
  %278 = load ptr, ptr %6, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.w2c_hermes, ptr %278, i32 0, i32 6
  %280 = load i32, ptr %14, align 4, !tbaa !9
  %281 = zext i32 %280 to i64
  %282 = add i64 %281, 4
  %283 = call i32 @i32_load(ptr noundef %279, i64 noundef %282)
  store i32 %283, ptr %14, align 4, !tbaa !9
  %284 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %284, ptr %7, align 4, !tbaa !9
  %285 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %285, ptr %14, align 4, !tbaa !9
  %286 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %286, ptr %20, align 8, !tbaa !11
  %287 = load ptr, ptr %6, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.w2c_hermes, ptr %287, i32 0, i32 6
  %289 = load i32, ptr %14, align 4, !tbaa !9
  %290 = zext i32 %289 to i64
  %291 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %288, i64 noundef %290, i64 noundef %291)
  %292 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %292, ptr %14, align 4, !tbaa !9
  %293 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %293, ptr %20, align 8, !tbaa !11
  %294 = load ptr, ptr %6, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.w2c_hermes, ptr %294, i32 0, i32 6
  %296 = load i32, ptr %14, align 4, !tbaa !9
  %297 = zext i32 %296 to i64
  %298 = add i64 %297, 40
  %299 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %295, i64 noundef %298, i64 noundef %299)
  %300 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %300, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %301 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %301, ptr %16, align 4, !tbaa !9
  %302 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %302, ptr %17, align 4, !tbaa !9
  store i32 28, ptr %18, align 4, !tbaa !9
  %303 = load i32, ptr %18, align 4, !tbaa !9
  %304 = load i32, ptr %17, align 4, !tbaa !9
  %305 = add i32 %304, %303
  store i32 %305, ptr %17, align 4, !tbaa !9
  store i32 2, ptr %18, align 4, !tbaa !9
  %306 = load ptr, ptr %6, align 8, !tbaa !5
  %307 = load i32, ptr %14, align 4, !tbaa !9
  %308 = load i32, ptr %15, align 4, !tbaa !9
  %309 = load i32, ptr %16, align 4, !tbaa !9
  %310 = load i32, ptr %17, align 4, !tbaa !9
  %311 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3ASourceErrorManager0x3A0x3Amessage0x28hermes0x3A0x3ASourceErrorManager0x3A0x3ADiagKind0x2C0x20llvh0x3A0x3ASMRange0x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20hermes0x3A0x3ASubsystem0x29(ptr noundef %306, i32 noundef %307, i32 noundef %308, i32 noundef %309, i32 noundef %310, i32 noundef %311)
  br label %312

312:                                              ; preds = %255, %254, %238
  %313 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %313, ptr %14, align 4, !tbaa !9
  store i32 48, ptr %15, align 4, !tbaa !9
  %314 = load i32, ptr %15, align 4, !tbaa !9
  %315 = load i32, ptr %14, align 4, !tbaa !9
  %316 = add i32 %315, %314
  store i32 %316, ptr %14, align 4, !tbaa !9
  %317 = load i32, ptr %14, align 4, !tbaa !9
  %318 = load ptr, ptr %6, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.w2c_hermes, ptr %318, i32 0, i32 3
  store i32 %317, ptr %319, align 8, !tbaa !13
  %320 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %320, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %321 = load i32, ptr %14, align 4, !tbaa !9
  %322 = load i32, ptr %15, align 4, !tbaa !9
  %323 = icmp eq i32 %321, %322
  %324 = zext i1 %323 to i32
  store i32 %324, ptr %14, align 4, !tbaa !9
  %325 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %325, ptr %15, align 4, !tbaa !9
  store i32 47, ptr %16, align 4, !tbaa !9
  %326 = load i32, ptr %15, align 4, !tbaa !9
  %327 = load i32, ptr %16, align 4, !tbaa !9
  %328 = icmp eq i32 %326, %327
  %329 = zext i1 %328 to i32
  store i32 %329, ptr %15, align 4, !tbaa !9
  %330 = load i32, ptr %15, align 4, !tbaa !9
  %331 = load i32, ptr %14, align 4, !tbaa !9
  %332 = or i32 %331, %330
  store i32 %332, ptr %14, align 4, !tbaa !9
  %333 = load i32, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  ret i32 %333
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!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_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

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

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

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

13:                                               ; preds = %5
  %14 = add nuw nsw i64 %10, 28
  %15 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %14)
  %16 = add nuw nsw i64 %10, 881
  %17 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %16)
  %18 = or i32 %17, %15
  %.not175 = icmp eq i32 %18, 0
  br i1 %.not175, label %31, label %19

19:                                               ; preds = %13
  %20 = zext i32 %2 to i64
  %21 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %20)
  %22 = zext i32 %8 to i64
  %23 = add nuw nsw i64 %22, 28
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %23, i32 noundef 38095)
  %24 = add nuw nsw i64 %22, 36
  tail call void @i32_store16(ptr noundef nonnull %9, i64 noundef %24, i32 noundef 259)
  %25 = add nuw nsw i64 %10, 4
  %26 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %25)
  %27 = add nuw nsw i64 %22, 16
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %27, i64 noundef %21)
  %28 = add nuw nsw i64 %22, 40
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %28, i64 noundef %21)
  %29 = add i32 %7, -32
  %30 = add i32 %7, -20
  tail call void @w2c_hermes_hermes0x3A0x3ASourceErrorManager0x3A0x3Amessage0x28hermes0x3A0x3ASourceErrorManager0x3A0x3ADiagKind0x2C0x20llvh0x3A0x3ASMRange0x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20hermes0x3A0x3ASubsystem0x29(ptr noundef nonnull %0, i32 noundef %26, i32 noundef 0, i32 noundef %29, i32 noundef %30, i32 noundef 2) #3
  br label %31

31:                                               ; preds = %13, %5, %19
  %32 = add nuw nsw i64 %10, 1016
  %33 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %32)
  %.not176 = icmp eq i32 %33, %3
  br i1 %.not176, label %34, label %49

34:                                               ; preds = %31
  %35 = add nuw nsw i64 %10, 882
  %36 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %35)
  %.not177 = icmp eq i32 %36, 0
  br i1 %.not177, label %49, label %37

37:                                               ; preds = %34
  %38 = zext i32 %2 to i64
  %39 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %38)
  %40 = zext i32 %8 to i64
  %41 = add nuw nsw i64 %40, 28
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %41, i32 noundef 38050)
  %42 = add nuw nsw i64 %40, 36
  tail call void @i32_store16(ptr noundef nonnull %9, i64 noundef %42, i32 noundef 259)
  %43 = add nuw nsw i64 %10, 4
  %44 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %43)
  %45 = add nuw nsw i64 %40, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %45, i64 noundef %39)
  %46 = add nuw nsw i64 %40, 40
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %46, i64 noundef %39)
  %47 = add i32 %7, -40
  %48 = add i32 %7, -20
  tail call void @w2c_hermes_hermes0x3A0x3ASourceErrorManager0x3A0x3Amessage0x28hermes0x3A0x3ASourceErrorManager0x3A0x3ADiagKind0x2C0x20llvh0x3A0x3ASMRange0x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20hermes0x3A0x3ASubsystem0x29(ptr noundef nonnull %0, i32 noundef %44, i32 noundef 0, i32 noundef %47, i32 noundef %48, i32 noundef 2) #3
  br label %49

49:                                               ; preds = %34, %31, %37
  %50 = add nuw nsw i64 %10, 28
  %51 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %50)
  %.not178 = icmp eq i32 %51, 0
  br i1 %.not178, label %65, label %52

52:                                               ; preds = %49
  %53 = add nuw nsw i64 %10, 932
  %54 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %53)
  %.not179 = icmp eq i32 %54, %3
  br i1 %.not179, label %55, label %65

55:                                               ; preds = %52
  %56 = zext i32 %2 to i64
  %57 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %56)
  %58 = zext i32 %8 to i64
  %59 = add nuw nsw i64 %58, 28
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %59, i32 noundef 38179)
  %60 = add nuw nsw i64 %58, 36
  tail call void @i32_store16(ptr noundef nonnull %9, i64 noundef %60, i32 noundef 259)
  %61 = add nuw nsw i64 %10, 4
  %62 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %61)
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %58, i64 noundef %57)
  %63 = add nuw nsw i64 %58, 40
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %63, i64 noundef %57)
  %64 = add i32 %7, -20
  tail call void @w2c_hermes_hermes0x3A0x3ASourceErrorManager0x3A0x3Amessage0x28hermes0x3A0x3ASourceErrorManager0x3A0x3ADiagKind0x2C0x20llvh0x3A0x3ASMRange0x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20hermes0x3A0x3ASubsystem0x29(ptr noundef nonnull %0, i32 noundef %62, i32 noundef 0, i32 noundef %8, i32 noundef %64, i32 noundef 2) #3
  br label %65

65:                                               ; preds = %52, %49, %55
  store i32 %7, ptr %6, align 8, !tbaa !5
  %66 = icmp eq i32 %4, 1
  %67 = icmp eq i32 %4, 47
  %68 = or i1 %66, %67
  %69 = zext i1 %68 to i32
  ret i32 %69
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!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