Univerbation of quam (“how, as”) + sī (“if”) with clitic shortening of the first vowel and iambic shortening of the second.
Practice speaking and memorizing "quasi" and many other words and sentences in Latin.