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

; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.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 void @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

declare i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fshared_count0x3A0x3A_0x5Frelease_shared0x5Babi0x3Av150070x5D0x280x29(ptr noundef, i32 noundef) #2

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

46:                                               ; preds = %61, %2
  %47 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %47, ptr %7, align 4, !tbaa !9
  store i32 12, ptr %8, align 4, !tbaa !9
  %48 = load i32, ptr %8, align 4, !tbaa !9
  %49 = load i32, ptr %7, align 4, !tbaa !9
  %50 = add i32 %49, %48
  store i32 %50, ptr %7, align 4, !tbaa !9
  %51 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %51, ptr %8, align 4, !tbaa !9
  store i32 8, ptr %9, align 4, !tbaa !9
  %52 = load i32, ptr %9, align 4, !tbaa !9
  %53 = load i32, ptr %8, align 4, !tbaa !9
  %54 = add i32 %53, %52
  store i32 %54, ptr %8, align 4, !tbaa !9
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = load i32, ptr %7, align 4, !tbaa !9
  %57 = load i32, ptr %8, align 4, !tbaa !9
  %58 = call i32 @w2c_hermes_bool0x20std0x3A0x3A_0x5F20x3A0x3Aoperator0x210x3D0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x20const0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x20const0x260x29(ptr noundef %55, i32 noundef %56, i32 noundef %57)
  store i32 %58, ptr %7, align 4, !tbaa !9
  %59 = load i32, ptr %7, align 4, !tbaa !9
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %61, label %98

61:                                               ; preds = %46
  %62 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %62, ptr %7, align 4, !tbaa !9
  store i32 12, ptr %8, align 4, !tbaa !9
  %63 = load i32, ptr %8, align 4, !tbaa !9
  %64 = load i32, ptr %7, align 4, !tbaa !9
  %65 = add i32 %64, %63
  store i32 %65, ptr %7, align 4, !tbaa !9
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  %67 = load i32, ptr %7, align 4, !tbaa !9
  %68 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x3A0x3Aoperator0x2D0x3E0x5Babi0x3Av150070x5D0x280x290x20const(ptr noundef %66, i32 noundef %67)
  store i32 %68, ptr %7, align 4, !tbaa !9
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.w2c_hermes, ptr %69, i32 0, i32 6
  %71 = load i32, ptr %7, align 4, !tbaa !9
  %72 = zext i32 %71 to i64
  %73 = add i64 %72, 4
  %74 = call i32 @i32_load(ptr noundef %70, i64 noundef %73)
  store i32 %74, ptr %7, align 4, !tbaa !9
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = load i32, ptr %7, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Amutex0x3A0x3Aunlock0x280x29(ptr noundef %75, i32 noundef %76)
  %77 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %77, ptr %7, align 4, !tbaa !9
  store i32 12, ptr %8, align 4, !tbaa !9
  %78 = load i32, ptr %8, align 4, !tbaa !9
  %79 = load i32, ptr %7, align 4, !tbaa !9
  %80 = add i32 %79, %78
  store i32 %80, ptr %7, align 4, !tbaa !9
  %81 = load ptr, ptr %3, align 8, !tbaa !5
  %82 = load i32, ptr %7, align 4, !tbaa !9
  %83 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x3A0x3Aoperator0x2D0x3E0x5Babi0x3Av150070x5D0x280x290x20const(ptr noundef %81, i32 noundef %82)
  store i32 %83, ptr %7, align 4, !tbaa !9
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.w2c_hermes, ptr %84, i32 0, i32 6
  %86 = load i32, ptr %7, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = call i32 @i32_load(ptr noundef %85, i64 noundef %87)
  store i32 %88, ptr %7, align 4, !tbaa !9
  %89 = load ptr, ptr %3, align 8, !tbaa !5
  %90 = load i32, ptr %7, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Acondition_variable0x3A0x3Anotify_all0x280x29(ptr noundef %89, i32 noundef %90)
  %91 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %91, ptr %7, align 4, !tbaa !9
  store i32 12, ptr %8, align 4, !tbaa !9
  %92 = load i32, ptr %8, align 4, !tbaa !9
  %93 = load i32, ptr %7, align 4, !tbaa !9
  %94 = add i32 %93, %92
  store i32 %94, ptr %7, align 4, !tbaa !9
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = load i32, ptr %7, align 4, !tbaa !9
  %97 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x3A0x3Aoperator0x2B0x2B0x5Babi0x3Av150070x5D0x280x29(ptr noundef %95, i32 noundef %96)
  store i32 %97, ptr %7, align 4, !tbaa !9
  br label %46

98:                                               ; preds = %46
  %99 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %99, ptr %7, align 4, !tbaa !9
  %100 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %100, ptr %8, align 4, !tbaa !9
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = load i32, ptr %8, align 4, !tbaa !9
  %103 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Avector0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhidden_allocator0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x3E0x3E0x3A0x3Abegin0x5Babi0x3Av150070x5D0x280x29(ptr noundef %101, i32 noundef %102)
  store i32 %103, ptr %8, align 4, !tbaa !9
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.w2c_hermes, ptr %104, i32 0, i32 6
  %106 = load i32, ptr %7, align 4, !tbaa !9
  %107 = zext i32 %106 to i64
  %108 = add i64 %107, 12
  %109 = load i32, ptr %8, align 4, !tbaa !9
  call void @i32_store(ptr noundef %105, i64 noundef %108, i32 noundef %109)
  %110 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %110, ptr %7, align 4, !tbaa !9
  %111 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %111, ptr %8, align 4, !tbaa !9
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = load i32, ptr %8, align 4, !tbaa !9
  %114 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Avector0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhidden_allocator0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x3E0x3E0x3A0x3Aend0x5Babi0x3Av150070x5D0x280x29(ptr noundef %112, i32 noundef %113)
  store i32 %114, ptr %8, align 4, !tbaa !9
  %115 = load ptr, ptr %3, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.w2c_hermes, ptr %115, i32 0, i32 6
  %117 = load i32, ptr %7, align 4, !tbaa !9
  %118 = zext i32 %117 to i64
  %119 = add i64 %118, 8
  %120 = load i32, ptr %8, align 4, !tbaa !9
  call void @i32_store(ptr noundef %116, i64 noundef %119, i32 noundef %120)
  br label %121

121:                                              ; preds = %141, %98
  %122 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %122, ptr %7, align 4, !tbaa !9
  store i32 12, ptr %8, align 4, !tbaa !9
  %123 = load i32, ptr %8, align 4, !tbaa !9
  %124 = load i32, ptr %7, align 4, !tbaa !9
  %125 = add i32 %124, %123
  store i32 %125, ptr %7, align 4, !tbaa !9
  %126 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %126, ptr %8, align 4, !tbaa !9
  store i32 8, ptr %9, align 4, !tbaa !9
  %127 = load i32, ptr %9, align 4, !tbaa !9
  %128 = load i32, ptr %8, align 4, !tbaa !9
  %129 = add i32 %128, %127
  store i32 %129, ptr %8, align 4, !tbaa !9
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  %131 = load i32, ptr %7, align 4, !tbaa !9
  %132 = load i32, ptr %8, align 4, !tbaa !9
  %133 = call i32 @w2c_hermes_bool0x20std0x3A0x3A_0x5F20x3A0x3Aoperator0x210x3D0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x20const0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x20const0x260x29(ptr noundef %130, i32 noundef %131, i32 noundef %132)
  store i32 %133, ptr %7, align 4, !tbaa !9
  %134 = load i32, ptr %7, align 4, !tbaa !9
  %135 = icmp ne i32 %134, 0
  %136 = xor i1 %135, true
  %137 = zext i1 %136 to i32
  store i32 %137, ptr %7, align 4, !tbaa !9
  %138 = load i32, ptr %7, align 4, !tbaa !9
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %140, label %141

140:                                              ; preds = %121
  br label %178

141:                                              ; preds = %121
  %142 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %142, ptr %7, align 4, !tbaa !9
  store i32 12, ptr %8, align 4, !tbaa !9
  %143 = load i32, ptr %8, align 4, !tbaa !9
  %144 = load i32, ptr %7, align 4, !tbaa !9
  %145 = add i32 %144, %143
  store i32 %145, ptr %7, align 4, !tbaa !9
  %146 = load ptr, ptr %3, align 8, !tbaa !5
  %147 = load i32, ptr %7, align 4, !tbaa !9
  %148 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x3A0x3Aoperator0x2A0x5Babi0x3Av150070x5D0x280x290x20const(ptr noundef %146, i32 noundef %147)
  store i32 %148, ptr %7, 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 %7, align 4, !tbaa !9
  %152 = zext i32 %151 to i64
  %153 = call i32 @i32_load(ptr noundef %150, i64 noundef %152)
  store i32 %153, ptr %7, align 4, !tbaa !9
  %154 = load ptr, ptr %3, align 8, !tbaa !5
  %155 = load i32, ptr %7, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x3A0x3A_0x5Fmake_ready0x280x29(ptr noundef %154, i32 noundef %155)
  %156 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %156, ptr %7, align 4, !tbaa !9
  store i32 12, ptr %8, align 4, !tbaa !9
  %157 = load i32, ptr %8, align 4, !tbaa !9
  %158 = load i32, ptr %7, align 4, !tbaa !9
  %159 = add i32 %158, %157
  store i32 %159, ptr %7, align 4, !tbaa !9
  %160 = load ptr, ptr %3, align 8, !tbaa !5
  %161 = load i32, ptr %7, align 4, !tbaa !9
  %162 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x3A0x3Aoperator0x2A0x5Babi0x3Av150070x5D0x280x290x20const(ptr noundef %160, i32 noundef %161)
  store i32 %162, ptr %7, align 4, !tbaa !9
  %163 = load ptr, ptr %3, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.w2c_hermes, ptr %163, i32 0, i32 6
  %165 = load i32, ptr %7, align 4, !tbaa !9
  %166 = zext i32 %165 to i64
  %167 = call i32 @i32_load(ptr noundef %164, i64 noundef %166)
  store i32 %167, ptr %7, align 4, !tbaa !9
  %168 = load ptr, ptr %3, align 8, !tbaa !5
  %169 = load i32, ptr %7, align 4, !tbaa !9
  %170 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fshared_count0x3A0x3A_0x5Frelease_shared0x5Babi0x3Av150070x5D0x280x29(ptr noundef %168, i32 noundef %169)
  store i32 %170, ptr %7, align 4, !tbaa !9
  %171 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %171, ptr %7, align 4, !tbaa !9
  store i32 12, ptr %8, align 4, !tbaa !9
  %172 = load i32, ptr %8, align 4, !tbaa !9
  %173 = load i32, ptr %7, align 4, !tbaa !9
  %174 = add i32 %173, %172
  store i32 %174, ptr %7, align 4, !tbaa !9
  %175 = load ptr, ptr %3, align 8, !tbaa !5
  %176 = load i32, ptr %7, align 4, !tbaa !9
  %177 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x3A0x3Aoperator0x2B0x2B0x5Babi0x3Av150070x5D0x280x29(ptr noundef %175, i32 noundef %176)
  store i32 %177, ptr %7, align 4, !tbaa !9
  br label %121

178:                                              ; preds = %140
  br label %179

179:                                              ; preds = %178
  %180 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %180, ptr %7, align 4, !tbaa !9
  %181 = load ptr, ptr %3, align 8, !tbaa !5
  %182 = load i32, ptr %7, align 4, !tbaa !9
  %183 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Avector0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhidden_allocator0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x3E0x3E0x3A0x3A0x7Evector0x5Babi0x3Av150070x5D0x280x29(ptr noundef %181, i32 noundef %182)
  store i32 %183, ptr %7, align 4, !tbaa !9
  %184 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %184, ptr %7, align 4, !tbaa !9
  %185 = load ptr, ptr %3, align 8, !tbaa !5
  %186 = load i32, ptr %7, align 4, !tbaa !9
  %187 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Avector0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhidden_allocator0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x3E0x3E0x3A0x3A0x7Evector0x5Babi0x3Av150070x5D0x280x29(ptr noundef %185, i32 noundef %186)
  store i32 %187, ptr %7, align 4, !tbaa !9
  %188 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %188, ptr %4, align 4, !tbaa !9
  %189 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %189, ptr %7, align 4, !tbaa !9
  store i32 16, ptr %8, align 4, !tbaa !9
  %190 = load i32, ptr %8, align 4, !tbaa !9
  %191 = load i32, ptr %7, align 4, !tbaa !9
  %192 = add i32 %191, %190
  store i32 %192, ptr %7, align 4, !tbaa !9
  %193 = load i32, ptr %7, align 4, !tbaa !9
  %194 = load ptr, ptr %3, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.w2c_hermes, ptr %194, i32 0, i32 3
  store i32 %193, ptr %195, align 8, !tbaa !11
  %196 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %196, ptr %7, align 4, !tbaa !9
  %197 = load i32, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  ret i32 %197
}

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

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

declare i32 @w2c_hermes_bool0x20std0x3A0x3A_0x5F20x3A0x3Aoperator0x210x3D0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x20const0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) #2

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

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

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

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

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

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

declare i32 @w2c_hermes_bool0x20std0x3A0x3A_0x5F20x3A0x3Aoperator0x210x3D0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x20const0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) #2

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

declare void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x3A0x3A_0x5Fmake_ready0x280x29(ptr noundef, i32 noundef) #2

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

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

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

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, !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"

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

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

declare i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fshared_count0x3A0x3A_0x5Frelease_shared0x5Babi0x3Av150070x5D0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fthread_struct_imp0x3A0x3A0x7E_0x5Fthread_struct_imp0x280x29(ptr noundef %0, i32 noundef %1) local_unnamed_addr #2 {
  %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 = add i32 %1, 12
  %7 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Avector0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhidden_allocator0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x3E0x3E0x3A0x3Abegin0x5Babi0x3Av150070x5D0x280x29(ptr noundef %0, i32 noundef %6)
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %5 to i64
  %10 = add nuw nsw i64 %9, 12
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %10, i32 noundef %7)
  %11 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Avector0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhidden_allocator0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x3E0x3E0x3A0x3Aend0x5Babi0x3Av150070x5D0x280x29(ptr noundef %0, i32 noundef %6)
  %12 = add nuw nsw i64 %9, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %12, i32 noundef %11)
  %13 = add i32 %4, -4
  %14 = add i32 %4, -8
  %15 = tail call i32 @w2c_hermes_bool0x20std0x3A0x3A_0x5F20x3A0x3Aoperator0x210x3D0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x20const0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x20const0x260x29(ptr noundef %0, i32 noundef %13, i32 noundef %14) #3
  %.not119 = icmp eq i32 %15, 0
  br i1 %.not119, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2, %.lr.ph
  %16 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x3A0x3Aoperator0x2D0x3E0x5Babi0x3Av150070x5D0x280x290x20const(ptr noundef %0, i32 noundef %13)
  %17 = zext i32 %16 to i64
  %18 = add nuw nsw i64 %17, 4
  %19 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %18)
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Amutex0x3A0x3Aunlock0x280x29(ptr noundef %0, i32 noundef %19)
  %20 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x3A0x3Aoperator0x2D0x3E0x5Babi0x3Av150070x5D0x280x290x20const(ptr noundef %0, i32 noundef %13)
  %21 = zext i32 %20 to i64
  %22 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %21)
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Acondition_variable0x3A0x3Anotify_all0x280x29(ptr noundef %0, i32 noundef %22)
  %23 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x3A0x3Aoperator0x2B0x2B0x5Babi0x3Av150070x5D0x280x29(ptr noundef %0, i32 noundef %13)
  %24 = tail call i32 @w2c_hermes_bool0x20std0x3A0x3A_0x5F20x3A0x3Aoperator0x210x3D0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x20const0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x20const0x260x29(ptr noundef %0, i32 noundef %13, i32 noundef %14) #3
  %.not = icmp eq i32 %24, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %2
  %25 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Avector0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhidden_allocator0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x3E0x3E0x3A0x3Abegin0x5Babi0x3Av150070x5D0x280x29(ptr noundef %0, i32 noundef %1)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %10, i32 noundef %25)
  %26 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Avector0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhidden_allocator0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x3E0x3E0x3A0x3Aend0x5Babi0x3Av150070x5D0x280x29(ptr noundef %0, i32 noundef %1)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %12, i32 noundef %26)
  %27 = tail call i32 @w2c_hermes_bool0x20std0x3A0x3A_0x5F20x3A0x3Aoperator0x210x3D0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x20const0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x20const0x260x29(ptr noundef %0, i32 noundef %13, i32 noundef %14) #3
  %.not117121 = icmp eq i32 %27, 0
  br i1 %.not117121, label %._crit_edge124, label %.lr.ph123

.lr.ph123:                                        ; preds = %._crit_edge, %.lr.ph123
  %28 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x3A0x3Aoperator0x2A0x5Babi0x3Av150070x5D0x280x290x20const(ptr noundef %0, i32 noundef %13)
  %29 = zext i32 %28 to i64
  %30 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %29)
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x3A0x3A_0x5Fmake_ready0x280x29(ptr noundef %0, i32 noundef %30) #3
  %31 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x3A0x3Aoperator0x2A0x5Babi0x3Av150070x5D0x280x290x20const(ptr noundef %0, i32 noundef %13)
  %32 = zext i32 %31 to i64
  %33 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %32)
  %34 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fshared_count0x3A0x3A_0x5Frelease_shared0x5Babi0x3Av150070x5D0x280x29(ptr noundef %0, i32 noundef %33) #3
  %35 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x3A0x3Aoperator0x2B0x2B0x5Babi0x3Av150070x5D0x280x29(ptr noundef %0, i32 noundef %13)
  %36 = tail call i32 @w2c_hermes_bool0x20std0x3A0x3A_0x5F20x3A0x3Aoperator0x210x3D0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x20const0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x20const0x260x29(ptr noundef %0, i32 noundef %13, i32 noundef %14) #3
  %.not117 = icmp eq i32 %36, 0
  br i1 %.not117, label %._crit_edge124, label %.lr.ph123

._crit_edge124:                                   ; preds = %.lr.ph123, %._crit_edge
  %37 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Avector0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhidden_allocator0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x3E0x3E0x3A0x3A0x7Evector0x5Babi0x3Av150070x5D0x280x29(ptr noundef %0, i32 noundef %6)
  %38 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Avector0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhidden_allocator0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x3E0x3E0x3A0x3A0x7Evector0x5Babi0x3Av150070x5D0x280x29(ptr noundef %0, i32 noundef %1)
  store i32 %4, ptr %3, align 8, !tbaa !5
  ret i32 %38
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Avector0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhidden_allocator0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x3E0x3E0x3A0x3Abegin0x5Babi0x3Av150070x5D0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Avector0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhidden_allocator0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x3E0x3E0x3A0x3Aend0x5Babi0x3Av150070x5D0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #2

declare i32 @w2c_hermes_bool0x20std0x3A0x3A_0x5F20x3A0x3Aoperator0x210x3D0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x20const0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x3A0x3Aoperator0x2D0x3E0x5Babi0x3Av150070x5D0x280x290x20const(ptr noundef, i32 noundef) local_unnamed_addr #2

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2A0x3E0x3A0x3Aoperator0x2B0x2B0x5Babi0x3Av150070x5D0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Avector0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhidden_allocator0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x3E0x3E0x3A0x3Abegin0x5Babi0x3Av150070x5D0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Avector0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhidden_allocator0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x3E0x3E0x3A0x3Aend0x5Babi0x3Av150070x5D0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #2

declare i32 @w2c_hermes_bool0x20std0x3A0x3A_0x5F20x3A0x3Aoperator0x210x3D0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x20const0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x3A0x3Aoperator0x2A0x5Babi0x3Av150070x5D0x280x290x20const(ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x3A0x3A_0x5Fmake_ready0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2A0x3E0x3A0x3Aoperator0x2B0x2B0x5Babi0x3Av150070x5D0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Avector0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhidden_allocator0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cstd0x3A0x3A_0x5F20x3A0x3Acondition_variable0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Amutex0x2A0x3E0x3E0x3E0x3A0x3A0x7Evector0x5Babi0x3Av150070x5D0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Avector0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhidden_allocator0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fassoc_sub_state0x2A0x3E0x3E0x3A0x3A0x7Evector0x5Babi0x3Av150070x5D0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #2

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: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass