XML 81 R7.htm IDEA: XBRL DOCUMENT v2.4.1.9
Consolidated Statements of Cash Flows (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Cash flows from operating activities      
Net income (loss) $ (117,232)us-gaap_NetIncomeLoss $ (64,203)us-gaap_NetIncomeLoss $ 110,038us-gaap_NetIncomeLoss
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities      
Depreciation and amortization 29,989us-gaap_DepreciationDepletionAndAmortization 32,726us-gaap_DepreciationDepletionAndAmortization 32,066us-gaap_DepreciationDepletionAndAmortization
Provision for severance benefits 17,703us-gaap_SeveranceCosts1 23,169us-gaap_SeveranceCosts1 21,530us-gaap_SeveranceCosts1
Bad debt expenses (reversal of allowance) 3,718us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease (85)us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease (6)us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease
Amortization of debt issuance costs and original issue discount 614us-gaap_AmortizationOfFinancingCostsAndDiscounts 890us-gaap_AmortizationOfFinancingCostsAndDiscounts 1,009us-gaap_AmortizationOfFinancingCostsAndDiscounts
Loss (gain) on foreign currency, net 32,760mx_ForeignCurrencyTransactionGainLossBeforeTaxIncludingIntercompanyBalances (18,329)mx_ForeignCurrencyTransactionGainLossBeforeTaxIncludingIntercompanyBalances (64,886)mx_ForeignCurrencyTransactionGainLossBeforeTaxIncludingIntercompanyBalances
Gain on disposal of investments (1,524)us-gaap_GainLossOnSaleOfInvestments    
Impairment charges 10,269us-gaap_AssetImpairmentCharges 6,378us-gaap_AssetImpairmentCharges  
Stock-based compensation 2,072us-gaap_ShareBasedCompensation 2,213us-gaap_ShareBasedCompensation 2,389us-gaap_ShareBasedCompensation
Loss on early extinguishment of senior notes   32,812us-gaap_GainsLossesOnExtinguishmentOfDebt  
Other 1,375us-gaap_OtherNoncashIncomeExpense 1,479us-gaap_OtherNoncashIncomeExpense (663)us-gaap_OtherNoncashIncomeExpense
Changes in operating assets and liabilities      
Accounts receivable (1,668)us-gaap_IncreaseDecreaseInAccountsReceivable 26,756us-gaap_IncreaseDecreaseInAccountsReceivable 5,758us-gaap_IncreaseDecreaseInAccountsReceivable
Inventories, net (3,380)us-gaap_IncreaseDecreaseInInventories 9,593us-gaap_IncreaseDecreaseInInventories (12,495)us-gaap_IncreaseDecreaseInInventories
Other receivables (5,052)us-gaap_IncreaseDecreaseInOtherReceivables (3,964)us-gaap_IncreaseDecreaseInOtherReceivables (337)us-gaap_IncreaseDecreaseInOtherReceivables
Other current assets 9,308us-gaap_IncreaseDecreaseInOtherCurrentAssets 11,026us-gaap_IncreaseDecreaseInOtherCurrentAssets 10,835us-gaap_IncreaseDecreaseInOtherCurrentAssets
Deferred tax assets 1,458us-gaap_IncreaseDecreaseInDeferredIncomeTaxes 1,470us-gaap_IncreaseDecreaseInDeferredIncomeTaxes 1,914us-gaap_IncreaseDecreaseInDeferredIncomeTaxes
Accounts payable (1,526)us-gaap_IncreaseDecreaseInAccountsPayable (3,111)us-gaap_IncreaseDecreaseInAccountsPayable (1,737)us-gaap_IncreaseDecreaseInAccountsPayable
Other accounts payable (13,046)us-gaap_IncreaseDecreaseInOtherAccountsPayable (10,376)us-gaap_IncreaseDecreaseInOtherAccountsPayable (11,007)us-gaap_IncreaseDecreaseInOtherAccountsPayable
Accrued expenses 208us-gaap_IncreaseDecreaseInAccruedLiabilities 20,974us-gaap_IncreaseDecreaseInAccruedLiabilities 24,304us-gaap_IncreaseDecreaseInAccruedLiabilities
Other current liabilities 1,179us-gaap_IncreaseDecreaseInOtherCurrentLiabilities (387)us-gaap_IncreaseDecreaseInOtherCurrentLiabilities 9,497us-gaap_IncreaseDecreaseInOtherCurrentLiabilities
Other non-current liabilities 1,963us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities 6,073us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities (3,329)us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities
Payment of severance benefits (6,650)us-gaap_IncreaseDecreaseInDueToEmployeesCurrent (6,130)us-gaap_IncreaseDecreaseInDueToEmployeesCurrent (6,997)us-gaap_IncreaseDecreaseInDueToEmployeesCurrent
Other (7)us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet (219)us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet 223us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet
Net cash provided by (used in) operating activities (37,469)us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations 68,755us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations 118,106us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations
Cash flows from investing activities      
Decrease in restricted cash 4us-gaap_DecreaseInRestrictedCash 125us-gaap_DecreaseInRestrictedCash 13,021us-gaap_DecreaseInRestrictedCash
Increase in restricted cash     (6,238)us-gaap_IncreaseInRestrictedCash
Proceeds from disposal of plant, property and equipment 20us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment 94us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment 937us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment
Proceeds from disposal of investments 2,003us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments    
Purchase of property, plant and equipment (17,419)us-gaap_PaymentsToAcquirePropertyPlantAndEquipment (42,483)us-gaap_PaymentsToAcquirePropertyPlantAndEquipment (58,538)us-gaap_PaymentsToAcquirePropertyPlantAndEquipment
Payment for intellectual property registration (958)us-gaap_PaymentsToAcquireIntangibleAssets (605)us-gaap_PaymentsToAcquireIntangibleAssets (882)us-gaap_PaymentsToAcquireIntangibleAssets
Payment for purchase of Dawin, net of cash acquired     (8,642)us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired
Payment of guarantee deposits (323)mx_PaymentsForGuaranteeDeposits (1,365)mx_PaymentsForGuaranteeDeposits (320)mx_PaymentsForGuaranteeDeposits
Other (25)us-gaap_PaymentsForProceedsFromOtherInvestingActivities 131us-gaap_PaymentsForProceedsFromOtherInvestingActivities 118us-gaap_PaymentsForProceedsFromOtherInvestingActivities
Net cash used in investing activities (16,698)us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations (44,103)us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations (60,544)us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations
Cash flows from financing activities      
Proceeds from issuance of common stock 68us-gaap_ProceedsFromIssuanceOfCommonStock 11,375us-gaap_ProceedsFromIssuanceOfCommonStock 962us-gaap_ProceedsFromIssuanceOfCommonStock
Proceeds from issuance of senior notes   218,836us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt  
Repayment of long-term borrowings   (229,333)us-gaap_RepaymentsOfLongTermDebt  
Repayment of obligations under capital lease     (2,968)us-gaap_RepaymentsOfLongTermCapitalLeaseObligations
Acquisition of treasury stock   (51,000)us-gaap_PaymentsForRepurchaseOfCommonStock (28,125)us-gaap_PaymentsForRepurchaseOfCommonStock
Net cash provided by (used in) financing activities 68us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations (50,122)us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations (30,131)us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations
Effect of exchange rates on cash and cash equivalents 2,927us-gaap_EffectOfExchangeRateOnCashAndCashEquivalentsContinuingOperations (3,162)us-gaap_EffectOfExchangeRateOnCashAndCashEquivalentsContinuingOperations (7,304)us-gaap_EffectOfExchangeRateOnCashAndCashEquivalentsContinuingOperations
Net increase (decrease) in cash and cash equivalents (51,172)us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease (28,632)us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease 20,127us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease
Cash and cash equivalents      
Beginning of the period 153,606us-gaap_CashAndCashEquivalentsAtCarryingValue 182,238us-gaap_CashAndCashEquivalentsAtCarryingValue 162,111us-gaap_CashAndCashEquivalentsAtCarryingValue
End of the period 102,434us-gaap_CashAndCashEquivalentsAtCarryingValue 153,606us-gaap_CashAndCashEquivalentsAtCarryingValue 182,238us-gaap_CashAndCashEquivalentsAtCarryingValue
Supplemental cash flow information      
Cash paid for interest 14,817us-gaap_InterestPaid 16,223us-gaap_InterestPaid 21,955us-gaap_InterestPaid
Cash paid (refunded) for income taxes 875us-gaap_IncomeTaxesPaidNet 6,267us-gaap_IncomeTaxesPaidNet (609)us-gaap_IncomeTaxesPaidNet
Non-cash investing and financing activities      
Property, plant and equipment additions in other accounts payable $ 688us-gaap_CapitalExpendituresIncurredButNotYetPaid $ 116us-gaap_CapitalExpendituresIncurredButNotYetPaid $ 2,989us-gaap_CapitalExpendituresIncurredButNotYetPaid