fifo_free_first_offset
first_offset = fifo_free_first_offset(cur_in, used_in);
first_offset = fifo_free_first_offset(cur_out, used_out);