Document:

ELGX-EX10.23_IndemnificationAgreement

Exhibit 10.23

INDEMNIFICATION AGREEMENT
This Indemnification Agreement (“Agreement”) is made as of ________ __, 200_ by and between Endologix, Inc., a Delaware corporation (the “Company”), and ______________ (“Indemnitee”).  This Agreement supersedes and replaces any and all previous Agreements between the Company and Indemnitee covering the subject matter of this Agreement.
RECITALS
WHEREAS, the Board of Directors of the Company (the “Board”) has determined that, in order to attract and retain qualified individuals, the Company will attempt to maintain on an ongoing basis, at its sole expense, liability insurance to protect persons serving the Company and its subsidiaries from certain liabilities.  Although the furnishing of such insurance has been a customary and widespread practice among United States-based corporations and other business enterprises, the Company believes that, given current market conditions and trends, such insurance may be available to it in the future only at higher premiums and with more exclusions.  At the same time, directors, officers, and other persons in service to corporations or business enterprises are being increasingly subjected to expensive and time-consuming litigation relating to, among other things, matters that traditionally would have been brought only against the Company or business enterprise itself.  The By-laws of the Company require indemnification of the officers and directors of the Company.  Indemnitee may also be entitled to indemnification pursuant to the General Corporation Law of the State of Delaware (the “DGCL”).  The By-laws  and the DGCL expressly provide that the indemnification provisions set forth therein are not exclusive, and thereby contemplate that contracts may be entered into between the Company and members of the board of directors, officers and other persons with respect to indemnification;
WHEREAS, the uncertainties relating to such insurance and to indemnification have increased the difficulty of attracting and retaining such persons;
WHEREAS, the Board has determined that the increased difficulty in attracting and retaining such persons is detrimental to the best interests of the Company and its stockholders and that the Company should act to assure such persons that there will be increased certainty of such protection in the future;
WHEREAS, it is reasonable, prudent and necessary for the Company contractually to obligate itself to indemnify, and to advance expenses on behalf of, such persons to the fullest extent permitted by applicable law so that they will serve or continue to serve the Company free from undue concern that they will not be so indemnified; 
WHEREAS, this Agreement is a supplement to and in furtherance of the By-laws of the Company and any resolutions adopted pursuant thereto, and shall not be deemed a substitute therefor, nor to diminish or abrogate any rights of Indemnitee thereunder;
WHEREAS, Indemnitee does not regard the protection available under the Company’s By-laws and insurance as adequate in the present circumstances, and may not be willing to serve as an officer or director without adequate protection, and the Company desires Indemnitee to serve in such capacity.  Indemnitee is willing to serve, continue to serve and to take on additional service for or on behalf of the Company on the condition that he be so indemnified; and
NOW, THEREFORE, in consideration of the premises and the covenants contained herein, the Company and Indemnitee do hereby covenant and agree as follows:

 OC\1615588.4

Section 1.Services to the Company.  Indemnitee agrees to serve as a [director] [officer] of the Company or any other Enterprise.  Indemnitee may at any time and for any reason resign from such position (subject to any other contractual obligation or any obligation imposed by operation of law), in which event the Company shall have no obligation under this Agreement to continue Indemnitee in such position.  This Agreement shall not be deemed an employment contract between the Company (or any other Enterprise) and Indemnitee.  Indemnitee specifically acknowledges that Indemnitee’s employment with the Company (or any other Enterprise), if any, is at will, and the Indemnitee may be discharged at any time for any reason, with or without cause, except as may be otherwise provided in any written employment contract between Indemnitee and the Company (or any other Enterprise), other applicable formal severance policies duly adopted by the Board, or, with respect to service as a director or officer of the Company, by the Company’s Certificate of Incorporation, the Company’s By-laws, and the DGCL.  The foregoing notwithstanding, this Agreement shall continue in force after Indemnitee has ceased to serve as an [officer] [director]  of the Company or any other Enterprise.
Section 2.    Definitions.   As used in this Agreement:
(a)    References to “agent” shall mean any person who is or was a director, officer, or employee of the Company or other person authorized by the Company to act for the Company, to include such person serving in such capacity as a director, officer, employee, fiduciary or other official of another Enterprise.
(b)    A “Change in Control” shall the earliest to occur of any of the following events:
i.    The acquisition, directly or indirectly, in one transaction or a series of related transactions, by any person or group (within the meaning of Section 13(d)(3) of the Securities Exchange Act of 1934, as amended) of the beneficial ownership of securities of the Company possessing more than fifty percent (50%) of the total combined voting power of all outstanding securities of the Company;
ii.    A merger or consolidation in which the Company is not the surviving entity, except for a transaction in which the holders of the outstanding voting securities of the Company immediately prior to such merger or consolidation hold as a result of holding Company securities prior to such transaction, in the aggregate, securities possessing more than fifty percent (50%) of the total combined voting power of all outstanding voting securities of the surviving entity (or the parent of the surviving entity) immediately after such merger or consolidation;
iii.    A reverse merger in which the Company is the surviving entity but in which the holders of the outstanding voting securities of the Company immediately prior to such merger hold, in the aggregate, securities possessing less than fifty percent (50%) of the total combined voting power of all outstanding voting securities of the Company or of the acquiring entity immediately after such merger;
iv.    The sale, transfer or other disposition (in one transaction or a series of related transactions) of all or substantially all of the assets of the Company, except for a transaction in which the holders of the outstanding voting securities of the Company immediately prior to such transaction(s) receive as a distribution with respect to securities of the Company, in the aggregate, securities possessing more than fifty percent (50%) of the total combined voting power of all outstanding voting securities of the acquiring entity immediately after such transaction(s); or
v.    The approval by the stockholders of a plan or proposal for the liquidation or dissolution of the Company.

-2-
 OC\1615588.4

(c)    “Corporate Status” describes the status of a person who is or was a director, officer, employee or agent of the Company or of any other Enterprise.
(d)    “Disinterested Director” means a director of the Company who is not and was not a party to the Proceeding in respect of which indemnification is sought by Indemnitee.
(e)    “Enterprise” shall mean the Company, any of its subsidiaries and any other corporation, limited liability company, partnership, joint venture, trust, employee benefit plan (including any deemed fiduciary thereto) or other enterprise of which Indemnitee is or was serving as a director, officer, employee, fiduciary or agent at the request of, for the convenience of, or to represent the interests of the Company.
(f)    “Expenses” shall include all reasonable attorneys’ fees, retainers, court costs, transcript costs, fees of experts, witness fees, travel expenses, duplicating costs, printing and binding costs, telephone charges, postage, delivery service fees, any federal, state, local or foreign taxes imposed on Indemnitee as a result of the actual or deemed receipt of any payments under this Agreement, ERISA excise taxes and penalties, and all other disbursements or expenses of the types customarily incurred in connection with prosecuting, defending, preparing to prosecute or defend, investigating, being or preparing to be a witness in, or otherwise participating in, a Proceeding.  Expenses also shall include (i) Expenses incurred in connection with any appeal resulting from any Proceeding, including without limitation the premium, security for, and other costs relating to any cost bond, supersedeas bond, or other appeal bond or its equivalent, and (ii) Expenses incurred by Indemnitee in connection with the interpretation, enforcement or defense of Indemnitee’s rights under this Agreement, by litigation or otherwise, in accordance with Section 12(d).  The parties agree that for the purposes of any advancement of Expenses for which Indemnitee has made written demand to the Company in accordance with this Agreement, all Expenses included in such demand that are certified by affidavit of Indemnitee’s counsel as being reasonable shall be presumed conclusively to be reasonable.  Expenses, however, shall not include amounts paid in settlement by Indemnitee or the amount of judgments or fines against Indemnitee.
(g)    The term “Proceeding” shall include any threatened, pending or completed action, suit, arbitration, alternate dispute resolution mechanism, investigation, inquiry, administrative hearing or any other actual, threatened or completed proceeding, whether brought in the right of the Company or otherwise and whether of a civil, criminal, administrative legislative, or investigative (formal or informal) nature, including any appeal therefrom, in which Indemnitee was, is or will be involved as a party, potential party, non-party witness or otherwise by reason of the fact that Indemnitee is or was a director or officer of the Company, by reason of any action taken by him or of any action on his part while acting as director or officer of the Company, or by reason of the fact that he is or was serving at the request of the Company as a director, officer, employee or agent of another Enterprise, in each case whether or not serving in such capacity at the time any liability or expense is incurred for which indemnification, reimbursement, or advancement of expenses can be provided under this Agreement.  If the Indemnitee believes in good faith that a given situation may lead to or culminate in the institution of a Proceeding, this shall be considered a Proceeding under this paragraph.
(h)    Reference to “fines” shall include any excise tax assessed with respect to any employee benefit plan; references to “serving at the request of the Company” shall include any service as a director, officer, employee or agent of the Company which imposes duties on, or involves services by, such director, officer, employee or agent with respect to an employee benefit plan, its participants or beneficiaries; and a person who acted in good faith and in a manner he reasonably believed to be in the best interests of the participants and beneficiaries of an employee benefit plan shall be deemed to have acted in manner “not opposed to the best interests of the Company” as referred to in this Agreement.

-3-
 OC\1615588.4

Section 3.    Indemnity in Third-Party Proceedings.  The Company shall indemnify Indemnitee in accordance with the provisions of this Section 3 if Indemnitee is, or is threatened to be made, a party to or a participant in any Proceeding, other than a Proceeding by or in the right of the Company to procure a judgment in its favor.  Pursuant to this Section 3, Indemnitee shall be indemnified to the fullest extent permitted by applicable law against all Expenses, judgments, fines and amounts paid in settlement actually and reasonably incurred by Indemnitee or on his behalf in connection with such Proceeding or any claim, issue or matter therein, if Indemnitee acted in good faith and in a manner he reasonably believed to be in or not opposed to the best interests of the Company and, in the case of a criminal proceeding had no reasonable cause to believe that his conduct was unlawful.  The parties hereto intend that this Agreement shall provide to the fullest extent permitted by law for indemnification in excess of that expressly permitted by statute, including, without limitation, any indemnification provided by the Company’s Certificate of Incorporation, its Bylaws, vote of its stockholders or disinterested directors or applicable law.
Section 4.    Indemnity in Proceedings by or in the Right of the Company.   The Company shall indemnify Indemnitee in accordance with the provisions of this Section 4 if Indemnitee is, or is threatened to be made, a party to or a participant in any Proceeding by or in the right of the Company to procure a judgment in its favor.  Pursuant to this Section 4, Indemnitee shall be indemnified to the fullest extent permitted by applicable law against all Expenses actually and reasonably incurred by him or on his behalf in connection with such Proceeding or any claim, issue or matter therein, if Indemnitee acted in good faith and in a manner he reasonably believed to be in or not opposed to the best interests of the Company.  No indemnification for Expenses shall be made under this Section 4 in respect of any claim, issue or matter as to which Indemnitee shall have been finally adjudged by a court to be liable to the Company, unless and only to the extent that the Delaware Court of Chancery or any court in which the Proceeding was brought shall determine upon application that, despite the adjudication of liability but in view of all the circumstances of the case, Indemnitee is fairly and reasonably entitled to indemnification.
Section 5.    Indemnification for Expenses of a Party Who is Wholly or Partly Successful. Notwithstanding any other provisions of this Agreement, to the fullest extent permitted by applicable law and to the extent that Indemnitee is a party to (or a participant in) and is successful, on the merits or otherwise, in any Proceeding or in defense of any claim, issue or matter therein, in whole or in part, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him in connection therewith.  If Indemnitee is not wholly successful in such Proceeding but is successful, on the merits or otherwise, as to one or more but less than all claims, issues or matters in such Proceeding, the Company shall indemnify Indemnitee against all Expenses actually and reasonably incurred by him or on his behalf in connection with or related to each successfully resolved claim, issue or matter to the fullest extent permitted by law.  For purposes of this Section and without limitation, the termination of any claim, issue or matter in such a Proceeding by dismissal, with or without prejudice, shall be deemed to be a successful result as to such claim, issue or matter.
Section 6.    Indemnification For Expenses of a Witness.  Notwithstanding any other provision of this Agreement, to the fullest extent permitted by applicable law and to the extent that Indemnitee is, by reason of his Corporate Status, a witness or otherwise asked to participate in any Proceeding to which Indemnitee is not a party, he shall be indemnified against all Expenses actually and reasonably incurred by him or on his behalf in connection therewith.
Section 7.    Partial Indemnification.  If Indemnitee is entitled under any provision of this Agreement to indemnification by the Company for some or a portion of Expenses, but not, however, for the total amount thereof, the Company shall nevertheless indemnify Indemnitee for the portion thereof to which Indemnitee is entitled.
Section 8.    Additional Indemnification.

-4-
 OC\1615588.4

(a)    Notwithstanding any limitation in Sections 3, 4, or 5, the Company shall indemnify Indemnitee to the fullest extent permitted by applicable law if Indemnitee is a party to or threatened to be made a party to any Proceeding (including a Proceeding by or in the right of the Company to procure a judgment in its favor) against all Expenses, judgments, fines and amounts paid in settlement actually and reasonably incurred by Indemnitee in connection with the Proceeding. 
(b)    For purposes of Section 8(a), the meaning of the phrase “to the fullest extent permitted by applicable law” shall include, but not be limited to:
i.    to the fullest extent permitted by the provision of the DGCL that authorizes or contemplates additional indemnification by agreement, or the corresponding provision of any amendment to or replacement of the DGCL, and
ii.    to the fullest extent authorized or permitted by any amendments to or replacements of the DGCL adopted after the date of this Agreement that increase the extent to which a corporation may indemnify its officers and directors.
Section 9.    Exclusions.   Notwithstanding any provision in this Agreement, the Company shall not be obligated under this Agreement to make any indemnity in connection with any claim made against Indemnitee:
(a)    to the extent that payment has actually been made to or on behalf of Indemnitee under any insurance policy or other indemnity provision; or
(b)    for an accounting of profits made from the purchase and sale (or sale and purchase) by Indemnitee of securities of the Company within the meaning of Section 16(b) of the Exchange Act (as defined in Section 2(b) hereof) or similar provisions of state statutory law or common law; or
(c)    except for Expenses incurred by Indemnitee in connection with the interpretation, enforcement or defense of Indemnitee’s rights under this Agreement, in connection with any Proceeding (or any part of any Proceeding) initiated by Indemnitee, including any Proceeding (or any part of any Proceeding) initiated by Indemnitee against the Company or its directors, officers, employees or other indemnitees, unless (i) the Board authorized the Proceeding (or any part of any Proceeding) prior to its initiation or (ii) the Company provides the indemnification, in its sole discretion, pursuant to the powers vested in the Company under applicable law.
Section 10.    Advances of Expenses.   In accordance with the pre-existing requirement of Section 1 of Article VIII of the By-laws of the Company, and notwithstanding any provision of this Agreement to the contrary, the Company shall advance, to the extent not prohibited by law, the Expenses incurred by Indemnitee in connection with any Proceeding, and such advancement shall be made within ten (10) days after the receipt by the Company of a statement or statements requesting such advances from time to time, whether prior to or after final disposition of any Proceeding.  Advances shall be unsecured and interest free.  Advances shall be made without regard to Indemnitee’s ability to repay the Expenses and without regard to Indemnitee’s ultimate entitlement to indemnification under the other provisions of this Agreement.  Advances shall include any and all reasonable Expenses incurred pursuing an action to enforce this right of advancement, including Expenses incurred preparing and forwarding statements to the Company to support the advances claimed.  The Indemnitee shall qualify for advances upon the execution and delivery to the Company of this Agreement, which shall constitute an undertaking providing that the Indemnitee undertakes to repay the amounts advanced (without interest) to the extent that it is ultimately determined that Indemnitee is not entitled to be indemnified by the Company.  No other form of undertaking shall be required other than the 

-5-
 OC\1615588.4

execution of this Agreement.  This Section 10 shall not apply to any claim made by Indemnitee for which indemnity is excluded pursuant to Section 9.
Section 11.    Procedure for Notification and Defense of Claim; Presumptions and Effect of             Certain Proceedings.
(a)    Indemnitee shall notify the Company in writing of any matter with respect to which Indemnitee intends to seek indemnification or advancement of Expenses hereunder as soon as reasonably practicable following the receipt by Indemnitee of written notice thereof.  The written notification to the Company shall include a description of the nature of the Proceeding and the facts underlying the Proceeding.  To obtain indemnification under this Agreement, Indemnitee shall submit to the Company a written request, including therein or therewith such documentation and information as is reasonably available to Indemnitee and is reasonably necessary to determine whether and to what extent Indemnitee is entitled to indemnification following the final disposition of such action, suit or proceeding.  The omission by Indemnitee to notify the Company hereunder will not relieve the Company from any liability which it may have to Indemnitee hereunder or otherwise than under this Agreement, and any delay in so notifying the Company shall not constitute a waiver by Indemnitee of any rights under this Agreement.  The Secretary of the Company shall, promptly upon receipt of such a request for indemnification, advise the Board in writing that Indemnitee has requested indemnification.
(b)    The Company will be entitled to participate in the Proceeding at its own expense.
(c)    In making a determination with respect to entitlement to indemnification hereunder, the person or persons or entity making such determination shall, to the fullest extent not prohibited by law, presume that Indemnitee is entitled to indemnification under this Agreement if Indemnitee has submitted a request for indemnification in accordance with Section 11(a) of this Agreement, and the Company shall, to the fullest extent not prohibited by law, have the burden of proof to overcome that presumption in connection with the making by any person, persons or entity of any determination contrary to that presumption.  Neither the failure of the Company to have made a determination prior to the commencement of any action pursuant to this Agreement that indemnification is proper in the circumstances because Indemnitee has met the applicable standard of conduct, nor an actual determination by the Company that Indemnitee has not met such applicable standard of conduct, shall be a defense to the action or create a presumption that Indemnitee has not met the applicable standard of conduct.
(d)    The termination of any Proceeding or of any claim, issue or matter therein, by judgment, order, settlement or conviction, or upon a plea of nolo contendere or its equivalent, shall not (except as otherwise expressly provided in this Agreement) of itself adversely affect the right of Indemnitee to indemnification or create a presumption that Indemnitee did not act in good faith and in a manner which he reasonably believed to be in or not opposed to the best interests of the Company or, with respect to any criminal Proceeding, that Indemnitee had reasonable cause to believe that his conduct was unlawful.
(e)    For purposes of any determination of good faith, Indemnitee shall be deemed to have acted in good faith if Indemnitee’s action is based on the records or books of account of the Enterprise, including financial statements, or on information supplied to Indemnitee by the officers of the Enterprise in the course of their duties, or on the advice of legal counsel for the Enterprise or on information or records given or reports made to the Enterprise by an independent certified public accountant or by an appraiser or other expert selected with the reasonable care by  the Enterprise.  The provisions of this Section 11(e) shall not be deemed to be exclusive or to limit in any way the other circumstances in which the Indemnitee may be deemed to have met the applicable standard of conduct set forth in this Agreement.

-6-
 OC\1615588.4

(f)    The knowledge and/or actions, or failure to act, of any director, officer, agent or employee of the Enterprise shall not be imputed to Indemnitee for purposes of determining the right to indemnification under this Agreement.
Section 12.    Remedies of Indemnitee.  
(a)    Subject to Section 12(e), in the event that (i) a determination is made by the Board or the Company that Indemnitee is not entitled to indemnification under this Agreement, (ii) advancement of Expenses is not timely made pursuant to Section 10 of this Agreement, (iii) payment of indemnification is not made pursuant to any of Sections 3-8 within ten (10) days after receipt by the Company of a written request therefor, or (iv) in the event that the Company or any other person takes or threatens to take any action to declare this Agreement void or unenforceable, or institutes any litigation or other action or Proceeding designed to deny, or to recover from, the Indemnitee the benefits provided or intended to be provided to the Indemnitee hereunder, Indemnitee shall be entitled to an adjudication by a court of his entitlement to such indemnification or advancement of Expenses.  Alternatively, Indemnitee, at his option, may seek an award in arbitration to be conducted by a single arbitrator pursuant to the Commercial Arbitration Rules of the American Arbitration Association.  Indemnitee shall commence such proceeding seeking an adjudication or an award in arbitration within 180 days following the date on which Indemnitee first has the right to commence such proceeding pursuant to this Section 12(a); provided, however, that the foregoing clause shall not apply in respect of a proceeding brought by Indemnitee to enforce his rights under Section 5 of this Agreement.  The Company shall not oppose Indemnitee’s right to seek any such adjudication or award in arbitration.
(b)    In the event that a determination shall have been made by the Board or the Company that Indemnitee is not entitled to indemnification, any judicial proceeding or arbitration commenced pursuant to this Section 12 shall be conducted in all respects as a de novo trial, or arbitration, on the merits and Indemnitee shall not be prejudiced by reason of that adverse determination.  In any judicial proceeding or arbitration commenced pursuant to this Section 12 the Company shall have the burden of proving Indemnitee is not entitled to indemnification or advancement of Expenses, as the case may be.
(c)    If a determination shall have been made by the Board or the Company that Indemnitee is entitled to indemnification, the Company shall be bound by such determination in any judicial proceeding or arbitration commenced pursuant to this Section 12, absent (i) a misstatement by Indemnitee of a material fact, or an omission of a material fact necessary to make Indemnitee’s statement not materially misleading, in connection with the request for indemnification, or (ii) a prohibition of such indemnification under applicable law.
(d)    The Company shall, to the fullest extent not prohibited by law, be precluded from asserting in any judicial proceeding or arbitration commenced pursuant to this Section 12 that the procedures and presumptions of this Agreement are not valid, binding and enforceable and shall stipulate in any such court or before any such arbitrator that the Company is bound by all the provisions of this Agreement.  It is the intent of the Company that, to the fullest extent permitted by law, the Indemnitee not be required to incur legal fees or other Expenses associated with the interpretation, enforcement or defense of Indemnitee’s rights under this Agreement by litigation or otherwise because the cost and expense thereof would substantially detract from the benefits intended to be extended to the Indemnitee hereunder.  The Company shall, to the fullest extent permitted by law, indemnify Indemnitee against any and all Expenses and, if requested by Indemnitee, shall (within ten (10) days after receipt by the Company of a written request therefor) advance, to the extent not prohibited by law, such Expenses to Indemnitee, which are incurred by Indemnitee in connection with any action brought by Indemnitee for indemnification or advance of Expenses from the Company under this Agreement or under any directors’ and officers’ liability insurance policies maintained by the Company if Indemnitee is wholly successful on the underlying claims; if Indemnittee is not wholly 

-7-
 OC\1615588.4

successful on the underlying claims, then such indemnification and advancement shall be only to the extent Indemnitee is successful on such underlying claims or otherwise as permitted by law, whichever is greater.
(e)    Notwithstanding anything in this Agreement to the contrary, no determination as to entitlement of Indemnitee to indemnification under this Agreement shall be required to be made prior to the final disposition of the Proceeding.
Section 13.    Non-exclusivity; Survival of Rights; Insurance; Subrogation.  
(a)    The rights of indemnification and to receive advancement of Expenses as provided by this Agreement shall not be deemed exclusive of any other rights to which Indemnitee may at any time be entitled under applicable law, the Company’s Certificate of Incorporation, the Company’s By-laws, any agreement, a vote of stockholders or a resolution of directors, or otherwise.  No amendment, alteration or repeal of this Agreement or of any provision hereof shall limit or restrict any right of Indemnitee under this Agreement in respect of any action taken or omitted by such Indemnitee in his Corporate Status prior to such amendment, alteration or repeal.  To the extent that a change in Delaware law, whether by statute or judicial decision, permits greater indemnification or advancement of Expenses than would be afforded currently under the Company’s By-laws and this Agreement, it is the intent of the parties hereto that Indemnitee shall enjoy by this Agreement the greater benefits so afforded by such change.  No right or remedy herein conferred is intended to be exclusive of any other right or remedy, and every other right and remedy shall be cumulative and in addition to every other right and remedy given hereunder or now or hereafter existing at law or in equity or otherwise.  The assertion or employment of any right or remedy hereunder, or otherwise, shall not prevent the concurrent assertion or employment of any other right or remedy.
(b)    To the extent that the Company maintains any insurance policy providing liability insurance for directors, officers, employees, or agents of the Company or any other Enterprise, Indemnitee shall be covered by such policy in accordance with its terms to the maximum extent of the coverage available for any such director, officer, employee or agent under such policy. If, at the time of the receipt of an Indemnification Notice pursuant to the terms hereof, the Company has director and officer liability or similar insurance (“D&O Insurance”) in effect, the Company shall give prompt notice of such claim or of the commencement of a Proceeding, as the case may be, to the applicable insurers in accordance with the procedures set forth in the applicable policy. The Company shall thereafter take all necessary or desirable action to cause such insurers to pay, on behalf of Indemnitee, all amounts payable as a result of such Proceeding in accordance with the terms of each such policy. 
(c)    In the event (i) that the Company determines to reduce materially or not to renew its D&O Insurance coverage, the Company will purchase six (6) year tail coverage D&O Insurance, on terms and conditions substantially similar to the existing D&O Insurance (“Comparable Coverage”), for the benefit of the directors, officers, employees or agents of the Company or any other Enterprise who had served in such capacity prior to the reduction, termination or expiration of the coverage (the “Prior Directors and Officers”); or (ii) of a Change in Control, the Company will either (A) purchase six (6) year tail coverage D&O Insurance with Comparable Coverage for the benefit of the directors, officers, employees or agents of the Company or any other Enterprise who had served in such capacity prior to the closing of the transaction or the occurrence of the event constituting the Change in Control. Notwithstanding the foregoing, if the annual premium for any year of such tail coverage or other continuing D&O Insurance coverage would exceed 200% of the annual premium the Company paid for D&O Insurance in its last full fiscal year prior to the reduction, termination or expiration of the D&O Insurance or such Change in Control event, the Company (or the acquiror or successor, as the case may be) will be deemed to have satisfied its obligations under this Section 13(c) by purchasing as much D&O Insurance for such year as can be obtained for a premium equal to 200% such annual premium the Company paid for D&O Insurance in its last full fiscal year. 

-8-
 OC\1615588.4

(d)    In the event of any payment under this Agreement, the Company shall be subrogated to the extent of such payment to all of the rights of recovery of Indemnitee, who shall execute all papers required and take all action necessary to secure such rights, including execution of such documents as are necessary to enable the Company to bring suit to enforce such rights.
(e)    The Company shall not be liable under this Agreement to make any payment of amounts otherwise indemnifiable (or for which advancement is provided hereunder) hereunder if and to the extent that Indemnitee has otherwise actually received such payment under any insurance policy, contract, agreement or otherwise.    
(f)    The Company’s obligation to indemnify or advance Expenses hereunder to Indemnitee in connection with any claim related to Indemnitee’s service as a director, officer, employee or agent of any Enterprise other than the Company shall be reduced by any amount Indemnitee has actually received as indemnification or advancement of Expenses from such other Enterprise. 
Section 14.    Duration of Agreement.  This Agreement shall continue until and terminate upon the later of: (a) ten (10) years after the date that Indemnitee shall have ceased to serve as a [director] [officer] of the Company or any other Enterprise or (b) one (1) year after the final termination of any Proceeding then pending in respect of which Indemnitee is granted rights of indemnification or advancement of Expenses hereunder and of any proceeding commenced by Indemnitee in connection with the interpretation, enforcement or defense of Indemnitee’s rights under this Agreement.  This Agreement shall be binding upon the Company and its successors and assigns and shall inure to the benefit of Indemnitee and his heirs, executors and administrators.
Section 15.    Severability.  If any provision or provisions of this Agreement shall be held to be invalid, illegal or unenforceable for any reason whatsoever: (a) the validity, legality and enforceability of the remaining provisions of this Agreement (including without limitation, each portion of any Section of this Agreement containing any such provision held to be invalid, illegal or unenforceable, that is not itself invalid, illegal or unenforceable) shall not in any way be affected or impaired thereby and shall remain enforceable to the fullest extent permitted by law; (b) such provision or provisions shall be deemed reformed to the extent necessary to conform to applicable law and to give the maximum effect to the intent of the parties hereto; and (c) to the fullest extent possible, the provisions of this Agreement (including, without limitation, each portion of any Section of this Agreement containing any such provision held to be invalid, illegal or unenforceable, that is not itself invalid, illegal or unenforceable) shall be construed so as to give effect to the intent manifested thereby.
Section 16.    Enforcement.
(a)    The Company expressly confirms and agrees that it has entered into this Agreement and assumed the obligations imposed on it hereby in order to induce Indemnitee to serve as a director or officer of the Company, and the Company acknowledges that Indemnitee is relying upon this Agreement in serving as a director or officer of the Company.
(b)    This Agreement constitutes the entire agreement between the parties hereto with respect to the subject matter hereof and supersedes all prior agreements and understandings, oral, written and implied, between the parties hereto with respect to the subject matter hereof; provided, however, that this Agreement is a supplement to and in furtherance of the Certificate of Incorporation of the Company, the By-laws of the Company and applicable law, and shall not be deemed a substitute therefor, nor to diminish or abrogate any rights of Indemnitee thereunder.

-9-
 OC\1615588.4

Section 17.    Modification and Waiver.  No supplement, modification or amendment of this Agreement shall be binding unless executed in writing by the parties thereto.  No waiver of any of the provisions of this Agreement shall be deemed or shall constitute a waiver of any other provisions of this Agreement nor shall any waiver constitute a continuing waiver.
Section 18.    Notice by Indemnitee.  Indemnitee agrees promptly to notify the Company in writing upon being served with any summons, citation, subpoena, complaint, indictment, information or other document relating to any Proceeding or matter which may be subject to indemnification or advancement of Expenses covered hereunder.  The failure of Indemnitee to so notify the Company shall not relieve the Company of any obligation which it may have to the Indemnitee under this Agreement or otherwise. 
Section 19.    Notices.   All notices, requests, demands and other communications under this Agreement shall be in writing and shall be deemed to have been duly given if (a) delivered by hand and receipted for by the party to whom said notice or other communication shall have been directed, (b) mailed by certified or registered mail with postage prepaid, on the third business day after the date on which it is so mailed, (c) mailed by reputable overnight courier and receipted for by the party to whom said notice or other communication shall have been directed or (d) sent by facsimile transmission, with receipt of oral confirmation that such transmission has been received:
(a)    If to Indemnitee, at the address indicated on the signature page of this Agreement, or such other address as Indemnitee shall provide to the Company.
(b)    If to the Company to
 [notice information]
or to any other address as may have been furnished to Indemnitee by the Company.
Section 20.    Contribution.  To the fullest extent permissible under applicable law, if the indemnification provided for in this Agreement is unavailable to Indemnitee for any reason whatsoever, the Company, in lieu of indemnifying Indemnitee, shall contribute to the amount incurred by Indemnitee, whether for judgments, fines, penalties, excise taxes, amounts paid or to be paid in settlement and/or for Expenses, in connection with any claim relating to an indemnifiable event under this Agreement, in such proportion as is deemed fair and reasonable in light of all of the circumstances of such Proceeding in order to reflect (i) the relative benefits received by the Company and Indemnitee as a result of the event(s) and/or transaction(s) giving cause to such Proceeding; and/or (ii) the relative fault of the Company (and its directors, officers, employees and agents) and Indemnitee in connection with such event(s) and/or transaction(s).
Section 21.    Applicable Law and Consent to Jurisdiction.  This Agreement and the legal relations among the parties shall be governed by, and construed and enforced in accordance with, the laws of the State of Delaware, without regard to its conflict of laws rules. Except with respect to any arbitration commenced by Indemnitee pursuant to Section 12(a) of this Agreement, the Company and Indemnitee hereby irrevocably and unconditionally (i) agree that any action or proceeding arising out of or in connection with this Agreement shall be brought only in the Chancery Court of the State of Delaware (the “Delaware Court”), and not in any other state or federal court in the United States of America or any court in any other country, (ii) consent to submit to the exclusive jurisdiction of the Delaware Court for purposes of any action or proceeding arising out of or in connection with this Agreement, (iii) irrevocably appoint, to the extent such party is not otherwise subject to service of process in the State of Delaware,  [name of agent for service of process] as its agent in the State of Delaware as such party’s agent for acceptance of legal process in connection with any such action or proceeding against such party with the same legal force and validity as if served upon such party personally within the State of Delaware, (iv) waive any objection to the laying of venue of any such action 

-10-
 OC\1615588.4

or proceeding in the Delaware Court, and (v) waive, and agree not to plead or to make, any claim that any such action or proceeding brought in the Delaware Court has been brought in an improper or inconvenient forum.
Section 22.    Identical Counterparts.  This Agreement may be executed in one or more counterparts, each of which shall for all purposes be deemed to be an original but all of which together shall constitute one and the same Agreement.  Only one such counterpart signed by the party against whom enforceability is sought needs to be produced to evidence the existence of this Agreement.
Section 23.    Miscellaneous.    Use of the masculine pronoun shall be deemed to include usage of the feminine pronoun where appropriate.  The headings of this Agreement are inserted for convenience only and shall not be deemed to constitute part of this Agreement or to affect the construction thereof.
IN WITNESS WHEREOF, the parties have caused this Agreement to be signed as of the day and year first above written.
 ENDOLOGIX, INC.                    INDEMNITEE 
 
 
By:                                             
Name:                            Name: 
Office:                            Address:             
                                             
                                            

-11-
 OC\1615588.4ELGX-EX10.27_Wells_Fargo_Credit_Facility_Full_Copy

Exhibit 10.27

CREDIT AGREEMENT
THIS CREDIT AGREEMENT (this “Agreement”) is entered into as of October 30, 2009, by and between ENDOLOGIX, INC. (“Borrower”), and WELLS FARGO BANK, NATIONAL ASSOCIATION (“Bank”).
RECITALS
Borrower has requested that Bank extend or continue credit to Borrower as described below, and Bank has agreed to provide such credit to Borrower on the terms and conditions contained herein.
NOW, THEREFORE, for valuable consideration, the receipt and sufficiency of which are hereby acknowledged, Bank and Borrower hereby agree as follows:
ARTICLE I 
CREDIT TERMS
SECTION 1.1    LINE OF CREDIT.
(a)    Line of Credit.  Subject to the terms and conditions of this Agreement, Bank hereby agrees to make advances to Borrower from time to time up to and including April 30, 2012, not to exceed at any time the aggregate principal amount of Ten Million Dollars ($10,000,000) (the “Line of Credit”), the proceeds of which shall be used for general working capital and corporate purposes.  Borrower’s obligation to repay advances under the Line of Credit shall be evidenced by a promissory note dated as of October 30, 2009 (the “Line of Credit Note”), all terms of which are incorporated herein by this reference.
(b)    Limitation on Borrowings.  Outstanding borrowings under the Line of Credit, to a maximum of the principal amount set forth above, shall not at any time exceed an aggregate of Ten Million Dollars ($10,000,000).
(c)    Letter of Credit Subfeature.  As a subfeature under the Line of Credit, Bank agrees from time to time during the term thereof to issue or cause an affiliate to issue letters of credit for the account of Borrower (each, a “Letter of Credit” and collectively, “Letters of Credit”); provided however, that the aggregate undrawn amount of all outstanding Letters of Credit shall not at any time exceed Five Hundred Thousand Dollars ($500,000).  The form and substance of each Letter of Credit shall be subject to approval by Bank, in its sole discretion.  No Letter of Credit shall have an expiration date subsequent to the maturity date of the Line of Credit.  The undrawn amount of all Letters of Credit shall be reserved under the Line of Credit and shall not be available for borrowings thereunder.  Each Letter of Credit shall be subject to the additional terms and conditions of the Letter of Credit agreements, applications and any related 

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

documents required by Bank in connection with the issuance thereof.  Each drawing paid under a Letter of Credit shall be deemed an advance under the Line of Credit and shall be repaid by Borrower in accordance with the terms and conditions of this Agreement applicable to such advances; provided however, that if advances under the Line of Credit are not available, for any reason, at the time any drawing is paid, then Borrower shall immediately pay to Bank the full amount drawn, together with interest thereon from the date such drawing is paid to the date such amount is fully repaid by Borrower, at the rate of interest applicable to advances under the Line of Credit.  In such event Borrower agrees that Bank, in its sole discretion, may debit any account maintained by Borrower with Bank for the amount of any such drawing.
(d)    Credit Card Services Subfeature.  Subject to the terms and conditions of this Agreement, Borrower may request corporate credit cards from Bank (the “Credit Card Services”).  The aggregate limit of the corporate credit cards shall not exceed Seven Hundred Fifty Thousand Dollars ($750,000), provided that availability under the Line of Credit shall be reduced by the aggregate limits of the corporate credit cards issued to Borrower.  In addition, Bank may, in its sole reasonable discretion, charge as advances under the Line of Credit any amounts that become due or owing to Bank in connection with the Credit Card Services.  The terms and conditions (including repayment and fees) of such Credit Card Services shall be subject to the terms and conditions of the Bank’s standard forms of application and agreement for the Credit Card Services, which Borrower hereby agrees to execute.
(e)    Borrowing and Repayment.  Borrower may from time to time during the term of the Line of Credit borrow, partially or wholly repay its outstanding borrowings, and reborrow, subject to all of the limitations, terms and conditions contained herein or in the Line of Credit Note; provided however, that the total outstanding borrowings under the Line of Credit shall not at any time exceed the maximum principal amount available thereunder, as set forth above.  
SECTION 1.2    INTEREST/FEES.
(a)    The outstanding principal balance of each credit subject hereto shall bear interest, and the amount of each drawing paid under any Letter of Credit shall bear interest from the date such drawing is paid to the date such amount is fully repaid by Borrower, at the rate of interest set forth in the Line of Credit Note.
(b)    Computation and Payment.  Interest shall be computed on the basis of a 360-day year, actual days elapsed.  Interest shall be payable at the times and place set forth in each promissory note or other instrument or document required hereby.
(c)    Commitment Fee.  Borrower shall pay to Bank a non-refundable commitment fee for the Line of Credit equal to Forty Thousand Dollars ($40,000), which fee shall be due and payable in full on October 30, 2009.

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

(d)    Unused Commitment Fee.  Borrower shall pay to Bank a fee equal to one fifth of one percent (0.20%) per annum (computed on the basis of a 360-day year, actual days elapsed) on the average daily unused amount of the Line of Credit, which fee shall be calculated on a yearly basis by Bank and shall be due and payable by Borrower in arrears within ten (10) days after each billing is sent by Bank.
(e)    Letter of Credit Fees.  Borrower shall pay to Bank (i) fees upon the issuance of each Letter of Credit equal to one and one quarter percent (1.25%) per annum (computed on the basis of a 360-day year, actual days elapsed) of the face amount thereof, and (ii) fees upon the payment or negotiation of each drawing under any Letter of Credit and fees upon the occurrence of any other activity with respect to any Letter of Credit (including without limitation, the transfer, amendment or cancellation of any Letter of Credit) determined in accordance with Bank’s standard fees and charges then in effect for such activity.  Notwithstanding the foregoing, with respect to any Letters of Credit that are cash secured to the satisfaction of Bank such Letter of Credit Fee shall be reduced to three quarters of one percent (0.75%).
SECTION 1.3    COLLECTION OF PAYMENTS.  Borrower authorizes Bank to collect all principal, interest and fees due under each credit subject hereto by charging Borrower’s deposit account number 4828785279 with Bank, or any other deposit account maintained by Borrower with Bank, for the full amount thereof.  Should there be insufficient funds in any such deposit account to pay all such sums when due, the full amount of such deficiency shall be immediately due and payable by Borrower.
SECTION 1.4    COLLATERAL.
As security for all Indebtedness and other obligations of Borrower to Bank, Borrower has granted to Bank security interests in all Borrower’s personal property, as more fully described in that certain Security Agreement between Borrower and Bank dated as of the date hereof.
The foregoing shall be evidenced by and subject to the terms of such security agreements, financing statements, deeds or mortgages, and other documents as Bank shall reasonably require, all in form and substance satisfactory to Bank.  Borrower shall pay to Bank immediately upon demand the full amount of all charges, costs and expenses (to include fees paid to third parties and all allocated costs of Bank personnel), expended or incurred by Bank in connection with any of the foregoing security, including without limitation, filing and recording fees and costs of appraisals, audits and title insurance.
SECTION 1.5    SUBORDINATION OF DEBT.  All indebtedness and other obligations of Borrower to any other party shall be subordinated in right of repayment to all indebtedness and other obligations of Borrower to Bank, as evidenced by and subject to the terms of subordination agreements in form and substance satisfactory to Bank.

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

ARTICLE II     
REPRESENTATIONS AND WARRANTIES
Borrower makes the following representations and warranties to Bank, which representations and warranties shall survive the execution of this Agreement and shall continue in full force and effect until the full and final payment, and satisfaction and discharge, of all obligations of Borrower to Bank subject to this Agreement.
SECTION 2.1    LEGAL STATUS.  Borrower is a corporation, duly organized and existing and in good standing under the laws of Delaware, and is qualified or licensed to do business (and is in good standing as a foreign corporation, if applicable) in all jurisdictions in which such qualification or licensing is required or in which the failure to so qualify or to be so licensed could reasonably be expected to have a material adverse effect on Borrower.
SECTION 2.2    AUTHORIZATION AND VALIDITY.  This Agreement and each promissory note, contract, instrument and other document required hereby or at any time hereafter delivered to Bank in connection herewith (collectively, the “Loan Documents”) have been duly authorized, and upon their execution and delivery in accordance with the provisions hereof will constitute legal, valid and binding agreements and obligations of Borrower or the party which executes the same, enforceable in accordance with their respective terms.
SECTION 2.3    NO VIOLATION.  The execution, delivery and performance by Borrower of each of the Loan Documents do not violate any provision of any law or regulation, or contravene any provision of the Certificate of Incorporation or By-Laws of Borrower, or result in any breach of or default under any contract, obligation, indenture or other instrument to which Borrower is a party or by which Borrower may be bound.
SECTION 2.4    LITIGATION.  Except as disclosed in Schedule 2.4 hereof, there are no pending, or to the best of Borrower’s knowledge threatened, actions, claims, investigations, suits or proceedings by or before any governmental authority, arbitrator, court or administrative agency which could reasonably be expected to have a material adverse effect on the financial condition or operation of Borrower other than those disclosed by Borrower to Bank in writing prior to the date hereof or, in the case of any subsequent extension, prior to such date (and approved in writing by Bank, such approval not to be unreasonably withheld).
SECTION 2.5    CORRECTNESS OF FINANCIAL STATEMENT.  The annual financial statement of Borrower dated December 31, 2008, and all interim financial statements delivered to Bank since said date, true copies of which have been delivered by Borrower to Bank prior to the date hereof, (a) are complete and correct and present fairly the 

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

financial condition of Borrower, (b) disclose all liabilities of Borrower that are required to be reflected or reserved against under generally accepted accounting principles, whether liquidated or unliquidated, fixed or contingent, and (c) have been prepared in accordance with generally accepted accounting principles consistently applied.  Since the dates of such financial statements there has been no material adverse change in the financial condition of Borrower, nor has Borrower mortgaged, pledged, granted a security interest in or otherwise encumbered any of its assets or properties except in favor of Bank or as otherwise permitted by Bank in writing.
SECTION 2.6    INCOME TAX RETURNS.  Borrower has no knowledge of any pending assessments or adjustments of its income tax payable with respect to any year.
SECTION 2.7    NO SUBORDINATION.  There is no agreement, indenture, contract or instrument to which Borrower is a party or by which Borrower may be bound that requires the subordination in right of payment of any of Borrower’s obligations subject to this Agreement to any other obligation of Borrower.
SECTION 2.8    PERMITS, FRANCHISES.  Borrower possesses, and will hereafter possess, all permits, consents, approvals, franchises and licenses required and rights to all trademarks, trade names, patents, and fictitious names, if any, necessary to enable it to conduct the business in which it is now engaged in compliance with applicable law.
SECTION 2.9    ERISA.  Borrower is in compliance in all material respects with all applicable provisions of the Employee Retirement Income Security Act of 1974, as amended or recodified from time to time (“ERISA”); Borrower has not violated any provision of any defined employee pension benefit plan (as defined in ERISA) maintained or contributed to by Borrower (each, a “Plan”); no Reportable Event as defined in ERISA has occurred and is continuing with respect to any Plan initiated by Borrower; Borrower has met its minimum funding requirements under ERISA with respect to each Plan; and each Plan will be able to fulfill its benefit obligations as they come due in accordance with the Plan documents and under generally accepted accounting principles.
SECTION 2.10    OTHER OBLIGATIONS.  Borrower is not in default on any obligation for borrowed money, any purchase money obligation or any other material lease, commitment, contract, instrument or obligation.
SECTION 2.11    ENVIRONMENTAL MATTERS.  Except as disclosed by Borrower to Bank in writing prior to the date hereof, Borrower is in compliance in all material respects with all applicable federal or state environmental, hazardous waste, health and safety statutes, and any rules or regulations adopted pursuant thereto, which govern or affect any of Borrower’s operations and/or properties, including without limitation, the 

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

Comprehensive Environmental Response, Compensation and Liability Act of 1980, the Superfund Amendments and Reauthorization Act of 1986, the Federal Resource Conservation and Recovery Act of 1976, and the Federal Toxic Substances Control Act, as any of the same may be amended, modified or supplemented from time to time.  None of the operations of Borrower is the subject of any federal or state investigation evaluating whether any remedial action involving a material expenditure is needed to respond to a release of any toxic or hazardous waste or substance into the environment.  Borrower has no material contingent liability in connection with any release of any toxic or hazardous waste or substance into the environment.
ARTICLE III     
CONDITIONS
SECTION 3.1    CONDITIONS OF INITIAL EXTENSION OF CREDIT.  The obligation of Bank to extend any credit contemplated by this Agreement is subject to the fulfillment to Bank’s satisfaction of all of the following conditions:
(a)    Approval of Bank Counsel.  All legal matters incidental to the extension of credit by Bank shall be satisfactory to Bank’s counsel.
(b)    Documentation.  Bank shall have received, in form and substance satisfactory to Bank, each of the following, duly executed:
(i)    This Agreement and each promissory note or other instrument or document required hereby, including the Line of Credit Note;
(ii)    Certificate of Incumbency;
(iii)    Corporate Resolution: Borrowing;
(iv)    Security Agreement;
(v)    Subject to Section 4.10, deposit and securities account control agreements for any accounts maintained outside of Bank; 
(vi)    an audit of the Collateral, the results of which shall be satisfactory to Bank; and
(vii)    Such other documents as Bank may reasonably require under any other Section of this Agreement.
(c)    Financial Condition.  There shall have been no material adverse change, as determined by Bank, in the financial condition or business of Borrower, nor any material decline, 

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

as determined by Bank, in the market value of any collateral required hereunder or a substantial or material portion of the assets of Borrower.
(d)    Insurance.  Borrower shall have delivered to Bank evidence of insurance coverage on all Borrower’s property, in form, substance, amounts, covering risks and issued by companies satisfactory to Bank, and where required by Bank, with loss payable endorsements in favor of Bank, including without limitation, policies of fire and extended coverage insurance covering all real property collateral required hereby, with replacement cost and mortgagee loss payable endorsements, and such policies of insurance against specific hazards affecting any such real property as may be required by governmental regulation or Bank.
SECTION 3.2    CONDITIONS OF EACH EXTENSION OF CREDIT.  The obligation of Bank to make each extension of credit requested by Borrower hereunder shall be subject to the fulfillment to Bank’s satisfaction of each of the following conditions:
(a)    Compliance.  The representations and warranties contained herein and in each of the other Loan Documents shall be true on and as of the date of the signing of this Agreement and on the date of each extension of credit by Bank pursuant hereto, with the same effect as though such representations and warranties had been made on and as of each such date, and on each such date, no Event of Default as defined herein, and no condition, event or act which with the giving of notice or the passage of time or both would constitute such an Event of Default, shall have occurred and be continuing or shall exist.
(b)    Documentation.  Bank shall have received all additional documents which may be required in connection with such extension of credit.
ARTICLE IV     
AFFIRMATIVE COVENANTS
Borrower covenants that so long as Bank remains committed to extend credit to Borrower pursuant hereto, or any liabilities (whether direct or contingent, liquidated or unliquidated) of Borrower to Bank under any of the Loan Documents remain outstanding, and until payment in full of all obligations of Borrower subject hereto, Borrower shall, unless Bank otherwise consents in writing:
SECTION 4.1    PUNCTUAL PAYMENTS.  Punctually pay all principal, interest, fees or other liabilities due under any of the Loan Documents at the times and place and in the manner specified therein, and immediately upon demand by Bank, the amount by which the outstanding principal balance of any credit subject hereto at any time exceeds any limitation on borrowings applicable thereto.

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

SECTION 4.2    ACCOUNTING RECORDS.  Maintain adequate books and records in accordance with generally accepted accounting principles consistently applied, and permit any representative of Bank, at any reasonable time, to inspect, audit and examine such books and records, to make copies of the same, and to inspect the properties of Borrower.
SECTION 4.3    FINANCIAL STATEMENTS.  Provide to Bank all of the following, in form and detail satisfactory to Bank:
(a)    not later than seventy-five (75) days after and as of the end of each fiscal year, cpa audited financial statements of Borrower;
(b)    not later than forty-five (45) days after and as of the end of each calendar quarter, financial statements of Borrower, prepared by Borrower;
(c)    contemporaneously with each annual and quarterly financial statement of Borrower required hereby, a certificate of the president or chief financial officer of Borrower that said financial statements are accurate and that there exists no Event of Default nor any condition, act or event which with the giving of notice or the passage of time or both would constitute an Event of Default;
(d)    not later than sixty (60) days after the end of each fiscal year, financial projections approved by Borrower’s board of directors; 
(e)    not later than forty-five (45) days after and as of the end of each calendar quarter, a report of the dollar amount and location of Borrower’s inventory with third parties (including sales representatives and hospitals), in form and content reasonably acceptable to Bank and generally prepared by Borrower in the ordinary course of business; and
(f)    from time to time such other information as Bank may reasonably request.
For purposes of this Section 4.3, any financial statements that have been included in an Annual Report on Form 10-K or a Quarterly Report on Form 10-Q, filed with the Securities and Exchange Commission’s Electronic Data Gathering Analysis & Retrieval system (or any successor system) shall be deemed delivered.
SECTION 4.4    COMPLIANCE.  Preserve and maintain all licenses, permits, governmental approvals, rights, privileges and franchises necessary for the conduct of its business; and comply with the provisions of all documents pursuant to which Borrower is organized and/or which govern Borrower’s continued existence and with the requirements of all laws, rules, regulations and orders of any governmental authority applicable to Borrower and/or its business.

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

SECTION 4.5    INSURANCE.  Maintain and keep in force, for each business in which Borrower is engaged, insurance of the types and in amounts customarily carried in similar lines of business, including but not limited to fire, extended coverage, public liability, flood, property damage and workers’ compensation, with all such insurance carried with companies and in amounts satisfactory to Bank, and deliver to Bank from time to time at Bank’s request schedules setting forth all insurance then in effect. 
SECTION 4.6    FACILITIES.  Keep all properties useful or necessary to Borrower’s business in good repair and condition, and from time to time make necessary repairs, renewals and replacements thereto so that such properties shall be fully and efficiently preserved and maintained.
SECTION 4.7    TAXES AND OTHER LIABILITIES.  Pay and discharge when due any and all indebtedness, obligations, assessments and taxes, both real or personal, including without limitation federal and state income taxes and state and local property taxes and assessments, except (a) such as Borrower may in good faith contest or as to which a bona fide dispute may arise, and (b) for which Borrower has made provision, to Bank’s satisfaction, for eventual payment thereof in the event Borrower is obligated to make such payment.
SECTION 4.8    LITIGATION.  Promptly give notice in writing to Bank of any litigation pending or threatened against Borrower with a claim in excess of One Hundred Thousand Dollars ($100,000).
SECTION 4.9    FINANCIAL CONDITION.  Maintain Borrower’s financial condition as follows using generally accepted accounting principles consistently applied and used consistently with prior practices (except to the extent modified by the definitions herein):
(a)    Modified Quick Ratio greater than (i) 1.75 to 1.0 at all times from October 30, 2009 through October 30, 2010 and (ii) 2.00 to 1.0 at all times thereafter, with “Modified Quick Ratio” defined as (I) the aggregate of Borrower’s unrestricted cash and receivables convertible into cash divided by (II) total current liabilities plus, to the extent not already included therein, all indebtedness owing from Borrower to Bank.
(b)    Tangible Net Worth at all times greater than (i) Twenty Three Million Dollars ($23,000,000) plus (ii) fifty percent (50%) of any proceeds received by Borrower from the sale of its equity securities (other than sales under the Borrower’s equity incentive plans) after October 30, 2009, plus (iii) after Borrower achieves two (2) consecutive quarters of profitability, fifty percent (50%) of Borrower’s quarterly net profit, with “Tangible Net Worth” defined as the 

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

aggregate of total stockholders’ equity less any intangible assets and less any loans or advances to, or investments in, any related entities or individuals.
SECTION 4.10    ACCOUNTS.  Borrower shall maintain its primary operating and other deposit accounts and securities accounts with Bank which accounts shall represent at least eighty percent (80%) of the dollar value of Borrower’s accounts at all financial institutions.  Notwithstanding the foregoing, (i) Borrower shall maintain no less than One Million Dollars ($1,000,000) on deposit with Bank and Bank’s Affiliates as of the date of this Agreement; and (ii) Borrower shall transfer the balance of its accounts (in accordance with the preceding paragraph) to Bank by November 16, 2009.  Borrower shall provide Bank five (5) days prior written notice before establishing any account at or with any bank or financial institution other than Bank.  For each such account that Borrower at any time maintains, Borrower shall cause the applicable bank or financial institution at or with which any such account is maintained to execute and deliver an account control agreement with respect to such account to perfect Bank’s lien in such account which control agreement may not be terminated without the prior written consent of Bank.  
SECTION 4.11    NOTICE TO BANK.  Promptly (but in no event more than five (5) days after the occurrence of each such event or matter) give written notice to Bank in reasonable detail of:  (a) the occurrence of any Event of Default, or any condition, event or act which with the giving of notice or the passage of time or both would constitute an Event of Default; (b) any change in the name or the organizational structure of Borrower; (c) the occurrence and nature of any Reportable Event or Prohibited Transaction, each as defined in ERISA, or any funding deficiency with respect to any Plan; or (d) any termination or cancellation of any insurance policy which Borrower is required to maintain, or any uninsured or partially uninsured loss through liability or property damage, or through fire, theft or any other cause affecting Borrower’s property in excess of an aggregate of One Hundred Thousand Dollars ($100,000).
ARTICLE V     
NEGATIVE COVENANTS
Borrower further covenants that so long as Bank remains committed to extend credit to Borrower pursuant hereto, or any liabilities (whether direct or contingent, liquidated or unliquidated) of Borrower to Bank under any of the Loan Documents remain outstanding, and until payment in full of all obligations of Borrower subject hereto, Borrower will not without Bank’s prior written consent:
SECTION 5.1    USE OF FUNDS.  Use any of the proceeds of any credit extended hereunder except for the purposes stated in Article I hereof.

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

SECTION 5.2    CAPITAL EXPENDITURES.  Make any additional investment in fixed assets in excess of (i) Five Hundred Thousand Dollars ($500,000) in fiscal year 2009; (ii) One Million Five Hundred Thousand Dollars ($1,500,000), in the aggregate, for fiscal years 2010 and 2011; and (ii) One Million Five Hundred Thousand Dollars ($1,500,000) in fiscal year 2012. 
SECTION 5.3    LEASE EXPENDITURES.  Incur operating lease expense in any calendar year in excess of an aggregate of Two Hundred Fifty Thousand Dollars ($250,000).
SECTION 5.4    OTHER INDEBTEDNESS.  Create, incur, assume or permit to exist any indebtedness or liabilities resulting from borrowings, loans or advances, whether secured or unsecured, matured or unmatured, liquidated or unliquidated, joint or several, except (a) the liabilities of Borrower to Bank, (b) trade payables incurred in the ordinary course of business and (c) any other liabilities of Borrower existing as of, and disclosed to Bank prior to, the date hereof.
SECTION 5.5    MERGER, CONSOLIDATION, TRANSFER OF ASSETS.  Merge or consolidate, or permit any of its subsidiaries to merge or consolidate, with or into any other business organization (other than mergers or consolidations of a subsidiary into another subsidiary or into Borrower), or acquire, or permit any of its subsidiaries to acquire, all or substantially all of the capital stock or property of another person except where (a) each of the following conditions is applicable:  (i) the cash consideration paid in connection with such transactions (including assumption of liabilities) does not in the aggregate exceed $250,000 during any fiscal year, (ii) no Event of Default has occurred, is continuing or would exist after giving effect to such transactions, (iii) such transactions do not result in a change in control (as contemplated in Section 6.1(i) below), and (iv) Borrower is the surviving entity; or (b) the obligations of Borrower hereunder and under the other Loan Documents are repaid in full concurrently with the closing of any merger or consolidation of Borrower in which Borrower is not the surviving entity; nor sell, lease, transfer or otherwise dispose of all or a substantial or material portion of Borrower’s assets except in the ordinary course of its business (including non-exclusive licenses and similar arrangements for the use of Borrower’s property in the ordinary course of business).  Notwithstanding the foregoing, Borrower may in-license intellectual property, at an expense to Borrower not to exceed $500,000 during any fiscal year, except as otherwise consented to in writing by Bank from time to time, such consent not to be unreasonably withheld.
SECTION 5.6    GUARANTIES.  Guarantee or become liable in any way as surety, endorser (other than as endorser of negotiable instruments for deposit or collection in the ordinary course of business), accommodation endorser or otherwise for, nor pledge or hypothecate any assets of Borrower as security for, any liabilities or obligations of any other person or entity, except any of the foregoing in favor of Bank.

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

SECTION 5.7    LOANS, ADVANCES, INVESTMENTS.  Make any loans or advances to or investments in any person or entity, except any of the foregoing existing as of, and disclosed to Bank prior to, the date hereof.
SECTION 5.8    DIVIDENDS, DISTRIBUTIONS.  Declare or pay any dividend or distribution either in cash, stock or any other property on Borrower’s stock now or hereafter outstanding, nor redeem, retire, repurchase or otherwise acquire any shares of any class of Borrower’s stock now or hereafter outstanding.
SECTION 5.9    PLEDGE OF ASSETS.  Mortgage, pledge, grant or permit to exist a security interest in, or lien upon, all or any portion of Borrower’s assets now owned or hereafter acquired, except any of the foregoing in favor of Bank or which is existing as of, and disclosed to Bank in writing prior to, the date hereof 
ARTICLE VI     
EVENTS OF DEFAULT
SECTION 6.1    The occurrence of any of the following shall constitute an “Event of Default” under this Agreement:
(g)    Borrower shall fail to pay when due any principal, interest, fees or other amounts payable under any of the Loan Documents; provided that, it shall not constitute an Event of Default if Borrower shall have sufficient funds on deposit with Bank to satisfy any payment when due but Bank fails or refuses to debit such account for such amount. 
(h)    Any financial statement or certificate furnished to Bank in connection with, or any representation or warranty made by Borrower or any other party under this Agreement or any other Loan Document shall prove to be incorrect, false or misleading in any material respect when furnished or made. 
(i)    Any default in the performance of or compliance with any obligation, agreement or other provision contained herein or in any other Loan Document (other than those specifically described as an “Event of Default” in this section 6.1), and with respect to any such default that by its nature can be cured, such default shall continue for a period of twenty (20) days from its occurrence. 
(j)    Any default in the payment or performance of any obligation, or any defined event of default, under the terms of any contract, instrument or document (other than any of the Loan Documents) pursuant to which Borrower, any guarantor hereunder or any general partner or joint venturer in Borrower if a partnership or joint venture (with each such guarantor, general partner and/or joint venturer referred to herein as a “Third Party Obligor”) has incurred any debt or other liability to any person or entity, including Bank, in excess of $100,000 in the aggregate. 

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

(k)    Borrower or any Third Party Obligor shall become insolvent, or shall suffer or consent to or apply for the appointment of a receiver, trustee, custodian or liquidator of itself or any of its property, or shall generally fail to pay its debts as they become due, or shall make a general assignment for the benefit of creditors; Borrower or any Third Party Obligor shall file a voluntary petition in bankruptcy, or seeking reorganization, in order to effect a plan or other arrangement with creditors or any other relief under the Bankruptcy Reform Act, Title 11 of the United States Code, as amended or recodified from time to time (“Bankruptcy Code”), or under any state or federal law granting relief to debtors, whether now or hereafter in effect; or Borrower or any Third Party Obligor shall file an answer admitting the jurisdiction of the court and the material allegations of any involuntary petition; or Borrower or any Third Party Obligor shall be adjudicated a bankrupt, or an order for relief shall be entered against Borrower or any Third Party Obligor by any court of competent jurisdiction under the Bankruptcy Code or any other applicable state or federal law relating to bankruptcy, reorganization or other relief for debtors.
(l)    The filing of a notice of judgment lien against Borrower or any Third Party Obligor; or the recording of any abstract of judgment against Borrower or any Third Party Obligor in any county in which Borrower or such Third Party Obligor has an interest in real property; or the service of a notice of levy and/or of a writ of attachment or execution, or other like process, against the assets of Borrower or any Third Party Obligor; or the entry of a judgment against Borrower or any Third Party Obligor; or any involuntary petition or proceeding pursuant to the Bankruptcy Code or any other applicable state or federal law relating to bankruptcy, reorganization or other relief for debtors is filed or commenced against Borrower or any Third Party Obligor. 
(m)    There shall exist or occur any event or condition that Bank in good faith believes materially impairs, or is substantially likely materially to impair, the prospect of payment or performance by Borrower, any Third Party Obligor, or the general partner of either if such entity is a partnership, of its material obligations under any of the Loan Documents.
(n)    The dissolution or liquidation of Borrower or any Third Party Obligor if a corporation, partnership, joint venture or other type of entity; or Borrower or any such Third Party Obligor, or any of its directors, stockholders or members, shall take action seeking to effect the dissolution or liquidation of Borrower or such Third Party Obligor. 
(o)    Any change in control of Borrower or any entity or combination of entities that directly or indirectly control Borrower, with “control” defined as ownership of an aggregate of fifty percent (50%) or more of the common stock, members’ equity or other ownership interest (other than a limited partnership interest). 

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

(p)    The sale, transfer, hypothecation, assignment or encumbrance, whether voluntary, involuntary or by operation of law, without Bank’s prior written consent, of all or any part of or interest in any real property collateral required hereby.
SECTION 6.2    REMEDIES.  Upon the occurrence of any Event of Default:  (a) all indebtedness of Borrower under each of the Loan Documents, any term thereof to the contrary notwithstanding, shall at Bank’s option and without notice become immediately due and payable without presentment, demand, protest or notice of dishonor, all of which are hereby expressly waived by Borrower; (b) the obligation, if any, of Bank to extend any further credit under any of the Loan Documents shall immediately cease and terminate; and (c) Bank shall have all rights, powers and remedies available under each of the Loan Documents, or accorded by law, including without limitation the right to resort to any or all security for any credit subject hereto and to exercise any or all of the rights of a beneficiary or secured party pursuant to applicable law.  All rights, powers and remedies of Bank may be exercised at any time by Bank and from time to time after the occurrence of an Event of Default, are cumulative and not exclusive, and shall be in addition to any other rights, powers or remedies provided by law or equity.
ARTICLE VII     
MISCELLANEOUS
SECTION 7.1    NO WAIVER.  No delay, failure or discontinuance of Bank in exercising any right, power or remedy under any of the Loan Documents shall affect or operate as a waiver of such right, power or remedy; nor shall any single or partial exercise of any such right, power or remedy preclude, waive or otherwise affect any other or further exercise thereof or the exercise of any other right, power or remedy.  Any waiver, permit, consent or approval of any kind by Bank of any breach of or default under any of the Loan Documents must be in writing and shall be effective only to the extent set forth in such writing.
SECTION 7.2    NOTICES.  All notices, requests and demands which any party is required or may desire to give to any other party under any provision of this Agreement must be in writing delivered to each party at the following address:
BORROWER:        ENDOLOGIX, INC.
11 Studebaker
Irvine, CA 92618
Attention:  Robert Krist 
                Phone:  595-7200 
                bkrist@endologix.com

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

BANK:        WELLS FARGO BANK, NATIONAL ASSOCIATION
2030 Main Street, Suite 900 
                Irvine, CA 92614 
                Attn: James Ligman 
                Phone: 949-251-4122 
                Fax: 866-967-9265 
                james.ligman@wellsfargo.com
or to such other address as any party may designate by written notice to all other parties.  Each such notice, request and demand shall be deemed given or made as follows:  (a) if sent by hand delivery, upon delivery; (b) if sent by mail, upon the earlier of the date of receipt or three (3) days after deposit in the U.S. mail, first class and postage prepaid; and (c) if sent by telecopy, upon receipt.
SECTION 7.3    COSTS, EXPENSES AND ATTORNEYS’ FEES.  Borrower shall pay to Bank immediately upon demand the full amount of all payments, advances, charges, costs and expenses, including reasonable attorneys’ fees (to include outside counsel fees and all allocated costs of Bank’s in-house counsel), expended or incurred by Bank in connection with (a) the negotiation and preparation of this Agreement and the other Loan Documents; Bank’s continued administration hereof and thereof, and the preparation of any amendments and waivers hereto and thereto, (b) the enforcement of Bank’s rights and/or the collection of any amounts which become due to Bank under any of the Loan Documents, and (c) the prosecution or defense of any action in any way related to any of the Loan Documents, including without limitation, any action for declaratory relief, whether incurred at the trial or appellate level, in an arbitration proceeding or otherwise, and including any of the foregoing incurred in connection with any bankruptcy proceeding (including without limitation, any adversary proceeding, contested matter or motion brought by Bank or any other person) relating to Borrower or any other person or entity.
SECTION 7.4    SUCCESSORS, ASSIGNMENT.  This Agreement shall be binding upon and inure to the benefit of the heirs, executors, administrators, legal representatives, successors and assigns of the parties; provided however, that Borrower may not assign or transfer its interests or rights hereunder without Bank’s prior written consent.  Bank reserves the right to sell, assign, transfer, negotiate or grant participations in all or any part of, or any interest in, Bank’s rights and benefits under each of the Loan Documents.  In connection therewith, Bank may disclose all documents and information which Bank now has or may hereafter acquire relating to any credit subject hereto, Borrower or its business, any guarantor hereunder or the business of such guarantor, or any collateral required hereunder.

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

SECTION 7.5    ENTIRE AGREEMENT; AMENDMENT.  This Agreement and the other Loan Documents constitute the entire agreement between Borrower and Bank with respect to each credit subject hereto and supersede all prior negotiations, communications, discussions and correspondence concerning the subject matter hereof.  This Agreement may be amended or modified only in writing signed by each party hereto.
SECTION 7.6    NO THIRD PARTY BENEFICIARIES.  This Agreement is made and entered into for the sole protection and benefit of the parties hereto and their respective permitted successors and assigns, and no other person or entity shall be a third party beneficiary of, or have any direct or indirect cause of action or claim in connection with, this Agreement or any other of the Loan Documents to which it is not a party.
SECTION 7.7    TIME.  Time is of the essence of each and every provision of this Agreement and each other of the Loan Documents.
SECTION 7.8    SEVERABILITY OF PROVISIONS.  If any provision of this Agreement shall be prohibited by or invalid under applicable law, such provision shall be ineffective only to the extent of such prohibition or invalidity without invalidating the remainder of such provision or any remaining provisions of this Agreement.
SECTION 7.9    COUNTERPARTS.  This Agreement may be executed in any number of counterparts, each of which when executed and delivered shall be deemed to be an original, and all of which when taken together shall constitute one and the same Agreement.
SECTION 7.10    GOVERNING LAW.  This Agreement shall be governed by and construed in accordance with the laws of the State of California.
SECTION 7.11    ARBITRATION.
(a)    Arbitration.  The parties hereto agree, upon demand by any party, to submit to binding arbitration all claims, disputes and controversies between or among them (and their respective employees, officers, directors, attorneys, and other agents), whether in tort, contract or otherwise in any way arising out of or relating to (i) any credit subject hereto, or any of the Loan Documents, and their negotiation, execution, collateralization, administration, repayment, modification, extension, substitution, formation, inducement, enforcement, default or termination; or (ii) requests for additional credit.
(b)    Governing Rules.  Any arbitration proceeding will (i) proceed in a location in California selected by the American Arbitration Association (“AAA”); (ii) be governed by the Federal Arbitration Act (Title 9 of the United States Code), notwithstanding any conflicting choice of law provision in any of the documents between the parties; and (iii) be conducted by the AAA, or such other administrator as the parties shall mutually agree upon, in accordance 

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

with the AAA’s commercial dispute resolution procedures, unless the claim or counterclaim is at least $1,000,000.00 exclusive of claimed interest, arbitration fees and costs in which case the arbitration shall be conducted in accordance with the AAA’s optional procedures for large, complex commercial disputes (the commercial dispute resolution procedures or the optional procedures for large, complex commercial disputes to be referred to herein, as applicable, as the “Rules”).  If there is any inconsistency between the terms hereof and the Rules, the terms and procedures set forth herein shall control.  Any party who fails or refuses to submit to arbitration following a demand by any other party shall bear all costs and expenses incurred by such other party in compelling arbitration of any dispute.  Nothing contained herein shall be deemed to be a waiver by any party that is a bank of the protections afforded to it under 12 U.S.C. §91 or any similar applicable state law.
(c)    No Waiver of Provisional Remedies, Self-Help and Foreclosure.  The arbitration requirement does not limit the right of any party to (i) foreclose against real or personal property collateral; (ii) exercise self-help remedies relating to collateral or proceeds of collateral such as setoff or repossession; or (iii) obtain provisional or ancillary remedies such as replevin, injunctive relief, attachment or the appointment of a receiver, before during or after the pendency of any arbitration proceeding.  This exclusion does not constitute a waiver of the right or obligation of any party to submit any dispute to arbitration or reference hereunder, including those arising from the exercise of the actions detailed in sections (i), (ii) and (iii) of this paragraph.
(d)    Arbitrator Qualifications and Powers.  Any arbitration proceeding in which the amount in controversy is $5,000,000.00 or less will be decided by a single arbitrator selected according to the Rules, and who shall not render an award of greater than $5,000,000.00.  Any dispute in which the amount in controversy exceeds $5,000,000.00 shall be decided by majority vote of a panel of three arbitrators; provided however, that all three arbitrators must actively participate in all hearings and deliberations.  The arbitrator will be a neutral attorney licensed in the State of California or a neutral retired judge of the state or federal judiciary of California, in either case with a minimum of ten years experience in the substantive law applicable to the subject matter of the dispute to be arbitrated.  The arbitrator will determine whether or not an issue is arbitratable and will give effect to the statutes of limitation in determining any claim.  In any arbitration proceeding the arbitrator will decide (by documents only or with a hearing at the arbitrator’s discretion) any pre-hearing motions which are similar to motions to dismiss for failure to state a claim or motions for summary adjudication.  The arbitrator shall resolve all disputes in accordance with the substantive law of California and may grant any remedy or relief that a court of such state could order or grant within the scope hereof and such ancillary relief as is necessary to make effective any award.  The arbitrator shall also have the power to award recovery of all costs and fees, to impose sanctions and to take such other action as the arbitrator deems necessary to the same extent a judge could pursuant to the Federal Rules of Civil 

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

Procedure, the California Rules of Civil Procedure or other applicable law.  Judgment upon the award rendered by the arbitrator may be entered in any court having jurisdiction.  The institution and maintenance of an action for judicial relief or pursuit of a provisional or ancillary remedy shall not constitute a waiver of the right of any party, including the plaintiff, to submit the controversy or claim to arbitration if any other party contests such action for judicial relief.
(e)    Discovery.  In any arbitration proceeding, discovery will be permitted in accordance with the Rules.  All discovery shall be expressly limited to matters directly relevant to the dispute being arbitrated and must be completed no later than 20 days before the hearing date.  Any requests for an extension of the discovery periods, or any discovery disputes, will be subject to final determination by the arbitrator upon a showing that the request for discovery is essential for the party’s presentation and that no alternative means for obtaining information is available.
(f)    Class Proceedings and Consolidations.  No party hereto shall be entitled to join or consolidate disputes by or against others in any arbitration, except parties who have executed any Loan Document, or to include in any arbitration any dispute as a representative or member of a class, or to act in any arbitration in the interest of the general public or in a private attorney general capacity. 
(g)    Payment Of Arbitration Costs And Fees.  The arbitrator shall award all costs and expenses of the arbitration proceeding.
(h)    Real Property Collateral; Judicial Reference.  Notwithstanding anything herein to the contrary, no dispute shall be submitted to arbitration if the dispute concerns indebtedness secured directly or indirectly, in whole or in part, by any real property unless (i) the holder of the mortgage, lien or security interest specifically elects in writing to proceed with the arbitration, or (ii) all parties to the arbitration waive any rights or benefits that might accrue to them by virtue of the single action rule statute of California, thereby agreeing that all indebtedness and obligations of the parties, and all mortgages, liens and security interests securing such indebtedness and obligations, shall remain fully valid and enforceable.  If any such dispute is not submitted to arbitration, the dispute shall be referred to a referee in accordance with California Code of Civil Procedure Section 638 et seq., and this general reference agreement is intended to be specifically enforceable in accordance with said Section 638.  A referee with the qualifications required herein for arbitrators shall be selected pursuant to the AAA’s selection procedures.  Judgment upon the decision rendered by a referee shall be entered in the court in which such proceeding was commenced in accordance with California Code of Civil Procedure Sections 644 and 645.
(i)    Miscellaneous.  To the maximum extent practicable, the AAA, the arbitrators and the parties shall take all action required to conclude any arbitration proceeding within 180 days 

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

of the filing of the dispute with the AAA.  No arbitrator or other party to an arbitration proceeding may disclose the existence, content or results thereof, except for disclosures of information by a party required in the ordinary course of its business or by applicable law or regulation.  If more than one agreement for arbitration by or between the parties potentially applies to a dispute, the arbitration provision most directly related to the Loan Documents or the subject matter of the dispute shall control.  This arbitration provision shall survive termination, amendment or expiration of any of the Loan Documents or any relationship between the parties.
(j)    Small Claims Court.  Notwithstanding anything herein to the contrary, each party retains the right to pursue in Small Claims Court any dispute within that court’s jurisdiction.  Further, this arbitration provision shall apply only to disputes in which either party seeks to recover an amount of money (excluding attorneys’ fees and costs) that exceeds the jurisdictional limit of the Small Claims Court.
[Balance of Page Intentionally Left Blank]
IN WITNESS WHEREOF, the parties hereto have caused this Agreement to be executed as of the day and year first written above.
	
			
	 
	 
	WELLS FARGO BANK, 
NATIONAL ASSOCIATION

By:  /s/ James Ligman   
Title:  Vice President   

	 
	 
	

ENDOLOGIX, INC.

By:  /s/ Robert J. Krist   
Title:  Chief Financial Officer         

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

[Signature Page to Credit Agreement]

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

FIRST AMENDMENT TO CREDIT AGREEMENT
This First Amendment to Credit Agreement (this “Amendment”) is entered into as of April 13, 2010, by and between WELLS FARGO BANK, NATIONAL ASSOCIATION (“Bank”) and ENDOLOGIX, INC. (“Borrower”).
RECITALS
Borrower and Bank are parties to that certain Credit Agreement dated as of October 30, 2009, as amended from time to time (the “Agreement”).  The parties desire to amend the Agreement in accordance with the terms of this Amendment.
NOW, THEREFORE, the parties agree as follows:
1.Section 1.1(d) of the Agreement is hereby amended and restated in its entirety to read as follows:
“(d)    Credit Card Services Subfeature.  Subject to the terms and conditions of this Agreement, Borrower may request corporate credit cards from Bank (the “Credit Card Services”).  The aggregate limit of the corporate credit cards shall not exceed One Million Five Hundred Thousand Dollars ($1,500,000), provided that availability under the Line of Credit shall be reduced by the aggregate limits of the corporate credit cards issued to Borrower.  In addition, Bank may, in its sole reasonable discretion, charge as advances under the Line of Credit any amounts that become due or owing to Bank in connection with the Credit Card Services.  The terms and conditions (including repayment and fees) of such Credit Card Services shall be subject to the terms and conditions of the Bank’s standard forms of application and agreement for the Credit Card Services, which Borrower hereby agrees to execute.”
2.    No course of dealing on the part of Bank or its officers, nor any failure or delay in the exercise of any right by Bank, shall operate as a waiver thereof, and any single or partial exercise of any such right shall not preclude any later exercise of any such right.  Bank’s failure at any time to require strict performance by Borrower of any provision shall not affect any right of Bank thereafter to demand strict compliance and performance.  Any suspension or waiver of a right must be in writing signed by an officer of Bank.
3.    Unless otherwise defined, all initially capitalized terms in this Amendment shall be as defined in the Agreement.  The Agreement, as amended hereby, shall be and remain in full force and effect in accordance with its respective terms and hereby is ratified and confirmed in all respects.  Except as expressly set forth herein, the execution, delivery, and performance of this Amendment shall not operate as a waiver of, or as an amendment of, any right, power, or remedy of Bank under the Agreement, as in effect prior to the date hereof.
4.    Borrower represents and warrants that the Representations and Warranties contained in the Agreement are true and correct as of the date of this Amendment, and that no Event of Default has occurred and is continuing.  
5.    As a condition to the effectiveness of this Amendment, Bank shall have received, in form and substance satisfactory to Bank:
(a)    this Amendment, duly executed by Borrower; and

-21-
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

(b)    all reasonable fees and expenses incurred through the date of this Amendment, which may be debited from any of Borrower's accounts.
6.    This Amendment may be executed in two or more counterparts, each of which shall be deemed an original, but all of which together shall constitute one instrument.

WEST\21934535.1 
363363-000016    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

IN WITNESS WHEREOF, the undersigned have executed this Amendment as of the first date above written.
	
		
	 
	ENDOLOGIX, INC.

	 
	 

	 
	 

	 
	By: /s/ Robert Krist   

	 
	 

	 
	Title: CFO   

	 
	 

	 
	

WELLS FARGO BANK, NATIONAL ASSOCIATION 

	 
	 

	 
	 

	 
	By: /s/ James Ligman   

	 
	 

	 
	Title: Vice President   

-23-
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

[Signature Page to First Amendment to Credit Agreement]
SECOND AMENDMENT TO CREDIT AGREEMENT
This Second Amendment to Credit Agreement (this “Amendment”) is entered into as of December 21, 2011, by and between WELLS FARGO BANK, NATIONAL ASSOCIATION (“Bank”) and ENDOLOGIX, INC. (“Borrower”).
RECITALS
Borrower and Bank are parties to that certain Credit Agreement dated as of October 30, 2009, as amended from time to time, including by that certain First Amendment to Credit Agreement dated as of  April 13, 2010 (the “Agreement”).  The parties desire to amend the Agreement in accordance with the terms of this Amendment.
NOW, THEREFORE, the parties agree as follows:
1.    Section 4.9(b) of the Agreement hereby is  amended and restated in its entirety to read as follows:
“(b)    Net loss (excluding all non-cash contingent payments and/or accruals associated with Borrower’s acquisition of Nellix, approved by Bank) at all times of not more than (i) Twenty Million Dollars ($20,000,000) for the fiscal year ending December 31, 2011 and (ii) Seven Million Dollars ($7,000,000) for the quarter ending March 31, 2012.”  
2.    Section 5.2 of the Agreement hereby is amended and restated in its entirety to read as follows:
“SECTION 5.2    CAPITAL EXPENDITURES.  Make any additional investment in fixed assets in excess of an aggregate of (i) Three Million Dollars ($3,000,000) in the fiscal year ending December 31, 2011; and (ii) One Million Five Hundred Thousand Dollars ($1,500,000) in the fiscal quarter ending March 31, 2012.”
3.    Section 5.3 of the Agreement hereby is amended and restated in its entirety to read as follows:
“SECTION 5.3    LEASE EXPENDITURES.  Incur operating lease expense in any calendar year in excess of an aggregate of One Million Dollars ($1,000,000).”
4.    No course of dealing on the part of Bank or its officers, nor any failure or delay in the exercise of any right by Bank, shall operate as a waiver thereof, and any single or partial exercise of any such right shall not preclude any later exercise of any such right.  Bank’s failure at any time to require strict performance by Borrower of any provision shall not affect any right of Bank thereafter to demand strict compliance and performance.  Any suspension or waiver of a right must be in writing signed by an officer of Bank.

    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

5.    Unless otherwise defined, all initially capitalized terms in this Amendment shall be as defined in the Agreement.  The Agreement, as amended hereby, shall be and remain in full force and effect in accordance with its respective terms and hereby is ratified and confirmed in all respects.  Except as expressly set forth herein, the execution, delivery, and performance of this Amendment shall not operate as a waiver of, or as an amendment of, any right, power, or remedy of Bank under the Agreement, as in effect prior to the date hereof.
6.    Borrower represents and warrants that the Representations and Warranties contained in the Agreement are true and correct as of the date of this Amendment, and that no Event of Default has occurred and is continuing.  
7.    As a condition to the effectiveness of this Amendment, Bank shall have received, in form and substance satisfactory to Bank:
(a)    this Amendment, duly executed by Borrower; 
(b)    Corporate Resolution: Borrowing, duly executed by the Secretary of Borrower; and
(c)    all reasonable fees and expenses incurred through the date of this Amendment, which may be debited from any of Borrower's accounts.
8.    This Amendment may be executed in two or more counterparts, each of which shall be deemed an original, but all of which together shall constitute one instrument.

[Signature Page Follows]

    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

IN WITNESS WHEREOF, the undersigned have executed this Amendment as of the first date above written.
	
		
	 
	ENDOLOGIX, INC.

	 
	 

	 
	 

	 
	By: /s/ Robert Krist   

	 
	 

	 
	Title:CFO   

	 
	 

	 
	

WELLS FARGO BANK, NATIONAL ASSOCIATION 

	 
	 

	 
	 

	 
	By: /s/ Stephen Cordani   

	 
	 

	 
	Title:VP/LTM   

    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

[Signature Page to Second Amendment to Credit Agreement]

THIRD AMENDMENT TO CREDIT AGREEMENT
[See Exhibit 10.28.1 to this Annual Report on Form 10-K]

    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

FOURTH AMENDMENT TO CREDIT AGREEMENT

THIS AMENDMENT TO CREDIT AGREEMENT (this "Amendment") is entered into as of
October 9, 2012, by and between ENDOLOGIX, INC., a Delaware corporation and NELLIX, INC., a Delaware corporation (each individually, a "Borrower"), and WELLS FARGO BANK, NATIONAL ASSOCIATION ("Bank"). Each reference to a "Borrower" herein shall mean each and every party individually and collectively defined as a Borrower above, and each Borrower herein shall be a co-borrower to every other Borrower.

RECITALS

WHEREAS, Borrower is currently indebted to Bank pursuant to the terms and conditions of that certain Credit Agreement between Borrower andBank dated as of October 30, 2009, as amended from time to time ("Credit Agreement").

WHEREAS, Bank and Borrower have agreed to certain changes in the terms and conditions set forth in the Credit Agreement and have agreed to amend the Credit Agreement to reflect said changes.

NOW, THEREFORE, for valuable consideration, the receipt and sufficiency of which are hereby acknowledged, the parties hereto agree that the Credit Agreement shall be amended as follows:

1.     Section 1.2 (d) is hereby deleted in its entirety, without substitution.

2.     Section 1.2 (e) shall be renumbered as Section 1.2 (d).

3.     Section 7.10 and 7.11 shall be renumbered as Section 7.11 and 7.12

		
	4. 
	The following is hereby added to the Credit Agreement as Section 7.10: "SECTION 7.10.   JOINT AND SEVERAL LIABILITY.

(a)     Each Borrower has determined and represents to Bank that it is a
legitimate business purpose and in its best interests to induce Bank to extend credit pursuant to this Agreement. Each Borrower acknowledges and represents that its business is related to the business of every other Borrower hereunder, and all commitments, advances and other credit extensions under this Agreement will individually and collectively benefit of each Borrower hereunder.

(b)     Each Borrower has determined and represents to Bank that it has, and after giving effect to the transactions contemplated by this Agreement will have, assets having a fair market value in excess of its liabilities, after giving effect to any available rights of contribution or subrogation, and each Borrower has, and will have, access to adequate capital for the conduct of its business and the ability to pay its debts as they mature.

(c)     Each Borrower agrees that it is jointly and severally and unconditionally liable to Bank for, and will pay to Bank when due, the full amount of all
existing and future indebtedness arising in connection with any facility extended under
this Agreement, and all modifications, extensions and renewals thereto, including

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

without limitation all principal and interest, and all fees, costs and expenses chargeable to each Borrower individually or collectively in connection with any facility hereunder. These obligations shall be in addition to any other obligations of under any other agreement with Bank entered into before or after the date of this Agreement, unless such other agreement is expressly modified or revoked in writing, and this Agreement shall
not affect or invalidate the terms of any such other agreement, unless otherwise expressly provided herein.

(d)     The liability of a Borrower for indebtedness hereunder shall be reinstated
and revived and the rights of Bank shall continue if and to the extent that for any reason any amount at any time paid on account of any facility under this Agreement by any Borrower or any other person or entity is rescinded or must otherwise be restored by Bank, whether as a result of any proceedings in bankruptcy or reorganization or otherwise, all as though such amount had not been paid.

(e)     Each Borrower authorizes Bank, without notice to or demand on such Borrower, and without affecting such Borrower's liability for indebtedness incurred under any facility extended under this Agreement, from time to time to: (i) alter, compromise, extend, accelerate or otherwise change the time for payment of, or otherwise change the terms of, the indebtedness of any other Borrower to Bank on account of any such facilities; (ii) take and hold security from any other Borrower for the payment of indebtedness incurred under any facility extended under this Agreement, and exchange, enforce, waive, subordinate or release any such security; (iii) apply such security and direct the order or manner of sale thereof, including without limitation, a
non-judicial sale permitted by the terms of the controlling security agreement, mortgage,
or deed of trust, as Bank in its discretion may determine; (iv) release or substitute any one or more of the endorsers or any guarantors of any facility hereunder, or any other party obligated thereon; and (v) apply payments received by Bank from any other Borrower to indebtedness of such other Borrower to Bank other than to any facility extended under this Agreement.

(f)     Each Borrower represents and warrants to Bank that it has established adequate means of obtaining from every other Borrower on a continuing basis financial and other information relating to the financial condition of every other Borrower, and each Borrower agrees to keep adequately informed by such means of any facts, events or circumstances which might in any way affect its risks hereunder. Each Borrower further agrees that Bank shall have no obligation to disclose to it any information or material about any other Borrower which is acquired by Bank in any manner.

(g)     Each Borrower waives any right to require Bank to: (i) proceed against any
other Borrower or any other person; (ii) proceed against or exhaust any security held from any other Borrower or any other person; (iii) pursue any other remedy in Bank's power; (iv) apply payments received by Bank from any other Borrower to any facility extended under this Agreement; or (v) make any presentments or demands for performance, or give any notices of nonperformance, protests, notices of protest or notices of dishonor in connection with any facility extended under this Agreement

(h)     Each Borrower waives to the extent permitted by applicable law any defense to its liability for repaying any facility extended under this Agreement based upon or arising by reason of: (i) any 

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

disability or other defense of any other Borrower or any other person; (ii) the cessation or limitation from any cause whatsoever, other than payment in full, of the liability of any other
    

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

Borrower for the facility extended under this Agreement; (iii) any lack of authority of any officer, director, partner, agent or other person acting or purporting to act on behalf of any other Borrower or any defect in the formation of any other Borrower; (iv) the application by any other Borrower of the proceeds of any facility extended under this Agreement for purposes other than the purposes intended or understood by Bank or each other Borrower; (v) any act or omission
by Bank which directly or indirectly results in or aids the discharge of any other Borrower by
operation of law or otherwise, or which in any way impairs or suspends any rights or remedies of Bank against any other Borrower; (vi) any impairment of the value of any interest in any security for any facility extended under this Agreement, including without limitation, the failure to obtain or maintain perfection or recordation of any interest in any such security, the release of any such security without substitution, and/or the failure to preserve the value of, or to comply with applicable law in disposing of, any such security; or (vii) any modification of the indebtedness of any other Borrower for any facility extended under this Agreement, including without limitation the renewal, extension, acceleration or other change in time for payment of, or other change in the terms of, the indebtedness of any Borrower for any facility extended under this Agreement, including increase or decrease of the rate of interest thereon.

(i)     Until each facility extended under this Agreement and all indebtedness arising under or in connection with this Agreement shall have been paid in full, no
Borrower shall have any right of subrogation. Each Borrower waives all rights and defenses it
may have arising out of (i) any election of remedies by Bank, even though that election of remedies, such as a non-judicial foreclosure with respect to any security for each facility extended under this Agreement, destroys its rights of subrogation or its rights to proceed
against any other Borrower for reimbursement, or (ii) any loss of rights it may suffer by reason of
any rights, powers or remedies of any other Borrower in connection with any anti-deficiency laws or any other laws limiting, qualifying or discharging any Borrower's indebtedness for each facility extended under this Agreement, whether by operation of Sections 726, 580a or 580d of the California Code of Civil Procedure as from time to time amended, or otherwise including any rights Borrower may have, in the event Borrower has given security, to a Section 580a fair market value hearing to determine the size of a deficiency following any foreclosure sale or
other disposition of any real property security for any portion of the indebtedness."

5.     Except as specifically provided herein, all terms and conditions of the Credit Agreement remain in full force and effect, without waiver or modification.  All terms defined in the Credit Agreement shall have the same meaning when used in this Amendment.  This Amendment and the Credit Agreement shall be read together, as one document.

6.     Borrower hereby remakes all representations and warranties contained in the Credit Agreement and reaffirms all covenants set forth therein.  Borrower further certifies that as of the date of this Amendment there exists no Event of Default as defined in the Credit Agreement, nor any condition, act or event which with the giving of notice or the passage of time or both would constitute any such Event of Default.

    

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

DOCSOC/1656044v2/018854-0004

Exhibit 10.27

IN WITNESS WHEREOF, the parties hereto have caused this Amendment to be executed as of the day and year first written above.

ENDOLOGIX, INC. 

By: /s/ Leo Greenstein

Title: VP Finance & Corporate Controller

NELLIX, INC. 

By: /s/ Robert Krist

Title: CFO

WELLS FARGO BANK, NATIONAL ASSOCIATION

By: /s/ Jason Wells 

Title: Vice President

    

[Signature Page to Fourth Amendment to Credit Agreement]

-34-
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

FIFTH AMENDMENT TO CREDIT AGREEMENT
This Fifth Amendment to Credit Agreement (this “Amendment”) is entered into as of May 15, 2013, by and between WELLS FARGO BANK, NATIONAL ASSOCIATION (“Bank”), ENDOLOGIX, INC. and NELLIX, INC. (each a “Borrower” and, collectively, “Borrowers”).
RECITALS
Borrowers and Bank are parties to that certain Credit Agreement dated as of October 30, 2009, as amended from time to time, including by that certain First Amendment to Credit Agreement dated as of April 13, 2010, that certain Second Amendment to Credit Agreement dated as of December 21, 2011, that certain Third Amendment to Credit Agreement dated as of February 21, 2012 and that certain Fourth Amendment to Credit Agreement dated as of October 9, 2012 (the “Agreement”).  The parties desire to amend the Agreement in accordance with the terms of this Amendment.  
NOW, THEREFORE, the parties agree as follows:
9.    Section 1.1(a) of the Agreement hereby is amended and restated in its entirety to read as follows:
“(a)    Line of Credit.  Subject to the terms and conditions of this Agreement, Bank hereby agrees to make advances to Borrower from time to time up to and including November 15, 2014, not to exceed at any time the aggregate principal amount of Twenty Million Dollars ($20,000,000) (the “Line of Credit”), the proceeds of which shall be used for general working capital and corporate purposes.  Borrower’s obligation to repay advances under the Line of Credit shall be evidenced by a promissory note dated as of October 30, 2009, as amended and restated on February 21, 2012 and as further amended and restated on May 15, 2013 (as may be further amended, restated, modified or supplemented from time to time, the “Line of Credit Note”), all terms of which are incorporated herein by this reference.”
10.    Section 1.1(b) of the Agreement hereby is amend and restated in its entirety to read as follows:
“(b)    Limitations on Borrowings.  Outstanding borrowings under the Line of Credit, to a maximum of the principal amount set forth above, shall not at any time exceed an aggregate of eighty percent (80%) of Borrower's eligible accounts receivable, plus, upon completion of an appraisal of Borrower’s finished goods inventory the results of which are satisfactory to Bank in Bank’s sole discretion, thirty percent (30%) of the value of Borrower's finished goods (exclusive of work in process and inventory which is obsolete, unsaleable or damaged), with value defined as the lower of cost or market value; provided however, that outstanding borrowings against such finished goods inventory shall not at any time exceed an aggregate of Four Million Dollars ($4,000,000).  All of the foregoing shall be 

    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

determined by Bank upon receipt and review of all collateral reports required hereunder and such other documents and collateral information as Bank may from time to time require.  Borrower acknowledges that said borrowing base was established by Bank with the understanding that, among other items, the aggregate of all returns, rebates, discounts, credits and allowances for the immediately preceding three (3) months at all times shall be less than five percent (5%) of Borrower's gross sales for said period.  If such dilution of Borrower's accounts for the immediately preceding three (3) months at any time exceeds five percent (5%) of Borrower's gross sales for said period, or if there at any time exists any other matters, events, conditions or contingencies which Bank reasonably believes may affect payment of any portion of Borrower's accounts, Bank, in its sole discretion, may reduce the foregoing advance rate against eligible accounts receivable to a percentage appropriate to reflect such additional dilution and/or establish additional reserves against Borrower's eligible accounts receivable.
As used herein, "eligible accounts receivable" shall consist solely of trade accounts created in the ordinary course of Borrower's business, upon which Borrower's right to receive payment is absolute and not contingent upon the fulfillment of any condition whatsoever, and in which Bank has a perfected security interest of first priority, and shall not include:
(i)    any account which is either (a) more than sixty (60) days past due or (b) has not paid within ninety (90) days of invoice date regardless of invoice payment period terms;
(ii)    that portion of any account for which there exists any right of setoff, defense or discount (except regular discounts allowed in the ordinary course of business to promote prompt payment) or for which any defense or counterclaim has been asserted;
(iii)    any account which represents an obligation of any state or municipal government or of the United States government or any political subdivision thereof (except accounts which represent obligations of the United States government and for which the assignment provisions of the Federal Assignment of Claims Act, as amended or recodified from time to time, have been complied with to Bank's satisfaction);
(iv)    any account which represents an obligation of an account debtor located in a foreign country except to the extent any such account, in Bank's determination, is supported by a letter of credit or insured under a policy of foreign credit insurance, in each case in form, substance and issued by a party acceptable to Bank;

    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

(v)    any account which arises from the sale or lease to or performance of services for, or represents an obligation of, an employee, affiliate, partner, member, parent or subsidiary of Borrower;
(vi)    that portion of any account, which represents interim or progress billings or retention rights on the part of the account debtor;
(vii)    any account which represents an obligation of any account debtor when twenty percent (20%) or more of Borrower's accounts from such account debtor are not eligible pursuant to (i) above;
(viii)    that portion of any account from an account debtor which represents the amount by which Borrower's total accounts from said account debtor exceeds twenty-five percent (25%) of Borrower's total accounts;
(ix)    any account deemed ineligible by Bank when Bank, in its sole discretion, deems the creditworthiness or financial condition of the account debtor, or the industry in which the account debtor is engaged, to be unsatisfactory.”
11.    Section 4.9(a) of the Agreement hereby is amended and restated in its entirety to read as follows:
“(a)    Modified Quick Ratio greater than (i) 2.00 to 1.00 at all times, measured quarterly beginning with the quarter ending June 30, 2013, with “Modified Quick Ratio” defined as (I) the sum of the aggregate of Borrower’s unrestricted cash at Bank or subject to an account control agreement in favor of, and in form and substance satisfactory to, Bank, plus accounts receivable, divided by (II) total current liabilities plus, to the extent not already included therein, all indebtedness owing from Borrower to Bank.”
12.    Section 4.9(b) of the Agreement hereby is amended and restated in its entirety to read as follows:
“(b)    Adjusted pre-tax net loss (excluding all non-cash contingent payments, accruals and/or income associated with ENDOLOGIX, INC.’s acquisition of NELLIX, INC. approved by Bank) at all times, measured cumulatively and on a quarterly basis, of not more than; (i) Nine Million Dollars ($9,000,000) through June 30, 2013, (ii) Thirteen Million Dollars ($13,000,000) through September 30, 2013, (iii) Fourteen Million Five Hundred Thousand Dollars ($14,500,000) through December 31, 2013, (iv) One Million Five Hundred Thousand Dollars ($1,500,000) through March 31, 2014; and a minimum adjusted pre-tax profit of at least One Dollar ($1) thereafter.”
13.    Section 4.3(f) of the Agreement hereby is amended and restated in its entirety to read as follows:

    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

“(f)    (x) not later than forty-five days after May 15, 2013, (y) not less than ten (10) days prior to requesting any advance under the Line of Credit (other than advances in respect of Letters of Credit or Credit Card Services); and (z) once Borrower has requested its first advance after May 15, 2013, not later than thirty (30) days after the end of each month, a borrowing base certificate, an aged listing of accounts receivable and accounts payable, and a reconciliation of accounts, and immediately upon each request from Bank, a list of the names and addresses of all Borrower’s account debtors;”
14.    Section 5.2 of the Agreement hereby is amended and restated in its entirety to read as follows:
“SECTION 5.2    CAPITAL EXPENDITURES.  Make any additional investment in fixed assets in excess of an aggregate of (a) Six Million Dollars ($6,000,000) in the fiscal year ending December 31, 2013 and (b) Nine Million Dollars ($9,000,000) in the fiscal year ending December 31, 2014; provided that for purposes of this Section 5.2, investments in fixed assets shall exclude amounts that are directly paid to contractors by Borrower’s landlord for leasehold improvements (i.e., not funded by Borrower for such expenditures), notwithstanding its potential capitalization to Borrower’s balance sheet under U.S. GAAP”.
15.    Section 5.6 of the Agreement hereby is amended and restated in its entirety to read as follows:
“SECTION 5.6    GUARANTIES.  Guarantee or become liable in any way as surety, endorser (other than as endorser of negotiable instruments for deposit or collection in the ordinary course of business), accommodation endorser or otherwise for, nor pledge or hypothecate any assets of Borrower as security for, any liabilities or obligations of any other person or entity in excess of an aggregate amount of Five Hundred Thousand Euro (€500,000) during the term of this Agreement, except any of the foregoing in favor of Bank.”
16.    Section 6.1(f) of the Agreement hereby is amended and restated in its entirety to read as follows:
“(f)    the filing of a notice of judgment lien against Borrower or any Third Party Obligor; or the recording of any abstract of judgment against Borrower or any Third Party Obligor in any county in which Borrower or such Third Party Obligor has an interest in real property; or the service of a notice of levy and/or of a writ of attachment or execution, or other like process, against the assets of Borrower or any Third Party Obligor; or the entry of a judgment(s) against Borrower or any Third Party Obligor in an aggregate amount in excess of Ten Million Dollars ($10,000,000) at any time; or any involuntary petition or proceeding pursuant to the Bankruptcy Code or any other applicable state or federal law relating to bankruptcy, reorganization or other 

    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

relief for debtors is filed or commenced against Borrower or any Third Party Obligor.”
17.    No course of dealing on the part of Bank or its officers, nor any failure or delay in the exercise of any right by Bank, shall operate as a waiver thereof, and any single or partial exercise of any such right shall not preclude any later exercise of any such right.  Bank’s failure at any time to require strict performance by Borrower of any provision shall not affect any right of Bank thereafter to demand strict compliance and performance.  Any suspension or waiver of a right must be in writing signed by an officer of Bank.
18.    Unless otherwise defined, all initially capitalized terms in this Amendment shall be as defined in the Agreement.  The Agreement, as amended hereby, shall be and remain in full force and effect in accordance with its respective terms and hereby is ratified and confirmed in all respects.  Except as expressly set forth herein, the execution, delivery, and performance of this Amendment shall not operate as a waiver of, or as an amendment of, any right, power, or remedy of Bank under the Agreement, as in effect prior to the date hereof.
19.    Borrower represents and warrants that the Representations and Warranties contained in the Agreement are true and correct as of the date of this Amendment, and that no Event of Default has occurred and is continuing.  
20.    As a condition to the effectiveness of this Amendment, Bank shall have received, in form and substance satisfactory to Bank:
(a)    this Amendment, duly executed by Borrower; 
(b)    a Second Amended and Restated Promissory Note dated as of even date herewith;
(c)    Corporate Resolution: Borrowing, duly executed by the Secretary of each Borrower; and
(d)    all reasonable fees and expenses incurred through the date of this Amendment, which may be debited from any of Borrower's accounts.
21.    This Amendment may be executed in two or more counterparts, each of which shall be deemed an original, but all of which together shall constitute one instrument.

[Balance of Page Intentionally Left Blank]

    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

IN WITNESS WHEREOF, the undersigned have executed this Amendment as of the first date above written.
	
		
	 
	ENDOLOGIX, INC.

	 
	 

	 
	 

	 
	By: /s/ Shelley  Thunen   

	 
	 

	 
	Title: Chief Financial Officer   

	 
	 

	 
	 

	 
	NELLIX, INC.

	 
	 

	 
	 

	 
	By: /s/ Shelley  Thunen   

	 
	 

	 
	Title: Chief Financial Officer   

	 
	 

	 
	 

	 
	WELLS FARGO BANK, NATIONAL ASSOCIATION

	 
	 

	 
	 

	 
	By: /s/ Jason Wells   

	 
	 

	 
	Title: Vice President   

[Signature Page to Fifth Amendment to Credit Agreement]
    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

SIXTH AMENDMENT TO CREDIT AGREEMENT
This Sixth Amendment to Credit Agreement (this “Amendment”) is entered into as of July 26, 2013, by and between WELLS FARGO BANK, NATIONAL ASSOCIATION (“Bank”), ENDOLOGIX, INC. and NELLIX, INC. (each a “Borrower” and, collectively, “Borrowers”).
RECITALS
Borrowers and Bank are parties to that certain Credit Agreement dated as of October 30, 2009, as amended from time to time, including by that certain First Amendment to Credit Agreement dated as of April 13, 2010, that certain Second Amendment to Credit Agreement dated as of December 21, 2011, that certain Third Amendment to Credit Agreement dated as of February 21, 2012, that certain Fourth Amendment to Credit Agreement dated as of October 9, 2012 and that certain Fifth Amendment to Credit Agreement dated as of May 15, 2013 (the “Agreement”).  The parties desire to amend the Agreement in accordance with the terms of this Amendment.  
NOW, THEREFORE, the parties agree as follows:
1.    Section 1.1(c) of the Agreement hereby is amended and restated in its entirety to read as follows:
“(c)    Letter of Credit Subfeature.  As a subfeature under the Line of Credit, Bank agrees from time to time during the term thereof to issue or cause an affiliate to issue letters of credit for the account of Borrower (each, a “Letter of Credit” and collectively, “Letters of Credit”); provided however, that the aggregate undrawn amount of all outstanding Letters of Credit shall not at any time exceed Six Million Dollars ($6,000,000).  The form and substance of each Letter of Credit shall be subject to approval by Bank, in its sole discretion.  No more than five (5) days after the date of each requested draw on a Letter of Credit, Borrower shall deliver a borrowing base certificate, an aged listing of accounts receivable and accounts payable, and a reconciliation of accounts to Bank unless such items were delivered to Bank in the thirty (30) days preceding such Letter of Credit draw request in accordance with the terms hereunder.  Each Letter of Credit shall be issued for a term not to exceed three hundred sixty five (365) days, as designated by Borrower (subject to automatic renewal).  If a Letter of Credit is issued and outstanding after the term of the Line of Credit (or after acceleration by Bank pursuant to the terms hereof), Borrower will cash collateralize the undrawn amount of such Letter of Credit in an amount equal to one hundred five percent (105%) of such undrawn amount.  The undrawn amount of all Letters of Credit shall be reserved under the Line of Credit and shall not be available for borrowings thereunder.  Each Letter of Credit shall be subject to the additional terms and conditions of the Letter of Credit agreements, applications and any related documents required by Bank in connection with the issuance thereof.  Each drawing paid under a Letter of Credit shall be deemed an advance under the Line of Credit and shall be repaid by Borrower in accordance with the terms and conditions of this Agreement applicable to such advances; provided however, that if advances under the Line of Credit are not available, for any reason, at the time any drawing is paid, then Borrower shall immediately pay to Bank the full amount drawn, together with interest thereon from the date such drawing is paid to the date such amount is fully repaid by Borrower, at the rate of interest applicable to advances under the Line of Credit.  In such event Borrower agrees that Bank, in its sole discretion, may debit any account maintained by Borrower with Bank for the amount of any such drawing.”

-41-
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

2.    Section 4.3(g) of the Agreement hereby is amended and restated in its entirety to read as follows:
“(g)     (i) at any time a Letter of Credit is issued and outstanding, quarterly within sixty (60) days of the end of each fiscal quarter and (ii) at any time Borrower’s total unrestricted cash falls below Twenty Million Dollars ($20,000,000), monthly within thirty (30) days of the end of each month, a borrowing base certificate, an aged listing of accounts receivable and accounts payable, and a reconciliation of accounts, and immediately upon each request from Bank, a list of the names and addresses of all Borrower’s account debtors;”
3.    New Section 4.3(h) hereby is added to the Agreement to read as follows:
“(h)    from time to time such other information as Bank may reasonably request.”
4.    No course of dealing on the part of Bank or its officers, nor any failure or delay in the exercise of any right by Bank, shall operate as a waiver thereof, and any single or partial exercise of any such right shall not preclude any later exercise of any such right.  Bank’s failure at any time to require strict performance by Borrower of any provision shall not affect any right of Bank thereafter to demand strict compliance and performance.  Any suspension or waiver of a right must be in writing signed by an officer of Bank.
5.    Unless otherwise defined, all initially capitalized terms in this Amendment shall be as defined in the Agreement.  The Agreement, as amended hereby, shall be and remain in full force and effect in accordance with its respective terms and hereby is ratified and confirmed in all respects.  Except as expressly set forth herein, the execution, delivery, and performance of this Amendment shall not operate as a waiver of, or as an amendment of, any right, power, or remedy of Bank under the Agreement, as in effect prior to the date hereof.
6.    Borrower represents and warrants that the Representations and Warranties contained in the Agreement are true and correct as of the date of this Amendment, and that no Event of Default has occurred and is continuing.  
7.    As a condition to the effectiveness of this Amendment, Bank shall have received, in form and substance satisfactory to Bank:
(d)    this Amendment, duly executed by Borrower; 
(e)    all reasonable fees and expenses incurred through the date of this Amendment, which may be debited from any of Borrower's accounts.
8.    This Amendment may be executed in two or more counterparts, each of which shall be deemed an original, but all of which together shall constitute one instrument.

[Balance of Page Intentionally Left Blank]

    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

IN WITNESS WHEREOF, the undersigned have executed this Amendment as of the first date above written.
	
		
	 
	ENDOLOGIX, INC.

	 
	 

	 
	 

	 
	By: /s/ Shelley  Thunen   

	 
	 

	 
	Title: Chief Financial Officer   

	 
	 

	 
	 

	 
	NELLIX, INC.

	 
	 

	 
	 

	 
	By: /s/ Shelley  Thunen   

	 
	 

	 
	Title: Chief Financial Officer   

	 
	 

	 
	 

	 
	WELLS FARGO BANK, NATIONAL ASSOCIATION

	 
	 

	 
	 

	 
	By: /s/ Dennis Kim   

	 
	 

	 
	Title: Vice President   

    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

[Signature Page to Sixth Amendment to Credit Agreement]

SEVENTH AMENDMENT TO CREDIT AGREEMENT
This Seventh Amendment to Credit Agreement (this “Amendment”) is entered into as of December 3, 2013, by and between WELLS FARGO BANK, NATIONAL ASSOCIATION (“Bank”), ENDOLOGIX, INC. and NELLIX, INC. (each a “Borrower” and, collectively, “Borrowers”).
RECITALS
Borrowers and Bank are parties to that certain Credit Agreement dated as of October 30, 2009, as amended from time to time, including by that certain First Amendment to Credit Agreement dated as of April 13, 2010, that certain Second Amendment to Credit Agreement dated as of December 21, 2011, that certain Third Amendment to Credit Agreement dated as of February 21, 2012, that certain Fourth Amendment to Credit Agreement dated as of October 9, 2012, that certain Fifth Amendment to Credit Agreement dated as of May 15, 2013 and that certain Sixth Amendment to Credit Agreement dated as of July 26, 2013 (the “Agreement”).  The parties desire to amend the Agreement in accordance with the terms of this Amendment.  
NOW, THEREFORE, the parties agree as follows:
1.    Section 1.5 of the Agreement hereby is amended and restated in its entirety to read as follows:
“SECTION 1.5    SUBORDINATION OF DEBT.  All indebtedness and other obligations of Borrower to any other party other than any Permitted Convertible Indebtedness (as defined below) shall be subordinated in right of repayment to all indebtedness and other obligations of Borrower to Bank, as evidenced by and subject to the terms of subordination agreements in form and substance satisfactory to Bank”
2.    Section 5.4 of the Agreement hereby is amended and restated in its entirety to read as follows:
“SECTION 5.4    OTHER INDEBTEDNESS.  Create, incur, assume or permit to exist any indebtedness or liabilities resulting from borrowings, loans or advances, whether secured or unsecured, matured or unmatured, liquidated or unliquidated, joint or several, except:
(a) the liabilities of Borrower to Bank;
(b) trade payables incurred in the ordinary course of business;
(c) any other liabilities of Borrower existing as of, and disclosed to Bank prior to, the date hereof;

    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

(d) indebtedness (“Permitted Convertible Indebtedness”) of Existing Borrower pursuant to the Convertible Debt Documents in an aggregate principal amount not to exceed One Hundred Million Dollars ($100,000,000) (including any amount issued pursuant to any option to purchase additional notes, including, without limitation, any such option granted to cover over-allotments) that (i) is convertible into common stock of Existing Borrower and/or cash (in an amount determined by reference to the price of such common stock), (ii) matures after, and does not require any scheduled amortization or other scheduled payments of principal prior to, the maturity date of the Line of Credit (it being understood that such indebtedness may have mandatory prepayment, repurchase or redemptions provisions satisfying the requirement of clause (iii) hereof and may provide for cash payments upon conversion prior to the maturity date of such indebtedness provided that, for the avoidance of doubt, at the time of any such cash payment Existing Borrower shall be in compliance with the covenants set forth in Section 4.9), (iii) has terms and conditions (other than interest rate and redemption premiums), taken as a whole, that are not materially less favorable to Existing Borrower than the terms and conditions customary at the time for convertible debt securities issued in a broadly distributed offering and (iv) is incurred by Existing Borrower; provided, that both immediately prior and after giving effect to the incurrence thereof, (x) no Event of Default shall exist or result therefrom and (y) Existing Borrower shall be in compliance with the covenants set forth in Section 4.9; provided, further, that a certificate of the chief financial officer of Borrower delivered to Bank at least two Business Days prior to the incurrence of such indebtedness, together with a disclosure document containing the summary description of the material terms and conditions of such indebtedness, stating that Existing Borrower has determined in good faith that such terms and conditions satisfy the requirements of this clause (d), shall be conclusive evidence that such terms and conditions satisfy the foregoing requirement unless Bank notifies Existing Borrower within one Business Day of receipt of such certificate that it disagrees with such determination; and
(e) any Permitted Bond Hedge Transaction and any Permitted Warrant Transaction.
As used herein, “Business Day” means any day other than a Saturday, Sunday or other day on which commercial banks are required or authorized to close under the laws of, or are in fact closed, in New York.
As used herein, “Convertible Debt Documents” means (i) an indenture, (ii) a global note and (iii) one or more transaction confirmations, in each case relating to an offering of Permitted Convertible Indebtedness by Existing Borrower and related 

    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

Permitted Bond Hedge Transactions and Permitted Warrant Transactions entered into by Existing Borrower .
As used herein, “Existing Borrower” means ENDOLOGIX, INC.
As used herein, “Permitted Bond Hedge Transaction” means any call or capped call option (or substantively equivalent derivative transaction) on Existing Borrower’s common stock purchased by Existing Borrower in connection with the issuance of any Permitted Convertible Indebtedness; provided that the purchase price for such Permitted Bond Hedge Transaction, less the proceeds received by Existing Borrower from the sale of any related Permitted Warrant Transaction, does not exceed the net proceeds received by Existing Borrower from the issuance of such Permitted Convertible Indebtedness in connection with such Permitted Bond Hedge Transaction.
As used herein, “Permitted Warrant Transaction” means any call option, warrant or right to purchase (or substantively equivalent derivative transaction) on Existing Borrower’s common stock sold by Existing Borrower substantially concurrently with any purchase by Existing Borrower of a related Permitted Bond Hedge Transaction.”
3.    Section 5.6 of the Agreement hereby is amended and restated in its entirety to read as follows:
“SECTION 5.6    GUARANTIES.  Guarantee or become liable in any way as surety, endorser (other than as endorser of negotiable instruments for deposit or collection in the ordinary course of business), accommodation endorser or otherwise for, nor pledge or hypothecate any assets of Borrower as security for, any liabilities or obligations of any other person or entity in excess of an aggregate amount of Five Hundred Thousand Euro (€500,000) during the term of this Agreement, except (a) any of the foregoing in favor of Bank and (b) any of the foregoing in connection with any Permitted Convertible Indebtedness.”
4.    Section 5.7 of the Agreement hereby is amended and restated in its entirety to read as follows:
“SECTION 5.7 LOANS, ADVANCES, INVESTMENTS.  Make any loans or advances to or investments in any person or entity, except (a) any of the foregoing existing as of, and disclosed to Bank prior to, the date hereof and (b) pursuant to any Permitted Bond Hedge Transaction.”
5.    Section 5.8 of the Agreement hereby is amended and restated in its entirety to read as follows:

    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

“SECTION 5.8 DIVIDENDS, DISTRIBUTIONS.  Declare or pay any dividend or distribution either in cash, stock or any other property on Borrower’s stock now or hereafter outstanding, nor redeem, retire, repurchase or otherwise acquire any shares of any class of Borrower's stock now or hereafter outstanding except:
(a) pursuant to any Permitted Bond Hedge Transaction;
(b) Existing Borrower may make (i) regularly scheduled payments of interest in respect of any Permitted Convertible Indebtedness and (ii) any required payments of principal in respect of any Permitted Convertible Indebtedness made in accordance with this Agreement;
(c) Existing Borrower may make cash payments in connection with any conversions of Permitted Convertible Indebtedness; provided that (1) both immediately prior and after giving effect to any such payment, (x) no Event of Default shall exist or result therefrom and (y) Borrower shall be in compliance with the covenants set forth in Section 4.9; and
(d) Existing Borrower may purchase a Permitted Bond Hedge Transaction and can settle any related Permitted Warrant Transaction by set-off against such related Permitted Bond Hedge Transaction (if such set-off is permitted under the terms thereof), by delivery of shares of its common stock and, subject to compliance with the proviso to paragraph (c) above, by payment of the amounts due under the Permitted Warrant Transaction in cash, securities or other property.”
6.    Section 6.1(g) of the Agreement hereby is amended and restated in its entirety to read as follows:
“(g)    There shall exist or occur any event or condition that Bank in good faith believes materially impairs, or is substantially likely materially to impair, the prospect of payment or performance by Borrower, any Third Party Obligor, or the general partner of either if such entity is a partnership, of its material obligations under any of the Loan Documents.  For the avoidance of doubt, Borrower and Bank agree that Borrower’s entry into, performance of its obligations under and settlement (by early termination or otherwise) of any Permitted Convertible Indebtedness, any Permitted Bond Hedge Transaction or any Permitted Warrant Transaction entered into in accordance with this Agreement will not materially impair such prospect of payment or performance.”
7.    No course of dealing on the part of Bank or its officers, nor any failure or delay in the exercise of any right by Bank, shall operate as a waiver thereof, and any single or partial exercise of any such right shall not preclude any later exercise of any such right.  Bank’s failure at any time to require strict performance by Borrower of any 

    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

provision shall not affect any right of Bank thereafter to demand strict compliance and performance.  Any suspension or waiver of a right must be in writing signed by an officer of Bank.
8.    Unless otherwise defined, all initially capitalized terms in this Amendment shall be as defined in the Agreement.  The Agreement, as amended hereby, shall be and remain in full force and effect in accordance with its respective terms and hereby is ratified and confirmed in all respects.  Except as expressly set forth herein, the execution, delivery, and performance of this Amendment shall not operate as a waiver of, or as an amendment of, any right, power, or remedy of Bank under the Agreement, as in effect prior to the date hereof.
9.    Borrower represents and warrants that the Representations and Warranties contained in the Agreement are true and correct as of the date of this Amendment, and that no Event of Default has occurred and is continuing.  
10.    As a condition to the effectiveness of this Amendment, Bank shall have received, in form and substance satisfactory to Bank:
(a)    this Amendment, duly executed by Borrower; 
(b)    the certificate of the chief financial officer of Borrower contemplated by the proviso to Section 5.4 of the Agreement, as amended by this Amendment; and
(c)    all reasonable fees and expenses incurred through the date of this Amendment, which may be debited from any of Borrower's accounts.
11.    Promptly (and in any event, within three Business Days) following the closing of any offering of any Permitted Convertible Indebtedness and/or the entering into of any Permitted Bond Hedge Transaction or Permitted Warrant Transaction by Borrower, Borrower shall provide to Bank (i) executed copies of the applicable Convertible Debt Documents and (ii) a certificate of the chief financial officer of Borrower stating that the Convertible Debt Documents are consistent in all material respects with the summary description delivered with the certificate delivered pursuant to Section 10(b) hereof.
12.    This Amendment may be executed in two or more counterparts, each of which shall be deemed an original, but all of which together shall constitute one instrument.

[Balance of Page Intentionally Left Blank]

    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

IN WITNESS WHEREOF, the undersigned have executed this Amendment as of the first date above written.
	
		
	 
	ENDOLOGIX, INC.

	 
	 

	 
	 

	 
	By: /s/ Shelley Thunen   

	 
	 

	 
	Title: Chief Financial Officer & Secretary   

	 
	 

	 
	 

	 
	NELLIX, INC.

	 
	 

	 
	 

	 
	By: /s/ Shelley Thunen   

	 
	 

	 
	Title: Chief Financial Officer & Secretary      

	 
	 

	 
	 

	 
	WELLS FARGO BANK, NATIONAL ASSOCIATION

	 
	 

	 
	 

	 
	By: /s/ Dennis Kim   

	 
	 

	 
	Title: Vice President   

    
DOCSOC/1656044v2/018854-0004

Exhibit 10.27

[Signature Page to Seventh Amendment to Credit Agreement]

    
DOCSOC/1656044v2/018854-0004

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00227-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00227-of-00352.parquet"}]]