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

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_dlfree(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 i64 @i64_load(ptr noundef, i64 noundef) #3

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

declare void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Apair0x3Cllvh0x3A0x3AStringMapIterator0x3Cllvh0x3A0x3Acl0x3A0x3AOption0x2A0x3E0x2C0x20bool0x3E0x20llvh0x3A0x3AStringMap0x3Cllvh0x3A0x3Acl0x3A0x3AOption0x2A0x2C0x20llvh0x3A0x3AMallocAllocator0x3E0x3A0x3Atry_emplace0x3Cllvh0x3A0x3Acl0x3A0x3AOption0x2A0x3E0x28llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Acl0x3A0x3AOption0x2A0x260x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

declare i32 @w2c_hermes_llvh0x3A0x3Aerrs0x280x29(ptr noundef) #4

declare void @w2c_hermes_llvh0x3A0x3Areport_fatal_error0x28char0x20const0x2A0x2C0x20bool0x29(ptr noundef, i32 noundef, i32 noundef) #4

declare i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) #4

declare i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28char0x20const0x2A0x29(ptr noundef, i32 noundef, i32 noundef) #4

declare i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28llvh0x3A0x3AStringRef0x29(ptr noundef, i32 noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_0x28anonymous0x20namespace0x290x3A0x3ACommandLineParser0x3A0x3AupdateArgStr0x28llvh0x3A0x3Acl0x3A0x3AOption0x2A0x2C0x20llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Acl0x3A0x3ASubCommand0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
  %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 i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store i64 0, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.w2c_hermes, ptr %19, i32 0, i32 3
  %21 = load i32, ptr %20, align 8, !tbaa !13
  store i32 %21, ptr %13, align 4, !tbaa !9
  store i32 -64, ptr %14, align 4, !tbaa !9
  %22 = load i32, ptr %14, align 4, !tbaa !9
  %23 = load i32, ptr %13, align 4, !tbaa !9
  %24 = add i32 %23, %22
  store i32 %24, ptr %13, align 4, !tbaa !9
  %25 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %25, ptr %11, align 4, !tbaa !9
  %26 = load i32, ptr %13, align 4, !tbaa !9
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.w2c_hermes, ptr %27, i32 0, i32 3
  store i32 %26, ptr %28, align 8, !tbaa !13
  %29 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %29, ptr %13, align 4, !tbaa !9
  %30 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %30, ptr %14, align 4, !tbaa !9
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.w2c_hermes, ptr %31, i32 0, i32 6
  %33 = load i32, ptr %14, align 4, !tbaa !9
  %34 = zext i32 %33 to i64
  %35 = call i64 @i64_load(ptr noundef %32, i64 noundef %34)
  store i64 %35, ptr %18, align 8, !tbaa !11
  %36 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %36, ptr %12, align 8, !tbaa !11
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.w2c_hermes, ptr %37, i32 0, i32 6
  %39 = load i32, ptr %13, align 4, !tbaa !9
  %40 = zext i32 %39 to i64
  %41 = add i64 %40, 16
  %42 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %38, i64 noundef %41, i64 noundef %42)
  %43 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %43, ptr %13, align 4, !tbaa !9
  %44 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %44, ptr %14, align 4, !tbaa !9
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.w2c_hermes, ptr %45, i32 0, i32 6
  %47 = load i32, ptr %13, align 4, !tbaa !9
  %48 = zext i32 %47 to i64
  %49 = add i64 %48, 48
  %50 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %46, i64 noundef %49, i32 noundef %50)
  %51 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %51, ptr %13, align 4, !tbaa !9
  %52 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %52, ptr %18, align 8, !tbaa !11
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.w2c_hermes, ptr %53, i32 0, i32 6
  %55 = load i32, ptr %13, align 4, !tbaa !9
  %56 = zext i32 %55 to i64
  %57 = add i64 %56, 40
  %58 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %54, i64 noundef %57, i64 noundef %58)
  %59 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %59, ptr %13, align 4, !tbaa !9
  %60 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %60, ptr %18, align 8, !tbaa !11
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.w2c_hermes, ptr %61, i32 0, i32 6
  %63 = load i32, ptr %13, align 4, !tbaa !9
  %64 = zext i32 %63 to i64
  %65 = add i64 %64, 56
  %66 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %62, i64 noundef %65, i64 noundef %66)
  %67 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %67, ptr %13, align 4, !tbaa !9
  store i32 32, ptr %14, align 4, !tbaa !9
  %68 = load i32, ptr %14, align 4, !tbaa !9
  %69 = load i32, ptr %13, align 4, !tbaa !9
  %70 = add i32 %69, %68
  store i32 %70, ptr %13, align 4, !tbaa !9
  %71 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %71, ptr %14, align 4, !tbaa !9
  store i32 72, ptr %15, align 4, !tbaa !9
  %72 = load i32, ptr %15, align 4, !tbaa !9
  %73 = load i32, ptr %14, align 4, !tbaa !9
  %74 = add i32 %73, %72
  store i32 %74, ptr %14, align 4, !tbaa !9
  %75 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %75, ptr %9, align 4, !tbaa !9
  %76 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %76, ptr %15, align 4, !tbaa !9
  store i32 16, ptr %16, align 4, !tbaa !9
  %77 = load i32, ptr %16, align 4, !tbaa !9
  %78 = load i32, ptr %15, align 4, !tbaa !9
  %79 = add i32 %78, %77
  store i32 %79, ptr %15, align 4, !tbaa !9
  %80 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %80, ptr %16, align 4, !tbaa !9
  store i32 48, ptr %17, align 4, !tbaa !9
  %81 = load i32, ptr %17, align 4, !tbaa !9
  %82 = load i32, ptr %16, align 4, !tbaa !9
  %83 = add i32 %82, %81
  store i32 %83, ptr %16, align 4, !tbaa !9
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  %85 = load i32, ptr %13, align 4, !tbaa !9
  %86 = load i32, ptr %14, align 4, !tbaa !9
  %87 = load i32, ptr %15, align 4, !tbaa !9
  %88 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Apair0x3Cllvh0x3A0x3AStringMapIterator0x3Cllvh0x3A0x3Acl0x3A0x3AOption0x2A0x3E0x2C0x20bool0x3E0x20llvh0x3A0x3AStringMap0x3Cllvh0x3A0x3Acl0x3A0x3AOption0x2A0x2C0x20llvh0x3A0x3AMallocAllocator0x3E0x3A0x3Atry_emplace0x3Cllvh0x3A0x3Acl0x3A0x3AOption0x2A0x3E0x28llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Acl0x3A0x3AOption0x2A0x260x260x29(ptr noundef %84, i32 noundef %85, i32 noundef %86, i32 noundef %87, i32 noundef %88)
  %89 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %89, ptr %13, align 4, !tbaa !9
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.w2c_hermes, ptr %90, i32 0, i32 6
  %92 = load i32, ptr %13, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = add i64 %93, 36
  %95 = call i32 @i32_load8_u(ptr noundef %91, i64 noundef %94)
  store i32 %95, ptr %13, align 4, !tbaa !9
  %96 = load i32, ptr %13, align 4, !tbaa !9
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %192

98:                                               ; preds = %5
  %99 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %99, ptr %13, align 4, !tbaa !9
  %100 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %100, ptr %14, align 4, !tbaa !9
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.w2c_hermes, ptr %101, i32 0, i32 6
  %103 = load i32, ptr %14, align 4, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = add i64 %104, 20
  %106 = call i64 @i64_load(ptr noundef %102, i64 noundef %105)
  store i64 %106, ptr %18, align 8, !tbaa !11
  %107 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %107, ptr %12, align 8, !tbaa !11
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.w2c_hermes, ptr %108, i32 0, i32 6
  %110 = load i32, ptr %13, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  %112 = add i64 %111, 8
  %113 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %109, i64 noundef %112, i64 noundef %113)
  %114 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %114, ptr %13, align 4, !tbaa !9
  %115 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %115, ptr %18, align 8, !tbaa !11
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.w2c_hermes, ptr %116, i32 0, i32 6
  %118 = load i32, ptr %13, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  %120 = add i64 %119, 40
  %121 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %117, i64 noundef %120, i64 noundef %121)
  %122 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %122, ptr %13, align 4, !tbaa !9
  %123 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %123, ptr %14, align 4, !tbaa !9
  store i32 8, ptr %15, align 4, !tbaa !9
  %124 = load i32, ptr %15, align 4, !tbaa !9
  %125 = load i32, ptr %14, align 4, !tbaa !9
  %126 = add i32 %125, %124
  store i32 %126, ptr %14, align 4, !tbaa !9
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = load i32, ptr %13, align 4, !tbaa !9
  %129 = load i32, ptr %14, align 4, !tbaa !9
  %130 = call i32 @w2c_hermes_llvh0x3A0x3AStringMapImpl0x3A0x3AFindKey0x28llvh0x3A0x3AStringRef0x290x20const(ptr noundef %127, i32 noundef %128, i32 noundef %129)
  store i32 %130, ptr %13, align 4, !tbaa !9
  %131 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %131, ptr %8, align 4, !tbaa !9
  store i32 -1, ptr %14, align 4, !tbaa !9
  %132 = load i32, ptr %13, align 4, !tbaa !9
  %133 = load i32, ptr %14, align 4, !tbaa !9
  %134 = icmp eq i32 %132, %133
  %135 = zext i1 %134 to i32
  store i32 %135, ptr %13, align 4, !tbaa !9
  %136 = load i32, ptr %13, align 4, !tbaa !9
  %137 = icmp ne i32 %136, 0
  br i1 %137, label %138, label %139

138:                                              ; preds = %98
  br label %184

139:                                              ; preds = %98
  %140 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %140, ptr %13, align 4, !tbaa !9
  %141 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %141, ptr %14, align 4, !tbaa !9
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.w2c_hermes, ptr %142, i32 0, i32 6
  %144 = load i32, ptr %14, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = add i64 %145, 76
  %147 = call i32 @i32_load(ptr noundef %143, i64 noundef %146)
  store i32 %147, ptr %14, align 4, !tbaa !9
  %148 = load i32, ptr %13, align 4, !tbaa !9
  %149 = load i32, ptr %14, align 4, !tbaa !9
  %150 = icmp eq i32 %148, %149
  %151 = zext i1 %150 to i32
  store i32 %151, ptr %13, align 4, !tbaa !9
  %152 = load i32, ptr %13, align 4, !tbaa !9
  %153 = icmp ne i32 %152, 0
  br i1 %153, label %154, label %155

154:                                              ; preds = %139
  br label %184

155:                                              ; preds = %139
  %156 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %156, ptr %13, align 4, !tbaa !9
  %157 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %157, ptr %14, align 4, !tbaa !9
  %158 = load ptr, ptr %6, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.w2c_hermes, ptr %158, i32 0, i32 6
  %160 = load i32, ptr %14, align 4, !tbaa !9
  %161 = zext i32 %160 to i64
  %162 = add i64 %161, 72
  %163 = call i32 @i32_load(ptr noundef %159, i64 noundef %162)
  store i32 %163, ptr %14, align 4, !tbaa !9
  %164 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %164, ptr %15, align 4, !tbaa !9
  store i32 2, ptr %16, align 4, !tbaa !9
  %165 = load i32, ptr %16, align 4, !tbaa !9
  %166 = and i32 %165, 31
  %167 = load i32, ptr %15, align 4, !tbaa !9
  %168 = shl i32 %167, %166
  store i32 %168, ptr %15, align 4, !tbaa !9
  %169 = load i32, ptr %15, align 4, !tbaa !9
  %170 = load i32, ptr %14, align 4, !tbaa !9
  %171 = add i32 %170, %169
  store i32 %171, ptr %14, 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 = call i32 @i32_load(ptr noundef %173, i64 noundef %175)
  store i32 %176, ptr %14, align 4, !tbaa !9
  %177 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %177, ptr %10, align 4, !tbaa !9
  %178 = load ptr, ptr %6, align 8, !tbaa !5
  %179 = load i32, ptr %13, align 4, !tbaa !9
  %180 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3AStringMapImpl0x3A0x3ARemoveKey0x28llvh0x3A0x3AStringMapEntryBase0x2A0x29(ptr noundef %178, i32 noundef %179, i32 noundef %180)
  %181 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %181, ptr %13, align 4, !tbaa !9
  %182 = load ptr, ptr %6, align 8, !tbaa !5
  %183 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %182, i32 noundef %183)
  br label %184

184:                                              ; preds = %155, %154, %138
  %185 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %185, ptr %13, align 4, !tbaa !9
  store i32 -64, ptr %14, align 4, !tbaa !9
  %186 = load i32, ptr %14, align 4, !tbaa !9
  %187 = load i32, ptr %13, align 4, !tbaa !9
  %188 = sub i32 %187, %186
  store i32 %188, ptr %13, align 4, !tbaa !9
  %189 = load i32, ptr %13, align 4, !tbaa !9
  %190 = load ptr, ptr %6, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.w2c_hermes, ptr %190, i32 0, i32 3
  store i32 %189, ptr %191, align 8, !tbaa !13
  br label %252

192:                                              ; preds = %5
  %193 = load ptr, ptr %6, align 8, !tbaa !5
  %194 = call i32 @w2c_hermes_llvh0x3A0x3Aerrs0x280x29(ptr noundef %193)
  store i32 %194, ptr %13, align 4, !tbaa !9
  %195 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %195, ptr %14, align 4, !tbaa !9
  %196 = load ptr, ptr %6, align 8, !tbaa !5
  %197 = load i32, ptr %13, align 4, !tbaa !9
  %198 = load i32, ptr %14, align 4, !tbaa !9
  %199 = call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x20const0x260x29(ptr noundef %196, i32 noundef %197, i32 noundef %198)
  store i32 %199, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  %200 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %200, ptr %10, align 4, !tbaa !9
  store i32 121442, ptr %15, align 4, !tbaa !9
  %201 = load i32, ptr %15, align 4, !tbaa !9
  %202 = load i32, ptr %14, align 4, !tbaa !9
  %203 = add i32 %202, %201
  store i32 %203, ptr %14, align 4, !tbaa !9
  %204 = load ptr, ptr %6, align 8, !tbaa !5
  %205 = load i32, ptr %13, align 4, !tbaa !9
  %206 = load i32, ptr %14, align 4, !tbaa !9
  %207 = call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28char0x20const0x2A0x29(ptr noundef %204, i32 noundef %205, i32 noundef %206)
  store i32 %207, ptr %13, align 4, !tbaa !9
  %208 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %208, ptr %9, align 4, !tbaa !9
  %209 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %209, ptr %13, align 4, !tbaa !9
  %210 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %210, ptr %14, align 4, !tbaa !9
  %211 = load ptr, ptr %6, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.w2c_hermes, ptr %211, i32 0, i32 6
  %213 = load i32, ptr %14, align 4, !tbaa !9
  %214 = zext i32 %213 to i64
  %215 = add i64 %214, 20
  %216 = call i64 @i64_load(ptr noundef %212, i64 noundef %215)
  store i64 %216, ptr %18, align 8, !tbaa !11
  %217 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %217, ptr %12, align 8, !tbaa !11
  %218 = load ptr, ptr %6, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.w2c_hermes, ptr %218, i32 0, i32 6
  %220 = load i32, ptr %13, align 4, !tbaa !9
  %221 = zext i32 %220 to i64
  %222 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %219, i64 noundef %221, i64 noundef %222)
  %223 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %223, ptr %13, align 4, !tbaa !9
  %224 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %224, ptr %18, align 8, !tbaa !11
  %225 = load ptr, ptr %6, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.w2c_hermes, ptr %225, i32 0, i32 6
  %227 = load i32, ptr %13, align 4, !tbaa !9
  %228 = zext i32 %227 to i64
  %229 = add i64 %228, 24
  %230 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %226, i64 noundef %229, i64 noundef %230)
  %231 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %231, ptr %13, align 4, !tbaa !9
  %232 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %232, ptr %14, align 4, !tbaa !9
  %233 = load ptr, ptr %6, align 8, !tbaa !5
  %234 = load i32, ptr %13, align 4, !tbaa !9
  %235 = load i32, ptr %14, align 4, !tbaa !9
  %236 = call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28llvh0x3A0x3AStringRef0x29(ptr noundef %233, i32 noundef %234, i32 noundef %235)
  store i32 %236, ptr %13, align 4, !tbaa !9
  %237 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %237, ptr %14, align 4, !tbaa !9
  store i32 212967, ptr %15, align 4, !tbaa !9
  %238 = load i32, ptr %15, align 4, !tbaa !9
  %239 = load i32, ptr %14, align 4, !tbaa !9
  %240 = add i32 %239, %238
  store i32 %240, ptr %14, align 4, !tbaa !9
  %241 = load ptr, ptr %6, align 8, !tbaa !5
  %242 = load i32, ptr %13, align 4, !tbaa !9
  %243 = load i32, ptr %14, align 4, !tbaa !9
  %244 = call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28char0x20const0x2A0x29(ptr noundef %241, i32 noundef %242, i32 noundef %243)
  store i32 %244, ptr %13, align 4, !tbaa !9
  %245 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %245, ptr %13, align 4, !tbaa !9
  store i32 42498, ptr %14, align 4, !tbaa !9
  %246 = load i32, ptr %14, align 4, !tbaa !9
  %247 = load i32, ptr %13, align 4, !tbaa !9
  %248 = add i32 %247, %246
  store i32 %248, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %14, align 4, !tbaa !9
  %249 = load ptr, ptr %6, align 8, !tbaa !5
  %250 = load i32, ptr %13, align 4, !tbaa !9
  %251 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Areport_fatal_error0x28char0x20const0x2A0x2C0x20bool0x29(ptr noundef %249, i32 noundef %250, i32 noundef %251)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

252:                                              ; preds = %184
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret void
}

declare i32 @w2c_hermes_llvh0x3A0x3AStringMapImpl0x3A0x3AFindKey0x28llvh0x3A0x3AStringRef0x290x20const(ptr noundef, i32 noundef, i32 noundef) #4

declare void @w2c_hermes_llvh0x3A0x3AStringMapImpl0x3A0x3ARemoveKey0x28llvh0x3A0x3AStringMapEntryBase0x2A0x29(ptr noundef, i32 noundef, i32 noundef) #4

attributes #0 = { 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 = { 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 = { "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: nounwind uwtable
declare dso_local void @w2c_hermes_dlfree(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 i64 @i64_load(ptr noundef, i64 noundef) local_unnamed_addr #2

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

declare void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Apair0x3Cllvh0x3A0x3AStringMapIterator0x3Cllvh0x3A0x3Acl0x3A0x3AOption0x2A0x3E0x2C0x20bool0x3E0x20llvh0x3A0x3AStringMap0x3Cllvh0x3A0x3Acl0x3A0x3AOption0x2A0x2C0x20llvh0x3A0x3AMallocAllocator0x3E0x3A0x3Atry_emplace0x3Cllvh0x3A0x3Acl0x3A0x3AOption0x2A0x3E0x28llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Acl0x3A0x3AOption0x2A0x260x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare i32 @w2c_hermes_llvh0x3A0x3Aerrs0x280x29(ptr noundef) local_unnamed_addr #3

declare void @w2c_hermes_llvh0x3A0x3Areport_fatal_error0x28char0x20const0x2A0x2C0x20bool0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28char0x20const0x2A0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28llvh0x3A0x3AStringRef0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_0x28anonymous0x20namespace0x290x3A0x3ACommandLineParser0x3A0x3AupdateArgStr0x28llvh0x3A0x3Acl0x3A0x3AOption0x2A0x2C0x20llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Acl0x3A0x3ASubCommand0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -64
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %3 to i64
  %11 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %10)
  %12 = zext i32 %8 to i64
  %13 = add nuw nsw i64 %12, 16
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %13, i64 noundef %11)
  %14 = add nuw nsw i64 %12, 48
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %14, i32 noundef %2)
  %15 = add nuw nsw i64 %12, 40
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %15, i64 noundef %11)
  %16 = add nuw nsw i64 %12, 56
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %16, i64 noundef %11)
  %17 = add i32 %7, -32
  %18 = add i32 %4, 72
  %19 = add i32 %7, -48
  %20 = add i32 %7, -16
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Apair0x3Cllvh0x3A0x3AStringMapIterator0x3Cllvh0x3A0x3Acl0x3A0x3AOption0x2A0x3E0x2C0x20bool0x3E0x20llvh0x3A0x3AStringMap0x3Cllvh0x3A0x3Acl0x3A0x3AOption0x2A0x2C0x20llvh0x3A0x3AMallocAllocator0x3E0x3A0x3Atry_emplace0x3Cllvh0x3A0x3Acl0x3A0x3AOption0x2A0x3E0x28llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Acl0x3A0x3AOption0x2A0x260x260x29(ptr noundef %0, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %20) #4
  %21 = add nuw nsw i64 %12, 36
  %22 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %21)
  %.not = icmp eq i32 %22, 0
  br i1 %.not, label %44, label %23

23:                                               ; preds = %5
  %24 = zext i32 %2 to i64
  %25 = add nuw nsw i64 %24, 20
  %26 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %25)
  %27 = add nuw nsw i64 %12, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %27, i64 noundef %26)
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %15, i64 noundef %26)
  %28 = add i32 %7, -56
  %29 = tail call i32 @w2c_hermes_llvh0x3A0x3AStringMapImpl0x3A0x3AFindKey0x28llvh0x3A0x3AStringRef0x290x20const(ptr noundef nonnull %0, i32 noundef %18, i32 noundef %28) #4
  %30 = icmp eq i32 %29, -1
  br i1 %30, label %43, label %31

31:                                               ; preds = %23
  %32 = zext i32 %4 to i64
  %33 = add nuw nsw i64 %32, 76
  %34 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %33)
  %35 = icmp eq i32 %29, %34
  br i1 %35, label %43, label %36

36:                                               ; preds = %31
  %37 = add nuw nsw i64 %32, 72
  %38 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %37)
  %39 = shl i32 %29, 2
  %40 = add i32 %38, %39
  %41 = zext i32 %40 to i64
  %42 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %41)
  tail call void @w2c_hermes_llvh0x3A0x3AStringMapImpl0x3A0x3ARemoveKey0x28llvh0x3A0x3AStringMapEntryBase0x2A0x29(ptr noundef nonnull %0, i32 noundef %18, i32 noundef %42) #4
  tail call void @w2c_hermes_dlfree(ptr noundef nonnull %0, i32 noundef %42)
  br label %43

43:                                               ; preds = %31, %23, %36
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

44:                                               ; preds = %5
  %45 = tail call i32 @w2c_hermes_llvh0x3A0x3Aerrs0x280x29(ptr noundef nonnull %0) #4
  %46 = tail call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x20const0x260x29(ptr noundef nonnull %0, i32 noundef %45, i32 noundef %1) #4
  %47 = tail call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28char0x20const0x2A0x29(ptr noundef nonnull %0, i32 noundef %46, i32 noundef 121442) #4
  %48 = zext i32 %2 to i64
  %49 = add nuw nsw i64 %48, 20
  %50 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %49)
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %12, i64 noundef %50)
  %51 = add nuw nsw i64 %12, 24
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %51, i64 noundef %50)
  %52 = tail call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28llvh0x3A0x3AStringRef0x29(ptr noundef nonnull %0, i32 noundef %47, i32 noundef %8) #4
  %53 = tail call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28char0x20const0x2A0x29(ptr noundef nonnull %0, i32 noundef %52, i32 noundef 212967) #4
  tail call void @w2c_hermes_llvh0x3A0x3Areport_fatal_error0x28char0x20const0x2A0x2C0x20bool0x29(ptr noundef nonnull %0, i32 noundef 42498, i32 noundef 1) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

declare i32 @w2c_hermes_llvh0x3A0x3AStringMapImpl0x3A0x3AFindKey0x28llvh0x3A0x3AStringRef0x290x20const(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare void @w2c_hermes_llvh0x3A0x3AStringMapImpl0x3A0x3ARemoveKey0x28llvh0x3A0x3AStringMapEntryBase0x2A0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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