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

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

declare i32 @w2c_hermes_hermes0x3A0x3AisUnicodeIDContinue0x28unsigned0x20int0x29(ptr noundef, i32 noundef) #0

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

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

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_u(ptr noundef, i64 noundef) #3

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) #3

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

declare void @w2c_hermes_llvh0x3A0x3ASmallVectorBase0x3A0x3Agrow_pod0x28void0x2A0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

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

44:                                               ; preds = %2
  br label %92

45:                                               ; preds = %2
  %46 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %46, ptr %9, align 4, !tbaa !9
  store i32 95, ptr %10, align 4, !tbaa !9
  %47 = load i32, ptr %9, align 4, !tbaa !9
  %48 = load i32, ptr %10, align 4, !tbaa !9
  %49 = icmp eq i32 %47, %48
  %50 = zext i1 %49 to i32
  store i32 %50, ptr %9, align 4, !tbaa !9
  %51 = load i32, ptr %9, align 4, !tbaa !9
  %52 = icmp ne i32 %51, 0
  br i1 %52, label %53, label %54

53:                                               ; preds = %45
  br label %92

54:                                               ; preds = %45
  %55 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %55, ptr %9, align 4, !tbaa !9
  %56 = load i32, ptr %9, align 4, !tbaa !9
  %57 = trunc i32 %56 to i8
  %58 = sext i8 %57 to i32
  store i32 %58, ptr %9, align 4, !tbaa !9
  %59 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %59, ptr %8, align 4, !tbaa !9
  store i32 48, ptr %10, align 4, !tbaa !9
  %60 = load i32, ptr %10, align 4, !tbaa !9
  %61 = load i32, ptr %9, align 4, !tbaa !9
  %62 = sub i32 %61, %60
  store i32 %62, ptr %9, align 4, !tbaa !9
  store i32 255, ptr %10, align 4, !tbaa !9
  %63 = load i32, ptr %10, align 4, !tbaa !9
  %64 = load i32, ptr %9, align 4, !tbaa !9
  %65 = and i32 %64, %63
  store i32 %65, ptr %9, align 4, !tbaa !9
  store i32 10, ptr %10, align 4, !tbaa !9
  %66 = load i32, ptr %9, align 4, !tbaa !9
  %67 = load i32, ptr %10, align 4, !tbaa !9
  %68 = icmp ult i32 %66, %67
  %69 = zext i1 %68 to i32
  store i32 %69, ptr %9, align 4, !tbaa !9
  %70 = load i32, ptr %9, align 4, !tbaa !9
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %73

72:                                               ; preds = %54
  br label %92

73:                                               ; preds = %54
  %74 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %74, ptr %9, align 4, !tbaa !9
  store i32 32, ptr %10, align 4, !tbaa !9
  %75 = load i32, ptr %10, align 4, !tbaa !9
  %76 = load i32, ptr %9, align 4, !tbaa !9
  %77 = or i32 %76, %75
  store i32 %77, ptr %9, align 4, !tbaa !9
  store i32 97, ptr %10, align 4, !tbaa !9
  %78 = load i32, ptr %10, align 4, !tbaa !9
  %79 = load i32, ptr %9, align 4, !tbaa !9
  %80 = sub i32 %79, %78
  store i32 %80, ptr %9, align 4, !tbaa !9
  store i32 255, ptr %10, align 4, !tbaa !9
  %81 = load i32, ptr %10, align 4, !tbaa !9
  %82 = load i32, ptr %9, align 4, !tbaa !9
  %83 = and i32 %82, %81
  store i32 %83, ptr %9, align 4, !tbaa !9
  store i32 25, ptr %10, align 4, !tbaa !9
  %84 = load i32, ptr %9, align 4, !tbaa !9
  %85 = load i32, ptr %10, align 4, !tbaa !9
  %86 = icmp ugt i32 %84, %85
  %87 = zext i1 %86 to i32
  store i32 %87, ptr %9, align 4, !tbaa !9
  %88 = load i32, ptr %9, align 4, !tbaa !9
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %90, label %91

90:                                               ; preds = %73
  br label %204

91:                                               ; preds = %73
  br label %92

92:                                               ; preds = %91, %72, %53, %44
  %93 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %93, ptr %9, align 4, !tbaa !9
  %94 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %94, ptr %10, align 4, !tbaa !9
  store i32 1, ptr %11, align 4, !tbaa !9
  %95 = load i32, ptr %11, align 4, !tbaa !9
  %96 = load i32, ptr %10, align 4, !tbaa !9
  %97 = add i32 %96, %95
  store i32 %97, ptr %10, align 4, !tbaa !9
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.w2c_hermes, ptr %98, i32 0, i32 6
  %100 = load i32, ptr %9, align 4, !tbaa !9
  %101 = zext i32 %100 to i64
  %102 = add i64 %101, 88
  %103 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store(ptr noundef %99, i64 noundef %102, i32 noundef %103)
  %104 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %104, ptr %9, align 4, !tbaa !9
  %105 = load ptr, ptr %3, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.w2c_hermes, ptr %105, i32 0, i32 6
  %107 = load i32, ptr %9, align 4, !tbaa !9
  %108 = zext i32 %107 to i64
  %109 = add i64 %108, 104
  %110 = call i32 @i32_load(ptr noundef %106, i64 noundef %109)
  store i32 %110, ptr %9, align 4, !tbaa !9
  %111 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %111, ptr %6, align 4, !tbaa !9
  %112 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %112, ptr %10, align 4, !tbaa !9
  %113 = load ptr, ptr %3, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.w2c_hermes, ptr %113, i32 0, i32 6
  %115 = load i32, ptr %10, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = add i64 %116, 108
  %118 = call i32 @i32_load(ptr noundef %114, i64 noundef %117)
  store i32 %118, ptr %10, align 4, !tbaa !9
  %119 = load i32, ptr %9, align 4, !tbaa !9
  %120 = load i32, ptr %10, align 4, !tbaa !9
  %121 = icmp uge i32 %119, %120
  %122 = zext i1 %121 to i32
  store i32 %122, ptr %9, align 4, !tbaa !9
  %123 = load i32, ptr %9, align 4, !tbaa !9
  %124 = icmp ne i32 %123, 0
  br i1 %124, label %125, label %147

125:                                              ; preds = %92
  %126 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %126, ptr %9, align 4, !tbaa !9
  store i32 100, ptr %10, align 4, !tbaa !9
  %127 = load i32, ptr %10, align 4, !tbaa !9
  %128 = load i32, ptr %9, align 4, !tbaa !9
  %129 = add i32 %128, %127
  store i32 %129, ptr %9, align 4, !tbaa !9
  %130 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %130, ptr %10, align 4, !tbaa !9
  store i32 112, ptr %11, align 4, !tbaa !9
  %131 = load i32, ptr %11, align 4, !tbaa !9
  %132 = load i32, ptr %10, align 4, !tbaa !9
  %133 = add i32 %132, %131
  store i32 %133, ptr %10, align 4, !tbaa !9
  store i32 0, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %134 = load ptr, ptr %3, align 8, !tbaa !5
  %135 = load i32, ptr %9, align 4, !tbaa !9
  %136 = load i32, ptr %10, align 4, !tbaa !9
  %137 = load i32, ptr %11, align 4, !tbaa !9
  %138 = load i32, ptr %12, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3ASmallVectorBase0x3A0x3Agrow_pod0x28void0x2A0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef %134, i32 noundef %135, i32 noundef %136, i32 noundef %137, i32 noundef %138)
  %139 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %139, ptr %9, align 4, !tbaa !9
  %140 = load ptr, ptr %3, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.w2c_hermes, ptr %140, i32 0, i32 6
  %142 = load i32, ptr %9, align 4, !tbaa !9
  %143 = zext i32 %142 to i64
  %144 = add i64 %143, 104
  %145 = call i32 @i32_load(ptr noundef %141, i64 noundef %144)
  store i32 %145, ptr %9, align 4, !tbaa !9
  %146 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %146, ptr %6, align 4, !tbaa !9
  br label %147

147:                                              ; preds = %125, %92
  %148 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %148, ptr %9, align 4, !tbaa !9
  %149 = load ptr, ptr %3, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.w2c_hermes, ptr %149, i32 0, i32 6
  %151 = load i32, ptr %9, align 4, !tbaa !9
  %152 = zext i32 %151 to i64
  %153 = add i64 %152, 100
  %154 = call i32 @i32_load(ptr noundef %150, i64 noundef %153)
  store i32 %154, ptr %9, align 4, !tbaa !9
  %155 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %155, ptr %10, align 4, !tbaa !9
  %156 = load i32, ptr %10, align 4, !tbaa !9
  %157 = load i32, ptr %9, align 4, !tbaa !9
  %158 = add i32 %157, %156
  store i32 %158, ptr %9, align 4, !tbaa !9
  %159 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %159, ptr %10, align 4, !tbaa !9
  %160 = load ptr, ptr %3, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.w2c_hermes, ptr %160, i32 0, i32 6
  %162 = load i32, ptr %10, align 4, !tbaa !9
  %163 = zext i32 %162 to i64
  %164 = call i32 @i32_load8_u(ptr noundef %161, i64 noundef %163)
  store i32 %164, ptr %10, align 4, !tbaa !9
  %165 = load ptr, ptr %3, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.w2c_hermes, ptr %165, i32 0, i32 6
  %167 = load i32, ptr %9, align 4, !tbaa !9
  %168 = zext i32 %167 to i64
  %169 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %166, i64 noundef %168, i32 noundef %169)
  %170 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %170, ptr %9, align 4, !tbaa !9
  %171 = load ptr, ptr %3, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.w2c_hermes, ptr %171, i32 0, i32 6
  %173 = load i32, ptr %9, align 4, !tbaa !9
  %174 = zext i32 %173 to i64
  %175 = add i64 %174, 104
  %176 = call i32 @i32_load(ptr noundef %172, i64 noundef %175)
  store i32 %176, ptr %9, align 4, !tbaa !9
  store i32 1, ptr %10, align 4, !tbaa !9
  %177 = load i32, ptr %10, align 4, !tbaa !9
  %178 = load i32, ptr %9, align 4, !tbaa !9
  %179 = add i32 %178, %177
  store i32 %179, ptr %9, align 4, !tbaa !9
  %180 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %180, ptr %5, align 4, !tbaa !9
  %181 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %181, ptr %10, align 4, !tbaa !9
  %182 = load ptr, ptr %3, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.w2c_hermes, ptr %182, i32 0, i32 6
  %184 = load i32, ptr %10, align 4, !tbaa !9
  %185 = zext i32 %184 to i64
  %186 = add i64 %185, 108
  %187 = call i32 @i32_load(ptr noundef %183, i64 noundef %186)
  store i32 %187, ptr %10, align 4, !tbaa !9
  %188 = load i32, ptr %9, align 4, !tbaa !9
  %189 = load i32, ptr %10, align 4, !tbaa !9
  %190 = icmp ugt i32 %188, %189
  %191 = zext i1 %190 to i32
  store i32 %191, ptr %9, align 4, !tbaa !9
  %192 = load i32, ptr %9, align 4, !tbaa !9
  %193 = icmp ne i32 %192, 0
  br i1 %193, label %194, label %195

194:                                              ; preds = %147
  br label %278

195:                                              ; preds = %147
  %196 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %196, ptr %9, align 4, !tbaa !9
  %197 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %197, ptr %10, align 4, !tbaa !9
  %198 = load ptr, ptr %3, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.w2c_hermes, ptr %198, i32 0, i32 6
  %200 = load i32, ptr %9, align 4, !tbaa !9
  %201 = zext i32 %200 to i64
  %202 = add i64 %201, 104
  %203 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store(ptr noundef %199, i64 noundef %202, i32 noundef %203)
  br label %267

204:                                              ; preds = %90
  store i32 0, ptr %9, align 4, !tbaa !9
  %205 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %205, ptr %6, align 4, !tbaa !9
  %206 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %206, ptr %9, align 4, !tbaa !9
  store i32 0, ptr %10, align 4, !tbaa !9
  %207 = load i32, ptr %9, align 4, !tbaa !9
  %208 = load i32, ptr %10, align 4, !tbaa !9
  %209 = icmp sge i32 %207, %208
  %210 = zext i1 %209 to i32
  store i32 %210, ptr %9, align 4, !tbaa !9
  %211 = load i32, ptr %9, align 4, !tbaa !9
  %212 = icmp ne i32 %211, 0
  br i1 %212, label %213, label %214

213:                                              ; preds = %204
  br label %269

214:                                              ; preds = %204
  %215 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %215, ptr %9, align 4, !tbaa !9
  %216 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %216, ptr %10, align 4, !tbaa !9
  %217 = load ptr, ptr %3, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.w2c_hermes, ptr %217, i32 0, i32 6
  %219 = load i32, ptr %9, align 4, !tbaa !9
  %220 = zext i32 %219 to i64
  %221 = add i64 %220, 12
  %222 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store(ptr noundef %218, i64 noundef %221, i32 noundef %222)
  %223 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %223, ptr %9, align 4, !tbaa !9
  store i32 12, ptr %10, align 4, !tbaa !9
  %224 = load i32, ptr %10, align 4, !tbaa !9
  %225 = load i32, ptr %9, align 4, !tbaa !9
  %226 = add i32 %225, %224
  store i32 %226, ptr %9, align 4, !tbaa !9
  %227 = load ptr, ptr %3, align 8, !tbaa !5
  %228 = load i32, ptr %9, align 4, !tbaa !9
  %229 = call i32 @w2c_hermes_unsigned0x20int0x20hermes0x3A0x3A_decodeUTF8SlowPath0x3Cfalse0x2C0x20hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3A_peekUTF80x28char0x20const0x2A0x290x20const0x3A0x3A0x27lambda0x270x28llvh0x3A0x3ATwine0x20const0x260x290x3E0x28char0x20const0x2A0x260x2C0x20hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3A_peekUTF80x28char0x20const0x2A0x290x20const0x3A0x3A0x27lambda0x270x28llvh0x3A0x3ATwine0x20const0x260x290x29(ptr noundef %227, i32 noundef %228)
  store i32 %229, ptr %9, align 4, !tbaa !9
  %230 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %230, ptr %5, align 4, !tbaa !9
  %231 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %231, ptr %9, align 4, !tbaa !9
  %232 = load ptr, ptr %3, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.w2c_hermes, ptr %232, i32 0, i32 6
  %234 = load i32, ptr %9, align 4, !tbaa !9
  %235 = zext i32 %234 to i64
  %236 = add i64 %235, 12
  %237 = call i32 @i32_load(ptr noundef %233, i64 noundef %236)
  store i32 %237, ptr %9, align 4, !tbaa !9
  %238 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %238, ptr %8, align 4, !tbaa !9
  %239 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %239, ptr %9, align 4, !tbaa !9
  %240 = load ptr, ptr %3, align 8, !tbaa !5
  %241 = load i32, ptr %9, align 4, !tbaa !9
  %242 = call i32 @w2c_hermes_hermes0x3A0x3AisUnicodeIDContinue0x28unsigned0x20int0x29(ptr noundef %240, i32 noundef %241)
  store i32 %242, ptr %9, align 4, !tbaa !9
  %243 = load i32, ptr %9, align 4, !tbaa !9
  %244 = icmp ne i32 %243, 0
  %245 = xor i1 %244, true
  %246 = zext i1 %245 to i32
  store i32 %246, ptr %9, align 4, !tbaa !9
  %247 = load i32, ptr %9, align 4, !tbaa !9
  %248 = icmp ne i32 %247, 0
  br i1 %248, label %249, label %250

249:                                              ; preds = %214
  br label %269

250:                                              ; preds = %214
  %251 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %251, ptr %9, align 4, !tbaa !9
  %252 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %252, ptr %10, align 4, !tbaa !9
  store i32 100, ptr %11, align 4, !tbaa !9
  %253 = load i32, ptr %11, align 4, !tbaa !9
  %254 = load i32, ptr %10, align 4, !tbaa !9
  %255 = add i32 %254, %253
  store i32 %255, ptr %10, align 4, !tbaa !9
  %256 = load ptr, ptr %3, align 8, !tbaa !5
  %257 = load i32, ptr %9, align 4, !tbaa !9
  %258 = load i32, ptr %10, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3AappendUnicodeToStorage0x28unsigned0x20int0x2C0x20llvh0x3A0x3ASmallVectorImpl0x3Cchar0x3E0x260x29(ptr noundef %256, i32 noundef %257, i32 noundef %258)
  %259 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %259, ptr %9, align 4, !tbaa !9
  %260 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %260, ptr %10, align 4, !tbaa !9
  %261 = load ptr, ptr %3, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.w2c_hermes, ptr %261, i32 0, i32 6
  %263 = load i32, ptr %9, align 4, !tbaa !9
  %264 = zext i32 %263 to i64
  %265 = add i64 %264, 88
  %266 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store(ptr noundef %262, i64 noundef %265, i32 noundef %266)
  br label %267

267:                                              ; preds = %250, %195
  store i32 1, ptr %9, align 4, !tbaa !9
  %268 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %268, ptr %6, align 4, !tbaa !9
  br label %269

269:                                              ; preds = %267, %249, %213
  %270 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %270, ptr %9, align 4, !tbaa !9
  store i32 16, ptr %10, align 4, !tbaa !9
  %271 = load i32, ptr %10, align 4, !tbaa !9
  %272 = load i32, ptr %9, align 4, !tbaa !9
  %273 = add i32 %272, %271
  store i32 %273, ptr %9, align 4, !tbaa !9
  %274 = load i32, ptr %9, align 4, !tbaa !9
  %275 = load ptr, ptr %3, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.w2c_hermes, ptr %275, i32 0, i32 3
  store i32 %274, ptr %276, align 8, !tbaa !11
  %277 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %277, ptr %9, align 4, !tbaa !9
  br label %296

278:                                              ; preds = %194
  store i32 0, ptr %9, align 4, !tbaa !9
  %279 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %279, ptr %4, align 4, !tbaa !9
  store i32 117789, ptr %10, align 4, !tbaa !9
  %280 = load i32, ptr %10, align 4, !tbaa !9
  %281 = load i32, ptr %9, align 4, !tbaa !9
  %282 = add i32 %281, %280
  store i32 %282, ptr %9, align 4, !tbaa !9
  %283 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %283, ptr %10, align 4, !tbaa !9
  store i32 79572, ptr %11, align 4, !tbaa !9
  %284 = load i32, ptr %11, align 4, !tbaa !9
  %285 = load i32, ptr %10, align 4, !tbaa !9
  %286 = add i32 %285, %284
  store i32 %286, ptr %10, align 4, !tbaa !9
  store i32 74, ptr %11, align 4, !tbaa !9
  %287 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %287, ptr %12, align 4, !tbaa !9
  store i32 88407, ptr %13, align 4, !tbaa !9
  %288 = load i32, ptr %13, align 4, !tbaa !9
  %289 = load i32, ptr %12, align 4, !tbaa !9
  %290 = add i32 %289, %288
  store i32 %290, ptr %12, align 4, !tbaa !9
  %291 = load ptr, ptr %3, align 8, !tbaa !5
  %292 = load i32, ptr %9, align 4, !tbaa !9
  %293 = load i32, ptr %10, align 4, !tbaa !9
  %294 = load i32, ptr %11, align 4, !tbaa !9
  %295 = load i32, ptr %12, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %291, i32 noundef %292, i32 noundef %293, i32 noundef %294, i32 noundef %295)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

296:                                              ; preds = %269
  %297 = load i32, ptr %9, align 4, !tbaa !9
  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
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  ret i32 %297
}

declare i32 @w2c_hermes_unsigned0x20int0x20hermes0x3A0x3A_decodeUTF8SlowPath0x3Cfalse0x2C0x20hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3A_peekUTF80x28char0x20const0x2A0x290x20const0x3A0x3A0x27lambda0x270x28llvh0x3A0x3ATwine0x20const0x260x290x3E0x28char0x20const0x2A0x260x2C0x20hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3A_peekUTF80x28char0x20const0x2A0x290x20const0x3A0x3A0x27lambda0x270x28llvh0x3A0x3ATwine0x20const0x260x290x29(ptr noundef, i32 noundef) #0

declare void @w2c_hermes_hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3AappendUnicodeToStorage0x28unsigned0x20int0x2C0x20llvh0x3A0x3ASmallVectorImpl0x3Cchar0x3E0x260x29(ptr noundef, i32 noundef, i32 noundef) #0

attributes #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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, !10, i64 24}
!12 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !16, i64 80}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !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"

declare i32 @w2c_hermes_hermes0x3A0x3AisUnicodeIDContinue0x28unsigned0x20int0x29(ptr 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 void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_u(ptr noundef, i64 noundef) local_unnamed_addr #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) local_unnamed_addr #2

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

declare void @w2c_hermes_llvh0x3A0x3ASmallVectorBase0x3A0x3Agrow_pod0x28void0x2A0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @w2c_hermes_bool0x20hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3AconsumeOneIdentifierPartNoEscape0x3C0x28hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3AIdentifierMode0x2900x3E0x280x29(ptr noundef %0, i32 noundef %1) local_unnamed_addr #3 {
  %3 = getelementptr inbounds i8, ptr %0, i64 24
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = add i32 %4, -16
  store i32 %5, ptr %3, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  %7 = zext i32 %1 to i64
  %8 = add nuw nsw i64 %7, 88
  %9 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %8)
  %10 = zext i32 %9 to i64
  %11 = tail call i32 @i32_load8_u(ptr noundef nonnull %6, i64 noundef %10)
  switch i32 %11, label %12 [
    i32 36, label %21
    i32 95, label %21
  ]

12:                                               ; preds = %2
  %13 = add i32 %11, 208
  %14 = and i32 %13, 254
  %15 = icmp ult i32 %14, 10
  br i1 %15, label %21, label %16

16:                                               ; preds = %12
  %17 = or i32 %11, 32
  %18 = add i32 %17, 159
  %19 = and i32 %18, 254
  %20 = icmp ugt i32 %19, 25
  br i1 %20, label %42, label %21

21:                                               ; preds = %2, %2, %16, %12
  %22 = add i32 %9, 1
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %8, i32 noundef %22)
  %23 = add nuw nsw i64 %7, 104
  %24 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %23)
  %25 = add nuw nsw i64 %7, 108
  %26 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %25)
  %.not162 = icmp ult i32 %24, %26
  br i1 %.not162, label %31, label %27

27:                                               ; preds = %21
  %28 = add i32 %1, 100
  %29 = add i32 %1, 112
  tail call void @w2c_hermes_llvh0x3A0x3ASmallVectorBase0x3A0x3Agrow_pod0x28void0x2A0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %28, i32 noundef %29, i32 noundef 0, i32 noundef 1) #4
  %30 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %23)
  br label %31

31:                                               ; preds = %27, %21
  %.0 = phi i32 [ %30, %27 ], [ %24, %21 ]
  %32 = add nuw nsw i64 %7, 100
  %33 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %32)
  %34 = add i32 %33, %.0
  %35 = tail call i32 @i32_load8_u(ptr noundef nonnull %6, i64 noundef %10)
  %36 = zext i32 %34 to i64
  tail call void @i32_store8(ptr noundef nonnull %6, i64 noundef %36, i32 noundef %35)
  %37 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %23)
  %38 = add i32 %37, 1
  %39 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %25)
  %40 = icmp ugt i32 %38, %39
  br i1 %40, label %54, label %41

41:                                               ; preds = %31
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %23, i32 noundef %38)
  br label %53

42:                                               ; preds = %16
  %sext.mask = and i32 %11, 128
  %43 = icmp eq i32 %sext.mask, 0
  br i1 %43, label %53, label %44

44:                                               ; preds = %42
  %45 = zext i32 %5 to i64
  %46 = add nuw nsw i64 %45, 12
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %46, i32 noundef %9)
  %47 = add i32 %4, -4
  %48 = tail call i32 @w2c_hermes_unsigned0x20int0x20hermes0x3A0x3A_decodeUTF8SlowPath0x3Cfalse0x2C0x20hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3A_peekUTF80x28char0x20const0x2A0x290x20const0x3A0x3A0x27lambda0x270x28llvh0x3A0x3ATwine0x20const0x260x290x3E0x28char0x20const0x2A0x260x2C0x20hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3A_peekUTF80x28char0x20const0x2A0x290x20const0x3A0x3A0x27lambda0x270x28llvh0x3A0x3ATwine0x20const0x260x290x29(ptr noundef nonnull %0, i32 noundef %47) #4
  %49 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %46)
  %50 = tail call i32 @w2c_hermes_hermes0x3A0x3AisUnicodeIDContinue0x28unsigned0x20int0x29(ptr noundef nonnull %0, i32 noundef %48) #4
  %.not = icmp eq i32 %50, 0
  br i1 %.not, label %53, label %51

51:                                               ; preds = %44
  %52 = add i32 %1, 100
  tail call void @w2c_hermes_hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3AappendUnicodeToStorage0x28unsigned0x20int0x2C0x20llvh0x3A0x3ASmallVectorImpl0x3Cchar0x3E0x260x29(ptr noundef nonnull %0, i32 noundef %48, i32 noundef %52) #4
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %8, i32 noundef %49)
  br label %53

53:                                               ; preds = %41, %51, %44, %42
  %.1 = phi i32 [ 0, %42 ], [ 0, %44 ], [ 1, %51 ], [ 1, %41 ]
  store i32 %4, ptr %3, align 8, !tbaa !5
  ret i32 %.1

54:                                               ; preds = %31
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 117789, i32 noundef 79572, i32 noundef 74, i32 noundef 88407)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

declare i32 @w2c_hermes_unsigned0x20int0x20hermes0x3A0x3A_decodeUTF8SlowPath0x3Cfalse0x2C0x20hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3A_peekUTF80x28char0x20const0x2A0x290x20const0x3A0x3A0x27lambda0x270x28llvh0x3A0x3ATwine0x20const0x260x290x3E0x28char0x20const0x2A0x260x2C0x20hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3A_peekUTF80x28char0x20const0x2A0x290x20const0x3A0x3A0x27lambda0x270x28llvh0x3A0x3ATwine0x20const0x260x290x29(ptr noundef, i32 noundef) local_unnamed_addr #0

declare void @w2c_hermes_hermes0x3A0x3Aparser0x3A0x3AJSLexer0x3A0x3AappendUnicodeToStorage0x28unsigned0x20int0x2C0x20llvh0x3A0x3ASmallVectorImpl0x3Cchar0x3E0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

attributes #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 = { 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 #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