; LLVM IR from yinqiwen/ardb :: src/common/channel/codec (redis_command_codec)

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

%"class.ardb::APIException" = type <{ %"class.ardb::Exception", i32, [4 x i8] }>
%"class.ardb::Exception" = type { %"class.std::exception", %"class.std::__cxx11::basic_string" }
%"class.std::exception" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }

@.str.1 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [49 x i8], align 1
@__FUNCTION__._ZN4ardb5codec19RedisCommandDecoder22ProcessMultibulkBufferEPNS_7ChannelERNS_6BufferERNS0_17RedisCommandFrameE = external hidden unnamed_addr constant [23 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [43 x i8], align 1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4ardb6Buffer16GetRawReadBufferEv(ptr noundef nonnull align 8 dereferenceable(33)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZNK4ardb6Buffer13ReadableBytesEv(ptr noundef nonnull align 8 dereferenceable(33)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4ardb6Buffer16AdvanceReadIndexEi(ptr noundef nonnull align 8 dereferenceable(33), i32 noundef) #1 align 2

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

declare i32 @__gxx_personality_v0(...)

declare void @_ZN4ardb12APIExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(44), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3

declare noundef zeroext i1 @_ZN4ardb21fire_exception_caughtEPNS_7ChannelERKNS_12APIExceptionE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(44)) #3

declare noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv() #3

declare noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv() #3

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4ardb6Buffer8ReadByteERc(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4ardb5codec17RedisCommandFrame16FillNextArgumentERNS_6BufferEm(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(33), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN4ardb5codec19RedisCommandDecoder22ProcessMultibulkBufferEPNS_7ChannelERNS_6BufferERNS0_17RedisCommandFrameE(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(33) %1, ptr noundef nonnull align 8 dereferenceable(160) %2) #5 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.ardb::APIException", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.ardb::APIException", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca i32, align 4
  %20 = alloca i8, align 1
  %21 = alloca [100 x i8], align 16
  %22 = alloca %"class.ardb::APIException", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator", align 1
  %25 = alloca i32, align 4
  %26 = alloca %"class.ardb::APIException", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator", align 1
  %29 = alloca %"class.ardb::APIException", align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::allocator", align 1
  %32 = alloca %"class.ardb::APIException", align 8
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::allocator", align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = call noundef i64 @_ZNK4ardb6Buffer13ReadableBytesEv(ptr noundef nonnull align 8 dereferenceable(33) %35)
  %37 = icmp ult i64 %36, 3
  br i1 %37, label %38, label %39

38:                                               ; preds = %3
  store i32 0, ptr %4, align 4
  br label %373

39:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = call noundef i32 @_ZL11readBulkLenRN4ardb6BufferERi(ptr noundef nonnull align 8 dereferenceable(33) %40, ptr noundef nonnull align 4 dereferenceable(4) %8)
  store i32 %41, ptr %9, align 4, !tbaa !9
  %42 = load i32, ptr %9, align 4, !tbaa !9
  %43 = icmp eq i32 %42, 0
  br i1 %43, label %44, label %45

44:                                               ; preds = %39
  store i32 0, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %371

45:                                               ; preds = %39
  %46 = load i32, ptr %9, align 4, !tbaa !9
  %47 = icmp slt i32 %46, 0
  br i1 %47, label %48, label %87

48:                                               ; preds = %45
  br label %49

49:                                               ; preds = %48
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = icmp ne ptr null, %50
  br i1 %51, label %52, label %84

52:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %53 unwind label %67

53:                                               ; preds = %52
  invoke void @_ZN4ardb12APIExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(44) %11, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %54 unwind label %71

54:                                               ; preds = %53
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #7
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = invoke noundef zeroext i1 @_ZN4ardb21fire_exception_caughtEPNS_7ChannelERKNS_12APIExceptionE(ptr noundef %55, ptr noundef nonnull align 8 dereferenceable(44) %11)
          to label %57 unwind label %76

57:                                               ; preds = %54
  br label %58

58:                                               ; preds = %57
  %59 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv()
          to label %60 unwind label %76

60:                                               ; preds = %58
  %61 = invoke noundef zeroext i1 %59(i32 noundef 2)
          to label %62 unwind label %76

62:                                               ; preds = %60
  br i1 %61, label %63, label %80

63:                                               ; preds = %62
  %64 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv()
          to label %65 unwind label %76

65:                                               ; preds = %63
  invoke void (i32, ptr, ptr, i32, ptr, ...) %64(i32 noundef 2, ptr noundef @.str.6, ptr noundef @__FUNCTION__._ZN4ardb5codec19RedisCommandDecoder22ProcessMultibulkBufferEPNS_7ChannelERNS_6BufferERNS0_17RedisCommandFrameE, i32 noundef 322, ptr noundef @.str.7, ptr noundef @.str.9)
          to label %66 unwind label %76

66:                                               ; preds = %65
  br label %80

67:                                               ; preds = %52
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %14, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %15, align 4
  br label %75

71:                                               ; preds = %53
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %14, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br label %75

75:                                               ; preds = %71, %67
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #7
  br label %83

76:                                               ; preds = %65, %63, %60, %58, %54
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %14, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %15, align 4
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %11) #7
  br label %83

80:                                               ; preds = %66, %62
  br label %81

81:                                               ; preds = %80
  br label %82

82:                                               ; preds = %81
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %11) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #7
  br label %84

83:                                               ; preds = %76, %75
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #7
  br label %372

84:                                               ; preds = %82, %49
  br label %85

85:                                               ; preds = %84
  br label %86

86:                                               ; preds = %85
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %371

87:                                               ; preds = %45
  br label %88

88:                                               ; preds = %87
  %89 = load i32, ptr %8, align 4, !tbaa !9
  %90 = icmp sgt i32 %89, 536870912
  br i1 %90, label %91, label %130

91:                                               ; preds = %88
  br label %92

92:                                               ; preds = %91
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = icmp ne ptr null, %93
  br i1 %94, label %95, label %127

95:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 48, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %96 unwind label %110

96:                                               ; preds = %95
  invoke void @_ZN4ardb12APIExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(44) %16, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %97 unwind label %114

97:                                               ; preds = %96
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #7
  %98 = load ptr, ptr %5, align 8, !tbaa !5
  %99 = invoke noundef zeroext i1 @_ZN4ardb21fire_exception_caughtEPNS_7ChannelERKNS_12APIExceptionE(ptr noundef %98, ptr noundef nonnull align 8 dereferenceable(44) %16)
          to label %100 unwind label %119

100:                                              ; preds = %97
  br label %101

101:                                              ; preds = %100
  %102 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv()
          to label %103 unwind label %119

103:                                              ; preds = %101
  %104 = invoke noundef zeroext i1 %102(i32 noundef 2)
          to label %105 unwind label %119

105:                                              ; preds = %103
  br i1 %104, label %106, label %123

106:                                              ; preds = %105
  %107 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv()
          to label %108 unwind label %119

108:                                              ; preds = %106
  invoke void (i32, ptr, ptr, i32, ptr, ...) %107(i32 noundef 2, ptr noundef @.str.6, ptr noundef @__FUNCTION__._ZN4ardb5codec19RedisCommandDecoder22ProcessMultibulkBufferEPNS_7ChannelERNS_6BufferERNS0_17RedisCommandFrameE, i32 noundef 327, ptr noundef @.str.7, ptr noundef @.str.1)
          to label %109 unwind label %119

109:                                              ; preds = %108
  br label %123

110:                                              ; preds = %95
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %14, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %15, align 4
  br label %118

114:                                              ; preds = %96
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %14, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  br label %118

118:                                              ; preds = %114, %110
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #7
  br label %126

119:                                              ; preds = %108, %106, %103, %101, %97
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %14, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %15, align 4
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %16) #7
  br label %126

123:                                              ; preds = %109, %105
  br label %124

124:                                              ; preds = %123
  br label %125

125:                                              ; preds = %124
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %16) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #7
  br label %127

126:                                              ; preds = %119, %118
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #7
  br label %372

127:                                              ; preds = %125, %92
  br label %128

128:                                              ; preds = %127
  br label %129

129:                                              ; preds = %128
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %371

130:                                              ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %131

131:                                              ; preds = %366, %130
  %132 = load i32, ptr %19, align 4, !tbaa !9
  %133 = load i32, ptr %8, align 4, !tbaa !9
  %134 = icmp slt i32 %132, %133
  br i1 %134, label %135, label %369

135:                                              ; preds = %131
  %136 = load ptr, ptr %6, align 8, !tbaa !5
  %137 = call noundef i64 @_ZNK4ardb6Buffer13ReadableBytesEv(ptr noundef nonnull align 8 dereferenceable(33) %136)
  %138 = icmp ult i64 %137, 4
  br i1 %138, label %139, label %140

139:                                              ; preds = %135
  store i32 0, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %370

140:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #7
  store i8 0, ptr %20, align 1, !tbaa !11
  %141 = load ptr, ptr %6, align 8, !tbaa !5
  %142 = call noundef zeroext i1 @_ZN4ardb6Buffer8ReadByteERc(ptr noundef nonnull align 8 dereferenceable(33) %141, ptr noundef nonnull align 1 dereferenceable(1) %20)
  %143 = load i8, ptr %20, align 1, !tbaa !11
  %144 = sext i8 %143 to i32
  %145 = icmp ne i32 %144, 36
  br i1 %145, label %146, label %198

146:                                              ; preds = %140
  %147 = load ptr, ptr %5, align 8, !tbaa !5
  %148 = icmp ne ptr null, %147
  br i1 %148, label %149, label %197

149:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 100, ptr %21) #7
  %150 = getelementptr inbounds [100 x i8], ptr %21, i64 0, i64 0
  %151 = load ptr, ptr %6, align 8, !tbaa !5
  %152 = call noundef ptr @_ZNK4ardb6Buffer16GetRawReadBufferEv(ptr noundef nonnull align 8 dereferenceable(33) %151)
  %153 = getelementptr inbounds i8, ptr %152, i64 0
  %154 = load i8, ptr %153, align 1, !tbaa !11
  %155 = sext i8 %154 to i32
  %156 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %150, ptr noundef @.str.10, i32 noundef %155) #7
  br label %157

157:                                              ; preds = %149
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = icmp ne ptr null, %158
  br i1 %159, label %160, label %194

160:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 48, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #7
  %161 = getelementptr inbounds [100 x i8], ptr %21, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef %161, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %162 unwind label %177

162:                                              ; preds = %160
  invoke void @_ZN4ardb12APIExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(44) %22, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %163 unwind label %181

163:                                              ; preds = %162
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #7
  %164 = load ptr, ptr %5, align 8, !tbaa !5
  %165 = invoke noundef zeroext i1 @_ZN4ardb21fire_exception_caughtEPNS_7ChannelERKNS_12APIExceptionE(ptr noundef %164, ptr noundef nonnull align 8 dereferenceable(44) %22)
          to label %166 unwind label %186

166:                                              ; preds = %163
  br label %167

167:                                              ; preds = %166
  %168 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv()
          to label %169 unwind label %186

169:                                              ; preds = %167
  %170 = invoke noundef zeroext i1 %168(i32 noundef 2)
          to label %171 unwind label %186

171:                                              ; preds = %169
  br i1 %170, label %172, label %190

172:                                              ; preds = %171
  %173 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv()
          to label %174 unwind label %186

174:                                              ; preds = %172
  %175 = getelementptr inbounds [100 x i8], ptr %21, i64 0, i64 0
  invoke void (i32, ptr, ptr, i32, ptr, ...) %173(i32 noundef 2, ptr noundef @.str.6, ptr noundef @__FUNCTION__._ZN4ardb5codec19RedisCommandDecoder22ProcessMultibulkBufferEPNS_7ChannelERNS_6BufferERNS0_17RedisCommandFrameE, i32 noundef 345, ptr noundef @.str.7, ptr noundef %175)
          to label %176 unwind label %186

176:                                              ; preds = %174
  br label %190

177:                                              ; preds = %160
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %14, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %15, align 4
  br label %185

181:                                              ; preds = %162
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %14, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  br label %185

185:                                              ; preds = %181, %177
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #7
  br label %193

186:                                              ; preds = %174, %172, %169, %167, %163
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %14, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %15, align 4
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %22) #7
  br label %193

190:                                              ; preds = %176, %171
  br label %191

191:                                              ; preds = %190
  br label %192

192:                                              ; preds = %191
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %22) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #7
  br label %194

193:                                              ; preds = %186, %185
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 100, ptr %21) #7
  br label %368

194:                                              ; preds = %192, %157
  br label %195

195:                                              ; preds = %194
  br label %196

196:                                              ; preds = %195
  call void @llvm.lifetime.end.p0(i64 100, ptr %21) #7
  br label %197

197:                                              ; preds = %196, %146
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %364

198:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  store i32 0, ptr %25, align 4, !tbaa !9
  %199 = load ptr, ptr %6, align 8, !tbaa !5
  %200 = call noundef i32 @_ZL11readBulkLenRN4ardb6BufferERi(ptr noundef nonnull align 8 dereferenceable(33) %199, ptr noundef nonnull align 4 dereferenceable(4) %25)
  store i32 %200, ptr %9, align 4, !tbaa !9
  %201 = load i32, ptr %9, align 4, !tbaa !9
  %202 = icmp eq i32 %201, 0
  br i1 %202, label %203, label %204

203:                                              ; preds = %198
  store i32 0, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %363

204:                                              ; preds = %198
  %205 = load i32, ptr %9, align 4, !tbaa !9
  %206 = icmp slt i32 %205, 0
  br i1 %206, label %207, label %246

207:                                              ; preds = %204
  br label %208

208:                                              ; preds = %207
  %209 = load ptr, ptr %5, align 8, !tbaa !5
  %210 = icmp ne ptr null, %209
  br i1 %210, label %211, label %243

211:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 48, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %212 unwind label %226

212:                                              ; preds = %211
  invoke void @_ZN4ardb12APIExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(44) %26, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %213 unwind label %230

213:                                              ; preds = %212
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #7
  %214 = load ptr, ptr %5, align 8, !tbaa !5
  %215 = invoke noundef zeroext i1 @_ZN4ardb21fire_exception_caughtEPNS_7ChannelERKNS_12APIExceptionE(ptr noundef %214, ptr noundef nonnull align 8 dereferenceable(44) %26)
          to label %216 unwind label %235

216:                                              ; preds = %213
  br label %217

217:                                              ; preds = %216
  %218 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv()
          to label %219 unwind label %235

219:                                              ; preds = %217
  %220 = invoke noundef zeroext i1 %218(i32 noundef 2)
          to label %221 unwind label %235

221:                                              ; preds = %219
  br i1 %220, label %222, label %239

222:                                              ; preds = %221
  %223 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv()
          to label %224 unwind label %235

224:                                              ; preds = %222
  invoke void (i32, ptr, ptr, i32, ptr, ...) %223(i32 noundef 2, ptr noundef @.str.6, ptr noundef @__FUNCTION__._ZN4ardb5codec19RedisCommandDecoder22ProcessMultibulkBufferEPNS_7ChannelERNS_6BufferERNS0_17RedisCommandFrameE, i32 noundef 357, ptr noundef @.str.7, ptr noundef @.str.9)
          to label %225 unwind label %235

225:                                              ; preds = %224
  br label %239

226:                                              ; preds = %211
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %14, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %15, align 4
  br label %234

230:                                              ; preds = %212
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %14, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  br label %234

234:                                              ; preds = %230, %226
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #7
  br label %242

235:                                              ; preds = %224, %222, %219, %217, %213
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %14, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %15, align 4
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %26) #7
  br label %242

239:                                              ; preds = %225, %221
  br label %240

240:                                              ; preds = %239
  br label %241

241:                                              ; preds = %240
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %26) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #7
  br label %243

242:                                              ; preds = %235, %234
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #7
  br label %367

243:                                              ; preds = %241, %208
  br label %244

244:                                              ; preds = %243
  br label %245

245:                                              ; preds = %244
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %363

246:                                              ; preds = %204
  br label %247

247:                                              ; preds = %246
  %248 = load i32, ptr %25, align 4, !tbaa !9
  %249 = icmp sgt i32 %248, 536870912
  br i1 %249, label %250, label %289

250:                                              ; preds = %247
  br label %251

251:                                              ; preds = %250
  %252 = load ptr, ptr %5, align 8, !tbaa !5
  %253 = icmp ne ptr null, %252
  br i1 %253, label %254, label %286

254:                                              ; preds = %251
  call void @llvm.lifetime.start.p0(i64 48, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %255 unwind label %269

255:                                              ; preds = %254
  invoke void @_ZN4ardb12APIExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(44) %29, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %256 unwind label %273

256:                                              ; preds = %255
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #7
  %257 = load ptr, ptr %5, align 8, !tbaa !5
  %258 = invoke noundef zeroext i1 @_ZN4ardb21fire_exception_caughtEPNS_7ChannelERKNS_12APIExceptionE(ptr noundef %257, ptr noundef nonnull align 8 dereferenceable(44) %29)
          to label %259 unwind label %278

259:                                              ; preds = %256
  br label %260

260:                                              ; preds = %259
  %261 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv()
          to label %262 unwind label %278

262:                                              ; preds = %260
  %263 = invoke noundef zeroext i1 %261(i32 noundef 2)
          to label %264 unwind label %278

264:                                              ; preds = %262
  br i1 %263, label %265, label %282

265:                                              ; preds = %264
  %266 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv()
          to label %267 unwind label %278

267:                                              ; preds = %265
  invoke void (i32, ptr, ptr, i32, ptr, ...) %266(i32 noundef 2, ptr noundef @.str.6, ptr noundef @__FUNCTION__._ZN4ardb5codec19RedisCommandDecoder22ProcessMultibulkBufferEPNS_7ChannelERNS_6BufferERNS0_17RedisCommandFrameE, i32 noundef 362, ptr noundef @.str.7, ptr noundef @.str.4)
          to label %268 unwind label %278

268:                                              ; preds = %267
  br label %282

269:                                              ; preds = %254
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %14, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %15, align 4
  br label %277

273:                                              ; preds = %255
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %14, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #7
  br label %277

277:                                              ; preds = %273, %269
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #7
  br label %285

278:                                              ; preds = %267, %265, %262, %260, %256
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %14, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %15, align 4
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %29) #7
  br label %285

282:                                              ; preds = %268, %264
  br label %283

283:                                              ; preds = %282
  br label %284

284:                                              ; preds = %283
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %29) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #7
  br label %286

285:                                              ; preds = %278, %277
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #7
  br label %367

286:                                              ; preds = %284, %251
  br label %287

287:                                              ; preds = %286
  br label %288

288:                                              ; preds = %287
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %363

289:                                              ; preds = %247
  %290 = load ptr, ptr %6, align 8, !tbaa !5
  %291 = call noundef i64 @_ZNK4ardb6Buffer13ReadableBytesEv(ptr noundef nonnull align 8 dereferenceable(33) %290)
  %292 = load i32, ptr %25, align 4, !tbaa !9
  %293 = add nsw i32 %292, 2
  %294 = sext i32 %293 to i64
  %295 = icmp ult i64 %291, %294
  br i1 %295, label %296, label %297

296:                                              ; preds = %289
  store i32 0, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %363

297:                                              ; preds = %289
  %298 = load ptr, ptr %6, align 8, !tbaa !5
  %299 = call noundef ptr @_ZNK4ardb6Buffer16GetRawReadBufferEv(ptr noundef nonnull align 8 dereferenceable(33) %298)
  %300 = load i32, ptr %25, align 4, !tbaa !9
  %301 = sext i32 %300 to i64
  %302 = getelementptr inbounds i8, ptr %299, i64 %301
  %303 = load i8, ptr %302, align 1, !tbaa !11
  %304 = sext i8 %303 to i32
  %305 = icmp ne i32 %304, 13
  br i1 %305, label %316, label %306

306:                                              ; preds = %297
  %307 = load ptr, ptr %6, align 8, !tbaa !5
  %308 = call noundef ptr @_ZNK4ardb6Buffer16GetRawReadBufferEv(ptr noundef nonnull align 8 dereferenceable(33) %307)
  %309 = load i32, ptr %25, align 4, !tbaa !9
  %310 = add nsw i32 %309, 1
  %311 = sext i32 %310 to i64
  %312 = getelementptr inbounds i8, ptr %308, i64 %311
  %313 = load i8, ptr %312, align 1, !tbaa !11
  %314 = sext i8 %313 to i32
  %315 = icmp ne i32 %314, 10
  br i1 %315, label %316, label %355

316:                                              ; preds = %306, %297
  br label %317

317:                                              ; preds = %316
  %318 = load ptr, ptr %5, align 8, !tbaa !5
  %319 = icmp ne ptr null, %318
  br i1 %319, label %320, label %352

320:                                              ; preds = %317
  call void @llvm.lifetime.start.p0(i64 48, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %321 unwind label %335

321:                                              ; preds = %320
  invoke void @_ZN4ardb12APIExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(44) %32, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %322 unwind label %339

322:                                              ; preds = %321
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #7
  %323 = load ptr, ptr %5, align 8, !tbaa !5
  %324 = invoke noundef zeroext i1 @_ZN4ardb21fire_exception_caughtEPNS_7ChannelERKNS_12APIExceptionE(ptr noundef %323, ptr noundef nonnull align 8 dereferenceable(44) %32)
          to label %325 unwind label %344

325:                                              ; preds = %322
  br label %326

326:                                              ; preds = %325
  %327 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv()
          to label %328 unwind label %344

328:                                              ; preds = %326
  %329 = invoke noundef zeroext i1 %327(i32 noundef 2)
          to label %330 unwind label %344

330:                                              ; preds = %328
  br i1 %329, label %331, label %348

331:                                              ; preds = %330
  %332 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv()
          to label %333 unwind label %344

333:                                              ; preds = %331
  invoke void (i32, ptr, ptr, i32, ptr, ...) %332(i32 noundef 2, ptr noundef @.str.6, ptr noundef @__FUNCTION__._ZN4ardb5codec19RedisCommandDecoder22ProcessMultibulkBufferEPNS_7ChannelERNS_6BufferERNS0_17RedisCommandFrameE, i32 noundef 371, ptr noundef @.str.7, ptr noundef @.str.11)
          to label %334 unwind label %344

334:                                              ; preds = %333
  br label %348

335:                                              ; preds = %320
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %14, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %15, align 4
  br label %343

339:                                              ; preds = %321
  %340 = landingpad { ptr, i32 }
          cleanup
  %341 = extractvalue { ptr, i32 } %340, 0
  store ptr %341, ptr %14, align 8
  %342 = extractvalue { ptr, i32 } %340, 1
  store i32 %342, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #7
  br label %343

343:                                              ; preds = %339, %335
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #7
  br label %351

344:                                              ; preds = %333, %331, %328, %326, %322
  %345 = landingpad { ptr, i32 }
          cleanup
  %346 = extractvalue { ptr, i32 } %345, 0
  store ptr %346, ptr %14, align 8
  %347 = extractvalue { ptr, i32 } %345, 1
  store i32 %347, ptr %15, align 4
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %32) #7
  br label %351

348:                                              ; preds = %334, %330
  br label %349

349:                                              ; preds = %348
  br label %350

350:                                              ; preds = %349
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %32) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %32) #7
  br label %352

351:                                              ; preds = %344, %343
  call void @llvm.lifetime.end.p0(i64 48, ptr %32) #7
  br label %367

352:                                              ; preds = %350, %317
  br label %353

353:                                              ; preds = %352
  br label %354

354:                                              ; preds = %353
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %363

355:                                              ; preds = %306
  %356 = load ptr, ptr %7, align 8, !tbaa !5
  %357 = load ptr, ptr %6, align 8, !tbaa !5
  %358 = load i32, ptr %25, align 4, !tbaa !9
  %359 = sext i32 %358 to i64
  call void @_ZN4ardb5codec17RedisCommandFrame16FillNextArgumentERNS_6BufferEm(ptr noundef nonnull align 8 dereferenceable(160) %356, ptr noundef nonnull align 8 dereferenceable(33) %357, i64 noundef %359)
  %360 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN4ardb6Buffer16AdvanceReadIndexEi(ptr noundef nonnull align 8 dereferenceable(33) %360, i32 noundef 2)
  %361 = load i32, ptr %19, align 4, !tbaa !9
  %362 = add nsw i32 %361, 1
  store i32 %362, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %10, align 4
  br label %363

363:                                              ; preds = %355, %354, %296, %288, %245, %203
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %364

364:                                              ; preds = %363, %197
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #7
  %365 = load i32, ptr %10, align 4
  switch i32 %365, label %370 [
    i32 0, label %366
  ]

366:                                              ; preds = %364
  br label %131, !llvm.loop !12

367:                                              ; preds = %351, %285, %242
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %368

368:                                              ; preds = %367, %193
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %372

369:                                              ; preds = %131
  store i32 1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %370

370:                                              ; preds = %369, %364, %139
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %371

371:                                              ; preds = %370, %129, %86, %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %373

372:                                              ; preds = %368, %126, %83
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %375

373:                                              ; preds = %371, %38
  %374 = load i32, ptr %4, align 4
  ret i32 %374

375:                                              ; preds = %372
  %376 = load ptr, ptr %14, align 8
  %377 = load i32, ptr %15, align 4
  %378 = insertvalue { ptr, i32 } poison, ptr %376, 0
  %379 = insertvalue { ptr, i32 } %378, i32 %377, 1
  resume { ptr, i32 } %379
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @_ZL11readBulkLenRN4ardb6BufferERi(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 4 dereferenceable(4)) #2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: nounwind
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress 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 = { inlinehint mustprogress 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 = { mustprogress 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 = { mustprogress 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 #6 = { nounwind "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 #7 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}


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

%"class.ardb::APIException" = type <{ %"class.ardb::Exception", i32, [4 x i8] }>
%"class.ardb::Exception" = type { %"class.std::exception", %"class.std::__cxx11::basic_string" }
%"class.std::exception" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }

@.str.1 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [49 x i8], align 1
@__FUNCTION__._ZN4ardb5codec19RedisCommandDecoder22ProcessMultibulkBufferEPNS_7ChannelERNS_6BufferERNS0_17RedisCommandFrameE = external hidden unnamed_addr constant [23 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [43 x i8], align 1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4ardb6Buffer16GetRawReadBufferEv(ptr noundef nonnull align 8 dereferenceable(33)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZNK4ardb6Buffer13ReadableBytesEv(ptr noundef nonnull align 8 dereferenceable(33)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4ardb6Buffer16AdvanceReadIndexEi(ptr noundef nonnull align 8 dereferenceable(33), i32 noundef) local_unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

declare void @_ZN4ardb12APIExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(44), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3

declare noundef zeroext i1 @_ZN4ardb21fire_exception_caughtEPNS_7ChannelERKNS_12APIExceptionE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(44)) local_unnamed_addr #3

declare noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv() local_unnamed_addr #3

declare noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv() local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4ardb6Buffer8ReadByteERc(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4ardb5codec17RedisCommandFrame16FillNextArgumentERNS_6BufferEm(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(33), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN4ardb5codec19RedisCommandDecoder22ProcessMultibulkBufferEPNS_7ChannelERNS_6BufferERNS0_17RedisCommandFrameE(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(33) %1, ptr noundef nonnull align 8 dereferenceable(160) %2) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca %"class.ardb::APIException", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca %"class.ardb::APIException", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca i8, align 1
  %12 = alloca [100 x i8], align 16
  %13 = alloca %"class.ardb::APIException", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca i32, align 4
  %17 = alloca %"class.ardb::APIException", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator", align 1
  %20 = alloca %"class.ardb::APIException", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator", align 1
  %23 = alloca %"class.ardb::APIException", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator", align 1
  %26 = tail call noundef i64 @_ZNK4ardb6Buffer13ReadableBytesEv(ptr noundef nonnull align 8 dereferenceable(33) %1)
  %27 = icmp ult i64 %26, 3
  br i1 %27, label %212, label %28

28:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  store i32 0, ptr %4, align 4, !tbaa !5
  %29 = call noundef i32 @_ZL11readBulkLenRN4ardb6BufferERi(ptr noundef nonnull align 8 dereferenceable(33) %1, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %.loopexit, label %31

31:                                               ; preds = %28
  %32 = icmp slt i32 %29, 0
  br i1 %32, label %33, label %55

33:                                               ; preds = %31
  %.not96 = icmp eq ptr %0, null
  br i1 %.not96, label %.loopexit, label %34

34:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %35 unwind label %46

35:                                               ; preds = %34
  invoke void @_ZN4ardb12APIExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(44) %5, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %36 unwind label %48

36:                                               ; preds = %35
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  %37 = invoke noundef zeroext i1 @_ZN4ardb21fire_exception_caughtEPNS_7ChannelERKNS_12APIExceptionE(ptr noundef nonnull %0, ptr noundef nonnull align 8 dereferenceable(44) %5)
          to label %38 unwind label %51

38:                                               ; preds = %36
  %39 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv()
          to label %40 unwind label %51

40:                                               ; preds = %38
  %41 = invoke noundef zeroext i1 %39(i32 noundef 2)
          to label %42 unwind label %51

42:                                               ; preds = %40
  br i1 %41, label %43, label %53

43:                                               ; preds = %42
  %44 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv()
          to label %45 unwind label %51

45:                                               ; preds = %43
  invoke void (i32, ptr, ptr, i32, ptr, ...) %44(i32 noundef 2, ptr noundef nonnull @.str.6, ptr noundef nonnull @__FUNCTION__._ZN4ardb5codec19RedisCommandDecoder22ProcessMultibulkBufferEPNS_7ChannelERNS_6BufferERNS0_17RedisCommandFrameE, i32 noundef 322, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.9)
          to label %53 unwind label %51

46:                                               ; preds = %34
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %50

48:                                               ; preds = %35
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  br label %50

50:                                               ; preds = %48, %46
  %.pn97 = phi { ptr, i32 } [ %49, %48 ], [ %47, %46 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  br label %54

51:                                               ; preds = %45, %43, %40, %38, %36
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %5) #7
  br label %54

53:                                               ; preds = %45, %42
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %5) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #7
  br label %.loopexit

54:                                               ; preds = %51, %50
  %.pn99 = phi { ptr, i32 } [ %52, %51 ], [ %.pn97, %50 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #7
  br label %211

55:                                               ; preds = %31
  %56 = load i32, ptr %4, align 4, !tbaa !5
  %57 = icmp sgt i32 %56, 536870912
  br i1 %57, label %59, label %.preheader

.preheader:                                       ; preds = %55
  %58 = icmp sgt i32 %56, 0
  br i1 %58, label %.lr.ph, label %.loopexit

59:                                               ; preds = %55
  %.not91 = icmp eq ptr %0, null
  br i1 %.not91, label %.loopexit, label %60

60:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %61 unwind label %72

61:                                               ; preds = %60
  invoke void @_ZN4ardb12APIExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(44) %8, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %62 unwind label %74

62:                                               ; preds = %61
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  %63 = invoke noundef zeroext i1 @_ZN4ardb21fire_exception_caughtEPNS_7ChannelERKNS_12APIExceptionE(ptr noundef nonnull %0, ptr noundef nonnull align 8 dereferenceable(44) %8)
          to label %64 unwind label %77

64:                                               ; preds = %62
  %65 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv()
          to label %66 unwind label %77

66:                                               ; preds = %64
  %67 = invoke noundef zeroext i1 %65(i32 noundef 2)
          to label %68 unwind label %77

68:                                               ; preds = %66
  br i1 %67, label %69, label %79

69:                                               ; preds = %68
  %70 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv()
          to label %71 unwind label %77

71:                                               ; preds = %69
  invoke void (i32, ptr, ptr, i32, ptr, ...) %70(i32 noundef 2, ptr noundef nonnull @.str.6, ptr noundef nonnull @__FUNCTION__._ZN4ardb5codec19RedisCommandDecoder22ProcessMultibulkBufferEPNS_7ChannelERNS_6BufferERNS0_17RedisCommandFrameE, i32 noundef 327, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1)
          to label %79 unwind label %77

72:                                               ; preds = %60
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %76

74:                                               ; preds = %61
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  br label %76

76:                                               ; preds = %74, %72
  %.pn92 = phi { ptr, i32 } [ %75, %74 ], [ %73, %72 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  br label %80

77:                                               ; preds = %71, %69, %66, %64, %62
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %8) #7
  br label %80

79:                                               ; preds = %71, %68
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %8) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #7
  br label %.loopexit

80:                                               ; preds = %77, %76
  %.pn94 = phi { ptr, i32 } [ %78, %77 ], [ %.pn92, %76 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #7
  br label %211

.lr.ph:                                           ; preds = %.preheader, %205
  %.0112 = phi i32 [ %206, %205 ], [ 0, %.preheader ]
  %81 = call noundef i64 @_ZNK4ardb6Buffer13ReadableBytesEv(ptr noundef nonnull align 8 dereferenceable(33) %1)
  %82 = icmp ult i64 %81, 4
  br i1 %82, label %.loopexit, label %83

83:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #7
  store i8 0, ptr %11, align 1, !tbaa !9
  %84 = call noundef zeroext i1 @_ZN4ardb6Buffer8ReadByteERc(ptr noundef nonnull align 8 dereferenceable(33) %1, ptr noundef nonnull align 1 dereferenceable(1) %11)
  %85 = load i8, ptr %11, align 1, !tbaa !9
  %.not = icmp eq i8 %85, 36
  br i1 %.not, label %112, label %86

86:                                               ; preds = %83
  %.not85 = icmp eq ptr %0, null
  br i1 %.not85, label %.thread, label %87

87:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %12) #7
  %88 = call noundef ptr @_ZNK4ardb6Buffer16GetRawReadBufferEv(ptr noundef nonnull align 8 dereferenceable(33) %1)
  %89 = load i8, ptr %88, align 1, !tbaa !9
  %90 = sext i8 %89 to i32
  %91 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %12, ptr noundef nonnull dereferenceable(1) @.str.10, i32 noundef %90) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull %12, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %92 unwind label %103

92:                                               ; preds = %87
  invoke void @_ZN4ardb12APIExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(44) %13, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %93 unwind label %105

93:                                               ; preds = %92
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #7
  %94 = invoke noundef zeroext i1 @_ZN4ardb21fire_exception_caughtEPNS_7ChannelERKNS_12APIExceptionE(ptr noundef nonnull %0, ptr noundef nonnull align 8 dereferenceable(44) %13)
          to label %95 unwind label %108

95:                                               ; preds = %93
  %96 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv()
          to label %97 unwind label %108

97:                                               ; preds = %95
  %98 = invoke noundef zeroext i1 %96(i32 noundef 2)
          to label %99 unwind label %108

99:                                               ; preds = %97
  br i1 %98, label %100, label %110

100:                                              ; preds = %99
  %101 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv()
          to label %102 unwind label %108

102:                                              ; preds = %100
  invoke void (i32, ptr, ptr, i32, ptr, ...) %101(i32 noundef 2, ptr noundef nonnull @.str.6, ptr noundef nonnull @__FUNCTION__._ZN4ardb5codec19RedisCommandDecoder22ProcessMultibulkBufferEPNS_7ChannelERNS_6BufferERNS0_17RedisCommandFrameE, i32 noundef 345, ptr noundef nonnull @.str.7, ptr noundef nonnull %12)
          to label %110 unwind label %108

103:                                              ; preds = %87
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %107

105:                                              ; preds = %92
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  br label %107

107:                                              ; preds = %105, %103
  %.pn86 = phi { ptr, i32 } [ %106, %105 ], [ %104, %103 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #7
  br label %111

108:                                              ; preds = %102, %100, %97, %95, %93
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %13) #7
  br label %111

110:                                              ; preds = %102, %99
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %13) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %12) #7
  br label %.thread

111:                                              ; preds = %108, %107
  %.pn88 = phi { ptr, i32 } [ %109, %108 ], [ %.pn86, %107 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %12) #7
  br label %210

112:                                              ; preds = %83
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #7
  store i32 0, ptr %16, align 4, !tbaa !5
  %113 = call noundef i32 @_ZL11readBulkLenRN4ardb6BufferERi(ptr noundef nonnull align 8 dereferenceable(33) %1, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %114 = icmp eq i32 %113, 0
  br i1 %114, label %.thread107, label %115

115:                                              ; preds = %112
  %116 = icmp slt i32 %113, 0
  br i1 %116, label %117, label %139

117:                                              ; preds = %115
  %.not79 = icmp eq ptr %0, null
  br i1 %.not79, label %.thread107, label %118

118:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %119 unwind label %130

119:                                              ; preds = %118
  invoke void @_ZN4ardb12APIExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(44) %17, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %120 unwind label %132

120:                                              ; preds = %119
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #7
  %121 = invoke noundef zeroext i1 @_ZN4ardb21fire_exception_caughtEPNS_7ChannelERKNS_12APIExceptionE(ptr noundef nonnull %0, ptr noundef nonnull align 8 dereferenceable(44) %17)
          to label %122 unwind label %135

122:                                              ; preds = %120
  %123 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv()
          to label %124 unwind label %135

124:                                              ; preds = %122
  %125 = invoke noundef zeroext i1 %123(i32 noundef 2)
          to label %126 unwind label %135

126:                                              ; preds = %124
  br i1 %125, label %127, label %137

127:                                              ; preds = %126
  %128 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv()
          to label %129 unwind label %135

129:                                              ; preds = %127
  invoke void (i32, ptr, ptr, i32, ptr, ...) %128(i32 noundef 2, ptr noundef nonnull @.str.6, ptr noundef nonnull @__FUNCTION__._ZN4ardb5codec19RedisCommandDecoder22ProcessMultibulkBufferEPNS_7ChannelERNS_6BufferERNS0_17RedisCommandFrameE, i32 noundef 357, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.9)
          to label %137 unwind label %135

130:                                              ; preds = %118
  %131 = landingpad { ptr, i32 }
          cleanup
  br label %134

132:                                              ; preds = %119
  %133 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  br label %134

134:                                              ; preds = %132, %130
  %.pn80 = phi { ptr, i32 } [ %133, %132 ], [ %131, %130 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #7
  br label %138

135:                                              ; preds = %129, %127, %124, %122, %120
  %136 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %17) #7
  br label %138

137:                                              ; preds = %129, %126
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %17) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #7
  br label %.thread107

138:                                              ; preds = %135, %134
  %.pn82 = phi { ptr, i32 } [ %136, %135 ], [ %.pn80, %134 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #7
  br label %209

139:                                              ; preds = %115
  %140 = load i32, ptr %16, align 4, !tbaa !5
  %141 = icmp sgt i32 %140, 536870912
  br i1 %141, label %142, label %164

142:                                              ; preds = %139
  %.not74 = icmp eq ptr %0, null
  br i1 %.not74, label %.thread107, label %143

143:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %144 unwind label %155

144:                                              ; preds = %143
  invoke void @_ZN4ardb12APIExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(44) %20, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %145 unwind label %157

145:                                              ; preds = %144
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #7
  %146 = invoke noundef zeroext i1 @_ZN4ardb21fire_exception_caughtEPNS_7ChannelERKNS_12APIExceptionE(ptr noundef nonnull %0, ptr noundef nonnull align 8 dereferenceable(44) %20)
          to label %147 unwind label %160

147:                                              ; preds = %145
  %148 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv()
          to label %149 unwind label %160

149:                                              ; preds = %147
  %150 = invoke noundef zeroext i1 %148(i32 noundef 2)
          to label %151 unwind label %160

151:                                              ; preds = %149
  br i1 %150, label %152, label %162

152:                                              ; preds = %151
  %153 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv()
          to label %154 unwind label %160

154:                                              ; preds = %152
  invoke void (i32, ptr, ptr, i32, ptr, ...) %153(i32 noundef 2, ptr noundef nonnull @.str.6, ptr noundef nonnull @__FUNCTION__._ZN4ardb5codec19RedisCommandDecoder22ProcessMultibulkBufferEPNS_7ChannelERNS_6BufferERNS0_17RedisCommandFrameE, i32 noundef 362, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.4)
          to label %162 unwind label %160

155:                                              ; preds = %143
  %156 = landingpad { ptr, i32 }
          cleanup
  br label %159

157:                                              ; preds = %144
  %158 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  br label %159

159:                                              ; preds = %157, %155
  %.pn75 = phi { ptr, i32 } [ %158, %157 ], [ %156, %155 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #7
  br label %163

160:                                              ; preds = %154, %152, %149, %147, %145
  %161 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %20) #7
  br label %163

162:                                              ; preds = %154, %151
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %20) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #7
  br label %.thread107

163:                                              ; preds = %160, %159
  %.pn77 = phi { ptr, i32 } [ %161, %160 ], [ %.pn75, %159 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #7
  br label %209

164:                                              ; preds = %139
  %165 = call noundef i64 @_ZNK4ardb6Buffer13ReadableBytesEv(ptr noundef nonnull align 8 dereferenceable(33) %1)
  %166 = load i32, ptr %16, align 4, !tbaa !5
  %167 = add nsw i32 %166, 2
  %168 = sext i32 %167 to i64
  %169 = icmp ult i64 %165, %168
  br i1 %169, label %.thread107, label %170

170:                                              ; preds = %164
  %171 = call noundef ptr @_ZNK4ardb6Buffer16GetRawReadBufferEv(ptr noundef nonnull align 8 dereferenceable(33) %1)
  %172 = load i32, ptr %16, align 4, !tbaa !5
  %173 = sext i32 %172 to i64
  %174 = getelementptr inbounds i8, ptr %171, i64 %173
  %175 = load i8, ptr %174, align 1, !tbaa !9
  %.not68 = icmp eq i8 %175, 13
  br i1 %.not68, label %176, label %183

176:                                              ; preds = %170
  %177 = call noundef ptr @_ZNK4ardb6Buffer16GetRawReadBufferEv(ptr noundef nonnull align 8 dereferenceable(33) %1)
  %178 = load i32, ptr %16, align 4, !tbaa !5
  %179 = sext i32 %178 to i64
  %180 = getelementptr i8, ptr %177, i64 %179
  %181 = getelementptr i8, ptr %180, i64 1
  %182 = load i8, ptr %181, align 1, !tbaa !9
  %.not69 = icmp eq i8 %182, 10
  br i1 %.not69, label %205, label %183

183:                                              ; preds = %170, %176
  %.not70 = icmp eq ptr %0, null
  br i1 %.not70, label %.thread107, label %184

184:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %185 unwind label %196

185:                                              ; preds = %184
  invoke void @_ZN4ardb12APIExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(44) %23, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %186 unwind label %198

186:                                              ; preds = %185
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #7
  %187 = invoke noundef zeroext i1 @_ZN4ardb21fire_exception_caughtEPNS_7ChannelERKNS_12APIExceptionE(ptr noundef nonnull %0, ptr noundef nonnull align 8 dereferenceable(44) %23)
          to label %188 unwind label %201

188:                                              ; preds = %186
  %189 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv()
          to label %190 unwind label %201

190:                                              ; preds = %188
  %191 = invoke noundef zeroext i1 %189(i32 noundef 2)
          to label %192 unwind label %201

192:                                              ; preds = %190
  br i1 %191, label %193, label %203

193:                                              ; preds = %192
  %194 = invoke noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv()
          to label %195 unwind label %201

195:                                              ; preds = %193
  invoke void (i32, ptr, ptr, i32, ptr, ...) %194(i32 noundef 2, ptr noundef nonnull @.str.6, ptr noundef nonnull @__FUNCTION__._ZN4ardb5codec19RedisCommandDecoder22ProcessMultibulkBufferEPNS_7ChannelERNS_6BufferERNS0_17RedisCommandFrameE, i32 noundef 371, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.11)
          to label %203 unwind label %201

196:                                              ; preds = %184
  %197 = landingpad { ptr, i32 }
          cleanup
  br label %200

198:                                              ; preds = %185
  %199 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  br label %200

200:                                              ; preds = %198, %196
  %.pn = phi { ptr, i32 } [ %199, %198 ], [ %197, %196 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #7
  br label %204

201:                                              ; preds = %195, %193, %190, %188, %186
  %202 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %23) #7
  br label %204

203:                                              ; preds = %195, %192
  call void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(44) %23) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %23) #7
  br label %.thread107

204:                                              ; preds = %201, %200
  %.pn72 = phi { ptr, i32 } [ %202, %201 ], [ %.pn, %200 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %23) #7
  br label %209

.thread:                                          ; preds = %110, %86
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  br label %.loopexit

.thread107:                                       ; preds = %112, %164, %137, %117, %162, %142, %203, %183
  %.155.ph = phi i32 [ -1, %183 ], [ -1, %203 ], [ -1, %142 ], [ -1, %162 ], [ -1, %117 ], [ -1, %137 ], [ 0, %164 ], [ 0, %112 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  br label %.loopexit

205:                                              ; preds = %176
  call void @_ZN4ardb5codec17RedisCommandFrame16FillNextArgumentERNS_6BufferEm(ptr noundef nonnull align 8 dereferenceable(160) %2, ptr noundef nonnull align 8 dereferenceable(33) %1, i64 noundef %179)
  call void @_ZN4ardb6Buffer16AdvanceReadIndexEi(ptr noundef nonnull align 8 dereferenceable(33) %1, i32 noundef 2)
  %206 = add nuw nsw i32 %.0112, 1
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  %207 = load i32, ptr %4, align 4, !tbaa !5
  %208 = icmp slt i32 %206, %207
  br i1 %208, label %.lr.ph, label %.loopexit, !llvm.loop !10

209:                                              ; preds = %204, %163, %138
  %.pn82.pn = phi { ptr, i32 } [ %.pn82, %138 ], [ %.pn77, %163 ], [ %.pn72, %204 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  br label %210

210:                                              ; preds = %209, %111
  %.pn88.pn = phi { ptr, i32 } [ %.pn88, %111 ], [ %.pn82.pn, %209 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  br label %211

.loopexit:                                        ; preds = %205, %.lr.ph, %.preheader, %.thread107, %.thread, %59, %79, %33, %53, %28
  %.458 = phi i32 [ 0, %28 ], [ -1, %53 ], [ -1, %33 ], [ -1, %79 ], [ -1, %59 ], [ -1, %.thread ], [ %.155.ph, %.thread107 ], [ 1, %.preheader ], [ 1, %205 ], [ 0, %.lr.ph ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  br label %212

211:                                              ; preds = %210, %80, %54
  %.pn99.pn = phi { ptr, i32 } [ %.pn99, %54 ], [ %.pn94, %80 ], [ %.pn88.pn, %210 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn99.pn

212:                                              ; preds = %3, %.loopexit
  %.559 = phi i32 [ %.458, %.loopexit ], [ 0, %3 ]
  ret i32 %.559
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @_ZL11readBulkLenRN4ardb6BufferERi(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4ardb9ExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #4 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress 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 = { inlinehint mustprogress 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 = { mustprogress 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 = { mustprogress 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 #6 = { nofree nounwind "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 #7 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass