AMENDED AND RESTATED GUARANTY AND SECURITY AGREEMENT dated as of August 9, 2018 by and among Endologix, Inc., as Borrower, the other Grantors and Guarantors party hereto from time to time and Deerfield Private Design Fund IV, L.P., as agent for itself...