[automerger skipped] Build check_initial_reg_state statitcaly with custom entry point. am: cd47c8cf -s ours am: 190b942a -s ours Change-Id: If53336711ccd7f9acf128c42032c347d15588d24