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

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