pub fn merge_bitand_vals(in_a: u8, in_b: u8, output: u8) -> u32
Merges the input and output values into a single u32 for lookup.