The two enormous masses beneath the liver are cystic kidneys. This is an example of autosomal recessive polycystic kidney disease (ARPKD).