Before surgery you get a femoral and sciatic nerve block. This numbs up your whole leg and provides excellent post-op pain control. Some centers will also place a femoral block catheter
so you can get more local anesthetic after the operation. Then the general anesthetic keeps you blissfully asleep during surgery.