Split out parsing location into separate functions per instance
Split out parsing location into separate functions per instance

Split out method into specialized instances + add an early exit. Should be NFC, but simplifies reading the logic slightly IMHO.

PiperOrigin-RevId: 264855529

xzturn/tensorflow,sarvex/tensorflow,adit-chandra/tensorflow,ppwwyyxx/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow,arborh/tensorflow,arborh/tensorflow,Intel-tensorflow/tensorflow,DavidNorman/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,sarvex/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,aam-at/tensorflow,aldian/tensorflow,gautam1858/tensorflow,aam-at/tensorflow,ppwwyyxx/tensorflow,petewarden/tensorflow,Intel-Corporation/tensorflow,ppwwyyxx/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aldian/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,arborh/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,gunan/tensorflow,davidzchen/tensorflow,xzturn/tensorflow,xzturn/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-Corporation/tensorflow,cxxgtxy/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,sarvex/tensorflow,frreiss/tensorflow-fred,paolodedios/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,gunan/tensorflow,freedomtan/tensorflow,annarev/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,adit-chandra/tensorflow,aldian/tensorflow,arborh/tensorflow,aam-at/tensorflow,annarev/tensorflow,gautam1858/tensorflow,aldian/tensorflow,gunan/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,adit-chandra/tensorflow,davidzchen/tensorflow,aam-at/tensorflow,jhseu/tensorflow,gautam1858/tensorflow,petewarden/tensorflow,yongtang/tensorflow,renyi533/tensorflow,renyi533/tensorflow,ppwwyyxx/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,freedomtan/tensorflow,frreiss/tensorflow-fred,xzturn/tensorflow,karllessard/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,davidzchen/tensorflow,yongtang/tensorflow,Intel-tensorflow/tensorflow,aldian/tensorflow,yongtang/tensorflow,paolodedios/tensorflow,aam-at/tensorflow,arborh/tensorflow,annarev/tensorflow,Intel-Corporation/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,frreiss/tensorflow-fred,cxxgtxy/tensorflow,davidzchen/tensorflow,arborh/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,jhseu/tensorflow,gautam1858/tensorflow,annarev/tensorflow,adit-chandra/tensorflow,DavidNorman/tensorflow,gunan/tensorflow,karllessard/tensorflow,jhseu/tensorflow,renyi533/tensorflow,petewarden/tensorflow,ppwwyyxx/tensorflow,jhseu/tensorflow,freedomtan/tensorflow,Intel-tensorflow/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-experimental_link_static_libraries_once,jhseu/tensorflow,davidzchen/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,karllessard/tensorflow,yongtang/tensorflow,freedomtan/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,petewarden/tensorflow,gautam1858/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,karllessard/tensorflow,aam-at/tensorflow,renyi533/tensorflow,frreiss/tensorflow-fred,Intel-tensorflow/tensorflow,frreiss/tensorflow-fred,karllessard/tensorflow,tensorflow/tensorflow,gautam1858/tensorflow,arborh/tensorflow,xzturn/tensorflow,yongtang/tensorflow,adit-chandra/tensorflow,petewarden/tensorflow,xzturn/tensorflow,adit-chandra/tensorflow,Intel-tensorflow/tensorflow,karllessard/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,karllessard/tensorflow,petewarden/tensorflow,cxxgtxy/tensorflow,adit-chandra/tensorflow,annarev/tensorflow,petewarden/tensorflow,karllessard/tensorflow,sarvex/tensorflow,renyi533/tensorflow,yongtang/tensorflow,Intel-tensorflow/tensorflow,gunan/tensorflow,adit-chandra/tensorflow,sarvex/tensorflow,petewarden/tensorflow,freedomtan/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,adit-chandra/tensorflow,jhseu/tensorflow,cxxgtxy/tensorflow,davidzchen/tensorflow,jhseu/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,jhseu/tensorflow,DavidNorman/tensorflow,aldian/tensorflow,DavidNorman/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,DavidNorman/tensorflow,xzturn/tensorflow,ppwwyyxx/tensorflow,DavidNorman/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,xzturn/tensorflow,gautam1858/tensorflow,adit-chandra/tensorflow,karllessard/tensorflow,arborh/tensorflow,adit-chandra/tensorflow,aam-at/tensorflow,sarvex/tensorflow,aldian/tensorflow,yongtang/tensorflow,renyi533/tensorflow,ppwwyyxx/tensorflow,cxxgtxy/tensorflow,renyi533/tensorflow,annarev/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jhseu/tensorflow,aam-at/tensorflow,frreiss/tensorflow-fred,gunan/tensorflow,tensorflow/tensorflow,annarev/tensorflow,DavidNorman/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,davidzchen/tensorflow,paolodedios/tensorflow,DavidNorman/tensorflow,Intel-Corporation/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/tensorflow,freedomtan/tensorflow,gunan/tensorflow,freedomtan/tensorflow,ppwwyyxx/tensorflow,xzturn/tensorflow,annarev/tensorflow,freedomtan/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,Intel-Corporation/tensorflow,ppwwyyxx/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,renyi533/tensorflow,petewarden/tensorflow,ppwwyyxx/tensorflow,DavidNorman/tensorflow,renyi533/tensorflow,paolodedios/tensorflow,arborh/tensorflow,jhseu/tensorflow,davidzchen/tensorflow,davidzchen/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_saved_model,annarev/tensorflow,freedomtan/tensorflow,aam-at/tensorflow,paolodedios/tensorflow,gunan/tensorflow,aldian/tensorflow,annarev/tensorflow,arborh/tensorflow,DavidNorman/tensorflow,jhseu/tensorflow,renyi533/tensorflow,cxxgtxy/tensorflow,aam-at/tensorflow,frreiss/tensorflow-fred,DavidNorman/tensorflow,Intel-Corporation/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gunan/tensorflow,davidzchen/tensorflow,yongtang/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow,aam-at/tensorflow,annarev/tensorflow,ppwwyyxx/tensorflow,xzturn/tensorflow,davidzchen/tensorflow,yongtang/tensorflow