I want the polynomial in my comment, which seems to be the one pointed out.
I have used uint32_t for all my data types and lfsr is set to start_state when the function is called. I want to implement a Linear-feedback shift register for the following polynomial x^24 + x^23 + x^22 + x^20 + x^19 + x^18 + x^17 + x^16 + x^15 + x^13 + x^12 + x^8 + x^7 + x^6 + 1, relying on what can be found here with the associated C code: