<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponents" xlink:href="aosl-20180630.xsd#BalanceSheetComponents" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsAccountsReceivableDetails" xlink:href="aosl-20180630.xsd#BalanceSheetComponentsAccountsReceivableDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsAccruedLiabilitiesDetails" xlink:href="aosl-20180630.xsd#BalanceSheetComponentsAccruedLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsDeferredMarginDetails" xlink:href="aosl-20180630.xsd#BalanceSheetComponentsDeferredMarginDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsFutureAmortizationExpenseOfIntangibleAssetsDetails" xlink:href="aosl-20180630.xsd#BalanceSheetComponentsFutureAmortizationExpenseOfIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsGoodwillDetails" xlink:href="aosl-20180630.xsd#BalanceSheetComponentsGoodwillDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsImpairmentOfLongLivedAssetsIntangibleAssetsAndGoodwillDetails" xlink:href="aosl-20180630.xsd#BalanceSheetComponentsImpairmentOfLongLivedAssetsIntangibleAssetsAndGoodwillDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsIntangibleAssetsDetails" xlink:href="aosl-20180630.xsd#BalanceSheetComponentsIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsInventoriesDetails" xlink:href="aosl-20180630.xsd#BalanceSheetComponentsInventoriesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsOtherCurrentAssetsDetails" xlink:href="aosl-20180630.xsd#BalanceSheetComponentsOtherCurrentAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsOtherLongTermAssetsDetails" xlink:href="aosl-20180630.xsd#BalanceSheetComponentsOtherLongTermAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsProductWarrantyAccrualDetails" xlink:href="aosl-20180630.xsd#BalanceSheetComponentsProductWarrantyAccrualDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsPropertyPlantAndEquipmentDetails" xlink:href="aosl-20180630.xsd#BalanceSheetComponentsPropertyPlantAndEquipmentDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsStockRotationAccrualDetails" xlink:href="aosl-20180630.xsd#BalanceSheetComponentsStockRotationAccrualDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/BalanceSheetComponentsTables" xlink:href="aosl-20180630.xsd#BalanceSheetComponentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/CommitmentsAndContingencies" xlink:href="aosl-20180630.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/CommitmentsAndContingenciesContingenciesAndIndemnitiesDetails" xlink:href="aosl-20180630.xsd#CommitmentsAndContingenciesContingenciesAndIndemnitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/CommitmentsAndContingenciesJointVentureDetails" xlink:href="aosl-20180630.xsd#CommitmentsAndContingenciesJointVentureDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/CommitmentsAndContingenciesOperatingLeasesObligationsDetails" xlink:href="aosl-20180630.xsd#CommitmentsAndContingenciesOperatingLeasesObligationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/CommitmentsAndContingenciesPurchaseCommitmentsDetails" xlink:href="aosl-20180630.xsd#CommitmentsAndContingenciesPurchaseCommitmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/CommitmentsAndContingenciesTables" xlink:href="aosl-20180630.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/CompanyAndSignificantAccountingPolicies" xlink:href="aosl-20180630.xsd#CompanyAndSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/CompanyAndSignificantAccountingPoliciesDetails" xlink:href="aosl-20180630.xsd#CompanyAndSignificantAccountingPoliciesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/CompanyAndSignificantAccountingPoliciesPolicies" xlink:href="aosl-20180630.xsd#CompanyAndSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/CompanyAndSignificantAccountingPoliciesTables" xlink:href="aosl-20180630.xsd#CompanyAndSignificantAccountingPoliciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ConcentrationOfCreditRiskAndSignificantCustomers" xlink:href="aosl-20180630.xsd#ConcentrationOfCreditRiskAndSignificantCustomers" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ConcentrationOfCreditRiskAndSignificantCustomersDetails" xlink:href="aosl-20180630.xsd#ConcentrationOfCreditRiskAndSignificantCustomersDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ConcentrationOfCreditRiskAndSignificantCustomersTables" xlink:href="aosl-20180630.xsd#ConcentrationOfCreditRiskAndSignificantCustomersTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ConsolidatedBalanceSheets" xlink:href="aosl-20180630.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="aosl-20180630.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="aosl-20180630.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:href="aosl-20180630.xsd#ConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ConsolidatedStatementsOfOperations" xlink:href="aosl-20180630.xsd#ConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ConsolidatedStatementsOfShareholdersEquity" xlink:href="aosl-20180630.xsd#ConsolidatedStatementsOfShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/Debt" xlink:href="aosl-20180630.xsd#Debt" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/DebtCapitalLeasesDetails" xlink:href="aosl-20180630.xsd#DebtCapitalLeasesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/DebtCapitalLeasesFutureMinimumPaymentsFiscalYearMaturityDetails" xlink:href="aosl-20180630.xsd#DebtCapitalLeasesFutureMinimumPaymentsFiscalYearMaturityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/DebtMaturitiesOfLongTermDebtDetails" xlink:href="aosl-20180630.xsd#DebtMaturitiesOfLongTermDebtDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/DebtNarrativeDetails" xlink:href="aosl-20180630.xsd#DebtNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/DebtTables" xlink:href="aosl-20180630.xsd#DebtTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/DocumentAndEntityInformation" xlink:href="aosl-20180630.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/EmployeeBenefitPlans" xlink:href="aosl-20180630.xsd#EmployeeBenefitPlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/EmployeeBenefitPlansDetails" xlink:href="aosl-20180630.xsd#EmployeeBenefitPlansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/IncomeTaxes" xlink:href="aosl-20180630.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/IncomeTaxesIncomeTaxSchedulesDetails" xlink:href="aosl-20180630.xsd#IncomeTaxesIncomeTaxSchedulesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/IncomeTaxesNarrativeDetails" xlink:href="aosl-20180630.xsd#IncomeTaxesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/IncomeTaxesTables" xlink:href="aosl-20180630.xsd#IncomeTaxesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/JointVenture" xlink:href="aosl-20180630.xsd#JointVenture" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/JointVentureDetails" xlink:href="aosl-20180630.xsd#JointVentureDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/JointVentureTables" xlink:href="aosl-20180630.xsd#JointVentureTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/NarrativeDetails" xlink:href="aosl-20180630.xsd#NarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/NetIncomeLossPerShare" xlink:href="aosl-20180630.xsd#NetIncomeLossPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/NetIncomeLossPerShareBasicAndDilutedIncomePerShareDetails" xlink:href="aosl-20180630.xsd#NetIncomeLossPerShareBasicAndDilutedIncomePerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/NetIncomeLossPerSharePotentialDilutiveSharesDetails" xlink:href="aosl-20180630.xsd#NetIncomeLossPerSharePotentialDilutiveSharesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/NetIncomeLossPerShareTables" xlink:href="aosl-20180630.xsd#NetIncomeLossPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/RestrictedNetAssets" xlink:href="aosl-20180630.xsd#RestrictedNetAssets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/RestrictedNetAssetsDetails" xlink:href="aosl-20180630.xsd#RestrictedNetAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ScheduleICondensedFinancialInformationOfParentCompanyDetails" xlink:href="aosl-20180630.xsd#ScheduleICondensedFinancialInformationOfParentCompanyDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ScheduleICondensedUnconsolidatedBalanceSheets" xlink:href="aosl-20180630.xsd#ScheduleICondensedUnconsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ScheduleICondensedUnconsolidatedBalanceSheetsDetails" xlink:href="aosl-20180630.xsd#ScheduleICondensedUnconsolidatedBalanceSheetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ScheduleICondensedUnconsolidatedBalanceSheetsParentheticalDetails" xlink:href="aosl-20180630.xsd#ScheduleICondensedUnconsolidatedBalanceSheetsParentheticalDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ScheduleICondensedUnconsolidatedCashFlows" xlink:href="aosl-20180630.xsd#ScheduleICondensedUnconsolidatedCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ScheduleICondensedUnconsolidatedCashFlowsDetails" xlink:href="aosl-20180630.xsd#ScheduleICondensedUnconsolidatedCashFlowsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ScheduleICondensedUnconsolidatedStatementsOfComprehensiveIncomeLossDetails" xlink:href="aosl-20180630.xsd#ScheduleICondensedUnconsolidatedStatementsOfComprehensiveIncomeLossDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ScheduleICondensedUnconsolidatedStatementsOfComprehensiveIncomeLossScheduleICondensedUnconsolidatedStatementsOfComprehensiveIncomeLossNotes" xlink:href="aosl-20180630.xsd#ScheduleICondensedUnconsolidatedStatementsOfComprehensiveIncomeLossScheduleICondensedUnconsolidatedStatementsOfComprehensiveIncomeLossNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ScheduleICondensedUnconsolidatedStatementsOfIncome" xlink:href="aosl-20180630.xsd#ScheduleICondensedUnconsolidatedStatementsOfIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ScheduleICondensedUnconsolidatedStatementsOfIncomeDetails" xlink:href="aosl-20180630.xsd#ScheduleICondensedUnconsolidatedStatementsOfIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ScheduleINotesToCondensedUnconsolidatedFinancialStatements" xlink:href="aosl-20180630.xsd#ScheduleINotesToCondensedUnconsolidatedFinancialStatements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ScheduleIiValuationAndQualifyingAccounts" xlink:href="aosl-20180630.xsd#ScheduleIiValuationAndQualifyingAccounts" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ScheduleIiValuationAndQualifyingAccountsDetails" xlink:href="aosl-20180630.xsd#ScheduleIiValuationAndQualifyingAccountsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/SegmentAndGeographicInformation" xlink:href="aosl-20180630.xsd#SegmentAndGeographicInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/SegmentAndGeographicInformationDetails" xlink:href="aosl-20180630.xsd#SegmentAndGeographicInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/SegmentAndGeographicInformationLocationAndNetBookValueOfLongLivedAssetsDetails" xlink:href="aosl-20180630.xsd#SegmentAndGeographicInformationLocationAndNetBookValueOfLongLivedAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/SegmentAndGeographicInformationSegmentNarrativeDetails" xlink:href="aosl-20180630.xsd#SegmentAndGeographicInformationSegmentNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/SegmentAndGeographicInformationTables" xlink:href="aosl-20180630.xsd#SegmentAndGeographicInformationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ShareBasedCompensation" xlink:href="aosl-20180630.xsd#ShareBasedCompensation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ShareBasedCompensationEmployeeSharePurchasePlanDetails" xlink:href="aosl-20180630.xsd#ShareBasedCompensationEmployeeSharePurchasePlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ShareBasedCompensationFairValueOfStockOptionsWeightedAverageAssumptionsDetails" xlink:href="aosl-20180630.xsd#ShareBasedCompensationFairValueOfStockOptionsWeightedAverageAssumptionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ShareBasedCompensationRestrictedStockAndPerformanceBasedRestrcitedStockActivityDetails" xlink:href="aosl-20180630.xsd#ShareBasedCompensationRestrictedStockAndPerformanceBasedRestrcitedStockActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ShareBasedCompensationShareBasedCompensationExpensesDetails" xlink:href="aosl-20180630.xsd#ShareBasedCompensationShareBasedCompensationExpensesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ShareBasedCompensationStockOptionsOutstandingAndExercisableDetails" xlink:href="aosl-20180630.xsd#ShareBasedCompensationStockOptionsOutstandingAndExercisableDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ShareBasedCompensationSummaryOfStockOptionActivitiesDetails" xlink:href="aosl-20180630.xsd#ShareBasedCompensationSummaryOfStockOptionActivitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ShareBasedCompensationTables" xlink:href="aosl-20180630.xsd#ShareBasedCompensationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ShareholdersEquity" xlink:href="aosl-20180630.xsd#ShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/ShareholdersEquityDetails" xlink:href="aosl-20180630.xsd#ShareholdersEquityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/SubsequentEventDetails" xlink:href="aosl-20180630.xsd#SubsequentEventDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.aosmd.com/role/SubsequentEventNotes" xlink:href="aosl-20180630.xsd#SubsequentEventNotes" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponents" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsAccountsReceivableDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsAccruedLiabilitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsDeferredMarginDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsFutureAmortizationExpenseOfIntangibleAssetsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsGoodwillDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsImpairmentOfLongLivedAssetsIntangibleAssetsAndGoodwillDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_C85C3A6AA1539F6FCED55CF3210BE822" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_43A2D3FFA90F64FF1C7C5CF3210890AC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_C85C3A6AA1539F6FCED55CF3210BE822" xlink:to="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_43A2D3FFA90F64FF1C7C5CF3210890AC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_00681D92B6642A4463575CF321084364" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_43A2D3FFA90F64FF1C7C5CF3210890AC" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_00681D92B6642A4463575CF321084364" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_90D24A7A555DC6977ACA5CF321091BCC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_00681D92B6642A4463575CF321084364" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_90D24A7A555DC6977ACA5CF321091BCC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_90D24A7A555DC6977ACA5CF321091BCC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_00681D92B6642A4463575CF321084364" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_90D24A7A555DC6977ACA5CF321091BCC" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_STMicroMember" xlink:label="loc_aosl_STMicroMember_5144EA0C195F42206A165CF321092134" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityMethodInvesteeNameDomain_90D24A7A555DC6977ACA5CF321091BCC" xlink:to="loc_aosl_STMicroMember_5144EA0C195F42206A165CF321092134" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_077ADBA86BB638129DC75CF321091B3F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_43A2D3FFA90F64FF1C7C5CF3210890AC" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_077ADBA86BB638129DC75CF321091B3F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_40D49C3C1AFE50867ECD5CF3210AF9EE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_077ADBA86BB638129DC75CF321091B3F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_40D49C3C1AFE50867ECD5CF3210AF9EE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_40D49C3C1AFE50867ECD5CF3210AF9EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_077ADBA86BB638129DC75CF321091B3F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_40D49C3C1AFE50867ECD5CF3210AF9EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LicensingAgreementsMember" xlink:label="loc_us-gaap_LicensingAgreementsMember_3CB737D700E3AD56D1B15CF3210AC29F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_40D49C3C1AFE50867ECD5CF3210AF9EE" xlink:to="loc_us-gaap_LicensingAgreementsMember_3CB737D700E3AD56D1B15CF3210AC29F" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PatentsAndPatentedTechnologyMember" xlink:label="loc_aosl_PatentsAndPatentedTechnologyMember_A52B9EC2A1723F3E2A835CF3210A7780" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_40D49C3C1AFE50867ECD5CF3210AF9EE" xlink:to="loc_aosl_PatentsAndPatentedTechnologyMember_A52B9EC2A1723F3E2A835CF3210A7780" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TradeNamesMember" xlink:label="loc_us-gaap_TradeNamesMember_F9CBEF68A4C9CE07053E5CF3210B5A1B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_40D49C3C1AFE50867ECD5CF3210AF9EE" xlink:to="loc_us-gaap_TradeNamesMember_F9CBEF68A4C9CE07053E5CF3210B5A1B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_2363DC243DCBF5C413F55CF3210B160C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_40D49C3C1AFE50867ECD5CF3210AF9EE" xlink:to="loc_us-gaap_CustomerRelationshipsMember_2363DC243DCBF5C413F55CF3210B160C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PatentedTechnologyMember" xlink:label="loc_us-gaap_PatentedTechnologyMember_F040EFF87BABCB1E8E1C5CF3210B3DD8" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_40D49C3C1AFE50867ECD5CF3210AF9EE" xlink:to="loc_us-gaap_PatentedTechnologyMember_F040EFF87BABCB1E8E1C5CF3210B3DD8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireIntangibleAssets" xlink:label="loc_us-gaap_PaymentsToAcquireIntangibleAssets_5CF48D6577DF32A7D6015CF3210BE668" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_C85C3A6AA1539F6FCED55CF3210BE822" xlink:to="loc_us-gaap_PaymentsToAcquireIntangibleAssets_5CF48D6577DF32A7D6015CF3210BE668" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PaymentstoAcquireIntangibleAssetsinCalenderyear2017" xlink:label="loc_aosl_PaymentstoAcquireIntangibleAssetsinCalenderyear2017_972E8CC8C6688E2833FF5CF3210C9EC8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_C85C3A6AA1539F6FCED55CF3210BE822" xlink:to="loc_aosl_PaymentstoAcquireIntangibleAssetsinCalenderyear2017_972E8CC8C6688E2833FF5CF3210C9EC8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_07CD3BA783F5341879545CF3210C46E6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_C85C3A6AA1539F6FCED55CF3210BE822" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_07CD3BA783F5341879545CF3210C46E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_34E2A8FF7854E786CF9C5CF3210CD8F4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_C85C3A6AA1539F6FCED55CF3210BE822" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_34E2A8FF7854E786CF9C5CF3210CD8F4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_75CB21A288A5A57310DE5CF3210C06CF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_C85C3A6AA1539F6FCED55CF3210BE822" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_75CB21A288A5A57310DE5CF3210C06CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_2A1A70A8EAE7A3D50CA85CF3210D408C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_C85C3A6AA1539F6FCED55CF3210BE822" xlink:to="loc_us-gaap_Goodwill_2A1A70A8EAE7A3D50CA85CF3210D408C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IntangibleAssetsNetIncludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_EFFD2C90E8E04B76F9665D0A9F30CEDA" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_C85C3A6AA1539F6FCED55CF3210BE822" xlink:to="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_EFFD2C90E8E04B76F9665D0A9F30CEDA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_50B775FF5B2DCDCB2DA75CF3210D70C6" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_C85C3A6AA1539F6FCED55CF3210BE822" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_50B775FF5B2DCDCB2DA75CF3210D70C6" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PaymentstoAcquireIntangibleAssetsinCalenderYear2018" xlink:label="loc_aosl_PaymentstoAcquireIntangibleAssetsinCalenderYear2018_36523052531036A9B82E5CF3210DBBF7" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_C85C3A6AA1539F6FCED55CF3210BE822" xlink:to="loc_aosl_PaymentstoAcquireIntangibleAssetsinCalenderYear2018_36523052531036A9B82E5CF3210DBBF7" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PaymentstoAcquireIntangibleAssetsinCalendarYear2019" xlink:label="loc_aosl_PaymentstoAcquireIntangibleAssetsinCalendarYear2019_5B016FA61DD2535D719F5CF3210DE5FE" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_C85C3A6AA1539F6FCED55CF3210BE822" xlink:to="loc_aosl_PaymentstoAcquireIntangibleAssetsinCalendarYear2019_5B016FA61DD2535D719F5CF3210DE5FE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsInventoriesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsOtherCurrentAssetsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsOtherLongTermAssetsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsProductWarrantyAccrualDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsPropertyPlantAndEquipmentDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_B845A65EA903F10DDF26548AAEE6E47B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_29CA47B67846B8F6E0E0548AAEE6FD3C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_B845A65EA903F10DDF26548AAEE6E47B" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_29CA47B67846B8F6E0E0548AAEE6FD3C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_9C6F44427ED41D4D46F8548AAEE6A349" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_29CA47B67846B8F6E0E0548AAEE6FD3C" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_9C6F44427ED41D4D46F8548AAEE6A349" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1696AF2D62FF6087B0DC548AAEE64DBC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_9C6F44427ED41D4D46F8548AAEE6A349" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1696AF2D62FF6087B0DC548AAEE64DBC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1696AF2D62FF6087B0DC548AAEE64DBC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_9C6F44427ED41D4D46F8548AAEE6A349" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1696AF2D62FF6087B0DC548AAEE64DBC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LandMember" xlink:label="loc_us-gaap_LandMember_219361A263129066D3B9548AAEE61572" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1696AF2D62FF6087B0DC548AAEE64DBC" xlink:to="loc_us-gaap_LandMember_219361A263129066D3B9548AAEE61572" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember_B29E2986D5F0629EAF53548AAEE6517A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1696AF2D62FF6087B0DC548AAEE64DBC" xlink:to="loc_us-gaap_BuildingMember_B29E2986D5F0629EAF53548AAEE6517A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MachineryAndEquipmentMember" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_9CBD1B3F7BB7465BD467548AAEE6B1CC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1696AF2D62FF6087B0DC548AAEE64DBC" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_9CBD1B3F7BB7465BD467548AAEE6B1CC" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_EquipmentAndToolingMember" xlink:label="loc_aosl_EquipmentAndToolingMember_DD6D85C569C0AC39A4B1548AAEE665B4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1696AF2D62FF6087B0DC548AAEE64DBC" xlink:to="loc_aosl_EquipmentAndToolingMember_DD6D85C569C0AC39A4B1548AAEE665B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComputerEquipmentMember" xlink:label="loc_us-gaap_ComputerEquipmentMember_F61A05838AAED9A2CB3D548AAEE67E0E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1696AF2D62FF6087B0DC548AAEE64DBC" xlink:to="loc_us-gaap_ComputerEquipmentMember_F61A05838AAED9A2CB3D548AAEE67E0E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_FA61869385C64E57E1C0548AAEE6ABBA" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1696AF2D62FF6087B0DC548AAEE64DBC" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_FA61869385C64E57E1C0548AAEE6ABBA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_32FF2B69C683E468B7E0548AAEE667BD" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1696AF2D62FF6087B0DC548AAEE64DBC" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_32FF2B69C683E468B7E0548AAEE667BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComputerSoftwareIntangibleAssetMember" xlink:label="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_9C89799D91864249878D548AAEE62FB2" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1696AF2D62FF6087B0DC548AAEE64DBC" xlink:to="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_9C89799D91864249878D548AAEE62FB2" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PropertyPlantAndEquipmentExcludingEquipmentAndConstructionInProgressGross" xlink:label="loc_aosl_PropertyPlantAndEquipmentExcludingEquipmentAndConstructionInProgressGross_221D2DF1E93D62A95466548AAEE66C42" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_B845A65EA903F10DDF26548AAEE6E47B" xlink:to="loc_aosl_PropertyPlantAndEquipmentExcludingEquipmentAndConstructionInProgressGross_221D2DF1E93D62A95466548AAEE66C42" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_LandUseRightsGross" xlink:label="loc_aosl_LandUseRightsGross_DA0547CE39898E79DC77548AAEE6D664" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_B845A65EA903F10DDF26548AAEE6E47B" xlink:to="loc_aosl_LandUseRightsGross_DA0547CE39898E79DC77548AAEE6D664" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_02AB0EECEDE51BB790EE548AAEE6F222" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_B845A65EA903F10DDF26548AAEE6E47B" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_02AB0EECEDE51BB790EE548AAEE6F222" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PropertyPlantAndEquipmentExcludingEquipmentAndConstructionInProgressNet" xlink:label="loc_aosl_PropertyPlantAndEquipmentExcludingEquipmentAndConstructionInProgressNet_13D7A0C1244CE5D869B8548AAEE6E77C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_B845A65EA903F10DDF26548AAEE6E47B" xlink:to="loc_aosl_PropertyPlantAndEquipmentExcludingEquipmentAndConstructionInProgressNet_13D7A0C1244CE5D869B8548AAEE6E77C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionInProgressGross" xlink:label="loc_us-gaap_ConstructionInProgressGross_D22FEE34F4A628C07A48548AAEE608BD" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_B845A65EA903F10DDF26548AAEE6E47B" xlink:to="loc_us-gaap_ConstructionInProgressGross_D22FEE34F4A628C07A48548AAEE608BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_1159CD1CF0AC6DA890E1548AAEE6E25F" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_B845A65EA903F10DDF26548AAEE6E47B" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_1159CD1CF0AC6DA890E1548AAEE6E25F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaap_Depreciation_F514565765C602CF0196548AAEE637AC" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_B845A65EA903F10DDF26548AAEE6E47B" xlink:to="loc_us-gaap_Depreciation_F514565765C602CF0196548AAEE637AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeasedAssetsGross" xlink:label="loc_us-gaap_CapitalLeasedAssetsGross_9B1921895F8AB0101C56548AAEE649F1" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_B845A65EA903F10DDF26548AAEE6E47B" xlink:to="loc_us-gaap_CapitalLeasedAssetsGross_9B1921895F8AB0101C56548AAEE649F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeasesLesseeBalanceSheetAssetsByMajorClassAccumulatedDeprecation" xlink:label="loc_us-gaap_CapitalLeasesLesseeBalanceSheetAssetsByMajorClassAccumulatedDeprecation_4271B7050D69285AEA26548AAEE61386" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_B845A65EA903F10DDF26548AAEE6E47B" xlink:to="loc_us-gaap_CapitalLeasesLesseeBalanceSheetAssetsByMajorClassAccumulatedDeprecation_4271B7050D69285AEA26548AAEE61386" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalizedComputerSoftwareAdditions" xlink:label="loc_us-gaap_CapitalizedComputerSoftwareAdditions_D9F11C1EA30853791AFA548AAEE67FB5" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_B845A65EA903F10DDF26548AAEE6E47B" xlink:to="loc_us-gaap_CapitalizedComputerSoftwareAdditions_D9F11C1EA30853791AFA548AAEE67FB5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalizedComputerSoftwareAmortization1" xlink:label="loc_us-gaap_CapitalizedComputerSoftwareAmortization1_B77E2C1E88AFFC4D14A5548AAEE63CF1" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_B845A65EA903F10DDF26548AAEE6E47B" xlink:to="loc_us-gaap_CapitalizedComputerSoftwareAmortization1_B77E2C1E88AFFC4D14A5548AAEE63CF1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalizedComputerSoftwareNet" xlink:label="loc_us-gaap_CapitalizedComputerSoftwareNet_B86F44B0D5DB3C68CD2E548AAEE6B1F3" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_B845A65EA903F10DDF26548AAEE6E47B" xlink:to="loc_us-gaap_CapitalizedComputerSoftwareNet_B86F44B0D5DB3C68CD2E548AAEE6B1F3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsStockRotationAccrualDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/BalanceSheetComponentsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/CommitmentsAndContingenciesContingenciesAndIndemnitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_16CB8990CF8B532981EBB58B6B5E987B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_44AA805525C65BE3B8C9E93D49ADAF55" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_16CB8990CF8B532981EBB58B6B5E987B" xlink:to="loc_us-gaap_LossContingenciesTable_44AA805525C65BE3B8C9E93D49ADAF55" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingenciesByNatureOfContingencyAxis" xlink:label="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_EADFD57EF7775585B0CB00542D7E3F47" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_44AA805525C65BE3B8C9E93D49ADAF55" xlink:to="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_EADFD57EF7775585B0CB00542D7E3F47" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyNatureDomain" xlink:label="loc_us-gaap_LossContingencyNatureDomain_4250B340AE930CCBB777F6E5F59B0EEB_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_EADFD57EF7775585B0CB00542D7E3F47" xlink:to="loc_us-gaap_LossContingencyNatureDomain_4250B340AE930CCBB777F6E5F59B0EEB_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyNatureDomain" xlink:label="loc_us-gaap_LossContingencyNatureDomain_0C83E30C868857B0AB13526DD9509FA3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_EADFD57EF7775585B0CB00542D7E3F47" xlink:to="loc_us-gaap_LossContingencyNatureDomain_0C83E30C868857B0AB13526DD9509FA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IndemnificationGuaranteeMember" xlink:label="loc_us-gaap_IndemnificationGuaranteeMember_BE1391C264425478A91B54BBCE93D4EA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingencyNatureDomain_0C83E30C868857B0AB13526DD9509FA3" xlink:to="loc_us-gaap_IndemnificationGuaranteeMember_BE1391C264425478A91B54BBCE93D4EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyAccrualAtCarryingValue" xlink:label="loc_us-gaap_LossContingencyAccrualAtCarryingValue_C2ED130A051355BD9195E0FC98B10753" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_16CB8990CF8B532981EBB58B6B5E987B" xlink:to="loc_us-gaap_LossContingencyAccrualAtCarryingValue_C2ED130A051355BD9195E0FC98B10753" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/CommitmentsAndContingenciesJointVentureDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems" xlink:label="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_EDC29364ABA304C44FA864231A0AEFA2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable" xlink:label="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_694A0DF4DBDE98D464BA64231A0AE0F8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_EDC29364ABA304C44FA864231A0AEFA2" xlink:to="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_694A0DF4DBDE98D464BA64231A0AE0F8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_233A5272969D4725BD8364231A0AC06B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_694A0DF4DBDE98D464BA64231A0AE0F8" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_233A5272969D4725BD8364231A0AC06B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_35348B12A1F63CAD233264231A0A0511_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_233A5272969D4725BD8364231A0AC06B" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_35348B12A1F63CAD233264231A0A0511_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_35348B12A1F63CAD233264231A0A0511" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_233A5272969D4725BD8364231A0AC06B" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_35348B12A1F63CAD233264231A0A0511" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_FacilityinLiangjiangNewAreaofChongqingtheJointVentureMember" xlink:label="loc_aosl_FacilityinLiangjiangNewAreaofChongqingtheJointVentureMember_ADF0F5A25ADE2EC63D7B64231A0A2CA8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityMethodInvesteeNameDomain_35348B12A1F63CAD233264231A0A0511" xlink:to="loc_aosl_FacilityinLiangjiangNewAreaofChongqingtheJointVentureMember_ADF0F5A25ADE2EC63D7B64231A0A2CA8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_852DF066C8AE78F996A064231A0A7F6D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_694A0DF4DBDE98D464BA64231A0AE0F8" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_852DF066C8AE78F996A064231A0A7F6D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_84DF66E973374826CC0E64231A0AA137_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_852DF066C8AE78F996A064231A0A7F6D" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_84DF66E973374826CC0E64231A0AA137_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_84DF66E973374826CC0E64231A0AA137" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_852DF066C8AE78F996A064231A0A7F6D" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_84DF66E973374826CC0E64231A0AA137" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_5958294977ED78CDB25F64231A0AC72E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_84DF66E973374826CC0E64231A0AA137" xlink:to="loc_us-gaap_SubsequentEventMember_5958294977ED78CDB25F64231A0AC72E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_C15321A45EE1A30FF65E64231A0AC36D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_694A0DF4DBDE98D464BA64231A0AE0F8" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_C15321A45EE1A30FF65E64231A0AC36D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_527E17EA7C92D8B6421A64231A0A605C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_C15321A45EE1A30FF65E64231A0AC36D" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_527E17EA7C92D8B6421A64231A0A605C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_527E17EA7C92D8B6421A64231A0A605C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_C15321A45EE1A30FF65E64231A0AC36D" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_527E17EA7C92D8B6421A64231A0A605C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_E0D15B5A928854FDFE0364231A0AD88A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_527E17EA7C92D8B6421A64231A0A605C" xlink:to="loc_us-gaap_ParentCompanyMember_E0D15B5A928854FDFE0364231A0AD88A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_AE0309BCBC27AFFE584364231A0AAFC8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_694A0DF4DBDE98D464BA64231A0AE0F8" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_AE0309BCBC27AFFE584364231A0AAFC8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_892BA7D530F491EFB5B264231A0AA4C2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_AE0309BCBC27AFFE584364231A0AAFC8" xlink:to="loc_us-gaap_RelatedPartyDomain_892BA7D530F491EFB5B264231A0AA4C2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_892BA7D530F491EFB5B264231A0AA4C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_AE0309BCBC27AFFE584364231A0AAFC8" xlink:to="loc_us-gaap_RelatedPartyDomain_892BA7D530F491EFB5B264231A0AA4C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CorporateJointVentureMember" xlink:label="loc_us-gaap_CorporateJointVentureMember_6FA4B28D1CE851D6EBB064231A0AB614" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_892BA7D530F491EFB5B264231A0AA4C2" xlink:to="loc_us-gaap_CorporateJointVentureMember_6FA4B28D1CE851D6EBB064231A0AB614" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentsAxis" xlink:label="loc_us-gaap_OtherCommitmentsAxis_CD99B59E72C0A9FE912164231A0A74BD" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_694A0DF4DBDE98D464BA64231A0AE0F8" xlink:to="loc_us-gaap_OtherCommitmentsAxis_CD99B59E72C0A9FE912164231A0A74BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentsDomain" xlink:label="loc_us-gaap_OtherCommitmentsDomain_0B8BD712EF82C5224EBE64231A0A8CD3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OtherCommitmentsAxis_CD99B59E72C0A9FE912164231A0A74BD" xlink:to="loc_us-gaap_OtherCommitmentsDomain_0B8BD712EF82C5224EBE64231A0A8CD3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentsDomain" xlink:label="loc_us-gaap_OtherCommitmentsDomain_0B8BD712EF82C5224EBE64231A0A8CD3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OtherCommitmentsAxis_CD99B59E72C0A9FE912164231A0A74BD" xlink:to="loc_us-gaap_OtherCommitmentsDomain_0B8BD712EF82C5224EBE64231A0A8CD3" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_DesignFeesMember" xlink:label="loc_aosl_DesignFeesMember_07DEBE7B3C94B8DF0B4A64231A0A1892" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_0B8BD712EF82C5224EBE64231A0A8CD3" xlink:to="loc_aosl_DesignFeesMember_07DEBE7B3C94B8DF0B4A64231A0A1892" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ConstructionandProcurementFeesMember" xlink:label="loc_aosl_ConstructionandProcurementFeesMember_29990F38C66E1F64FA8C64231A0AC5FE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_0B8BD712EF82C5224EBE64231A0A8CD3" xlink:to="loc_aosl_ConstructionandProcurementFeesMember_29990F38C66E1F64FA8C64231A0AC5FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireInterestInJointVenture" xlink:label="loc_us-gaap_PaymentsToAcquireInterestInJointVenture_83AD9FF37715C6BA010D64231A0A7467" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_EDC29364ABA304C44FA864231A0AEFA2" xlink:to="loc_us-gaap_PaymentsToAcquireInterestInJointVenture_83AD9FF37715C6BA010D64231A0A7467" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractualObligation" xlink:label="loc_us-gaap_ContractualObligation_A5121003F4A66EE87F8064231A0A5A9E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_EDC29364ABA304C44FA864231A0AEFA2" xlink:to="loc_us-gaap_ContractualObligation_A5121003F4A66EE87F8064231A0A5A9E" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ContractualObligationFutureMinimumPaymentsDueRemainderofCalendarYear" xlink:label="loc_aosl_ContractualObligationFutureMinimumPaymentsDueRemainderofCalendarYear_A424933970561FB2F83064231A145866" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_EDC29364ABA304C44FA864231A0AEFA2" xlink:to="loc_aosl_ContractualObligationFutureMinimumPaymentsDueRemainderofCalendarYear_A424933970561FB2F83064231A145866" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractualObligationDueInSecondYear" xlink:label="loc_us-gaap_ContractualObligationDueInSecondYear_738E6E86160891E4162864231A14FAF2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_EDC29364ABA304C44FA864231A0AEFA2" xlink:to="loc_us-gaap_ContractualObligationDueInSecondYear_738E6E86160891E4162864231A14FAF2" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ContractualObligationPayment" xlink:label="loc_aosl_ContractualObligationPayment_4BBA452E25D59D145E7F64231A142041" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_EDC29364ABA304C44FA864231A0AEFA2" xlink:to="loc_aosl_ContractualObligationPayment_4BBA452E25D59D145E7F64231A142041" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/CommitmentsAndContingenciesOperatingLeasesObligationsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/CommitmentsAndContingenciesPurchaseCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PurchaseCommitmentExcludingLongtermCommitmentLineItems" xlink:label="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentLineItems_1E3A0B6A8DE75D38BB4F606E795D8C1D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PurchaseCommitmentExcludingLongtermCommitmentTable" xlink:label="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentTable_369FE6260C8E5C97B42C82926AAC5741" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentLineItems_1E3A0B6A8DE75D38BB4F606E795D8C1D" xlink:to="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentTable_369FE6260C8E5C97B42C82926AAC5741" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PurchaseCommitmentExcludingLongtermCommitmentAxis" xlink:label="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentAxis_4565804ADD3D57BDB82C1F3397F9F3BF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentTable_369FE6260C8E5C97B42C82926AAC5741" xlink:to="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentAxis_4565804ADD3D57BDB82C1F3397F9F3BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PurchaseCommitmentExcludingLongtermCommitmentDomain" xlink:label="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentDomain_3699A0CBF1CCDE350450F1FF64AA50D2_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentAxis_4565804ADD3D57BDB82C1F3397F9F3BF" xlink:to="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentDomain_3699A0CBF1CCDE350450F1FF64AA50D2_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PurchaseCommitmentExcludingLongtermCommitmentDomain" xlink:label="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentDomain_46275247A5B45820885CE88C67F2E5AB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentAxis_4565804ADD3D57BDB82C1F3397F9F3BF" xlink:to="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentDomain_46275247A5B45820885CE88C67F2E5AB" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_InventoriesAndServicesMember" xlink:label="loc_aosl_InventoriesAndServicesMember_04DE3636A08058EE8F66E7996D943537" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentDomain_46275247A5B45820885CE88C67F2E5AB" xlink:to="loc_aosl_InventoriesAndServicesMember_04DE3636A08058EE8F66E7996D943537" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalAdditionsMember" xlink:label="loc_us-gaap_CapitalAdditionsMember_9753BB5BAED85C37BD7917F20EAD7528" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentDomain_46275247A5B45820885CE88C67F2E5AB" xlink:to="loc_us-gaap_CapitalAdditionsMember_9753BB5BAED85C37BD7917F20EAD7528" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PurchaseCommitmentRemainingMinimumAmountCommitted" xlink:label="loc_us-gaap_PurchaseCommitmentRemainingMinimumAmountCommitted_C080CC4193885D668373572A4D89609C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentLineItems_1E3A0B6A8DE75D38BB4F606E795D8C1D" xlink:to="loc_us-gaap_PurchaseCommitmentRemainingMinimumAmountCommitted_C080CC4193885D668373572A4D89609C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/CompanyAndSignificantAccountingPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/CompanyAndSignificantAccountingPoliciesDetails" xlink:type="extended">
    <link:loc xlink:href="aosl-20180630.xsd#aosl_SignificantAccountingPoliciesLineItems" xlink:label="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:type="locator" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_SignificantAccountingPoliciesTable" xlink:label="loc_aosl_SignificantAccountingPoliciesTable_1647B24641FEF8D199E363A96D3E5E79" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:to="loc_aosl_SignificantAccountingPoliciesTable_1647B24641FEF8D199E363A96D3E5E79" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_917B78B0EF56BA4FEEEB63A96D3E8965" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aosl_SignificantAccountingPoliciesTable_1647B24641FEF8D199E363A96D3E5E79" xlink:to="loc_dei_LegalEntityAxis_917B78B0EF56BA4FEEEB63A96D3E8965" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_BCEDDE7F5A46795EE51163A96D3E3E78_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_917B78B0EF56BA4FEEEB63A96D3E8965" xlink:to="loc_dei_EntityDomain_BCEDDE7F5A46795EE51163A96D3E3E78_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_BCEDDE7F5A46795EE51163A96D3E3E78" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_917B78B0EF56BA4FEEEB63A96D3E8965" xlink:to="loc_dei_EntityDomain_BCEDDE7F5A46795EE51163A96D3E3E78" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ChongqingFundsMember" xlink:label="loc_aosl_ChongqingFundsMember_D4AF2D7D7D48563A384763A96D3EBADC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_BCEDDE7F5A46795EE51163A96D3E3E78" xlink:to="loc_aosl_ChongqingFundsMember_D4AF2D7D7D48563A384763A96D3EBADC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_1D456776141B86CC04CA63A96D3EB9FC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aosl_SignificantAccountingPoliciesTable_1647B24641FEF8D199E363A96D3E5E79" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_1D456776141B86CC04CA63A96D3EB9FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_484C000CA8D605C52D3363A96D3EC7E0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_1D456776141B86CC04CA63A96D3EB9FC" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_484C000CA8D605C52D3363A96D3EC7E0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_484C000CA8D605C52D3363A96D3EC7E0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_1D456776141B86CC04CA63A96D3EB9FC" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_484C000CA8D605C52D3363A96D3EC7E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_9BCC8550600E51EBC43063A96D3EA5A6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_484C000CA8D605C52D3363A96D3EC7E0" xlink:to="loc_us-gaap_ParentCompanyMember_9BCC8550600E51EBC43063A96D3EA5A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_2919718D945557FC290363A96D3EA457" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aosl_SignificantAccountingPoliciesTable_1647B24641FEF8D199E363A96D3E5E79" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_2919718D945557FC290363A96D3EA457" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_DF86941A1E47B72D191463A96D3E4F91_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_2919718D945557FC290363A96D3EA457" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_DF86941A1E47B72D191463A96D3E4F91_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_DF86941A1E47B72D191463A96D3E4F91" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_2919718D945557FC290363A96D3EA457" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_DF86941A1E47B72D191463A96D3E4F91" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_FacilityinLiangjiangNewAreaofChongqingtheJointVentureMember" xlink:label="loc_aosl_FacilityinLiangjiangNewAreaofChongqingtheJointVentureMember_4F416FE0142ED2A04FDB63A96D3EBF7D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityMethodInvesteeNameDomain_DF86941A1E47B72D191463A96D3E4F91" xlink:to="loc_aosl_FacilityinLiangjiangNewAreaofChongqingtheJointVentureMember_4F416FE0142ED2A04FDB63A96D3EBF7D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_B725194A90B81C9374AB63A96D3ED1A6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aosl_SignificantAccountingPoliciesTable_1647B24641FEF8D199E363A96D3E5E79" xlink:to="loc_us-gaap_StatementScenarioAxis_B725194A90B81C9374AB63A96D3ED1A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_3A0DDFF6D251C76BB68E63A96D3ECB8A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_B725194A90B81C9374AB63A96D3ED1A6" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_3A0DDFF6D251C76BB68E63A96D3ECB8A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_3A0DDFF6D251C76BB68E63A96D3ECB8A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_B725194A90B81C9374AB63A96D3ED1A6" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_3A0DDFF6D251C76BB68E63A96D3ECB8A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_00ECC7C5AD96B67C48A863A96D3EA149" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aosl_SignificantAccountingPoliciesTable_1647B24641FEF8D199E363A96D3E5E79" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_00ECC7C5AD96B67C48A863A96D3EA149" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_04175704EF2E87550EF163A96D3EAB22_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_00ECC7C5AD96B67C48A863A96D3EA149" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_04175704EF2E87550EF163A96D3EAB22_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_04175704EF2E87550EF163A96D3EAB22" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_00ECC7C5AD96B67C48A863A96D3EA149" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_04175704EF2E87550EF163A96D3EAB22" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SupplierConcentrationRiskMember" xlink:label="loc_us-gaap_SupplierConcentrationRiskMember_9FD7355E8AAED546488A63A96D3E0C79" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_04175704EF2E87550EF163A96D3EAB22" xlink:to="loc_us-gaap_SupplierConcentrationRiskMember_9FD7355E8AAED546488A63A96D3E0C79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_68B008DCDD9ED842DD9163A96D3E112A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aosl_SignificantAccountingPoliciesTable_1647B24641FEF8D199E363A96D3E5E79" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_68B008DCDD9ED842DD9163A96D3E112A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_410FA9EB72B6286041C263A96D3E30D7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_68B008DCDD9ED842DD9163A96D3E112A" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_410FA9EB72B6286041C263A96D3E30D7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_410FA9EB72B6286041C263A96D3E30D7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_68B008DCDD9ED842DD9163A96D3E112A" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_410FA9EB72B6286041C263A96D3E30D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfGoodsProductLineMember" xlink:label="loc_us-gaap_CostOfGoodsProductLineMember_4536AEB22B1A3C84EC0763A96D3E39D3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_410FA9EB72B6286041C263A96D3E30D7" xlink:to="loc_us-gaap_CostOfGoodsProductLineMember_4536AEB22B1A3C84EC0763A96D3E39D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_AA14ECE32C517ABB786663A96D3ED157" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aosl_SignificantAccountingPoliciesTable_1647B24641FEF8D199E363A96D3E5E79" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_AA14ECE32C517ABB786663A96D3ED157" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_623D8E3228D3F5B8ABD463A96D3E7B1D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_AA14ECE32C517ABB786663A96D3ED157" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_623D8E3228D3F5B8ABD463A96D3E7B1D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_623D8E3228D3F5B8ABD463A96D3E7B1D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_AA14ECE32C517ABB786663A96D3ED157" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_623D8E3228D3F5B8ABD463A96D3E7B1D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PatentsMember" xlink:label="loc_us-gaap_PatentsMember_430E1473ECC04CA8E7A363A96D485144" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_623D8E3228D3F5B8ABD463A96D3E7B1D" xlink:to="loc_us-gaap_PatentsMember_430E1473ECC04CA8E7A363A96D485144" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TradeNamesMember" xlink:label="loc_us-gaap_TradeNamesMember_7E6745FFD6B978867C9D63A96D48FA80" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_623D8E3228D3F5B8ABD463A96D3E7B1D" xlink:to="loc_us-gaap_TradeNamesMember_7E6745FFD6B978867C9D63A96D48FA80" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_46FED652D0BFA87D023463A96D4881CB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_623D8E3228D3F5B8ABD463A96D3E7B1D" xlink:to="loc_us-gaap_CustomerRelationshipsMember_46FED652D0BFA87D023463A96D4881CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_68C806E83B2E66FFEA7663A96D485FF4" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aosl_SignificantAccountingPoliciesTable_1647B24641FEF8D199E363A96D3E5E79" xlink:to="loc_us-gaap_RangeAxis_68C806E83B2E66FFEA7663A96D485FF4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_A71136C5A1ECED19096263A96D484D52_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_68C806E83B2E66FFEA7663A96D485FF4" xlink:to="loc_us-gaap_RangeMember_A71136C5A1ECED19096263A96D484D52_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_A71136C5A1ECED19096263A96D484D52" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_68C806E83B2E66FFEA7663A96D485FF4" xlink:to="loc_us-gaap_RangeMember_A71136C5A1ECED19096263A96D484D52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_29235F9F3D625F04766D63A96D481D99" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_A71136C5A1ECED19096263A96D484D52" xlink:to="loc_us-gaap_MinimumMember_29235F9F3D625F04766D63A96D481D99" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_86B41CC4B32530FEF45363A96D488B54" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_A71136C5A1ECED19096263A96D484D52" xlink:to="loc_us-gaap_MaximumMember_86B41CC4B32530FEF45363A96D488B54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_3D5BBF2765FDB628588A63A96D48AB25" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aosl_SignificantAccountingPoliciesTable_1647B24641FEF8D199E363A96D3E5E79" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_3D5BBF2765FDB628588A63A96D48AB25" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4BBD33AC71AB6709C3E563A96D48DF7E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_3D5BBF2765FDB628588A63A96D48AB25" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4BBD33AC71AB6709C3E563A96D48DF7E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4BBD33AC71AB6709C3E563A96D48DF7E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_3D5BBF2765FDB628588A63A96D48AB25" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4BBD33AC71AB6709C3E563A96D48DF7E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember_AB3008FAEA9ACB775F4B63A96D48EB95" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4BBD33AC71AB6709C3E563A96D48DF7E" xlink:to="loc_us-gaap_BuildingMember_AB3008FAEA9ACB775F4B63A96D48EB95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MachineryAndEquipmentMember" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_979B9D9884303F0FDC1D63A96D48031F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4BBD33AC71AB6709C3E563A96D48DF7E" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_979B9D9884303F0FDC1D63A96D48031F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquipmentMember" xlink:label="loc_us-gaap_EquipmentMember_C15804EFA8084F3D555963A96D485032" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4BBD33AC71AB6709C3E563A96D48DF7E" xlink:to="loc_us-gaap_EquipmentMember_C15804EFA8084F3D555963A96D485032" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComputerEquipmentMember" xlink:label="loc_us-gaap_ComputerEquipmentMember_7B9510EA5CCF49327C8863A96D4828B5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4BBD33AC71AB6709C3E563A96D48DF7E" xlink:to="loc_us-gaap_ComputerEquipmentMember_7B9510EA5CCF49327C8863A96D4828B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OfficeEquipmentMember" xlink:label="loc_us-gaap_OfficeEquipmentMember_2C5AB113FB2D7C05E23563A96D4873A6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4BBD33AC71AB6709C3E563A96D48DF7E" xlink:to="loc_us-gaap_OfficeEquipmentMember_2C5AB113FB2D7C05E23563A96D4873A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_8F46A37E3A24318FCD3263A96D48BC06" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4BBD33AC71AB6709C3E563A96D48DF7E" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_8F46A37E3A24318FCD3263A96D48BC06" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_LandUseRightsMember" xlink:label="loc_aosl_LandUseRightsMember_82E5E32A43358989A20563A96D486A92" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4BBD33AC71AB6709C3E563A96D48DF7E" xlink:to="loc_aosl_LandUseRightsMember_82E5E32A43358989A20563A96D486A92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_B7EFB3257B03121C161663A96D48DB95" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4BBD33AC71AB6709C3E563A96D48DF7E" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_B7EFB3257B03121C161663A96D48DB95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_315D783E892CEBAB832863A96D483E90" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aosl_SignificantAccountingPoliciesTable_1647B24641FEF8D199E363A96D3E5E79" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_315D783E892CEBAB832863A96D483E90" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_994F8D67FA479209BAD863A96D480EE6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_315D783E892CEBAB832863A96D483E90" xlink:to="loc_us-gaap_TypeOfAdoptionMember_994F8D67FA479209BAD863A96D480EE6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_994F8D67FA479209BAD863A96D480EE6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_315D783E892CEBAB832863A96D483E90" xlink:to="loc_us-gaap_TypeOfAdoptionMember_994F8D67FA479209BAD863A96D480EE6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201616Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201616Member_F0AE23A16D890091AF9B63A96D4882EB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_994F8D67FA479209BAD863A96D480EE6" xlink:to="loc_us-gaap_AccountingStandardsUpdate201616Member_F0AE23A16D890091AF9B63A96D4882EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_F447EB3CCD0EFEC2E01663A96D48AB24" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_994F8D67FA479209BAD863A96D480EE6" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_F447EB3CCD0EFEC2E01663A96D48AB24" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_84E6A5AFE049D36C888363A96D48FA60" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aosl_SignificantAccountingPoliciesTable_1647B24641FEF8D199E363A96D3E5E79" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_84E6A5AFE049D36C888363A96D48FA60" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_9A274C4B3600B39FB3BE63A96D48A72E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_84E6A5AFE049D36C888363A96D48FA60" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_9A274C4B3600B39FB3BE63A96D48A72E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_9A274C4B3600B39FB3BE63A96D48A72E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_84E6A5AFE049D36C888363A96D48FA60" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_9A274C4B3600B39FB3BE63A96D48A72E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member" xlink:label="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_D8DCE623415610699A4563A96D484563" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_9A274C4B3600B39FB3BE63A96D48A72E" xlink:to="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_D8DCE623415610699A4563A96D484563" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_DF91E21DF0C7399FBCFB63A96D4879A5" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aosl_SignificantAccountingPoliciesTable_1647B24641FEF8D199E363A96D3E5E79" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_DF91E21DF0C7399FBCFB63A96D4879A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_306DFE3EE3A8B1574F9163A96D4817C6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_DF91E21DF0C7399FBCFB63A96D4879A5" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_306DFE3EE3A8B1574F9163A96D4817C6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_306DFE3EE3A8B1574F9163A96D4817C6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_DF91E21DF0C7399FBCFB63A96D4879A5" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_306DFE3EE3A8B1574F9163A96D4817C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_BB8AAE7F1AC90B501D2563A96D48F086" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_306DFE3EE3A8B1574F9163A96D4817C6" xlink:to="loc_us-gaap_SubsequentEventMember_BB8AAE7F1AC90B501D2563A96D48F086" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetImpairmentCharges" xlink:label="loc_us-gaap_AssetImpairmentCharges_582010505D3793C2C59363A96D488C71" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:to="loc_us-gaap_AssetImpairmentCharges_582010505D3793C2C59363A96D488C71" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValue" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValue_46A487EC4C9C37A68FCC63A96D4809F6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:to="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValue_46A487EC4C9C37A68FCC63A96D4809F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_ED26A7EEA2807A5F7B8963A96D48E613" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:to="loc_us-gaap_NetIncomeLoss_ED26A7EEA2807A5F7B8963A96D48E613" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_0A89D159F1DDF03CDBCA63A96D48FF58" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_0A89D159F1DDF03CDBCA63A96D48FF58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_22DCD5521BC7425401F963A96D486D44" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_22DCD5521BC7425401F963A96D486D44" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_LengthOfEconomicBenefitToCapitalizeInternalUseSoftwareDevelopmentCosts" xlink:label="loc_aosl_LengthOfEconomicBenefitToCapitalizeInternalUseSoftwareDevelopmentCosts_7E2FACD0BD9A1A35315063A96D48A97C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:to="loc_aosl_LengthOfEconomicBenefitToCapitalizeInternalUseSoftwareDevelopmentCosts_7E2FACD0BD9A1A35315063A96D48A97C" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_LengthOfProductWarranty" xlink:label="loc_aosl_LengthOfProductWarranty_62F6EDA9DAD543AECFBE63A96D48F6D9" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:to="loc_aosl_LengthOfProductWarranty_62F6EDA9DAD543AECFBE63A96D48F6D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdvertisingExpense" xlink:label="loc_us-gaap_AdvertisingExpense_C9C28452E22433168CC363A96D48BE72" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:to="loc_us-gaap_AdvertisingExpense_C9C28452E22433168CC363A96D48BE72" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_DC5871C493ADE8BA96DE63A96D48989A" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_DC5871C493ADE8BA96DE63A96D48989A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesNoncurrent_F1C032C1EA0C1E99BC9F63A96D48FD5A" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesNoncurrent_F1C032C1EA0C1E99BC9F63A96D48FD5A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsidiaryOrEquityMethodInvesteeCumulativePercentageOwnershipAfterAllTransactions" xlink:label="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeCumulativePercentageOwnershipAfterAllTransactions_F40D08B2AD33D3A07F9363A96D48A701" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:to="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeCumulativePercentageOwnershipAfterAllTransactions_F40D08B2AD33D3A07F9363A96D48A701" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GoodwillImpairmentLoss" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_0A5187BDBCF20735C44763A96D482248" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_0A5187BDBCF20735C44763A96D482248" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidTaxes" xlink:label="loc_us-gaap_PrepaidTaxes_1FB741B37E27968FD27A63A96D48B440" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:to="loc_us-gaap_PrepaidTaxes_1FB741B37E27968FD27A63A96D48B440" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PrepaidTaxesResultingFromIntercompanyTransactions" xlink:label="loc_aosl_PrepaidTaxesResultingFromIntercompanyTransactions_92D6238F1D136972BECC63A96D484F69" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:to="loc_aosl_PrepaidTaxesResultingFromIntercompanyTransactions_92D6238F1D136972BECC63A96D484F69" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_3C5CC9872423F2B0499D63A96D480B93" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:to="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_3C5CC9872423F2B0499D63A96D480B93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowancesAndReservesBalance" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesBalance_47058BDA54A6E203F0DE63A96D489B31" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesBalance_47058BDA54A6E203F0DE63A96D489B31" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_4B498BE67D1B3444146963A96D48829B" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_SignificantAccountingPoliciesLineItems_FB110FF93539E6E04F2C63A96D481614" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_4B498BE67D1B3444146963A96D48829B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/CompanyAndSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/CompanyAndSignificantAccountingPoliciesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ConcentrationOfCreditRiskAndSignificantCustomers" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ConcentrationOfCreditRiskAndSignificantCustomersDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskLineItems" xlink:label="loc_us-gaap_ConcentrationRiskLineItems_EB8CC33602E89614D4F349F05D160B9C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskTable" xlink:label="loc_us-gaap_ConcentrationRiskTable_AB9DD726E14BFE46F85249F05D16665F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_EB8CC33602E89614D4F349F05D160B9C" xlink:to="loc_us-gaap_ConcentrationRiskTable_AB9DD726E14BFE46F85249F05D16665F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorCustomersAxis" xlink:label="loc_us-gaap_MajorCustomersAxis_1ADFED1B9D1B8FFC5EB049F05D167A38" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_AB9DD726E14BFE46F85249F05D16665F" xlink:to="loc_us-gaap_MajorCustomersAxis_1ADFED1B9D1B8FFC5EB049F05D167A38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_D3A8BB7A23F259D446C249F05D16E418_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorCustomersAxis_1ADFED1B9D1B8FFC5EB049F05D167A38" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_D3A8BB7A23F259D446C249F05D16E418_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_D3A8BB7A23F259D446C249F05D16E418" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorCustomersAxis_1ADFED1B9D1B8FFC5EB049F05D167A38" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_D3A8BB7A23F259D446C249F05D16E418" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_CustomerMember" xlink:label="loc_aosl_CustomerMember_316BB746AE209D89C76949F05D16E77B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_D3A8BB7A23F259D446C249F05D16E418" xlink:to="loc_aosl_CustomerMember_316BB746AE209D89C76949F05D16E77B" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_CustomerBMember" xlink:label="loc_aosl_CustomerBMember_3CDE7A14E8064A3DF8BC49F05D16B718" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_D3A8BB7A23F259D446C249F05D16E418" xlink:to="loc_aosl_CustomerBMember_3CDE7A14E8064A3DF8BC49F05D16B718" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_CustomerCMember" xlink:label="loc_aosl_CustomerCMember_B669D9FD733E31B6B6A349F05D16459E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_D3A8BB7A23F259D446C249F05D16E418" xlink:to="loc_aosl_CustomerCMember_B669D9FD733E31B6B6A349F05D16459E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_44916BFFF84283A6197649F05D163459" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_AB9DD726E14BFE46F85249F05D16665F" xlink:to="loc_us-gaap_RangeAxis_44916BFFF84283A6197649F05D163459" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_26AE3BB220A78DD9215949F05D1695F1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_44916BFFF84283A6197649F05D163459" xlink:to="loc_us-gaap_RangeMember_26AE3BB220A78DD9215949F05D1695F1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_26AE3BB220A78DD9215949F05D1695F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_44916BFFF84283A6197649F05D163459" xlink:to="loc_us-gaap_RangeMember_26AE3BB220A78DD9215949F05D1695F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_74F9132C69A2263B66C749F05D16544A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_26AE3BB220A78DD9215949F05D1695F1" xlink:to="loc_us-gaap_MinimumMember_74F9132C69A2263B66C749F05D16544A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_C8A4252430A8CB55FC6B49F05D169647" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_26AE3BB220A78DD9215949F05D1695F1" xlink:to="loc_us-gaap_MaximumMember_C8A4252430A8CB55FC6B49F05D169647" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_0BA923C163775891E4E249F05D16CD36" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_AB9DD726E14BFE46F85249F05D16665F" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_0BA923C163775891E4E249F05D16CD36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_3DDC114BD2A44EDBF8AC49F05D16257E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_0BA923C163775891E4E249F05D16CD36" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_3DDC114BD2A44EDBF8AC49F05D16257E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_3DDC114BD2A44EDBF8AC49F05D16257E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_0BA923C163775891E4E249F05D16CD36" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_3DDC114BD2A44EDBF8AC49F05D16257E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesRevenueGoodsNetMember" xlink:label="loc_us-gaap_SalesRevenueGoodsNetMember_FA40B861E5B8FF7F247B49F05D16B048" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_3DDC114BD2A44EDBF8AC49F05D16257E" xlink:to="loc_us-gaap_SalesRevenueGoodsNetMember_FA40B861E5B8FF7F247B49F05D16B048" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsReceivableMember" xlink:label="loc_us-gaap_AccountsReceivableMember_37E5B73C0953D28F8A8949F05D168700" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_3DDC114BD2A44EDBF8AC49F05D16257E" xlink:to="loc_us-gaap_AccountsReceivableMember_37E5B73C0953D28F8A8949F05D168700" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_0AF2DC6578EFEF97C0AF49F05D162124" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_AB9DD726E14BFE46F85249F05D16665F" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_0AF2DC6578EFEF97C0AF49F05D162124" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_A9E79D103EC94A6B4B9349F05D161D1F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_0AF2DC6578EFEF97C0AF49F05D162124" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_A9E79D103EC94A6B4B9349F05D161D1F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_A9E79D103EC94A6B4B9349F05D161D1F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_0AF2DC6578EFEF97C0AF49F05D162124" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_A9E79D103EC94A6B4B9349F05D161D1F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CustomerConcentrationRiskMember" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_3347490D0F675872230F49F05D16EE13" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_A9E79D103EC94A6B4B9349F05D161D1F" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_3347490D0F675872230F49F05D16EE13" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ConcentrationOfCreditRiskTermsOfSalesOnCredit" xlink:label="loc_aosl_ConcentrationOfCreditRiskTermsOfSalesOnCredit_19F20FBF2D8B149C2EED49F05D160D88" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_EB8CC33602E89614D4F349F05D160B9C" xlink:to="loc_aosl_ConcentrationOfCreditRiskTermsOfSalesOnCredit_19F20FBF2D8B149C2EED49F05D160D88" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_1DEA12992770D79718E849F05D168338" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_EB8CC33602E89614D4F349F05D160B9C" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_1DEA12992770D79718E849F05D168338" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ConcentrationOfCreditRiskAndSignificantCustomersTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ConsolidatedBalanceSheets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_2770C0332D0155BDA631BE6A88E03DCF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_56625AC3ECD75F14A596609B90775E4C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_2770C0332D0155BDA631BE6A88E03DCF" xlink:to="loc_us-gaap_StatementTable_56625AC3ECD75F14A596609B90775E4C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_AF7DE4CB0B4156928C0483551F6BD15F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_56625AC3ECD75F14A596609B90775E4C" xlink:to="loc_us-gaap_StatementScenarioAxis_AF7DE4CB0B4156928C0483551F6BD15F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_DE1136CCED94B16CBB4FF1FF65C2D81C_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_AF7DE4CB0B4156928C0483551F6BD15F" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_DE1136CCED94B16CBB4FF1FF65C2D81C_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_99F5450CAB4F5EC9AE79B11145016687" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_AF7DE4CB0B4156928C0483551F6BD15F" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_99F5450CAB4F5EC9AE79B11145016687" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_C5BB2D98E30B52FB932A0C480D9F463A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2770C0332D0155BDA631BE6A88E03DCF" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_C5BB2D98E30B52FB932A0C480D9F463A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_316B6E7C23EA5A118B6FD27194A98906" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2770C0332D0155BDA631BE6A88E03DCF" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_316B6E7C23EA5A118B6FD27194A98906" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_73614851FA4553A8B8F508F5B5E54CDA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2770C0332D0155BDA631BE6A88E03DCF" xlink:to="loc_us-gaap_CommonStockSharesIssued_73614851FA4553A8B8F508F5B5E54CDA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_D52F802EC80A5AE3B57B10F8C16E8131" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2770C0332D0155BDA631BE6A88E03DCF" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_D52F802EC80A5AE3B57B10F8C16E8131" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_D4C7A62E540B55C6B8E4D7C3DA9BF615" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2770C0332D0155BDA631BE6A88E03DCF" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_D4C7A62E540B55C6B8E4D7C3DA9BF615" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_D432185A29F4520A85DF48F76EE8EC8A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2770C0332D0155BDA631BE6A88E03DCF" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_D432185A29F4520A85DF48F76EE8EC8A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="loc_us-gaap_PreferredStockSharesIssued_046B50A7588957B7B21419582019BD5F" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2770C0332D0155BDA631BE6A88E03DCF" xlink:to="loc_us-gaap_PreferredStockSharesIssued_046B50A7588957B7B21419582019BD5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesOutstanding" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_31D36B24248D5844BE643B94CD729678" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2770C0332D0155BDA631BE6A88E03DCF" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_31D36B24248D5844BE643B94CD729678" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockShares" xlink:label="loc_us-gaap_TreasuryStockShares_4B09F856811E558FA041BD829F549439" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2770C0332D0155BDA631BE6A88E03DCF" xlink:to="loc_us-gaap_TreasuryStockShares_4B09F856811E558FA041BD829F549439" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ConsolidatedStatementsOfOperations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ConsolidatedStatementsOfShareholdersEquity" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_F0458092EC1C1133BA855EDE86952AA8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_8384FC8C168C3BF4774B5EDE8695CB28" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_F0458092EC1C1133BA855EDE86952AA8" xlink:to="loc_us-gaap_StatementTable_8384FC8C168C3BF4774B5EDE8695CB28" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_DD9874E5CB2559FAAD665EDE8695F584" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8384FC8C168C3BF4774B5EDE8695CB28" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_DD9874E5CB2559FAAD665EDE8695F584" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_253D976935F02E11678F5EDE869509BB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_DD9874E5CB2559FAAD665EDE8695F584" xlink:to="loc_us-gaap_TypeOfAdoptionMember_253D976935F02E11678F5EDE869509BB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_253D976935F02E11678F5EDE869509BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_DD9874E5CB2559FAAD665EDE8695F584" xlink:to="loc_us-gaap_TypeOfAdoptionMember_253D976935F02E11678F5EDE869509BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201616Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201616Member_3E34436E272A5DD60D8C5EDE86954210" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_253D976935F02E11678F5EDE869509BB" xlink:to="loc_us-gaap_AccountingStandardsUpdate201616Member_3E34436E272A5DD60D8C5EDE86954210" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_F8E8E8C88FA90FD99B645EDE8695A895" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8384FC8C168C3BF4774B5EDE8695CB28" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_F8E8E8C88FA90FD99B645EDE8695A895" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_E85A354689BFE614653A5EDE86952B93_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_F8E8E8C88FA90FD99B645EDE8695A895" xlink:to="loc_us-gaap_EquityComponentDomain_E85A354689BFE614653A5EDE86952B93_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_E85A354689BFE614653A5EDE86952B93" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_F8E8E8C88FA90FD99B645EDE8695A895" xlink:to="loc_us-gaap_EquityComponentDomain_E85A354689BFE614653A5EDE86952B93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentMember" xlink:label="loc_us-gaap_ParentMember_0E850A05310CA5490C735EDE86951D52" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E85A354689BFE614653A5EDE86952B93" xlink:to="loc_us-gaap_ParentMember_0E850A05310CA5490C735EDE86951D52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_8B7835A8C406570298925EDE86952D3A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_0E850A05310CA5490C735EDE86951D52" xlink:to="loc_us-gaap_PreferredStockMember_8B7835A8C406570298925EDE86952D3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_98AD7BB1CD1664D532E55EDE86955082" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_0E850A05310CA5490C735EDE86951D52" xlink:to="loc_us-gaap_CommonStockMember_98AD7BB1CD1664D532E55EDE86955082" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_AD7877BFD1EFA55A7F0D5EDE8695CC8C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_0E850A05310CA5490C735EDE86951D52" xlink:to="loc_us-gaap_TreasuryStockMember_AD7877BFD1EFA55A7F0D5EDE8695CC8C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_327A9B89B85BA28A27F95EDE8695372D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_0E850A05310CA5490C735EDE86951D52" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_327A9B89B85BA28A27F95EDE8695372D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_29D2B9CEEBCCE37C23CC5EDE8695846A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_0E850A05310CA5490C735EDE86951D52" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_29D2B9CEEBCCE37C23CC5EDE8695846A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_9CD713FE1ABB5D999C9D5EDE8695D566" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_0E850A05310CA5490C735EDE86951D52" xlink:to="loc_us-gaap_RetainedEarningsMember_9CD713FE1ABB5D999C9D5EDE8695D566" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NoncontrollingInterestMember" xlink:label="loc_us-gaap_NoncontrollingInterestMember_61BB8955FE9F1393F83C5EDE86953CF9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E85A354689BFE614653A5EDE86952B93" xlink:to="loc_us-gaap_NoncontrollingInterestMember_61BB8955FE9F1393F83C5EDE86953CF9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_F0458092EC1C1133BA855EDE86952AA8" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesOutstanding" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_759B184E303B81F76CA75EDE869586D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_759B184E303B81F76CA75EDE869586D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_E26520B34C5D7E08D2B05EDE86950A0D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:to="loc_us-gaap_CommonStockSharesIssued_E26520B34C5D7E08D2B05EDE86950A0D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockShares" xlink:label="loc_us-gaap_TreasuryStockShares_ED990530B5CE4523EC8E5EDE86954DCD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:to="loc_us-gaap_TreasuryStockShares_ED990530B5CE4523EC8E5EDE86954DCD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_6AB18333E12EB16399D35EDE8695A3F8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:to="loc_us-gaap_StockholdersEquity_6AB18333E12EB16399D35EDE8695A3F8" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardExerciseOfStockOptionsAndReleaseOfRestrictedStockUnitsInPeriod" xlink:label="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardExerciseOfStockOptionsAndReleaseOfRestrictedStockUnitsInPeriod_FC376C79FD42C063EC865EDE86950CA3" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:to="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardExerciseOfStockOptionsAndReleaseOfRestrictedStockUnitsInPeriod_FC376C79FD42C063EC865EDE86950CA3" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_StockIssuedDuringPeriodValueStockOptionsExercisedAndRestrictedStockUnitsReleased" xlink:label="loc_aosl_StockIssuedDuringPeriodValueStockOptionsExercisedAndRestrictedStockUnitsReleased_CBA7701B3792F573C9965EDE86956443" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:to="loc_aosl_StockIssuedDuringPeriodValueStockOptionsExercisedAndRestrictedStockUnitsReleased_CBA7701B3792F573C9965EDE86956443" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesTreasuryStockReissued" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesTreasuryStockReissued_803123F154EC34BB7E395EDE86959851" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesTreasuryStockReissued_803123F154EC34BB7E395EDE86959851" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueTreasuryStockReissued" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueTreasuryStockReissued_E0D53D76DF97879100A85EDE86959873" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueTreasuryStockReissued_E0D53D76DF97879100A85EDE86959873" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation" xlink:label="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_F3C28EF3C30FEC98D6505EDE8695EC99" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:to="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_F3C28EF3C30FEC98D6505EDE8695EC99" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation" xlink:label="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_5EA2AD08658B01E0F8265EDE86955E81" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:to="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_5EA2AD08658B01E0F8265EDE86955E81" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_4B9FCB636924F6A926965EDE8695654B" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_4B9FCB636924F6A926965EDE8695654B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_F1AF90DA6B05039883845EDE86951F9F" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_F1AF90DA6B05039883845EDE86951F9F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_A77EF1B33DB50C880BC15EDE86952FE8" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_A77EF1B33DB50C880BC15EDE86952FE8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_E1209E6D62AC298E70295EDE86956F86" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_E1209E6D62AC298E70295EDE86956F86" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_3F349C2DDB31F7A9A4C25EDE86953068" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_3F349C2DDB31F7A9A4C25EDE86953068" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_CF3784C658D3A61AC0815EDE86959E08" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:to="loc_us-gaap_NetIncomeLoss_CF3784C658D3A61AC0815EDE86959E08" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_DeferredIncomeTaxNetPeriodIncreaseDecrease" xlink:label="loc_aosl_DeferredIncomeTaxNetPeriodIncreaseDecrease_B470BF8E5AA6B357038F5EDE86953D4F" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:to="loc_aosl_DeferredIncomeTaxNetPeriodIncreaseDecrease_B470BF8E5AA6B357038F5EDE86953D4F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_18BC31398D4CC4331A695EDE86953751" xlink:type="locator" />
    <link:definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_48ED3F795704211C499C5EDE8695C409" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_18BC31398D4CC4331A695EDE86953751" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_5BA463BFCA471D63E5D35EDE869551BE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_F0458092EC1C1133BA855EDE86952AA8" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_5BA463BFCA471D63E5D35EDE869551BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentBeforeTaxPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentBeforeTaxPortionAttributableToNoncontrollingInterest_05B2CDFC47F043CB16925EDE869530C6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_F0458092EC1C1133BA855EDE86952AA8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentBeforeTaxPortionAttributableToNoncontrollingInterest_05B2CDFC47F043CB16925EDE869530C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_FDFB3953A7B50D5170225EDE8695923B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_F0458092EC1C1133BA855EDE86952AA8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_FDFB3953A7B50D5170225EDE8695923B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance" xlink:label="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_E9CA52C204E3D563F3CF5EDE8695B3B6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_F0458092EC1C1133BA855EDE86952AA8" xlink:to="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_E9CA52C204E3D563F3CF5EDE8695B3B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_2796AE0E51AD14EF38E65EDE86955DC1" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_F0458092EC1C1133BA855EDE86952AA8" xlink:to="loc_us-gaap_ProfitLoss_2796AE0E51AD14EF38E65EDE86955DC1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_6A72B98EEBC27006A42D5EDE8695D04E" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_F0458092EC1C1133BA855EDE86952AA8" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_6A72B98EEBC27006A42D5EDE8695D04E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/Debt" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/DebtCapitalLeasesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeasedAssetsLineItems" xlink:label="loc_us-gaap_CapitalLeasedAssetsLineItems_56FD7672420D36CC4B8F49BEE696BA4B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfCapitalLeasedAsssetsTable" xlink:label="loc_us-gaap_ScheduleOfCapitalLeasedAsssetsTable_BB1E6416B6FC94B9887749BEE69458BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CapitalLeasedAssetsLineItems_56FD7672420D36CC4B8F49BEE696BA4B" xlink:to="loc_us-gaap_ScheduleOfCapitalLeasedAsssetsTable_BB1E6416B6FC94B9887749BEE69458BB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_2E342F0F79B0D9EF3A2449BEE694F984" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCapitalLeasedAsssetsTable_BB1E6416B6FC94B9887749BEE69458BB" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_2E342F0F79B0D9EF3A2449BEE694F984" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_635CB91F7C7F7D215F6949BEE695D385_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_2E342F0F79B0D9EF3A2449BEE694F984" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_635CB91F7C7F7D215F6949BEE695D385_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_635CB91F7C7F7D215F6949BEE695D385" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_2E342F0F79B0D9EF3A2449BEE694F984" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_635CB91F7C7F7D215F6949BEE695D385" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_FinancingLeaseMember" xlink:label="loc_aosl_FinancingLeaseMember_E43FCF62C2CC5C4E90D349BEE69582EA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_635CB91F7C7F7D215F6949BEE695D385" xlink:to="loc_aosl_FinancingLeaseMember_E43FCF62C2CC5C4E90D349BEE69582EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComputerSoftwareIntangibleAssetMember" xlink:label="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_7CEF3288A1400AFF0FAE49BEE695F1AC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_635CB91F7C7F7D215F6949BEE695D385" xlink:to="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_7CEF3288A1400AFF0FAE49BEE695F1AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PatentedTechnologyMember" xlink:label="loc_us-gaap_PatentedTechnologyMember_77B89BB75FC698143A9949BEE695E641" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_635CB91F7C7F7D215F6949BEE695D385" xlink:to="loc_us-gaap_PatentedTechnologyMember_77B89BB75FC698143A9949BEE695E641" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeaseObligations" xlink:label="loc_us-gaap_CapitalLeaseObligations_F5FA873AEABAD25D290E49BEE696CB54" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CapitalLeasedAssetsLineItems_56FD7672420D36CC4B8F49BEE696BA4B" xlink:to="loc_us-gaap_CapitalLeaseObligations_F5FA873AEABAD25D290E49BEE696CB54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeaseObligationsCurrent" xlink:label="loc_us-gaap_CapitalLeaseObligationsCurrent_67341C74B53DE03D1A9B49BEE696BAA8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CapitalLeasedAssetsLineItems_56FD7672420D36CC4B8F49BEE696BA4B" xlink:to="loc_us-gaap_CapitalLeaseObligationsCurrent_67341C74B53DE03D1A9B49BEE696BAA8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalLeaseObligationsNoncurrent" xlink:label="loc_us-gaap_CapitalLeaseObligationsNoncurrent_D7E152904F3A5FF566F249BEE696B373" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CapitalLeasedAssetsLineItems_56FD7672420D36CC4B8F49BEE696BA4B" xlink:to="loc_us-gaap_CapitalLeaseObligationsNoncurrent_D7E152904F3A5FF566F249BEE696B373" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/DebtCapitalLeasesFutureMinimumPaymentsFiscalYearMaturityDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/DebtMaturitiesOfLongTermDebtDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/DebtNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityLineItems" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_D4742617AF4A0F782C7D641D6F063356" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityTable" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_9440F2A804E6D7BB3C60641D6EFCDBD3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_D4742617AF4A0F782C7D641D6F063356" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_9440F2A804E6D7BB3C60641D6EFCDBD3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_362F870E9D062A445610641D6EFCED9E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_9440F2A804E6D7BB3C60641D6EFCDBD3" xlink:to="loc_us-gaap_StatementGeographicalAxis_362F870E9D062A445610641D6EFCED9E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_C3334293530F8D44DC97641D6F06FD35_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_362F870E9D062A445610641D6EFCED9E" xlink:to="loc_us-gaap_SegmentGeographicalDomain_C3334293530F8D44DC97641D6F06FD35_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_C3334293530F8D44DC97641D6F06FD35" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_362F870E9D062A445610641D6EFCED9E" xlink:to="loc_us-gaap_SegmentGeographicalDomain_C3334293530F8D44DC97641D6F06FD35" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_CN" xlink:label="loc_country_CN_2175392CBF07587047F3641D6F06C911" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_C3334293530F8D44DC97641D6F06FD35" xlink:to="loc_country_CN_2175392CBF07587047F3641D6F06C911" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityAxis" xlink:label="loc_us-gaap_LineOfCreditFacilityAxis_DB4C92880EBA2ED2D243641D6F066D46" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_9440F2A804E6D7BB3C60641D6EFCDBD3" xlink:to="loc_us-gaap_LineOfCreditFacilityAxis_DB4C92880EBA2ED2D243641D6F066D46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityLenderDomain" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_9EE8DB23CF5933F0B87A641D6F063A79_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LineOfCreditFacilityAxis_DB4C92880EBA2ED2D243641D6F066D46" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_9EE8DB23CF5933F0B87A641D6F063A79_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityLenderDomain" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_9EE8DB23CF5933F0B87A641D6F063A79" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LineOfCreditFacilityAxis_DB4C92880EBA2ED2D243641D6F066D46" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_9EE8DB23CF5933F0B87A641D6F063A79" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_YinHaiLeasingCompanyandChinaImportExportBankMember" xlink:label="loc_aosl_YinHaiLeasingCompanyandChinaImportExportBankMember_0DB3842B2FB96BFC5DE3641D6F06C38A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_9EE8DB23CF5933F0B87A641D6F063A79" xlink:to="loc_aosl_YinHaiLeasingCompanyandChinaImportExportBankMember_0DB3842B2FB96BFC5DE3641D6F06C38A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_FBAAC81F5E9B16A0EF96641D6F060077" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_9440F2A804E6D7BB3C60641D6EFCDBD3" xlink:to="loc_us-gaap_DebtInstrumentAxis_FBAAC81F5E9B16A0EF96641D6F060077" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_790E38F75A701470934B641D6F064CB5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_FBAAC81F5E9B16A0EF96641D6F060077" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_790E38F75A701470934B641D6F064CB5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_790E38F75A701470934B641D6F064CB5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_FBAAC81F5E9B16A0EF96641D6F060077" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_790E38F75A701470934B641D6F064CB5" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_LeaseFinancingMember" xlink:label="loc_aosl_LeaseFinancingMember_4646229619AD0D69E53B641D6F062EAC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_790E38F75A701470934B641D6F064CB5" xlink:to="loc_aosl_LeaseFinancingMember_4646229619AD0D69E53B641D6F062EAC" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_VariableInterestRateTermLoanMaturingAugust2022Member" xlink:label="loc_aosl_VariableInterestRateTermLoanMaturingAugust2022Member_EC5AD43FFB3CB543BCE1641D6F06D635" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_790E38F75A701470934B641D6F064CB5" xlink:to="loc_aosl_VariableInterestRateTermLoanMaturingAugust2022Member_EC5AD43FFB3CB543BCE1641D6F06D635" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_1A7D9B837307705FB7AD641D6F06349A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_9440F2A804E6D7BB3C60641D6EFCDBD3" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_1A7D9B837307705FB7AD641D6F06349A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_0F4F8DCC95121E0101B4641D6F0610D5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_1A7D9B837307705FB7AD641D6F06349A" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_0F4F8DCC95121E0101B4641D6F0610D5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_0F4F8DCC95121E0101B4641D6F0610D5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_1A7D9B837307705FB7AD641D6F06349A" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_0F4F8DCC95121E0101B4641D6F0610D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_9C00715ABF1D81B7EA59641D6F06CF91" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_0F4F8DCC95121E0101B4641D6F0610D5" xlink:to="loc_us-gaap_SubsequentEventMember_9C00715ABF1D81B7EA59641D6F06CF91" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_5D8BAB2209E98B7C2C31641D6F066BEC" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_9440F2A804E6D7BB3C60641D6EFCDBD3" xlink:to="loc_us-gaap_RangeAxis_5D8BAB2209E98B7C2C31641D6F066BEC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_040E79FA1800B05B9CDD641D6F0612E2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_5D8BAB2209E98B7C2C31641D6F066BEC" xlink:to="loc_us-gaap_RangeMember_040E79FA1800B05B9CDD641D6F0612E2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_040E79FA1800B05B9CDD641D6F0612E2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_5D8BAB2209E98B7C2C31641D6F066BEC" xlink:to="loc_us-gaap_RangeMember_040E79FA1800B05B9CDD641D6F0612E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_838C66652739B1E2E048641D6F068D6F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_040E79FA1800B05B9CDD641D6F0612E2" xlink:to="loc_us-gaap_MinimumMember_838C66652739B1E2E048641D6F068D6F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_BDCAA10162679048E753641D6F06E5C6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_040E79FA1800B05B9CDD641D6F0612E2" xlink:to="loc_us-gaap_MaximumMember_BDCAA10162679048E753641D6F06E5C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VariableRateAxis" xlink:label="loc_us-gaap_VariableRateAxis_53B002C51AB65519B781641D6F06056F" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_9440F2A804E6D7BB3C60641D6EFCDBD3" xlink:to="loc_us-gaap_VariableRateAxis_53B002C51AB65519B781641D6F06056F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_4FF226E5798CCF92CEE0641D6F065404_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_53B002C51AB65519B781641D6F06056F" xlink:to="loc_us-gaap_VariableRateDomain_4FF226E5798CCF92CEE0641D6F065404_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_4FF226E5798CCF92CEE0641D6F065404" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_53B002C51AB65519B781641D6F06056F" xlink:to="loc_us-gaap_VariableRateDomain_4FF226E5798CCF92CEE0641D6F065404" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BaseRateMember" xlink:label="loc_us-gaap_BaseRateMember_80B2789B304170434F4B641D6F066D9B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_4FF226E5798CCF92CEE0641D6F065404" xlink:to="loc_us-gaap_BaseRateMember_80B2789B304170434F4B641D6F066D9B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_3BE85C64CC670E4E5477641D6F0627D9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_4FF226E5798CCF92CEE0641D6F065404" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_3BE85C64CC670E4E5477641D6F0627D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_A47EA05B058D82476363641D6F06B1BB" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_9440F2A804E6D7BB3C60641D6EFCDBD3" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_A47EA05B058D82476363641D6F06B1BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_17FF4400A3C5E85EF7DE641D6F06E91B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_A47EA05B058D82476363641D6F06B1BB" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_17FF4400A3C5E85EF7DE641D6F06E91B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_17FF4400A3C5E85EF7DE641D6F06E91B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_A47EA05B058D82476363641D6F06B1BB" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_17FF4400A3C5E85EF7DE641D6F06E91B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SecuredDebtMember" xlink:label="loc_us-gaap_SecuredDebtMember_64B71ED30BEB4B3E62D4641D6F06370C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_17FF4400A3C5E85EF7DE641D6F06E91B" xlink:to="loc_us-gaap_SecuredDebtMember_64B71ED30BEB4B3E62D4641D6F06370C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_129EC3816A3C90CEE701641D6F06AD8C" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_9440F2A804E6D7BB3C60641D6EFCDBD3" xlink:to="loc_us-gaap_CreditFacilityAxis_129EC3816A3C90CEE701641D6F06AD8C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_2A8FA3F61E6F029A785B641D6F06955B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_129EC3816A3C90CEE701641D6F06AD8C" xlink:to="loc_us-gaap_CreditFacilityDomain_2A8FA3F61E6F029A785B641D6F06955B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_2A8FA3F61E6F029A785B641D6F06955B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_129EC3816A3C90CEE701641D6F06AD8C" xlink:to="loc_us-gaap_CreditFacilityDomain_2A8FA3F61E6F029A785B641D6F06955B" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_TermLoanMember" xlink:label="loc_aosl_TermLoanMember_915A0EE6169C0AB1324D641D6F06C206" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_2A8FA3F61E6F029A785B641D6F06955B" xlink:to="loc_aosl_TermLoanMember_915A0EE6169C0AB1324D641D6F06C206" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SecuredDebtMember" xlink:label="loc_us-gaap_SecuredDebtMember_5E0851934FE4814F233A641D6F067C3F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_2A8FA3F61E6F029A785B641D6F06955B" xlink:to="loc_us-gaap_SecuredDebtMember_5E0851934FE4814F233A641D6F067C3F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_D84F66CFCE39F6B94F02641D6F06B39B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_D4742617AF4A0F782C7D641D6F063356" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_D84F66CFCE39F6B94F02641D6F06B39B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentTerm" xlink:label="loc_us-gaap_DebtInstrumentTerm_4700DE796C4ABF1E6583641D6F06886F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_D4742617AF4A0F782C7D641D6F063356" xlink:to="loc_us-gaap_DebtInstrumentTerm_4700DE796C4ABF1E6583641D6F06886F" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_DebtInstrumentBasisSpreadonVariableRateMultiple" xlink:label="loc_aosl_DebtInstrumentBasisSpreadonVariableRateMultiple_589C00884261E379C12D641D6F061F71" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_D4742617AF4A0F782C7D641D6F063356" xlink:to="loc_aosl_DebtInstrumentBasisSpreadonVariableRateMultiple_589C00884261E379C12D641D6F061F71" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityFairValueOfAmountOutstanding" xlink:label="loc_us-gaap_LineOfCreditFacilityFairValueOfAmountOutstanding_1A9D39B3D947F79AC04F641D6F06BD7A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_D4742617AF4A0F782C7D641D6F063356" xlink:to="loc_us-gaap_LineOfCreditFacilityFairValueOfAmountOutstanding_1A9D39B3D947F79AC04F641D6F06BD7A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_8879DC49F03DE6C4CB20641D6F1051B6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_D4742617AF4A0F782C7D641D6F063356" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_8879DC49F03DE6C4CB20641D6F1051B6" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_DebtInstrumentCovenantComplianceLiabilityAdditionalRequiredCapitalContributions" xlink:label="loc_aosl_DebtInstrumentCovenantComplianceLiabilityAdditionalRequiredCapitalContributions_72831A7FFA548AC040E0641D6F102FC0" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_D4742617AF4A0F782C7D641D6F063356" xlink:to="loc_aosl_DebtInstrumentCovenantComplianceLiabilityAdditionalRequiredCapitalContributions_72831A7FFA548AC040E0641D6F102FC0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_BA9F4B853BC2C7299BA1641D6F10DB87" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_D4742617AF4A0F782C7D641D6F063356" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_BA9F4B853BC2C7299BA1641D6F10DB87" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/DebtTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/DocumentAndEntityInformation" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityInformationLineItems" xlink:label="loc_dei_EntityInformationLineItems_7C93AFF5CEEF006A945B489483B527CD" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntitiesTable" xlink:label="loc_dei_EntitiesTable_31F200473086BC329E6F489483B51EA3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_EntityInformationLineItems_7C93AFF5CEEF006A945B489483B527CD" xlink:to="loc_dei_EntitiesTable_31F200473086BC329E6F489483B51EA3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_D8A51AD124A09F15D4E8489483B547A1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_EntitiesTable_31F200473086BC329E6F489483B51EA3" xlink:to="loc_dei_LegalEntityAxis_D8A51AD124A09F15D4E8489483B547A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_87E6DE5574456BEB4E09489483B5C2EE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_D8A51AD124A09F15D4E8489483B547A1" xlink:to="loc_dei_EntityDomain_87E6DE5574456BEB4E09489483B5C2EE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_87E6DE5574456BEB4E09489483B5C2EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_D8A51AD124A09F15D4E8489483B547A1" xlink:to="loc_dei_EntityDomain_87E6DE5574456BEB4E09489483B5C2EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityRegistrantName" xlink:label="loc_dei_EntityRegistrantName_D15B9B02C229FBE16B62489483B67C6E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_7C93AFF5CEEF006A945B489483B527CD" xlink:to="loc_dei_EntityRegistrantName_D15B9B02C229FBE16B62489483B67C6E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCentralIndexKey" xlink:label="loc_dei_EntityCentralIndexKey_5167288A6AE39A3E61EF489483B6DFCE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_7C93AFF5CEEF006A945B489483B527CD" xlink:to="loc_dei_EntityCentralIndexKey_5167288A6AE39A3E61EF489483B6DFCE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_CurrentFiscalYearEndDate" xlink:label="loc_dei_CurrentFiscalYearEndDate_79354C7DE9A320A572ED489483B686E5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_7C93AFF5CEEF006A945B489483B527CD" xlink:to="loc_dei_CurrentFiscalYearEndDate_79354C7DE9A320A572ED489483B686E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityFilerCategory" xlink:label="loc_dei_EntityFilerCategory_631D28A204F8BF6C428B489483B6EB36" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_7C93AFF5CEEF006A945B489483B527CD" xlink:to="loc_dei_EntityFilerCategory_631D28A204F8BF6C428B489483B6EB36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentType" xlink:label="loc_dei_DocumentType_05B799F9777D8C6E4D56489483B6174B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_7C93AFF5CEEF006A945B489483B527CD" xlink:to="loc_dei_DocumentType_05B799F9777D8C6E4D56489483B6174B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentPeriodEndDate" xlink:label="loc_dei_DocumentPeriodEndDate_A2941AF51964736DEFFC489483B7A7AE" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_7C93AFF5CEEF006A945B489483B527CD" xlink:to="loc_dei_DocumentPeriodEndDate_A2941AF51964736DEFFC489483B7A7AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalYearFocus" xlink:label="loc_dei_DocumentFiscalYearFocus_465F4F9B3CACE64ECF93489483B74332" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_7C93AFF5CEEF006A945B489483B527CD" xlink:to="loc_dei_DocumentFiscalYearFocus_465F4F9B3CACE64ECF93489483B74332" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="loc_dei_DocumentFiscalPeriodFocus_B61B080A3ABEA765D531489483B77EF2" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_7C93AFF5CEEF006A945B489483B527CD" xlink:to="loc_dei_DocumentFiscalPeriodFocus_B61B080A3ABEA765D531489483B77EF2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentFlag" xlink:label="loc_dei_AmendmentFlag_85A30F459A326F4C124A489483B7D593" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_7C93AFF5CEEF006A945B489483B527CD" xlink:to="loc_dei_AmendmentFlag_85A30F459A326F4C124A489483B7D593" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_4161EC9343B1F7806BB3489483B781C1" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_7C93AFF5CEEF006A945B489483B527CD" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_4161EC9343B1F7806BB3489483B781C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityWellKnownSeasonedIssuer" xlink:label="loc_dei_EntityWellKnownSeasonedIssuer_3096D491E447A16BE6E3489483B8A93E" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_7C93AFF5CEEF006A945B489483B527CD" xlink:to="loc_dei_EntityWellKnownSeasonedIssuer_3096D491E447A16BE6E3489483B8A93E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityVoluntaryFilers" xlink:label="loc_dei_EntityVoluntaryFilers_A510F47BF5E3B8663DD4489483B8811E" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_7C93AFF5CEEF006A945B489483B527CD" xlink:to="loc_dei_EntityVoluntaryFilers_A510F47BF5E3B8663DD4489483B8811E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCurrentReportingStatus" xlink:label="loc_dei_EntityCurrentReportingStatus_A99A24A961E77B2F734E489483B858F2" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_7C93AFF5CEEF006A945B489483B527CD" xlink:to="loc_dei_EntityCurrentReportingStatus_A99A24A961E77B2F734E489483B858F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityPublicFloat" xlink:label="loc_dei_EntityPublicFloat_6ED58C15F8AD85AAE70C489483B86C61" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_7C93AFF5CEEF006A945B489483B527CD" xlink:to="loc_dei_EntityPublicFloat_6ED58C15F8AD85AAE70C489483B86C61" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/EmployeeBenefitPlans" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/EmployeeBenefitPlansDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_F6D56DEE4A5CBECDC8E649C3DA142E9E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_42397FB36A41E7EFAF4A49C3DA0F8B87" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_F6D56DEE4A5CBECDC8E649C3DA142E9E" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_42397FB36A41E7EFAF4A49C3DA0F8B87" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanSponsorLocationAxis" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_B40CFA527268EF08EC4649C3DA0F9AAC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_42397FB36A41E7EFAF4A49C3DA0F8B87" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_B40CFA527268EF08EC4649C3DA0F9AAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanSponsorLocationDomain" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_55AC3DD155208D60BAB849C3DA0F5AFB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_B40CFA527268EF08EC4649C3DA0F9AAC" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_55AC3DD155208D60BAB849C3DA0F5AFB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanSponsorLocationDomain" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_55AC3DD155208D60BAB849C3DA0F5AFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_B40CFA527268EF08EC4649C3DA0F9AAC" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_55AC3DD155208D60BAB849C3DA0F5AFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DomesticPlanMember" xlink:label="loc_us-gaap_DomesticPlanMember_877CFB56D91FA04FE93A49C3DA10D2C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_55AC3DD155208D60BAB849C3DA0F5AFB" xlink:to="loc_us-gaap_DomesticPlanMember_877CFB56D91FA04FE93A49C3DA10D2C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameAxis" xlink:label="loc_us-gaap_RetirementPlanNameAxis_B72F4653D769309CA85849C3DA10491A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_42397FB36A41E7EFAF4A49C3DA0F8B87" xlink:to="loc_us-gaap_RetirementPlanNameAxis_B72F4653D769309CA85849C3DA10491A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameDomain" xlink:label="loc_us-gaap_RetirementPlanNameDomain_FA3A01D9A51DC587229A49C3DA105E1A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanNameAxis_B72F4653D769309CA85849C3DA10491A" xlink:to="loc_us-gaap_RetirementPlanNameDomain_FA3A01D9A51DC587229A49C3DA105E1A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameDomain" xlink:label="loc_us-gaap_RetirementPlanNameDomain_FA3A01D9A51DC587229A49C3DA105E1A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanNameAxis_B72F4653D769309CA85849C3DA10491A" xlink:to="loc_us-gaap_RetirementPlanNameDomain_FA3A01D9A51DC587229A49C3DA105E1A" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_RetirementPlan401KMember" xlink:label="loc_aosl_RetirementPlan401KMember_CE1642840405A1C0166349C3DA118CD6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_FA3A01D9A51DC587229A49C3DA105E1A" xlink:to="loc_aosl_RetirementPlan401KMember_CE1642840405A1C0166349C3DA118CD6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_ABC4825F4D98F61C42C949C3DA11C749" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_42397FB36A41E7EFAF4A49C3DA0F8B87" xlink:to="loc_us-gaap_RangeAxis_ABC4825F4D98F61C42C949C3DA11C749" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_B67FFE90120A6B167B4749C3DA11B3E7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_ABC4825F4D98F61C42C949C3DA11C749" xlink:to="loc_us-gaap_RangeMember_B67FFE90120A6B167B4749C3DA11B3E7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_B67FFE90120A6B167B4749C3DA11B3E7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_ABC4825F4D98F61C42C949C3DA11C749" xlink:to="loc_us-gaap_RangeMember_B67FFE90120A6B167B4749C3DA11B3E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_C08E368264EA50F9895549C3DA12C175" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_B67FFE90120A6B167B4749C3DA11B3E7" xlink:to="loc_us-gaap_MinimumMember_C08E368264EA50F9895549C3DA12C175" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_76FBA5BC67A2B8BE9D8A49C3DA12BD87" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_B67FFE90120A6B167B4749C3DA11B3E7" xlink:to="loc_us-gaap_MaximumMember_76FBA5BC67A2B8BE9D8A49C3DA12BD87" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_BCB23417D4684E56775E49C3DA12D643" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_42397FB36A41E7EFAF4A49C3DA0F8B87" xlink:to="loc_us-gaap_StatementGeographicalAxis_BCB23417D4684E56775E49C3DA12D643" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_0AF5DEA888B8628A67EC49C3DA1213FA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_BCB23417D4684E56775E49C3DA12D643" xlink:to="loc_us-gaap_SegmentGeographicalDomain_0AF5DEA888B8628A67EC49C3DA1213FA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_0AF5DEA888B8628A67EC49C3DA1213FA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_BCB23417D4684E56775E49C3DA12D643" xlink:to="loc_us-gaap_SegmentGeographicalDomain_0AF5DEA888B8628A67EC49C3DA1213FA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_B0D96B9D303D0849556749C3DA136F2C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_0AF5DEA888B8628A67EC49C3DA1213FA" xlink:to="loc_country_US_B0D96B9D303D0849556749C3DA136F2C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_CN" xlink:label="loc_country_CN_C7C739F717E015BCC01D49C3DA148864" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_0AF5DEA888B8628A67EC49C3DA1213FA" xlink:to="loc_country_CN_C7C739F717E015BCC01D49C3DA148864" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_TW" xlink:label="loc_country_TW_CEA2FDCF61022059019B49C3DA14A310" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_0AF5DEA888B8628A67EC49C3DA1213FA" xlink:to="loc_country_TW_CEA2FDCF61022059019B49C3DA14A310" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_029CF97A6797CF42671449C3DA14385D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_F6D56DEE4A5CBECDC8E649C3DA142E9E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_029CF97A6797CF42671449C3DA14385D" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_DefinedContributionPlanMaximumAnnualSalaryDeferralContributionByEmployeePercent" xlink:label="loc_aosl_DefinedContributionPlanMaximumAnnualSalaryDeferralContributionByEmployeePercent_507448970E9999457CD349C3DA154AE9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_F6D56DEE4A5CBECDC8E649C3DA142E9E" xlink:to="loc_aosl_DefinedContributionPlanMaximumAnnualSalaryDeferralContributionByEmployeePercent_507448970E9999457CD349C3DA154AE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount" xlink:label="loc_us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount_885C838AC684E41B067C49C3DA15B755" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_F6D56DEE4A5CBECDC8E649C3DA142E9E" xlink:to="loc_us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount_885C838AC684E41B067C49C3DA15B755" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_MandatoryEmployerContributionsAccordingToLaborAndSocialSecurityLawsAndRegulations" xlink:label="loc_aosl_MandatoryEmployerContributionsAccordingToLaborAndSocialSecurityLawsAndRegulations_2952BC5FCEB81BACE1C049C3DA15727D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_F6D56DEE4A5CBECDC8E649C3DA142E9E" xlink:to="loc_aosl_MandatoryEmployerContributionsAccordingToLaborAndSocialSecurityLawsAndRegulations_2952BC5FCEB81BACE1C049C3DA15727D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/IncomeTaxes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/IncomeTaxesIncomeTaxSchedulesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxCreditCarryforwardLineItems" xlink:label="loc_us-gaap_TaxCreditCarryforwardLineItems_C5436E77E4F71C0876274F6B1A2A40BE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxCreditCarryforwardTable" xlink:label="loc_us-gaap_TaxCreditCarryforwardTable_113D287D9D02044F3EDE4F6B1A2A59E9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_C5436E77E4F71C0876274F6B1A2A40BE" xlink:to="loc_us-gaap_TaxCreditCarryforwardTable_113D287D9D02044F3EDE4F6B1A2A59E9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_3F5E629A55A5AFF7C17C4F6B1A2AF401" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TaxCreditCarryforwardTable_113D287D9D02044F3EDE4F6B1A2A59E9" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_3F5E629A55A5AFF7C17C4F6B1A2AF401" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_89CE37A0D7646F69401D4F6B1A2A4B4D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_3F5E629A55A5AFF7C17C4F6B1A2AF401" xlink:to="loc_us-gaap_TypeOfAdoptionMember_89CE37A0D7646F69401D4F6B1A2A4B4D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_89CE37A0D7646F69401D4F6B1A2A4B4D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_3F5E629A55A5AFF7C17C4F6B1A2AF401" xlink:to="loc_us-gaap_TypeOfAdoptionMember_89CE37A0D7646F69401D4F6B1A2A4B4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201616Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201616Member_418EF76D37F24D31B6F04F6B1A2A13DB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_89CE37A0D7646F69401D4F6B1A2A4B4D" xlink:to="loc_us-gaap_AccountingStandardsUpdate201616Member_418EF76D37F24D31B6F04F6B1A2A13DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowanceByDeferredTaxAssetAxis" xlink:label="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_348831F9DF150E57278B4F6B1A2A777D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TaxCreditCarryforwardTable_113D287D9D02044F3EDE4F6B1A2A59E9" xlink:to="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_348831F9DF150E57278B4F6B1A2A777D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetDomain" xlink:label="loc_us-gaap_DeferredTaxAssetDomain_8C1D13958C5C9E353D234F6B1A2AF116_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_348831F9DF150E57278B4F6B1A2A777D" xlink:to="loc_us-gaap_DeferredTaxAssetDomain_8C1D13958C5C9E353D234F6B1A2AF116_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetDomain" xlink:label="loc_us-gaap_DeferredTaxAssetDomain_8C1D13958C5C9E353D234F6B1A2AF116" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_348831F9DF150E57278B4F6B1A2A777D" xlink:to="loc_us-gaap_DeferredTaxAssetDomain_8C1D13958C5C9E353D234F6B1A2AF116" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_StateResearchAndDevelopmentCreditCarryforwardMember" xlink:label="loc_aosl_StateResearchAndDevelopmentCreditCarryforwardMember_6E370E98CA2AE5067FEF4F6B1A2AB858" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetDomain_8C1D13958C5C9E353D234F6B1A2AF116" xlink:to="loc_aosl_StateResearchAndDevelopmentCreditCarryforwardMember_6E370E98CA2AE5067FEF4F6B1A2AB858" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_NetOperatingLossFixedAssetAndIntangibleAssetMember" xlink:label="loc_aosl_NetOperatingLossFixedAssetAndIntangibleAssetMember_F2CC0AE8BD5C7667C9B94F6B1A2AB414" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetDomain_8C1D13958C5C9E353D234F6B1A2AF116" xlink:to="loc_aosl_NetOperatingLossFixedAssetAndIntangibleAssetMember_F2CC0AE8BD5C7667C9B94F6B1A2AB414" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_14C88C6CF31280454F8B4F6B1A2A4223" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TaxCreditCarryforwardTable_113D287D9D02044F3EDE4F6B1A2A59E9" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_14C88C6CF31280454F8B4F6B1A2A4223" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_33A49F9FDDF48FC6154E4F6B1A2A1F18_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_14C88C6CF31280454F8B4F6B1A2A4223" xlink:to="loc_us-gaap_RelatedPartyDomain_33A49F9FDDF48FC6154E4F6B1A2A1F18_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_33A49F9FDDF48FC6154E4F6B1A2A1F18" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_14C88C6CF31280454F8B4F6B1A2A4223" xlink:to="loc_us-gaap_RelatedPartyDomain_33A49F9FDDF48FC6154E4F6B1A2A1F18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CorporateJointVentureMember" xlink:label="loc_us-gaap_CorporateJointVentureMember_23B5BF8B52C5DE7602B24F6B1A2A0E52" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_33A49F9FDDF48FC6154E4F6B1A2A1F18" xlink:to="loc_us-gaap_CorporateJointVentureMember_23B5BF8B52C5DE7602B24F6B1A2A0E52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_FA8E290F24001AC7BD154F6B1A2AB6A0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TaxCreditCarryforwardTable_113D287D9D02044F3EDE4F6B1A2A59E9" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_FA8E290F24001AC7BD154F6B1A2AB6A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_416AB15B9CFA09DB31E04F6B1A2AAB16_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_FA8E290F24001AC7BD154F6B1A2AB6A0" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_416AB15B9CFA09DB31E04F6B1A2AAB16_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_416AB15B9CFA09DB31E04F6B1A2AAB16" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_FA8E290F24001AC7BD154F6B1A2AB6A0" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_416AB15B9CFA09DB31E04F6B1A2AAB16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DomesticCountryMember" xlink:label="loc_us-gaap_DomesticCountryMember_230B996C9B18062CC0264F6B1A2ABA78" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_416AB15B9CFA09DB31E04F6B1A2AAB16" xlink:to="loc_us-gaap_DomesticCountryMember_230B996C9B18062CC0264F6B1A2ABA78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StateAndLocalJurisdictionMember" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_289BB0DA5EF955C980534F6B1A2AAFCB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_416AB15B9CFA09DB31E04F6B1A2AAB16" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_289BB0DA5EF955C980534F6B1A2AAFCB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_E258B1AC84AC17DBAC4A4F6B1A2ACE09" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TaxCreditCarryforwardTable_113D287D9D02044F3EDE4F6B1A2A59E9" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_E258B1AC84AC17DBAC4A4F6B1A2ACE09" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_A53374F14B2CE91EEBD34F6B1A2A2BDD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_E258B1AC84AC17DBAC4A4F6B1A2ACE09" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_A53374F14B2CE91EEBD34F6B1A2A2BDD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_A53374F14B2CE91EEBD34F6B1A2A2BDD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_E258B1AC84AC17DBAC4A4F6B1A2ACE09" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_A53374F14B2CE91EEBD34F6B1A2A2BDD" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_LongTermIncomeTaxPayableMember" xlink:label="loc_aosl_LongTermIncomeTaxPayableMember_B94D9DC4A099D708EB154F6B1A2A3AFD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_A53374F14B2CE91EEBD34F6B1A2A2BDD" xlink:to="loc_aosl_LongTermIncomeTaxPayableMember_B94D9DC4A099D708EB154F6B1A2A3AFD" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_Decreaseindeferredtaxassets" xlink:label="loc_aosl_Decreaseindeferredtaxassets_3A14A238181DD17F8BAE4F6B1A2ABDC4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_C5436E77E4F71C0876274F6B1A2A40BE" xlink:to="loc_aosl_Decreaseindeferredtaxassets_3A14A238181DD17F8BAE4F6B1A2ABDC4" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_Increaseinprepaidtaxasset" xlink:label="loc_aosl_Increaseinprepaidtaxasset_D3513B9AE1E924A910254F6B1A2ABF5D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_C5436E77E4F71C0876274F6B1A2A40BE" xlink:to="loc_aosl_Increaseinprepaidtaxasset_D3513B9AE1E924A910254F6B1A2ABF5D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetIntraEntityTransferAssetOtherThanInventory" xlink:label="loc_us-gaap_DeferredTaxAssetIntraEntityTransferAssetOtherThanInventory_17890B49D834263CD2C64F6B1A2A61FF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_C5436E77E4F71C0876274F6B1A2A40BE" xlink:to="loc_us-gaap_DeferredTaxAssetIntraEntityTransferAssetOtherThanInventory_17890B49D834263CD2C64F6B1A2A61FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_9F61DB2631E0D5E2698E4F6B1A2AD289" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_C5436E77E4F71C0876274F6B1A2A40BE" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_9F61DB2631E0D5E2698E4F6B1A2AD289" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxCreditCarryforwardAmount" xlink:label="loc_us-gaap_TaxCreditCarryforwardAmount_78EA1213E99CACA060664F6B1A2A7A49" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_C5436E77E4F71C0876274F6B1A2A40BE" xlink:to="loc_us-gaap_TaxCreditCarryforwardAmount_78EA1213E99CACA060664F6B1A2A7A49" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration_0F9FED41EAC510311EDE4F6B1A2A4682" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_C5436E77E4F71C0876274F6B1A2A40BE" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration_0F9FED41EAC510311EDE4F6B1A2A4682" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration_0952AA01934629B6FC3D4F6B1A2A15BB" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_C5436E77E4F71C0876274F6B1A2A40BE" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration_0952AA01934629B6FC3D4F6B1A2A15BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLossCarryforwards" xlink:label="loc_us-gaap_OperatingLossCarryforwards_180D0765A28D73FAC0624F6B1A2A8193" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_C5436E77E4F71C0876274F6B1A2A40BE" xlink:to="loc_us-gaap_OperatingLossCarryforwards_180D0765A28D73FAC0624F6B1A2A8193" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch_A038D7CCB4031C627ACD4F6B1A2A4EFA" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_C5436E77E4F71C0876274F6B1A2A40BE" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch_A038D7CCB4031C627ACD4F6B1A2A4EFA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UndistributedEarningsOfForeignSubsidiaries" xlink:label="loc_us-gaap_UndistributedEarningsOfForeignSubsidiaries_8D238CF5AF460472C1D54F6B1A2A9305" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_C5436E77E4F71C0876274F6B1A2A40BE" xlink:to="loc_us-gaap_UndistributedEarningsOfForeignSubsidiaries_8D238CF5AF460472C1D54F6B1A2A9305" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefits" xlink:label="loc_us-gaap_UnrecognizedTaxBenefits_36D8FB69472A963E38A34F6B1A2A4586" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_C5436E77E4F71C0876274F6B1A2A40BE" xlink:to="loc_us-gaap_UnrecognizedTaxBenefits_36D8FB69472A963E38A34F6B1A2A4586" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_UnrecognizedTaxBenefitAmountNettedAgainstDeferredTaxAssets" xlink:label="loc_aosl_UnrecognizedTaxBenefitAmountNettedAgainstDeferredTaxAssets_A584C3D952F26D0D8F304F6B1A2A2A2F" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_C5436E77E4F71C0876274F6B1A2A40BE" xlink:to="loc_aosl_UnrecognizedTaxBenefitAmountNettedAgainstDeferredTaxAssets_A584C3D952F26D0D8F304F6B1A2A2A2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_E5EEFFBDB82E44E15EE94F6B1A2A9E14" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_C5436E77E4F71C0876274F6B1A2A40BE" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_E5EEFFBDB82E44E15EE94F6B1A2A9E14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DecreaseInUnrecognizedTaxBenefitsIsReasonablyPossible" xlink:label="loc_us-gaap_DecreaseInUnrecognizedTaxBenefitsIsReasonablyPossible_FDB68D8278136C48E4C94F6B1A2A69B2" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_C5436E77E4F71C0876274F6B1A2A40BE" xlink:to="loc_us-gaap_DecreaseInUnrecognizedTaxBenefitsIsReasonablyPossible_FDB68D8278136C48E4C94F6B1A2A69B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_C2BE67A7D9A5AACE7C0C4F6B1A2A80B6" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_C5436E77E4F71C0876274F6B1A2A40BE" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_C2BE67A7D9A5AACE7C0C4F6B1A2A80B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense_B576026B55F9212F39EF4F6B1A2A8FED" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_C5436E77E4F71C0876274F6B1A2A40BE" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense_B576026B55F9212F39EF4F6B1A2A8FED" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/IncomeTaxesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/JointVenture" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/JointVentureDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_972866974C8B329932BA62EBBC11D9B0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsTable" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_2B4D5F37A338DBBC5FBA62EBBC071673" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_972866974C8B329932BA62EBBC11D9B0" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_2B4D5F37A338DBBC5FBA62EBBC071673" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D0F853F357D5863C1AE662EBBC07206D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_2B4D5F37A338DBBC5FBA62EBBC071673" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D0F853F357D5863C1AE662EBBC07206D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_3489D8C1979A627672A462EBBC078AB1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D0F853F357D5863C1AE662EBBC07206D" xlink:to="loc_us-gaap_TypeOfAdoptionMember_3489D8C1979A627672A462EBBC078AB1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_3489D8C1979A627672A462EBBC078AB1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D0F853F357D5863C1AE662EBBC07206D" xlink:to="loc_us-gaap_TypeOfAdoptionMember_3489D8C1979A627672A462EBBC078AB1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201616Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201616Member_2E0467BCF6CEEAA263F762EBBC0718A4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_3489D8C1979A627672A462EBBC078AB1" xlink:to="loc_us-gaap_AccountingStandardsUpdate201616Member_2E0467BCF6CEEAA263F762EBBC0718A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_13C28D8EE6166F2E484A62EBBC071A98" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_2B4D5F37A338DBBC5FBA62EBBC071673" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_13C28D8EE6166F2E484A62EBBC071A98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_F5EFB5D8BE1AF23B52DB62EBBC115776_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_13C28D8EE6166F2E484A62EBBC071A98" xlink:to="loc_us-gaap_EquityComponentDomain_F5EFB5D8BE1AF23B52DB62EBBC115776_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_F5EFB5D8BE1AF23B52DB62EBBC115776" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_13C28D8EE6166F2E484A62EBBC071A98" xlink:to="loc_us-gaap_EquityComponentDomain_F5EFB5D8BE1AF23B52DB62EBBC115776" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentMember" xlink:label="loc_us-gaap_ParentMember_3BBBCA4551BE791DEC2F62EBBC1136FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_F5EFB5D8BE1AF23B52DB62EBBC115776" xlink:to="loc_us-gaap_ParentMember_3BBBCA4551BE791DEC2F62EBBC1136FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NoncontrollingInterestMember" xlink:label="loc_us-gaap_NoncontrollingInterestMember_210E7022521011E64AFB62EBBC1150AB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_F5EFB5D8BE1AF23B52DB62EBBC115776" xlink:to="loc_us-gaap_NoncontrollingInterestMember_210E7022521011E64AFB62EBBC1150AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentsAxis" xlink:label="loc_us-gaap_OtherCommitmentsAxis_3F33FAC2710ED099934F62EBBC1132D4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_2B4D5F37A338DBBC5FBA62EBBC071673" xlink:to="loc_us-gaap_OtherCommitmentsAxis_3F33FAC2710ED099934F62EBBC1132D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentsDomain" xlink:label="loc_us-gaap_OtherCommitmentsDomain_35C7BEF9BC23643AF22A62EBBC1105DC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OtherCommitmentsAxis_3F33FAC2710ED099934F62EBBC1132D4" xlink:to="loc_us-gaap_OtherCommitmentsDomain_35C7BEF9BC23643AF22A62EBBC1105DC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentsDomain" xlink:label="loc_us-gaap_OtherCommitmentsDomain_35C7BEF9BC23643AF22A62EBBC1105DC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OtherCommitmentsAxis_3F33FAC2710ED099934F62EBBC1132D4" xlink:to="loc_us-gaap_OtherCommitmentsDomain_35C7BEF9BC23643AF22A62EBBC1105DC" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_DesignFeesMember" xlink:label="loc_aosl_DesignFeesMember_44DA8CA94C2135D1DC2B62EBBC11EFE6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_35C7BEF9BC23643AF22A62EBBC1105DC" xlink:to="loc_aosl_DesignFeesMember_44DA8CA94C2135D1DC2B62EBBC11EFE6" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ConstructionandProcurementFeesMember" xlink:label="loc_aosl_ConstructionandProcurementFeesMember_98F2F798E76C9017424F62EBBC1141EC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_35C7BEF9BC23643AF22A62EBBC1105DC" xlink:to="loc_aosl_ConstructionandProcurementFeesMember_98F2F798E76C9017424F62EBBC1141EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_075751FCBC140A6F7C6862EBBC118E1F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_2B4D5F37A338DBBC5FBA62EBBC071673" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_075751FCBC140A6F7C6862EBBC118E1F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_29D1E69B6646FE4283A462EBBC118CDB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_075751FCBC140A6F7C6862EBBC118E1F" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_29D1E69B6646FE4283A462EBBC118CDB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_29D1E69B6646FE4283A462EBBC118CDB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_075751FCBC140A6F7C6862EBBC118E1F" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_29D1E69B6646FE4283A462EBBC118CDB" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_FacilityinLiangjiangNewAreaofChongqingtheJointVentureMember" xlink:label="loc_aosl_FacilityinLiangjiangNewAreaofChongqingtheJointVentureMember_E62C2824917B852908B262EBBC110F15" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityMethodInvesteeNameDomain_29D1E69B6646FE4283A462EBBC118CDB" xlink:to="loc_aosl_FacilityinLiangjiangNewAreaofChongqingtheJointVentureMember_E62C2824917B852908B262EBBC110F15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_9C7204CDE2499209927962EBBC114750" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_2B4D5F37A338DBBC5FBA62EBBC071673" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_9C7204CDE2499209927962EBBC114750" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_CD27D3867A1BAEC5913B62EBBC116FF8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_9C7204CDE2499209927962EBBC114750" xlink:to="loc_us-gaap_RelatedPartyDomain_CD27D3867A1BAEC5913B62EBBC116FF8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_CD27D3867A1BAEC5913B62EBBC116FF8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_9C7204CDE2499209927962EBBC114750" xlink:to="loc_us-gaap_RelatedPartyDomain_CD27D3867A1BAEC5913B62EBBC116FF8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CorporateJointVentureMember" xlink:label="loc_us-gaap_CorporateJointVentureMember_737A74E0FA74C948121C62EBBC1121E7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_CD27D3867A1BAEC5913B62EBBC116FF8" xlink:to="loc_us-gaap_CorporateJointVentureMember_737A74E0FA74C948121C62EBBC1121E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_894711F87A4EB0B2AA7D62EBBC11D2BA" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_2B4D5F37A338DBBC5FBA62EBBC071673" xlink:to="loc_dei_LegalEntityAxis_894711F87A4EB0B2AA7D62EBBC11D2BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_47F209674C767B63CB8462EBBC11089E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_894711F87A4EB0B2AA7D62EBBC11D2BA" xlink:to="loc_dei_EntityDomain_47F209674C767B63CB8462EBBC11089E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_47F209674C767B63CB8462EBBC11089E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_894711F87A4EB0B2AA7D62EBBC11D2BA" xlink:to="loc_dei_EntityDomain_47F209674C767B63CB8462EBBC11089E" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ChongqingFundsMember" xlink:label="loc_aosl_ChongqingFundsMember_0DCA1E9F1BD1D7352ECB62EBBC11CB9F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_47F209674C767B63CB8462EBBC11089E" xlink:to="loc_aosl_ChongqingFundsMember_0DCA1E9F1BD1D7352ECB62EBBC11CB9F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_8880DDCC64A561A3F53062EBBC11A217" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_2B4D5F37A338DBBC5FBA62EBBC071673" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_8880DDCC64A561A3F53062EBBC11A217" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_105E4DF26AFE20DA855562EBBC11C367_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_8880DDCC64A561A3F53062EBBC11A217" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_105E4DF26AFE20DA855562EBBC11C367_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_105E4DF26AFE20DA855562EBBC11C367" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_8880DDCC64A561A3F53062EBBC11A217" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_105E4DF26AFE20DA855562EBBC11C367" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_6683BAD4A101FC8271EE62EBBC11B079" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_105E4DF26AFE20DA855562EBBC11C367" xlink:to="loc_us-gaap_ParentCompanyMember_6683BAD4A101FC8271EE62EBBC11B079" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValue" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValue_5065E425354155859E6062EBBC116B34" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_972866974C8B329932BA62EBBC11D9B0" xlink:to="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValue_5065E425354155859E6062EBBC116B34" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsidiaryOrEquityMethodInvesteeCumulativePercentageOwnershipAfterAllTransactions" xlink:label="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeCumulativePercentageOwnershipAfterAllTransactions_DB25ADF94D501B2DD29062EBBC11CD53" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_972866974C8B329932BA62EBBC11D9B0" xlink:to="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeCumulativePercentageOwnershipAfterAllTransactions_DB25ADF94D501B2DD29062EBBC11CD53" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_SimpleAnnualInterestRatetoNoncontrollingInterestifJointVentureisEarlyTerminatedandLiquidated" xlink:label="loc_aosl_SimpleAnnualInterestRatetoNoncontrollingInterestifJointVentureisEarlyTerminatedandLiquidated_F050AA8E99699ED5771F62EBBC11C283" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_972866974C8B329932BA62EBBC11D9B0" xlink:to="loc_aosl_SimpleAnnualInterestRatetoNoncontrollingInterestifJointVentureisEarlyTerminatedandLiquidated_F050AA8E99699ED5771F62EBBC11C283" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PaymentstopurchaselanduserightsinJVCompany" xlink:label="loc_aosl_PaymentstopurchaselanduserightsinJVCompany_B2FCDFFF0144FE5F127762EBBC117A72" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_972866974C8B329932BA62EBBC11D9B0" xlink:to="loc_aosl_PaymentstopurchaselanduserightsinJVCompany_B2FCDFFF0144FE5F127762EBBC117A72" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractualObligation" xlink:label="loc_us-gaap_ContractualObligation_ED14103E4419E8D6B70862EBBC115E34" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_972866974C8B329932BA62EBBC11D9B0" xlink:to="loc_us-gaap_ContractualObligation_ED14103E4419E8D6B70862EBBC115E34" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ContractualObligationFutureMinimumPaymentsDueRemainderofCalendarYear" xlink:label="loc_aosl_ContractualObligationFutureMinimumPaymentsDueRemainderofCalendarYear_56F95862403E230A4E3862EBBC11626C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_972866974C8B329932BA62EBBC11D9B0" xlink:to="loc_aosl_ContractualObligationFutureMinimumPaymentsDueRemainderofCalendarYear_56F95862403E230A4E3862EBBC11626C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractualObligationDueInSecondYear" xlink:label="loc_us-gaap_ContractualObligationDueInSecondYear_91A236188BE90D9C28E662EBBC11BDC8" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_972866974C8B329932BA62EBBC11D9B0" xlink:to="loc_us-gaap_ContractualObligationDueInSecondYear_91A236188BE90D9C28E662EBBC11BDC8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireInterestInJointVenture" xlink:label="loc_us-gaap_PaymentsToAcquireInterestInJointVenture_82E89838A38C5991F08262EBBC112638" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_972866974C8B329932BA62EBBC11D9B0" xlink:to="loc_us-gaap_PaymentsToAcquireInterestInJointVenture_82E89838A38C5991F08262EBBC112638" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ConsiderationTransferredtoAcquireInterestinJointVenture" xlink:label="loc_aosl_ConsiderationTransferredtoAcquireInterestinJointVenture_4D064111EF9CA6E3821E62EBBC11562F" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_972866974C8B329932BA62EBBC11D9B0" xlink:to="loc_aosl_ConsiderationTransferredtoAcquireInterestinJointVenture_4D064111EF9CA6E3821E62EBBC11562F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_76A43EE429345EAC0D2C62EBBC114D38" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_972866974C8B329932BA62EBBC11D9B0" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_76A43EE429345EAC0D2C62EBBC114D38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_11A93C3BD50D245B871362EBBC11FFCB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_76A43EE429345EAC0D2C62EBBC114D38" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_11A93C3BD50D245B871362EBBC11FFCB" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_StockIssuedDuringPeriodValueStockOptionsExercisedAndRestrictedStockUnitsReleased" xlink:label="loc_aosl_StockIssuedDuringPeriodValueStockOptionsExercisedAndRestrictedStockUnitsReleased_F816E69B403ED4E3652962EBBC118546" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_76A43EE429345EAC0D2C62EBBC114D38" xlink:to="loc_aosl_StockIssuedDuringPeriodValueStockOptionsExercisedAndRestrictedStockUnitsReleased_F816E69B403ED4E3652962EBBC118546" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueTreasuryStockReissued" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueTreasuryStockReissued_23B2A5DF3566110B0E7D62EBBC11F141" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_76A43EE429345EAC0D2C62EBBC114D38" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueTreasuryStockReissued_23B2A5DF3566110B0E7D62EBBC11F141" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet" xlink:label="loc_us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet_9A6C782FF803E3EF0C8962EBBC1143CB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_76A43EE429345EAC0D2C62EBBC114D38" xlink:to="loc_us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet_9A6C782FF803E3EF0C8962EBBC1143CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_267C628F849CC8F58FAC62EBBC1BC40A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_76A43EE429345EAC0D2C62EBBC114D38" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_267C628F849CC8F58FAC62EBBC1BC40A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_9C687BD18B0C408AE80E62EBBC1B3725" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_76A43EE429345EAC0D2C62EBBC114D38" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_9C687BD18B0C408AE80E62EBBC1B3725" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_06BDFC9646101F60043362EBBC1B6BCB" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_76A43EE429345EAC0D2C62EBBC114D38" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_06BDFC9646101F60043362EBBC1B6BCB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_F40540E1FEEFBE5A460562EBBC1BB558" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_76A43EE429345EAC0D2C62EBBC114D38" xlink:to="loc_us-gaap_ProfitLoss_F40540E1FEEFBE5A460562EBBC1BB558" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_DeferredIncomeTaxNetPeriodIncreaseDecrease" xlink:label="loc_aosl_DeferredIncomeTaxNetPeriodIncreaseDecrease_739C486144E137E35B3562EBBC1BDF65" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_76A43EE429345EAC0D2C62EBBC114D38" xlink:to="loc_aosl_DeferredIncomeTaxNetPeriodIncreaseDecrease_739C486144E137E35B3562EBBC1BDF65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_01BE1F371FBD01CC8F3D62EBBC1B098F" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_76A43EE429345EAC0D2C62EBBC114D38" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_01BE1F371FBD01CC8F3D62EBBC1B098F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance" xlink:label="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_8C9B4F2F29B92A918C9C62EBBC1B1E5B" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_76A43EE429345EAC0D2C62EBBC114D38" xlink:to="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_8C9B4F2F29B92A918C9C62EBBC1B1E5B" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ContractualObligationPayment" xlink:label="loc_aosl_ContractualObligationPayment_A05A5E07B4FD2CDF621E62EBBC1BECDF" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_972866974C8B329932BA62EBBC11D9B0" xlink:to="loc_aosl_ContractualObligationPayment_A05A5E07B4FD2CDF621E62EBBC1BECDF" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ContractualObligationFutureMinimumPaymentsDueinFiscalYear2019" xlink:label="loc_aosl_ContractualObligationFutureMinimumPaymentsDueinFiscalYear2019_B440299780DE3E72C86762EBBC1B7837" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_972866974C8B329932BA62EBBC11D9B0" xlink:to="loc_aosl_ContractualObligationFutureMinimumPaymentsDueinFiscalYear2019_B440299780DE3E72C86762EBBC1B7837" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/JointVentureTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/NarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_15AA6B437426408E294C49C3DA800DA4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_DAC7D37C73412967211E49C3DA7B0F5C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_15AA6B437426408E294C49C3DA800DA4" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_DAC7D37C73412967211E49C3DA7B0F5C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_81F86C03425DF4EE8A8149C3DA7BFE38" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_DAC7D37C73412967211E49C3DA7B0F5C" xlink:to="loc_us-gaap_PlanNameAxis_81F86C03425DF4EE8A8149C3DA7BFE38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_F32D3A68703FCB384F4849C3DA7B9B34_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_81F86C03425DF4EE8A8149C3DA7BFE38" xlink:to="loc_us-gaap_PlanNameDomain_F32D3A68703FCB384F4849C3DA7B9B34_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_F32D3A68703FCB384F4849C3DA7B9B34" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_81F86C03425DF4EE8A8149C3DA7BFE38" xlink:to="loc_us-gaap_PlanNameDomain_F32D3A68703FCB384F4849C3DA7B9B34" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_TwoThousandPlanMember" xlink:label="loc_aosl_TwoThousandPlanMember_2807DF41501D4B1ACEF049C3DA7CD601" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_F32D3A68703FCB384F4849C3DA7B9B34" xlink:to="loc_aosl_TwoThousandPlanMember_2807DF41501D4B1ACEF049C3DA7CD601" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_TwoThousandNinePlanMember" xlink:label="loc_aosl_TwoThousandNinePlanMember_927A7EC4824DE53ED89449C3DA7C0042" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_F32D3A68703FCB384F4849C3DA7B9B34" xlink:to="loc_aosl_TwoThousandNinePlanMember_927A7EC4824DE53ED89449C3DA7C0042" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0E51EE0C13C56358BCCE49C3DA7C2204" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_DAC7D37C73412967211E49C3DA7B0F5C" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0E51EE0C13C56358BCCE49C3DA7C2204" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_9495199A12745CEE9EC549C3DA7D8EB2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0E51EE0C13C56358BCCE49C3DA7C2204" xlink:to="loc_us-gaap_RelatedPartyDomain_9495199A12745CEE9EC549C3DA7D8EB2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_9495199A12745CEE9EC549C3DA7D8EB2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0E51EE0C13C56358BCCE49C3DA7C2204" xlink:to="loc_us-gaap_RelatedPartyDomain_9495199A12745CEE9EC549C3DA7D8EB2" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ExternalBoardMembersMember" xlink:label="loc_aosl_ExternalBoardMembersMember_7E2E48B37889EDDA45CB49C3DA7D771A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_9495199A12745CEE9EC549C3DA7D8EB2" xlink:to="loc_aosl_ExternalBoardMembersMember_7E2E48B37889EDDA45CB49C3DA7D771A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_E091930ECA358FDA2EE749C3DA7DBC3A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_DAC7D37C73412967211E49C3DA7B0F5C" xlink:to="loc_us-gaap_AwardTypeAxis_E091930ECA358FDA2EE749C3DA7DBC3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DBACFFE87043507C8C3249C3DA7D054A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_E091930ECA358FDA2EE749C3DA7DBC3A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DBACFFE87043507C8C3249C3DA7D054A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DBACFFE87043507C8C3249C3DA7D054A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_E091930ECA358FDA2EE749C3DA7DBC3A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DBACFFE87043507C8C3249C3DA7D054A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_FE47650F547450010AEE49C3DA7E708D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DBACFFE87043507C8C3249C3DA7D054A" xlink:to="loc_us-gaap_EmployeeStockOptionMember_FE47650F547450010AEE49C3DA7E708D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PerformanceSharesMember" xlink:label="loc_us-gaap_PerformanceSharesMember_36A3192CDC5CC1475EC449C3DA7E81FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeStockOptionMember_FE47650F547450010AEE49C3DA7E708D" xlink:to="loc_us-gaap_PerformanceSharesMember_36A3192CDC5CC1475EC449C3DA7E81FD" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_NonstatutoryStockOptionsMember" xlink:label="loc_aosl_NonstatutoryStockOptionsMember_0DC9F34DE66B102B6AF949C3DA7E0CBC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeStockOptionMember_FE47650F547450010AEE49C3DA7E708D" xlink:to="loc_aosl_NonstatutoryStockOptionsMember_0DC9F34DE66B102B6AF949C3DA7E0CBC" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_StockOptionsAndRestrictedStockUnitsRsusMember" xlink:label="loc_aosl_StockOptionsAndRestrictedStockUnitsRsusMember_865C74EDED25A55A281849C3DA7E50C3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DBACFFE87043507C8C3249C3DA7D054A" xlink:to="loc_aosl_StockOptionsAndRestrictedStockUnitsRsusMember_865C74EDED25A55A281849C3DA7E50C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_EDB2B59EE189C182795B49C3DA7F5EED" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DBACFFE87043507C8C3249C3DA7D054A" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_EDB2B59EE189C182795B49C3DA7F5EED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_A604CFD1981517C6B34449C3DA7F1AB5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_DAC7D37C73412967211E49C3DA7B0F5C" xlink:to="loc_us-gaap_RangeAxis_A604CFD1981517C6B34449C3DA7F1AB5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_3785195C77CE3BBBD7A649C3DA7F4807_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_A604CFD1981517C6B34449C3DA7F1AB5" xlink:to="loc_us-gaap_RangeMember_3785195C77CE3BBBD7A649C3DA7F4807_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_3785195C77CE3BBBD7A649C3DA7F4807" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_A604CFD1981517C6B34449C3DA7F1AB5" xlink:to="loc_us-gaap_RangeMember_3785195C77CE3BBBD7A649C3DA7F4807" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_69252182151228C75E1749C3DA7F3CE0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_3785195C77CE3BBBD7A649C3DA7F4807" xlink:to="loc_us-gaap_MinimumMember_69252182151228C75E1749C3DA7F3CE0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_6E0F278D5F7E57998D4D49C3DA80CF2F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_3785195C77CE3BBBD7A649C3DA7F4807" xlink:to="loc_us-gaap_MaximumMember_6E0F278D5F7E57998D4D49C3DA80CF2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_7D6303441950E6F9D74449C3DA80C070" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_15AA6B437426408E294C49C3DA800DA4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_7D6303441950E6F9D74449C3DA80C070" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_59FE7AE6940017B50D3D49C3DA816783" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_15AA6B437426408E294C49C3DA800DA4" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_59FE7AE6940017B50D3D49C3DA816783" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_6BE3A8DAA072CB6EB28A49C3DA81708D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_15AA6B437426408E294C49C3DA800DA4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_6BE3A8DAA072CB6EB28A49C3DA81708D" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardExercisePriceAsPercentOfFairValueOfCommonStockForShareholdersWithMoreThan10OfOutstandingSharesOfAllShareClasses" xlink:label="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardExercisePriceAsPercentOfFairValueOfCommonStockForShareholdersWithMoreThan10OfOutstandingSharesOfAllShareClasses_AA0A2C5922B11C2B0EFE49C3DA816EE9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_15AA6B437426408E294C49C3DA800DA4" xlink:to="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardExercisePriceAsPercentOfFairValueOfCommonStockForShareholdersWithMoreThan10OfOutstandingSharesOfAllShareClasses_AA0A2C5922B11C2B0EFE49C3DA816EE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_9BC48F687EA467C0B1BB49C3DA82F484" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_15AA6B437426408E294C49C3DA800DA4" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_9BC48F687EA467C0B1BB49C3DA82F484" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardAnnualCalenderYearIncreaseInSharesAuthorizedPercent" xlink:label="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardAnnualCalenderYearIncreaseInSharesAuthorizedPercent_A203F9052C7577B7F48249C3DA82B81B" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_15AA6B437426408E294C49C3DA800DA4" xlink:to="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardAnnualCalenderYearIncreaseInSharesAuthorizedPercent_A203F9052C7577B7F48249C3DA82B81B" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_SharebasedCompensationArrangementByShareBasedPaymentAwardAnnualCalenderYearIncreaseinSharesAuthorized" xlink:label="loc_aosl_SharebasedCompensationArrangementByShareBasedPaymentAwardAnnualCalenderYearIncreaseinSharesAuthorized_192C40AEDED053C1B37149C3DA82F164" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_15AA6B437426408E294C49C3DA800DA4" xlink:to="loc_aosl_SharebasedCompensationArrangementByShareBasedPaymentAwardAnnualCalenderYearIncreaseinSharesAuthorized_192C40AEDED053C1B37149C3DA82F164" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized_56E5ECC528B267306DE349C3DA8242DB" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_15AA6B437426408E294C49C3DA800DA4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized_56E5ECC528B267306DE349C3DA8242DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_844395990CD8FDF6FBDC49C3DA82D37C" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_15AA6B437426408E294C49C3DA800DA4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_844395990CD8FDF6FBDC49C3DA82D37C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_E7D58F2BAE3587957C0F49C3DA83042C" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_15AA6B437426408E294C49C3DA800DA4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_E7D58F2BAE3587957C0F49C3DA83042C" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherthanOptionsValueOfGrantsinPeriod" xlink:label="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherthanOptionsValueOfGrantsinPeriod_2EF45D98AEDDE486963549C3DA83A992" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_15AA6B437426408E294C49C3DA800DA4" xlink:to="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherthanOptionsValueOfGrantsinPeriod_2EF45D98AEDDE486963549C3DA83A992" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardVestingPeriodOfStockOptionsRatablyEachMonthAfterFirstYear" xlink:label="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardVestingPeriodOfStockOptionsRatablyEachMonthAfterFirstYear_35767483F8A37E3D27F549C3DA8342A7" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_15AA6B437426408E294C49C3DA800DA4" xlink:to="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardVestingPeriodOfStockOptionsRatablyEachMonthAfterFirstYear_35767483F8A37E3D27F549C3DA8342A7" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_SharebasedCompensationArrangementBySharebasedPaymentAwardNumberofIncentiveCompensationPrograms" xlink:label="loc_aosl_SharebasedCompensationArrangementBySharebasedPaymentAwardNumberofIncentiveCompensationPrograms_AA3B4E4816600B8DB98049C3DA8325B5" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_15AA6B437426408E294C49C3DA800DA4" xlink:to="loc_aosl_SharebasedCompensationArrangementBySharebasedPaymentAwardNumberofIncentiveCompensationPrograms_AA3B4E4816600B8DB98049C3DA8325B5" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/NetIncomeLossPerShare" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/NetIncomeLossPerShareBasicAndDilutedIncomePerShareDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareDilutedLineItems" xlink:label="loc_us-gaap_EarningsPerShareDilutedLineItems_5A99C8B22B275CA8A80BE1C60B3FEC0B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_A2B9A78C30C05473955643FE6BDE3903" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_5A99C8B22B275CA8A80BE1C60B3FEC0B" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_A2B9A78C30C05473955643FE6BDE3903" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_97EA6F3ED87D56F7B3F185264D71F0DE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_A2B9A78C30C05473955643FE6BDE3903" xlink:to="loc_us-gaap_StatementClassOfStockAxis_97EA6F3ED87D56F7B3F185264D71F0DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_D0A6F430FC845878CFA706913EB37A63_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_97EA6F3ED87D56F7B3F185264D71F0DE" xlink:to="loc_us-gaap_ClassOfStockDomain_D0A6F430FC845878CFA706913EB37A63_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_B35F8DD5E6AB5CB6B5E24DCE98C4BA12" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_97EA6F3ED87D56F7B3F185264D71F0DE" xlink:to="loc_us-gaap_ClassOfStockDomain_B35F8DD5E6AB5CB6B5E24DCE98C4BA12" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/NetIncomeLossPerSharePotentialDilutiveSharesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B720183CC0E959388532B32649930556" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_5B3D612324AD5378BC7421F463E4FB06" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B720183CC0E959388532B32649930556" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_5B3D612324AD5378BC7421F463E4FB06" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_620F9AED49655ECDB292D3D27F6F2FD2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_5B3D612324AD5378BC7421F463E4FB06" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_620F9AED49655ECDB292D3D27F6F2FD2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_1142FC02FD0D2A54E834F6E5F70BA704_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_620F9AED49655ECDB292D3D27F6F2FD2" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_1142FC02FD0D2A54E834F6E5F70BA704_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A2EA52E839D15B7F95E7B18CA9880CB6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_620F9AED49655ECDB292D3D27F6F2FD2" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A2EA52E839D15B7F95E7B18CA9880CB6" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_StockOptionsAndRestrictedStockUnitsRsusMember" xlink:label="loc_aosl_StockOptionsAndRestrictedStockUnitsRsusMember_81E7321B44395453A9FD9175C9D1E891" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A2EA52E839D15B7F95E7B18CA9880CB6" xlink:to="loc_aosl_StockOptionsAndRestrictedStockUnitsRsusMember_81E7321B44395453A9FD9175C9D1E891" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockCompensationPlanMember" xlink:label="loc_us-gaap_StockCompensationPlanMember_6AA1CB23E49858F4A1AC96EC4DB06826" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A2EA52E839D15B7F95E7B18CA9880CB6" xlink:to="loc_us-gaap_StockCompensationPlanMember_6AA1CB23E49858F4A1AC96EC4DB06826" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_82BB1924A72E5223985BD44CEAF4A96E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B720183CC0E959388532B32649930556" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_82BB1924A72E5223985BD44CEAF4A96E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_DF1079661218560DB028C08C7CFD4152" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B720183CC0E959388532B32649930556" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_DF1079661218560DB028C08C7CFD4152" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/NetIncomeLossPerShareTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/RestrictedNetAssets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/RestrictedNetAssetsDetails" xlink:type="extended">
    <link:loc xlink:href="aosl-20180630.xsd#aosl_RestrictedStatutoryReservesLineItems" xlink:label="loc_aosl_RestrictedStatutoryReservesLineItems_608D8CD31C63945BC10C49C3D9A1A145" xlink:type="locator" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_RestrictedStatutoryReservesTable" xlink:label="loc_aosl_RestrictedStatutoryReservesTable_BCF814D30B5DFD07D68349C3D99EDF8F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_aosl_RestrictedStatutoryReservesLineItems_608D8CD31C63945BC10C49C3D9A1A145" xlink:to="loc_aosl_RestrictedStatutoryReservesTable_BCF814D30B5DFD07D68349C3D99EDF8F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityByLocationAxis" xlink:label="loc_dei_EntityByLocationAxis_8E909835B85BD8CABAE949C3D99E2C77" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aosl_RestrictedStatutoryReservesTable_BCF814D30B5DFD07D68349C3D99EDF8F" xlink:to="loc_dei_EntityByLocationAxis_8E909835B85BD8CABAE949C3D99E2C77" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LocationDomain" xlink:label="loc_dei_LocationDomain_83C19E1A3EB314A7908C49C3D99E3C5E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_EntityByLocationAxis_8E909835B85BD8CABAE949C3D99E2C77" xlink:to="loc_dei_LocationDomain_83C19E1A3EB314A7908C49C3D99E3C5E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LocationDomain" xlink:label="loc_dei_LocationDomain_83C19E1A3EB314A7908C49C3D99E3C5E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_EntityByLocationAxis_8E909835B85BD8CABAE949C3D99E2C77" xlink:to="loc_dei_LocationDomain_83C19E1A3EB314A7908C49C3D99E3C5E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_CN" xlink:label="loc_country_CN_3840FAE469607B84E3FF49C3D99FC153" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_LocationDomain_83C19E1A3EB314A7908C49C3D99E3C5E" xlink:to="loc_country_CN_3840FAE469607B84E3FF49C3D99FC153" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_7DE48D5ED3CEF2B6CBF249C3D99FE4B7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aosl_RestrictedStatutoryReservesTable_BCF814D30B5DFD07D68349C3D99EDF8F" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_7DE48D5ED3CEF2B6CBF249C3D99FE4B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_596ED3AA941FC6E79B8449C3D99F2DFB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_7DE48D5ED3CEF2B6CBF249C3D99FE4B7" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_596ED3AA941FC6E79B8449C3D99F2DFB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_596ED3AA941FC6E79B8449C3D99F2DFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_7DE48D5ED3CEF2B6CBF249C3D99FE4B7" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_596ED3AA941FC6E79B8449C3D99F2DFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsidiariesMember" xlink:label="loc_us-gaap_SubsidiariesMember_49A087625E12491DDA9849C3D99F5223" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_596ED3AA941FC6E79B8449C3D99F2DFB" xlink:to="loc_us-gaap_SubsidiariesMember_49A087625E12491DDA9849C3D99F5223" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_44BDAF7C211EB6D2EC6349C3D9A09B08" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aosl_RestrictedStatutoryReservesTable_BCF814D30B5DFD07D68349C3D99EDF8F" xlink:to="loc_us-gaap_RangeAxis_44BDAF7C211EB6D2EC6349C3D9A09B08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_D0A79B70FDE7F62C1D0F49C3D9A0342D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_44BDAF7C211EB6D2EC6349C3D9A09B08" xlink:to="loc_us-gaap_RangeMember_D0A79B70FDE7F62C1D0F49C3D9A0342D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_D0A79B70FDE7F62C1D0F49C3D9A0342D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_44BDAF7C211EB6D2EC6349C3D9A09B08" xlink:to="loc_us-gaap_RangeMember_D0A79B70FDE7F62C1D0F49C3D9A0342D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_0C9C88D6400D5B6C6E8649C3D9A00CBD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_D0A79B70FDE7F62C1D0F49C3D9A0342D" xlink:to="loc_us-gaap_MinimumMember_0C9C88D6400D5B6C6E8649C3D9A00CBD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_8B1DE55095A2842856E249C3D9A0E52B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_D0A79B70FDE7F62C1D0F49C3D9A0342D" xlink:to="loc_us-gaap_MaximumMember_8B1DE55095A2842856E249C3D9A0E52B" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PercentOfAfterTaxProfitRequiredAnnuallyInStatutoryReserves" xlink:label="loc_aosl_PercentOfAfterTaxProfitRequiredAnnuallyInStatutoryReserves_5999D91EF41F91A8ADE349C3D9A13C24" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_RestrictedStatutoryReservesLineItems_608D8CD31C63945BC10C49C3D9A1A145" xlink:to="loc_aosl_PercentOfAfterTaxProfitRequiredAnnuallyInStatutoryReserves_5999D91EF41F91A8ADE349C3D9A13C24" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_StatutoryReservesCumulativeAmountAsPercentOfRegisteredCapital" xlink:label="loc_aosl_StatutoryReservesCumulativeAmountAsPercentOfRegisteredCapital_E37D0D83575ADC00CD6349C3D9A1D7DF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_RestrictedStatutoryReservesLineItems_608D8CD31C63945BC10C49C3D9A1A145" xlink:to="loc_aosl_StatutoryReservesCumulativeAmountAsPercentOfRegisteredCapital_E37D0D83575ADC00CD6349C3D9A1D7DF" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ForeignSubsidiariesRestrictedStatutoryReservesAmount" xlink:label="loc_aosl_ForeignSubsidiariesRestrictedStatutoryReservesAmount_6E2CB4AC943B5818FDF249C3D9A121C7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_RestrictedStatutoryReservesLineItems_608D8CD31C63945BC10C49C3D9A1A145" xlink:to="loc_aosl_ForeignSubsidiariesRestrictedStatutoryReservesAmount_6E2CB4AC943B5818FDF249C3D9A121C7" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ForeignSubsidiariesRestrictedStatutoryReservesPercentOfParentConsolidatedNetAssets" xlink:label="loc_aosl_ForeignSubsidiariesRestrictedStatutoryReservesPercentOfParentConsolidatedNetAssets_813E42024841CFB49CAB49C3D9A1A8F6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aosl_RestrictedStatutoryReservesLineItems_608D8CD31C63945BC10C49C3D9A1A145" xlink:to="loc_aosl_ForeignSubsidiariesRestrictedStatutoryReservesPercentOfParentConsolidatedNetAssets_813E42024841CFB49CAB49C3D9A1A8F6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ScheduleICondensedFinancialInformationOfParentCompanyDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedFinancialStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_2A5A2EE3C6D16362C23E63A93D82EBBE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfCondensedFinancialStatementsTable" xlink:label="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_E67E1F4A6CC77F2F1C7A63A93D785066" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_2A5A2EE3C6D16362C23E63A93D82EBBE" xlink:to="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_E67E1F4A6CC77F2F1C7A63A93D785066" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_72AE05BCA98E1FE941F263A93D82ADAC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_E67E1F4A6CC77F2F1C7A63A93D785066" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_72AE05BCA98E1FE941F263A93D82ADAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_18371E17059B514D425E63A93D82CCEC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_72AE05BCA98E1FE941F263A93D82ADAC" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_18371E17059B514D425E63A93D82CCEC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_18371E17059B514D425E63A93D82CCEC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_72AE05BCA98E1FE941F263A93D82ADAC" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_18371E17059B514D425E63A93D82CCEC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_188233CB7B7A105933B663A93D82123F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_18371E17059B514D425E63A93D82CCEC" xlink:to="loc_us-gaap_SubsequentEventMember_188233CB7B7A105933B663A93D82123F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_35BEE000E4AB6A211F2463A93D8289A8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_E67E1F4A6CC77F2F1C7A63A93D785066" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_35BEE000E4AB6A211F2463A93D8289A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_F4C77D977EA318356CC063A93D825583_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_35BEE000E4AB6A211F2463A93D8289A8" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_F4C77D977EA318356CC063A93D825583_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_F4C77D977EA318356CC063A93D825583" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_35BEE000E4AB6A211F2463A93D8289A8" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_F4C77D977EA318356CC063A93D825583" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_FacilityinLiangjiangNewAreaofChongqingtheJointVentureMember" xlink:label="loc_aosl_FacilityinLiangjiangNewAreaofChongqingtheJointVentureMember_AB5C4082379C5B50900B63A93D82331C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityMethodInvesteeNameDomain_F4C77D977EA318356CC063A93D825583" xlink:to="loc_aosl_FacilityinLiangjiangNewAreaofChongqingtheJointVentureMember_AB5C4082379C5B50900B63A93D82331C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentsAxis" xlink:label="loc_us-gaap_OtherCommitmentsAxis_1E7A1F1221D1BE2E843E63A93D8220AD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_E67E1F4A6CC77F2F1C7A63A93D785066" xlink:to="loc_us-gaap_OtherCommitmentsAxis_1E7A1F1221D1BE2E843E63A93D8220AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentsDomain" xlink:label="loc_us-gaap_OtherCommitmentsDomain_5604C4DF60587880789B63A93D821A34_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OtherCommitmentsAxis_1E7A1F1221D1BE2E843E63A93D8220AD" xlink:to="loc_us-gaap_OtherCommitmentsDomain_5604C4DF60587880789B63A93D821A34_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentsDomain" xlink:label="loc_us-gaap_OtherCommitmentsDomain_5604C4DF60587880789B63A93D821A34" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OtherCommitmentsAxis_1E7A1F1221D1BE2E843E63A93D8220AD" xlink:to="loc_us-gaap_OtherCommitmentsDomain_5604C4DF60587880789B63A93D821A34" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_DesignFeesMember" xlink:label="loc_aosl_DesignFeesMember_F418227C66A018BDE67263A93D82881C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_5604C4DF60587880789B63A93D821A34" xlink:to="loc_aosl_DesignFeesMember_F418227C66A018BDE67263A93D82881C" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ConstructionandProcurementFeesMember" xlink:label="loc_aosl_ConstructionandProcurementFeesMember_BDD7C1E7F29F55DD375963A93D82C267" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_5604C4DF60587880789B63A93D821A34" xlink:to="loc_aosl_ConstructionandProcurementFeesMember_BDD7C1E7F29F55DD375963A93D82C267" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_4AF6D8C921B4FAF6D6F663A93D820AA5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_E67E1F4A6CC77F2F1C7A63A93D785066" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_4AF6D8C921B4FAF6D6F663A93D820AA5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_9F39BB643B6EDB697A1263A93D827F20_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_4AF6D8C921B4FAF6D6F663A93D820AA5" xlink:to="loc_us-gaap_RelatedPartyDomain_9F39BB643B6EDB697A1263A93D827F20_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_9F39BB643B6EDB697A1263A93D827F20" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_4AF6D8C921B4FAF6D6F663A93D820AA5" xlink:to="loc_us-gaap_RelatedPartyDomain_9F39BB643B6EDB697A1263A93D827F20" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CorporateJointVentureMember" xlink:label="loc_us-gaap_CorporateJointVentureMember_432A831DC9DDFF32622963A93D825B49" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_9F39BB643B6EDB697A1263A93D827F20" xlink:to="loc_us-gaap_CorporateJointVentureMember_432A831DC9DDFF32622963A93D825B49" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_B91293B8FE66CF62A25F63A93D82AA36" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_E67E1F4A6CC77F2F1C7A63A93D785066" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_B91293B8FE66CF62A25F63A93D82AA36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_9789B92EF7C199FEDCB563A93D82FC39_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_B91293B8FE66CF62A25F63A93D82AA36" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_9789B92EF7C199FEDCB563A93D82FC39_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_9789B92EF7C199FEDCB563A93D82FC39" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_B91293B8FE66CF62A25F63A93D82AA36" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_9789B92EF7C199FEDCB563A93D82FC39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_22D3D8E62BB75FB6160A63A93D82AF94" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_9789B92EF7C199FEDCB563A93D82FC39" xlink:to="loc_us-gaap_ParentCompanyMember_22D3D8E62BB75FB6160A63A93D82AF94" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ContractualObligationFutureMinimumPaymentsDueRemainderofCalendarYear" xlink:label="loc_aosl_ContractualObligationFutureMinimumPaymentsDueRemainderofCalendarYear_5945A3BA14708ADE73FA63A93D82468D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_2A5A2EE3C6D16362C23E63A93D82EBBE" xlink:to="loc_aosl_ContractualObligationFutureMinimumPaymentsDueRemainderofCalendarYear_5945A3BA14708ADE73FA63A93D82468D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractualObligationDueInSecondYear" xlink:label="loc_us-gaap_ContractualObligationDueInSecondYear_E624450AB1326DE712C063A93D823FCE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_2A5A2EE3C6D16362C23E63A93D82EBBE" xlink:to="loc_us-gaap_ContractualObligationDueInSecondYear_E624450AB1326DE712C063A93D823FCE" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ContractualObligationPayment" xlink:label="loc_aosl_ContractualObligationPayment_0FE59DDA522B3079B88163A93D82A627" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_2A5A2EE3C6D16362C23E63A93D82EBBE" xlink:to="loc_aosl_ContractualObligationPayment_0FE59DDA522B3079B88163A93D82A627" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ContractualObligationFutureMinimumPaymentsDueinFiscalYear2019" xlink:label="loc_aosl_ContractualObligationFutureMinimumPaymentsDueinFiscalYear2019_481DBF3A888A7DF5672C63AB32700982" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_2A5A2EE3C6D16362C23E63A93D82EBBE" xlink:to="loc_aosl_ContractualObligationFutureMinimumPaymentsDueinFiscalYear2019_481DBF3A888A7DF5672C63AB32700982" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ScheduleICondensedUnconsolidatedBalanceSheets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ScheduleICondensedUnconsolidatedBalanceSheetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedFinancialStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_90E8EA9D5D6B939F47AB49C3D94A83C6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfCondensedFinancialStatementsTable" xlink:label="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_A2B85C18A28D17001C9A49C3D949B36E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_90E8EA9D5D6B939F47AB49C3D94A83C6" xlink:to="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_A2B85C18A28D17001C9A49C3D949B36E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_54FB02EB017C9882E14049C3D94940EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_A2B85C18A28D17001C9A49C3D949B36E" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_54FB02EB017C9882E14049C3D94940EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_2ECE7F3656710DE3F6C449C3D94AB0ED_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_54FB02EB017C9882E14049C3D94940EE" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_2ECE7F3656710DE3F6C449C3D94AB0ED_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_2ECE7F3656710DE3F6C449C3D94AB0ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_54FB02EB017C9882E14049C3D94940EE" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_2ECE7F3656710DE3F6C449C3D94AB0ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_2CA723594C3CB0B6A03B49C3D94A2411" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_2ECE7F3656710DE3F6C449C3D94AB0ED" xlink:to="loc_us-gaap_ParentCompanyMember_2CA723594C3CB0B6A03B49C3D94A2411" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_14F1402EC0D72760831D49C3D94B8A35" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_90E8EA9D5D6B939F47AB49C3D94A83C6" xlink:to="loc_us-gaap_AssetsCurrentAbstract_14F1402EC0D72760831D49C3D94B8A35" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_6C6C0AD35F3116E809A849C3D94B9AEE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_14F1402EC0D72760831D49C3D94B8A35" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_6C6C0AD35F3116E809A849C3D94B9AEE" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_AccountsReceivableIntercompany" xlink:label="loc_aosl_AccountsReceivableIntercompany_89EB01F85DD8A79C152749C3D94BDC14" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_14F1402EC0D72760831D49C3D94B8A35" xlink:to="loc_aosl_AccountsReceivableIntercompany_89EB01F85DD8A79C152749C3D94BDC14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaap_OtherAssetsCurrent_28405ACAB3A98C45C51B49C3D94B995B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_14F1402EC0D72760831D49C3D94B8A35" xlink:to="loc_us-gaap_OtherAssetsCurrent_28405ACAB3A98C45C51B49C3D94B995B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_DB08FDE3D2995DAD3A3249C3D94CB2B9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_14F1402EC0D72760831D49C3D94B8A35" xlink:to="loc_us-gaap_AssetsCurrent_DB08FDE3D2995DAD3A3249C3D94CB2B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_1646D4A8BF3B036E8ACB49C3D94CBD2B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_90E8EA9D5D6B939F47AB49C3D94A83C6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_1646D4A8BF3B036E8ACB49C3D94CBD2B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_150FA20D6057F70ECDC449C3D94CAB5F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_90E8EA9D5D6B939F47AB49C3D94A83C6" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_150FA20D6057F70ECDC449C3D94CAB5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_BA79014C33F57D3D66D749C3D94CD396" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_90E8EA9D5D6B939F47AB49C3D94A83C6" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_BA79014C33F57D3D66D749C3D94CD396" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_CADBC7710441122C22F049C3D94CD827" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_90E8EA9D5D6B939F47AB49C3D94A83C6" xlink:to="loc_us-gaap_Assets_CADBC7710441122C22F049C3D94CD827" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_C5878F6F8B27C3E9C3A249C3D94C7B51" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_90E8EA9D5D6B939F47AB49C3D94A83C6" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_C5878F6F8B27C3E9C3A249C3D94C7B51" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_98EB7A6056E9E913F8E149C3D94D6E6F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_C5878F6F8B27C3E9C3A249C3D94C7B51" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_98EB7A6056E9E913F8E149C3D94D6E6F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_942D0DEEEE3E4B6C9F8A49C3D94D4438" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_C5878F6F8B27C3E9C3A249C3D94C7B51" xlink:to="loc_us-gaap_Liabilities_942D0DEEEE3E4B6C9F8A49C3D94D4438" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract" xlink:label="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_160C808BD92302945CB249C3D94DC079" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_90E8EA9D5D6B939F47AB49C3D94A83C6" xlink:to="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_160C808BD92302945CB249C3D94DC079" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_BDCC535FFD1ADBE4BC5349C3D94DCC0A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_160C808BD92302945CB249C3D94DC079" xlink:to="loc_us-gaap_PreferredStockValue_BDCC535FFD1ADBE4BC5349C3D94DCC0A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract" xlink:label="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_0ECB87B8C0A75A7D176E49C3D94E5814" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_90E8EA9D5D6B939F47AB49C3D94A83C6" xlink:to="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_0ECB87B8C0A75A7D176E49C3D94E5814" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_DA405AA4B2D8404BC32A49C3D94E2AE3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_0ECB87B8C0A75A7D176E49C3D94E5814" xlink:to="loc_us-gaap_CommonStockValue_DA405AA4B2D8404BC32A49C3D94E2AE3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaap_TreasuryStockValue_306FAFAF4337A99F1C5849C3D94E60EE" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_90E8EA9D5D6B939F47AB49C3D94A83C6" xlink:to="loc_us-gaap_TreasuryStockValue_306FAFAF4337A99F1C5849C3D94E60EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_4AD3577AE4C299EB105349C3D94E0AEF" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_90E8EA9D5D6B939F47AB49C3D94A83C6" xlink:to="loc_us-gaap_AdditionalPaidInCapital_4AD3577AE4C299EB105349C3D94E0AEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_D32B1E2DF5A786A2001249C3D94EE6B2" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_90E8EA9D5D6B939F47AB49C3D94A83C6" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_D32B1E2DF5A786A2001249C3D94EE6B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_CF7EA2DDAFDF322BFE9949C3D94FEDA7" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_90E8EA9D5D6B939F47AB49C3D94A83C6" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_CF7EA2DDAFDF322BFE9949C3D94FEDA7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_47BCBC66E95E433CCD9C49C3D94FAC91" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_90E8EA9D5D6B939F47AB49C3D94A83C6" xlink:to="loc_us-gaap_StockholdersEquity_47BCBC66E95E433CCD9C49C3D94FAC91" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinorityInterest" xlink:label="loc_us-gaap_MinorityInterest_1569F25ED42C134E96BD49C3D94F499A" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_90E8EA9D5D6B939F47AB49C3D94A83C6" xlink:to="loc_us-gaap_MinorityInterest_1569F25ED42C134E96BD49C3D94F499A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_D3B6728940B2C270984E49C3D94FF1D7" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_90E8EA9D5D6B939F47AB49C3D94A83C6" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_D3B6728940B2C270984E49C3D94FF1D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_00507122CE63B033F13249C3D94F55E7" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_90E8EA9D5D6B939F47AB49C3D94A83C6" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_00507122CE63B033F13249C3D94F55E7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ScheduleICondensedUnconsolidatedBalanceSheetsParentheticalDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_1D4CD545AC47D548801449C3D93D8E5E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_24909DF7AC7EA29872B249C3D93C19B1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_1D4CD545AC47D548801449C3D93D8E5E" xlink:to="loc_us-gaap_StatementTable_24909DF7AC7EA29872B249C3D93C19B1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_BDD476D98E36A6A6575749C3D93CC987" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_24909DF7AC7EA29872B249C3D93C19B1" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_BDD476D98E36A6A6575749C3D93CC987" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_507EEA6E341CD65D3A5949C3D93CAB21_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_BDD476D98E36A6A6575749C3D93CC987" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_507EEA6E341CD65D3A5949C3D93CAB21_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_507EEA6E341CD65D3A5949C3D93CAB21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_BDD476D98E36A6A6575749C3D93CC987" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_507EEA6E341CD65D3A5949C3D93CAB21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_2205536D04907326803E49C3D93DC0E9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_507EEA6E341CD65D3A5949C3D93CAB21" xlink:to="loc_us-gaap_ParentCompanyMember_2205536D04907326803E49C3D93DC0E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinorityInterest" xlink:label="loc_us-gaap_MinorityInterest_84DCAA4F9A3BCFEF859A49C3D93D0C23" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1D4CD545AC47D548801449C3D93D8E5E" xlink:to="loc_us-gaap_MinorityInterest_84DCAA4F9A3BCFEF859A49C3D93D0C23" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_6C119C2AD56BDC9E677549C3D93EFAAC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1D4CD545AC47D548801449C3D93D8E5E" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_6C119C2AD56BDC9E677549C3D93EFAAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_C73B6B4AB6CE4EE265FF49C3D93EF1C0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1D4CD545AC47D548801449C3D93D8E5E" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_C73B6B4AB6CE4EE265FF49C3D93EF1C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_D74520B9FFC49C0CBE7149C3D93E07E7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1D4CD545AC47D548801449C3D93D8E5E" xlink:to="loc_us-gaap_CommonStockSharesIssued_D74520B9FFC49C0CBE7149C3D93E07E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_4BC17F3B7E6A5467A84949C3D93EB8AB" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1D4CD545AC47D548801449C3D93D8E5E" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_4BC17F3B7E6A5467A84949C3D93EB8AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_0AD8907C330BE77CF18449C3D93E6377" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1D4CD545AC47D548801449C3D93D8E5E" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_0AD8907C330BE77CF18449C3D93E6377" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_9C264BA017A582C7694E49C3D93E2FDF" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1D4CD545AC47D548801449C3D93D8E5E" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_9C264BA017A582C7694E49C3D93E2FDF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="loc_us-gaap_PreferredStockSharesIssued_9694A58B008A80CFFE2149C3D93F8796" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1D4CD545AC47D548801449C3D93D8E5E" xlink:to="loc_us-gaap_PreferredStockSharesIssued_9694A58B008A80CFFE2149C3D93F8796" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesOutstanding" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_992C86C1CC73E20F272D49C3D93FD030" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1D4CD545AC47D548801449C3D93D8E5E" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_992C86C1CC73E20F272D49C3D93FD030" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockShares" xlink:label="loc_us-gaap_TreasuryStockShares_B7210322059FE1AD1D8949C3D93FFB4E" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1D4CD545AC47D548801449C3D93D8E5E" xlink:to="loc_us-gaap_TreasuryStockShares_B7210322059FE1AD1D8949C3D93FFB4E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ScheduleICondensedUnconsolidatedCashFlows" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ScheduleICondensedUnconsolidatedCashFlowsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedFinancialStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_56B51EFAC9FA63A6DDF25ED81AE64624" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfCondensedFinancialStatementsTable" xlink:label="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_9F4865EC448BC3D905605ED81AE60B09" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_56B51EFAC9FA63A6DDF25ED81AE64624" xlink:to="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_9F4865EC448BC3D905605ED81AE60B09" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_FA126C2618833877F8375ED81AE6A35E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_9F4865EC448BC3D905605ED81AE60B09" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_FA126C2618833877F8375ED81AE6A35E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_777E758247D22B1F59DF5ED81AE6705A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_FA126C2618833877F8375ED81AE6A35E" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_777E758247D22B1F59DF5ED81AE6705A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_777E758247D22B1F59DF5ED81AE6705A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_FA126C2618833877F8375ED81AE6A35E" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_777E758247D22B1F59DF5ED81AE6705A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_3858AE7E4262A3B698FC5ED81AE6A664" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_777E758247D22B1F59DF5ED81AE6705A" xlink:to="loc_us-gaap_ParentCompanyMember_3858AE7E4262A3B698FC5ED81AE6A664" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_EB37BA4A2BE6714772535ED81AE61403" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_56B51EFAC9FA63A6DDF25ED81AE64624" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_EB37BA4A2BE6714772535ED81AE61403" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_FD8FEB7AA3490C59F8E25ED81AE6C94D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_EB37BA4A2BE6714772535ED81AE61403" xlink:to="loc_us-gaap_ProfitLoss_FD8FEB7AA3490C59F8E25ED81AE6C94D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_0C9D0DDE0808A1DC4E575ED81AE62D3C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_EB37BA4A2BE6714772535ED81AE61403" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_0C9D0DDE0808A1DC4E575ED81AE62D3C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaap_Depreciation_8F395BF341FB9ED44E885ED81AE6A012" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_0C9D0DDE0808A1DC4E575ED81AE62D3C" xlink:to="loc_us-gaap_Depreciation_8F395BF341FB9ED44E885ED81AE6A012" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_6DFB33027692E4C803895ED81AE6347A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_0C9D0DDE0808A1DC4E575ED81AE62D3C" xlink:to="loc_us-gaap_ShareBasedCompensation_6DFB33027692E4C803895ED81AE6347A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_725AC7982352EE40ED655ED81AE6B6FB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_0C9D0DDE0808A1DC4E575ED81AE62D3C" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_725AC7982352EE40ED655ED81AE6B6FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherGeneralExpense" xlink:label="loc_us-gaap_OtherGeneralExpense_810AB1FE1403593A77815ED81AE6CB58" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_0C9D0DDE0808A1DC4E575ED81AE62D3C" xlink:to="loc_us-gaap_OtherGeneralExpense_810AB1FE1403593A77815ED81AE6CB58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_B1E3D45489CEB49B90C15ED81AE6BA94" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_EB37BA4A2BE6714772535ED81AE61403" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_B1E3D45489CEB49B90C15ED81AE6BA94" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_IncreaseDecreaseInAccountsReceivableIntercompany" xlink:label="loc_aosl_IncreaseDecreaseInAccountsReceivableIntercompany_3FC8031845973646DD735ED81AE6FA63" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_B1E3D45489CEB49B90C15ED81AE6BA94" xlink:to="loc_aosl_IncreaseDecreaseInAccountsReceivableIntercompany_3FC8031845973646DD735ED81AE6FA63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherCurrentAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_4399EAB7CEC63939B57F5ED81AE66E2D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_B1E3D45489CEB49B90C15ED81AE6BA94" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_4399EAB7CEC63939B57F5ED81AE66E2D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_775DEFB5771582B26EC75ED81AE62FA3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_B1E3D45489CEB49B90C15ED81AE6BA94" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_775DEFB5771582B26EC75ED81AE62FA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_D69CEADC01150D93D2595ED81AE681A4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_EB37BA4A2BE6714772535ED81AE61403" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_D69CEADC01150D93D2595ED81AE681A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_15D98BCEEF42C14B2E7A5ED81AE6CB12" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_56B51EFAC9FA63A6DDF25ED81AE64624" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_15D98BCEEF42C14B2E7A5ED81AE6CB12" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_489966D9076559A1DE4E5ED81AE6DE4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_15D98BCEEF42C14B2E7A5ED81AE6CB12" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_489966D9076559A1DE4E5ED81AE6DE4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireAdditionalInterestInSubsidiaries" xlink:label="loc_us-gaap_PaymentsToAcquireAdditionalInterestInSubsidiaries_C42C2DE7FD375EA439E25ED81AE67C92" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_15D98BCEEF42C14B2E7A5ED81AE6CB12" xlink:to="loc_us-gaap_PaymentsToAcquireAdditionalInterestInSubsidiaries_C42C2DE7FD375EA439E25ED81AE67C92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_58BFAF8D84DB41FD8A675ED81AE68907" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_15D98BCEEF42C14B2E7A5ED81AE6CB12" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_58BFAF8D84DB41FD8A675ED81AE68907" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_6009B0917D71576441515ED81AE6DD84" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_56B51EFAC9FA63A6DDF25ED81AE64624" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_6009B0917D71576441515ED81AE6DD84" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_420E1DD320C999CBC66A5ED81AE6741D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_6009B0917D71576441515ED81AE6DD84" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_420E1DD320C999CBC66A5ED81AE6741D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_0D3EDBD84991C96E4FFF5ED81AE670FE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_6009B0917D71576441515ED81AE6DD84" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_0D3EDBD84991C96E4FFF5ED81AE670FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_A0066E514CBDE7DE98BA5ED81AE647C6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_6009B0917D71576441515ED81AE6DD84" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_A0066E514CBDE7DE98BA5ED81AE647C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_269D606C7AB910BB3A8D5ED81AE68257" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_6009B0917D71576441515ED81AE6DD84" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_269D606C7AB910BB3A8D5ED81AE68257" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_2FEB3C27D2BAB6B0666E5ED81AE66450" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_56B51EFAC9FA63A6DDF25ED81AE64624" xlink:to="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_2FEB3C27D2BAB6B0666E5ED81AE66450" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_07A37428EE2C35AD7E6B5ED81AE6666A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_56B51EFAC9FA63A6DDF25ED81AE64624" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_07A37428EE2C35AD7E6B5ED81AE6666A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ScheduleICondensedUnconsolidatedStatementsOfComprehensiveIncomeLossDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_A86B135074E7B263C5A254A69578CC33" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_3C5C3E96CE1B6D27879354A69578B357" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_A86B135074E7B263C5A254A69578CC33" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_3C5C3E96CE1B6D27879354A69578B357" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_BB35F6D8D0A7808EDDFB54A6957821E2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_3C5C3E96CE1B6D27879354A69578B357" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_BB35F6D8D0A7808EDDFB54A6957821E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_98703186A201F6DF690E54A695781A36_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_BB35F6D8D0A7808EDDFB54A6957821E2" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_98703186A201F6DF690E54A695781A36_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_98703186A201F6DF690E54A695781A36" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_BB35F6D8D0A7808EDDFB54A6957821E2" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_98703186A201F6DF690E54A695781A36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_147A715BE4DB57BDF99254A695783649" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_98703186A201F6DF690E54A695781A36" xlink:to="loc_us-gaap_ParentCompanyMember_147A715BE4DB57BDF99254A695783649" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_5B08FED065022C06664554A69578CC21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_A86B135074E7B263C5A254A69578CC33" xlink:to="loc_us-gaap_ProfitLoss_5B08FED065022C06664554A69578CC21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_401408E26B3FA3C7790654A69578C56E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_A86B135074E7B263C5A254A69578CC33" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_401408E26B3FA3C7790654A69578C56E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_F613B6FA34FDCAFACD2254A69578D324" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_A86B135074E7B263C5A254A69578CC33" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_F613B6FA34FDCAFACD2254A69578D324" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_BB422E5BA073BEDA195F54A69578ABCF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_A86B135074E7B263C5A254A69578CC33" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_BB422E5BA073BEDA195F54A69578ABCF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_D8140660B065597635AC54A69578B173" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_A86B135074E7B263C5A254A69578CC33" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_D8140660B065597635AC54A69578B173" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ScheduleICondensedUnconsolidatedStatementsOfComprehensiveIncomeLossScheduleICondensedUnconsolidatedStatementsOfComprehensiveIncomeLossNotes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ScheduleICondensedUnconsolidatedStatementsOfIncome" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ScheduleICondensedUnconsolidatedStatementsOfIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedFinancialStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_22C0DE9AE2DBFCD96D0249C3D92FA1D7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfCondensedFinancialStatementsTable" xlink:label="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_6340C7E5FC8BBE7BA3E349C3D92EF3B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_22C0DE9AE2DBFCD96D0249C3D92FA1D7" xlink:to="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_6340C7E5FC8BBE7BA3E349C3D92EF3B0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_2CA20AD2493686E8227A49C3D92E5594" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_6340C7E5FC8BBE7BA3E349C3D92EF3B0" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_2CA20AD2493686E8227A49C3D92E5594" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_C0166EBB923AB824F00B49C3D92F298D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_2CA20AD2493686E8227A49C3D92E5594" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_C0166EBB923AB824F00B49C3D92F298D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_C0166EBB923AB824F00B49C3D92F298D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_2CA20AD2493686E8227A49C3D92E5594" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_C0166EBB923AB824F00B49C3D92F298D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_344EE578F72DF536110B49C3D92F8699" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_C0166EBB923AB824F00B49C3D92F298D" xlink:to="loc_us-gaap_ParentCompanyMember_344EE578F72DF536110B49C3D92F8699" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueFromRelatedParties" xlink:label="loc_us-gaap_RevenueFromRelatedParties_0F786D488945620AE8E949C3D92FD536" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_22C0DE9AE2DBFCD96D0249C3D92FA1D7" xlink:to="loc_us-gaap_RevenueFromRelatedParties_0F786D488945620AE8E949C3D92FD536" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfRevenue" xlink:label="loc_us-gaap_CostOfRevenue_F31594BAC3A489635FB549C3D9309D69" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_22C0DE9AE2DBFCD96D0249C3D92FA1D7" xlink:to="loc_us-gaap_CostOfRevenue_F31594BAC3A489635FB549C3D9309D69" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_BBC56848E771FED019E649C3D93000AC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_22C0DE9AE2DBFCD96D0249C3D92FA1D7" xlink:to="loc_us-gaap_GrossProfit_BBC56848E771FED019E649C3D93000AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="loc_us-gaap_OperatingExpensesAbstract_23B5E0A4F518F7D14C5E49C3D9301C04" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_22C0DE9AE2DBFCD96D0249C3D92FA1D7" xlink:to="loc_us-gaap_OperatingExpensesAbstract_23B5E0A4F518F7D14C5E49C3D9301C04" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_AC455694B7135605183149C3D930FB23" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_23B5E0A4F518F7D14C5E49C3D9301C04" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_AC455694B7135605183149C3D930FB23" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_FBE82299DB584CE102A349C3D9311BEA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_23B5E0A4F518F7D14C5E49C3D9301C04" xlink:to="loc_us-gaap_OperatingExpenses_FBE82299DB584CE102A349C3D9311BEA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_3B450557794E7412940549C3D9311F49" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_22C0DE9AE2DBFCD96D0249C3D92FA1D7" xlink:to="loc_us-gaap_OperatingIncomeLoss_3B450557794E7412940549C3D9311F49" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_FB6B15BA0385144A7CA149C3D931CFC0" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_22C0DE9AE2DBFCD96D0249C3D92FA1D7" xlink:to="loc_us-gaap_InvestmentIncomeInterest_FB6B15BA0385144A7CA149C3D931CFC0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_97001CF13E4B9B3C759749C3D931734C" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_22C0DE9AE2DBFCD96D0249C3D92FA1D7" xlink:to="loc_us-gaap_InterestExpense_97001CF13E4B9B3C759749C3D931734C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_062B6801E177B50C0C4D49C3D93145A9" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_22C0DE9AE2DBFCD96D0249C3D92FA1D7" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_062B6801E177B50C0C4D49C3D93145A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_0BE510D3819E4594905849C3D9325500" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_22C0DE9AE2DBFCD96D0249C3D92FA1D7" xlink:to="loc_us-gaap_ProfitLoss_0BE510D3819E4594905849C3D9325500" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_5B18BF426FE84407D41149C3D9329776" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_22C0DE9AE2DBFCD96D0249C3D92FA1D7" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_5B18BF426FE84407D41149C3D9329776" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_FE8D59D29B81CCBB17A949C3D93214B1" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_22C0DE9AE2DBFCD96D0249C3D92FA1D7" xlink:to="loc_us-gaap_NetIncomeLoss_FE8D59D29B81CCBB17A949C3D93214B1" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ScheduleINotesToCondensedUnconsolidatedFinancialStatements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ScheduleIiValuationAndQualifyingAccounts" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ScheduleIiValuationAndQualifyingAccountsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems" xlink:label="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_BCBC33EFF6A14D0B3BC5469AC64BBE86" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAndQualifyingAccountsDisclosureTable" xlink:label="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_D3F2EF6059834D8D1002469AC641D752" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_BCBC33EFF6A14D0B3BC5469AC64BBE86" xlink:to="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_D3F2EF6059834D8D1002469AC641D752" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_D2D2F2B9EDAA40D822FD469AC641614D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_D3F2EF6059834D8D1002469AC641D752" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_D2D2F2B9EDAA40D822FD469AC641614D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDomain_105C913A43A6EB5A97F4469AC64BC152_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_D2D2F2B9EDAA40D822FD469AC641614D" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDomain_105C913A43A6EB5A97F4469AC64BC152_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDomain_105C913A43A6EB5A97F4469AC64BC152" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_D2D2F2B9EDAA40D822FD469AC641614D" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDomain_105C913A43A6EB5A97F4469AC64BC152" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsMember" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsMember_1AEAB2EA9E6D5913A85F469AC64BBB0D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesDomain_105C913A43A6EB5A97F4469AC64BC152" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsMember_1AEAB2EA9E6D5913A85F469AC64BBB0D" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_AllowanceForPriceAdjustmentsMember" xlink:label="loc_aosl_AllowanceForPriceAdjustmentsMember_9229D2FBDCD535373E14469AC64BCF60" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesDomain_105C913A43A6EB5A97F4469AC64BC152" xlink:to="loc_aosl_AllowanceForPriceAdjustmentsMember_9229D2FBDCD535373E14469AC64BCF60" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowanceOfDeferredTaxAssetsMember" xlink:label="loc_us-gaap_ValuationAllowanceOfDeferredTaxAssetsMember_26263B144CE847164329469AC64B08A8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesDomain_105C913A43A6EB5A97F4469AC64BC152" xlink:to="loc_us-gaap_ValuationAllowanceOfDeferredTaxAssetsMember_26263B144CE847164329469AC64B08A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MovementInValuationAllowancesAndReservesRollForward" xlink:label="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_9DA01C3C04DC0485507F469AC64B5214" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_BCBC33EFF6A14D0B3BC5469AC64BBE86" xlink:to="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_9DA01C3C04DC0485507F469AC64B5214" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowancesAndReservesBalance" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesBalance_E62E55086E32EDC58F16469AC64B1AD5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_9DA01C3C04DC0485507F469AC64B5214" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesBalance_E62E55086E32EDC58F16469AC64B1AD5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense_4A24D1E1063FC9218AB4469AC64BEDBE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_9DA01C3C04DC0485507F469AC64B5214" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense_4A24D1E1063FC9218AB4469AC64BEDBE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDeductions" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDeductions_104646A1DD672D831165469AC64BD7AC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_9DA01C3C04DC0485507F469AC64B5214" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDeductions_104646A1DD672D831165469AC64BD7AC" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/SegmentAndGeographicInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/SegmentAndGeographicInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_86D8727ADEC854088E7C61B2F245271F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_2FD2E201F7A75E318ADD9C6997C69943" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_86D8727ADEC854088E7C61B2F245271F" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_2FD2E201F7A75E318ADD9C6997C69943" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_D9B435F5089A52D98C677F3D4DFBE11B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_2FD2E201F7A75E318ADD9C6997C69943" xlink:to="loc_us-gaap_StatementGeographicalAxis_D9B435F5089A52D98C677F3D4DFBE11B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_52841027B3DAC3BDA04EF1FF65541985_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_D9B435F5089A52D98C677F3D4DFBE11B" xlink:to="loc_us-gaap_SegmentGeographicalDomain_52841027B3DAC3BDA04EF1FF65541985_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_D9EC0380607F5DD6B9588E203E1EE38B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_D9B435F5089A52D98C677F3D4DFBE11B" xlink:to="loc_us-gaap_SegmentGeographicalDomain_D9EC0380607F5DD6B9588E203E1EE38B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_HK" xlink:label="loc_country_HK_B1DE2E2D47305DF99E19F0D4DFEB6F52" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_D9EC0380607F5DD6B9588E203E1EE38B" xlink:to="loc_country_HK_B1DE2E2D47305DF99E19F0D4DFEB6F52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_CN" xlink:label="loc_country_CN_9D3AC150347255AFBC6005E355F54DF7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_D9EC0380607F5DD6B9588E203E1EE38B" xlink:to="loc_country_CN_9D3AC150347255AFBC6005E355F54DF7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_KR" xlink:label="loc_country_KR_7A917FA592F653AF8F59DD535A639EF1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_D9EC0380607F5DD6B9588E203E1EE38B" xlink:to="loc_country_KR_7A917FA592F653AF8F59DD535A639EF1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_AE53B127AD285D21A23FF19713B1BA08" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_D9EC0380607F5DD6B9588E203E1EE38B" xlink:to="loc_country_US_AE53B127AD285D21A23FF19713B1BA08" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_OtherCountriesMember" xlink:label="loc_aosl_OtherCountriesMember_9DA651706DE35FF09D6A20B6C03C510F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_D9EC0380607F5DD6B9588E203E1EE38B" xlink:to="loc_aosl_OtherCountriesMember_9DA651706DE35FF09D6A20B6C03C510F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductOrServiceAxis" xlink:label="loc_us-gaap_ProductOrServiceAxis_DDBF46334C265329B96088E18A1958CB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_2FD2E201F7A75E318ADD9C6997C69943" xlink:to="loc_us-gaap_ProductOrServiceAxis_DDBF46334C265329B96088E18A1958CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_A0DD38DA5E11465C6DA5F1FF655E1F46_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ProductOrServiceAxis_DDBF46334C265329B96088E18A1958CB" xlink:to="loc_us-gaap_ProductsAndServicesDomain_A0DD38DA5E11465C6DA5F1FF655E1F46_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_6C23780A487E5EDABE779DA379256EDC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ProductOrServiceAxis_DDBF46334C265329B96088E18A1958CB" xlink:to="loc_us-gaap_ProductsAndServicesDomain_6C23780A487E5EDABE779DA379256EDC" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PowerDiscreteMember" xlink:label="loc_aosl_PowerDiscreteMember_848AE0F9C9F253CAA7ABB0106C4B0772" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_6C23780A487E5EDABE779DA379256EDC" xlink:to="loc_aosl_PowerDiscreteMember_848AE0F9C9F253CAA7ABB0106C4B0772" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PowerIcMember" xlink:label="loc_aosl_PowerIcMember_785FD078343158B99C33B64F546E1A40" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_6C23780A487E5EDABE779DA379256EDC" xlink:to="loc_aosl_PowerIcMember_785FD078343158B99C33B64F546E1A40" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PackagingAndTestingServicesMember" xlink:label="loc_aosl_PackagingAndTestingServicesMember_2D34E9CC019756BD92329D3E2DA05FB1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_6C23780A487E5EDABE779DA379256EDC" xlink:to="loc_aosl_PackagingAndTestingServicesMember_2D34E9CC019756BD92329D3E2DA05FB1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesRevenueGoodsNet" xlink:label="loc_us-gaap_SalesRevenueGoodsNet_51A5064FB50F5FCD922BB3FD780D268B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_86D8727ADEC854088E7C61B2F245271F" xlink:to="loc_us-gaap_SalesRevenueGoodsNet_51A5064FB50F5FCD922BB3FD780D268B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/SegmentAndGeographicInformationLocationAndNetBookValueOfLongLivedAssetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_A080D5D4391A589BAB435D5905AF559B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_76427B0E9B4B547FADD77CDE87144F5B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_A080D5D4391A589BAB435D5905AF559B" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_76427B0E9B4B547FADD77CDE87144F5B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_3D73C90CD3075DEA865AE6856A2AD6D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_76427B0E9B4B547FADD77CDE87144F5B" xlink:to="loc_us-gaap_StatementGeographicalAxis_3D73C90CD3075DEA865AE6856A2AD6D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_5A2CD2CFCBFDEF66B46EF1FF6612E1B6_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_3D73C90CD3075DEA865AE6856A2AD6D4" xlink:to="loc_us-gaap_SegmentGeographicalDomain_5A2CD2CFCBFDEF66B46EF1FF6612E1B6_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_009FD0B523C95F06B5AA7A4AE8FBB099" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_3D73C90CD3075DEA865AE6856A2AD6D4" xlink:to="loc_us-gaap_SegmentGeographicalDomain_009FD0B523C95F06B5AA7A4AE8FBB099" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_CN" xlink:label="loc_country_CN_A442A5A4F8CD556A8DDAEAA7439C2547" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_009FD0B523C95F06B5AA7A4AE8FBB099" xlink:to="loc_country_CN_A442A5A4F8CD556A8DDAEAA7439C2547" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_CB5F8B6904E550AE91FFD7E76C337D8A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_009FD0B523C95F06B5AA7A4AE8FBB099" xlink:to="loc_country_US_CB5F8B6904E550AE91FFD7E76C337D8A" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_OtherCountriesMember" xlink:label="loc_aosl_OtherCountriesMember_985EB71267385E91934C46D23BB7211F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_009FD0B523C95F06B5AA7A4AE8FBB099" xlink:to="loc_aosl_OtherCountriesMember_985EB71267385E91934C46D23BB7211F" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PropertyPlantEquipmentAndLandUseRights" xlink:label="loc_aosl_PropertyPlantEquipmentAndLandUseRights_5FC65DADF9285FE6BB43C4BF504E9E37" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_A080D5D4391A589BAB435D5905AF559B" xlink:to="loc_aosl_PropertyPlantEquipmentAndLandUseRights_5FC65DADF9285FE6BB43C4BF504E9E37" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/SegmentAndGeographicInformationSegmentNarrativeDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/SegmentAndGeographicInformationTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ShareBasedCompensation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ShareBasedCompensationEmployeeSharePurchasePlanDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B52619F03A3922F72A2A49C3DA312A5F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_42535AC69718F40F907A49C3DA2DD271" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B52619F03A3922F72A2A49C3DA312A5F" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_42535AC69718F40F907A49C3DA2DD271" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_EC27B145FB64E3E9B65249C3DA2E4213" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_42535AC69718F40F907A49C3DA2DD271" xlink:to="loc_us-gaap_AwardTypeAxis_EC27B145FB64E3E9B65249C3DA2E4213" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_AE94A6DFCFD60AB11D6C49C3DA2E607D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_EC27B145FB64E3E9B65249C3DA2E4213" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_AE94A6DFCFD60AB11D6C49C3DA2E607D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_AE94A6DFCFD60AB11D6C49C3DA2E607D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_EC27B145FB64E3E9B65249C3DA2E4213" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_AE94A6DFCFD60AB11D6C49C3DA2E607D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockMember" xlink:label="loc_us-gaap_EmployeeStockMember_CB5B49EB2DD01D92699549C3DA2F8686" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_AE94A6DFCFD60AB11D6C49C3DA2E607D" xlink:to="loc_us-gaap_EmployeeStockMember_CB5B49EB2DD01D92699549C3DA2F8686" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_08D5AD6DD47176E0920449C3DA2FF60F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_42535AC69718F40F907A49C3DA2DD271" xlink:to="loc_us-gaap_RangeAxis_08D5AD6DD47176E0920449C3DA2FF60F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_F2A581E8C42539B5EF0449C3DA2F6103_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_08D5AD6DD47176E0920449C3DA2FF60F" xlink:to="loc_us-gaap_RangeMember_F2A581E8C42539B5EF0449C3DA2F6103_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_F2A581E8C42539B5EF0449C3DA2F6103" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_08D5AD6DD47176E0920449C3DA2FF60F" xlink:to="loc_us-gaap_RangeMember_F2A581E8C42539B5EF0449C3DA2F6103" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_51BDB40C99E2DFB2D7AB49C3DA30839D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_F2A581E8C42539B5EF0449C3DA2F6103" xlink:to="loc_us-gaap_MinimumMember_51BDB40C99E2DFB2D7AB49C3DA30839D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_0F8C7A8667EE24A4C4FE49C3DA301A5D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_F2A581E8C42539B5EF0449C3DA2F6103" xlink:to="loc_us-gaap_MaximumMember_0F8C7A8667EE24A4C4FE49C3DA301A5D" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_DurationOfOfferingPeriodsForEmployeeSharePurchasePlan" xlink:label="loc_aosl_DurationOfOfferingPeriodsForEmployeeSharePurchasePlan_12BF501DFFA0B0D8BB9A49C3DA31721C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B52619F03A3922F72A2A49C3DA312A5F" xlink:to="loc_aosl_DurationOfOfferingPeriodsForEmployeeSharePurchasePlan_12BF501DFFA0B0D8BB9A49C3DA31721C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_9E5CE2F51ACEAA63127B49C3DA316454" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B52619F03A3922F72A2A49C3DA312A5F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_9E5CE2F51ACEAA63127B49C3DA316454" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayrollDeductionAccumulationPeriod" xlink:label="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayrollDeductionAccumulationPeriod_C2037A9FA94E9CC892A349C3DA325697" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B52619F03A3922F72A2A49C3DA312A5F" xlink:to="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayrollDeductionAccumulationPeriod_C2037A9FA94E9CC892A349C3DA325697" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_8E2F36AC3BEE52DC8EF849C3DA328B52" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B52619F03A3922F72A2A49C3DA312A5F" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_8E2F36AC3BEE52DC8EF849C3DA328B52" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfCommonSharesThatMayBePurchasedOnAnyPurchaseDate" xlink:label="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfCommonSharesThatMayBePurchasedOnAnyPurchaseDate_8462381C11182421184D49C3DA32E316" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B52619F03A3922F72A2A49C3DA312A5F" xlink:to="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfCommonSharesThatMayBePurchasedOnAnyPurchaseDate_8462381C11182421184D49C3DA32E316" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfCommonSharesThatMayBePurchasedPer24MonthOfferingPeriod" xlink:label="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfCommonSharesThatMayBePurchasedPer24MonthOfferingPeriod_A99160DCA670B0BB295F49C3DA322CB3" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B52619F03A3922F72A2A49C3DA312A5F" xlink:to="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfCommonSharesThatMayBePurchasedPer24MonthOfferingPeriod_A99160DCA670B0BB295F49C3DA322CB3" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardValueOfCommonStockThatMayBePurchasedInAnyOneCalendarYear" xlink:label="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardValueOfCommonStockThatMayBePurchasedInAnyOneCalendarYear_C0B37EC62DA9A101164949C3DA3345FC" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B52619F03A3922F72A2A49C3DA312A5F" xlink:to="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardValueOfCommonStockThatMayBePurchasedInAnyOneCalendarYear_C0B37EC62DA9A101164949C3DA3345FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_B8D767A86A7FBB9113CA49C3DA33494F" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B52619F03A3922F72A2A49C3DA312A5F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_B8D767A86A7FBB9113CA49C3DA33494F" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardAnnualCalenderYearIncreaseInSharesAuthorizedPercent" xlink:label="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardAnnualCalenderYearIncreaseInSharesAuthorizedPercent_149F82172E9EE457A79A49C3DA33E8E6" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B52619F03A3922F72A2A49C3DA312A5F" xlink:to="loc_aosl_ShareBasedCompensationArrangementByShareBasedPaymentAwardAnnualCalenderYearIncreaseInSharesAuthorizedPercent_149F82172E9EE457A79A49C3DA33E8E6" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_SharebasedCompensationArrangementByShareBasedPaymentAwardAnnualCalenderYearIncreaseinSharesAuthorized" xlink:label="loc_aosl_SharebasedCompensationArrangementByShareBasedPaymentAwardAnnualCalenderYearIncreaseinSharesAuthorized_C759D225E45D6E45434349C3DA334783" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B52619F03A3922F72A2A49C3DA312A5F" xlink:to="loc_aosl_SharebasedCompensationArrangementByShareBasedPaymentAwardAnnualCalenderYearIncreaseinSharesAuthorized_C759D225E45D6E45434349C3DA334783" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized_BD11C3EFA678439EA70149C3DA345F11" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B52619F03A3922F72A2A49C3DA312A5F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized_BD11C3EFA678439EA70149C3DA345F11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_347D47E8EE348DE7875B49C3DA34A799" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B52619F03A3922F72A2A49C3DA312A5F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_347D47E8EE348DE7875B49C3DA34A799" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_C1F42FA25C68925A37C549C3DA340BE8" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B52619F03A3922F72A2A49C3DA312A5F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_C1F42FA25C68925A37C549C3DA340BE8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_7DFF471C3527FF82300949C3DA34DFCC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_C1F42FA25C68925A37C549C3DA340BE8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_7DFF471C3527FF82300949C3DA34DFCC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_041943A6A94ED0C73D0049C3DA35D22B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_C1F42FA25C68925A37C549C3DA340BE8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_041943A6A94ED0C73D0049C3DA35D22B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_AB2A9CBE487DDF68FBFB49C3DA355458" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_C1F42FA25C68925A37C549C3DA340BE8" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_AB2A9CBE487DDF68FBFB49C3DA355458" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_BA9A2190AA116ADE578B49C3DA3565FD" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_C1F42FA25C68925A37C549C3DA340BE8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_BA9A2190AA116ADE578B49C3DA3565FD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ShareBasedCompensationFairValueOfStockOptionsWeightedAverageAssumptionsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9785881872785716CEB358130D0B0D51" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8510F28EC68FD4A2D71D58130D090177" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9785881872785716CEB358130D0B0D51" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8510F28EC68FD4A2D71D58130D090177" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_6806DFCBFFF7C1FC5F7858130D099F94" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8510F28EC68FD4A2D71D58130D090177" xlink:to="loc_us-gaap_AwardTypeAxis_6806DFCBFFF7C1FC5F7858130D099F94" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_FE261F00084A2A4E320658130D0A79B6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_6806DFCBFFF7C1FC5F7858130D099F94" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_FE261F00084A2A4E320658130D0A79B6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_FE261F00084A2A4E320658130D0A79B6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_6806DFCBFFF7C1FC5F7858130D099F94" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_FE261F00084A2A4E320658130D0A79B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_4BB154E99B2E76433B4358130D0AC63B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_FE261F00084A2A4E320658130D0A79B6" xlink:to="loc_us-gaap_EmployeeStockOptionMember_4BB154E99B2E76433B4358130D0AC63B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_E98D8E69ACA66B4F76EF58130D0AB607" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8510F28EC68FD4A2D71D58130D090177" xlink:to="loc_us-gaap_RangeAxis_E98D8E69ACA66B4F76EF58130D0AB607" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_0C388B4A7E53962CF0FE58130D0B650D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_E98D8E69ACA66B4F76EF58130D0AB607" xlink:to="loc_us-gaap_RangeMember_0C388B4A7E53962CF0FE58130D0B650D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_0C388B4A7E53962CF0FE58130D0B650D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_E98D8E69ACA66B4F76EF58130D0AB607" xlink:to="loc_us-gaap_RangeMember_0C388B4A7E53962CF0FE58130D0B650D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_AD860F0549D0160E93E758130D0B125B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_0C388B4A7E53962CF0FE58130D0B650D" xlink:to="loc_us-gaap_MinimumMember_AD860F0549D0160E93E758130D0B125B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_31BB36E9A3C0DF1DE7A958130D0B6FE4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_0C388B4A7E53962CF0FE58130D0B650D" xlink:to="loc_us-gaap_MaximumMember_31BB36E9A3C0DF1DE7A958130D0B6FE4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate_303B39D39AF7EE95C2BB58130D0BEA07" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9785881872785716CEB358130D0B0D51" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate_303B39D39AF7EE95C2BB58130D0BEA07" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_45E3F64E514757FD07C758130D0C5BF0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9785881872785716CEB358130D0B0D51" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_45E3F64E514757FD07C758130D0C5BF0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_5312A2501BDC32FD346758130D0C20AA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9785881872785716CEB358130D0B0D51" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_5312A2501BDC32FD346758130D0C20AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_EA2A4174F7DDFB61035D58130D0C29A4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9785881872785716CEB358130D0B0D51" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_EA2A4174F7DDFB61035D58130D0C29A4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ShareBasedCompensationRestrictedStockAndPerformanceBasedRestrcitedStockActivityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_7BCF52C7D019A18649BF5E6046D7C970" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_5596871D724242883B115E6046D78F9B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_7BCF52C7D019A18649BF5E6046D7C970" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_5596871D724242883B115E6046D78F9B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_F2F14CB4EEF466FB89835E6046D7EDEB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_5596871D724242883B115E6046D78F9B" xlink:to="loc_us-gaap_PlanNameAxis_F2F14CB4EEF466FB89835E6046D7EDEB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_B8AB56252D05C72ACC585E6046D75A84_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_F2F14CB4EEF466FB89835E6046D7EDEB" xlink:to="loc_us-gaap_PlanNameDomain_B8AB56252D05C72ACC585E6046D75A84_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_B8AB56252D05C72ACC585E6046D75A84" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_F2F14CB4EEF466FB89835E6046D7EDEB" xlink:to="loc_us-gaap_PlanNameDomain_B8AB56252D05C72ACC585E6046D75A84" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_88A94F0210F3093AA4585E6046D76F16" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_5596871D724242883B115E6046D78F9B" xlink:to="loc_us-gaap_AwardTypeAxis_88A94F0210F3093AA4585E6046D76F16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2BDB43E38D1EEA9A9E235E6046D74BFF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_88A94F0210F3093AA4585E6046D76F16" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2BDB43E38D1EEA9A9E235E6046D74BFF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2BDB43E38D1EEA9A9E235E6046D74BFF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_88A94F0210F3093AA4585E6046D76F16" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2BDB43E38D1EEA9A9E235E6046D74BFF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_5646CB0750FC230D572A5E6046D7C692" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2BDB43E38D1EEA9A9E235E6046D74BFF" xlink:to="loc_us-gaap_RestrictedStockMember_5646CB0750FC230D572A5E6046D7C692" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PerformanceBasedRestrictedStockUnitsPRSUsMemberMember" xlink:label="loc_aosl_PerformanceBasedRestrictedStockUnitsPRSUsMemberMember_6040666558EC39D35D7C5E6046D7B0E3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2BDB43E38D1EEA9A9E235E6046D74BFF" xlink:to="loc_aosl_PerformanceBasedRestrictedStockUnitsPRSUsMemberMember_6040666558EC39D35D7C5E6046D7B0E3" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PerformanceBasedRestrictedStockUnitsPRSUsGrantedIn2017Member" xlink:label="loc_aosl_PerformanceBasedRestrictedStockUnitsPRSUsGrantedIn2017Member_F0FAC85539C69B61A3045E6046D7C1B1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2BDB43E38D1EEA9A9E235E6046D74BFF" xlink:to="loc_aosl_PerformanceBasedRestrictedStockUnitsPRSUsGrantedIn2017Member_F0FAC85539C69B61A3045E6046D7C1B1" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PerformanceBasedRestrictedStockUnitsPRSUsGrantedIn2018Member" xlink:label="loc_aosl_PerformanceBasedRestrictedStockUnitsPRSUsGrantedIn2018Member_DD387929B86ADCD7E0545E6046D75062" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2BDB43E38D1EEA9A9E235E6046D74BFF" xlink:to="loc_aosl_PerformanceBasedRestrictedStockUnitsPRSUsGrantedIn2018Member_DD387929B86ADCD7E0545E6046D75062" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_149A14FD8EADF11786A85E6046D71356" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_7BCF52C7D019A18649BF5E6046D7C970" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_149A14FD8EADF11786A85E6046D71356" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsGrantsinPeriodSharesEarned" xlink:label="loc_aosl_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsGrantsinPeriodSharesEarned_FC4A242AAE38A022BCDF5E6046D77D0A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_7BCF52C7D019A18649BF5E6046D7C970" xlink:to="loc_aosl_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsGrantsinPeriodSharesEarned_FC4A242AAE38A022BCDF5E6046D77D0A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_8B0F39AF901222DEEF5C5E6046D74EA0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_7BCF52C7D019A18649BF5E6046D7C970" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_8B0F39AF901222DEEF5C5E6046D74EA0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_2987E309A6E9B8F345335E6046D7C41B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_8B0F39AF901222DEEF5C5E6046D74EA0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_2987E309A6E9B8F345335E6046D7C41B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_5E78E182C607C28FD41A5E6046D7D6F1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_8B0F39AF901222DEEF5C5E6046D74EA0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_5E78E182C607C28FD41A5E6046D7D6F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_A41A55651ED6A863DA6D5E6046D78661" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_8B0F39AF901222DEEF5C5E6046D74EA0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_A41A55651ED6A863DA6D5E6046D78661" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_FCC560317006AD5518F75E6046D78A32" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_8B0F39AF901222DEEF5C5E6046D74EA0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_FCC560317006AD5518F75E6046D78A32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_EECDA590C25FDF1017EA5E6046D7E6E2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_7BCF52C7D019A18649BF5E6046D7C970" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_EECDA590C25FDF1017EA5E6046D7E6E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_E7DE72CA812F75820B9D5E6046D78546" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_EECDA590C25FDF1017EA5E6046D7E6E2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_E7DE72CA812F75820B9D5E6046D78546" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_36EB30CAA7EED0F745435E6046D7DB6B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_EECDA590C25FDF1017EA5E6046D7E6E2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_36EB30CAA7EED0F745435E6046D7DB6B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_234562529ACF65E7AF8C5E6046D78EC6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_EECDA590C25FDF1017EA5E6046D7E6E2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_234562529ACF65E7AF8C5E6046D78EC6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_760F4A56A0EF724A84905E6046D797EF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_EECDA590C25FDF1017EA5E6046D7E6E2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_760F4A56A0EF724A84905E6046D797EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_72613FD238F891E9AD275E6046D7AFD7" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_7BCF52C7D019A18649BF5E6046D7C970" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_72613FD238F891E9AD275E6046D7AFD7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueNonvested" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueNonvested_7BEA1CD962DB933E76905E6046D7E8FD" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_7BCF52C7D019A18649BF5E6046D7C970" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueNonvested_7BEA1CD962DB933E76905E6046D7E8FD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ShareBasedCompensationShareBasedCompensationExpensesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_6B4CABC6A04F52E3B356308885698F54" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_F39C463DC488588D85938DEB11773D78" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_6B4CABC6A04F52E3B356308885698F54" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_F39C463DC488588D85938DEB11773D78" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_C062FCFAB47E5733A8986A8FA0374849" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_F39C463DC488588D85938DEB11773D78" xlink:to="loc_us-gaap_AwardTypeAxis_C062FCFAB47E5733A8986A8FA0374849" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_FBC705C0C2C28530E531F6E5F5ED47EE_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_C062FCFAB47E5733A8986A8FA0374849" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_FBC705C0C2C28530E531F6E5F5ED47EE_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D8365017B6E4503ABEE5102C82E66A14" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_C062FCFAB47E5733A8986A8FA0374849" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D8365017B6E4503ABEE5102C82E66A14" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PerformanceBasedRestrictedStockUnitsPRSUsMemberMember" xlink:label="loc_aosl_PerformanceBasedRestrictedStockUnitsPRSUsMemberMember_EF07783367BD528DABBE0ECF2D6B7E83" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D8365017B6E4503ABEE5102C82E66A14" xlink:to="loc_aosl_PerformanceBasedRestrictedStockUnitsPRSUsMemberMember_EF07783367BD528DABBE0ECF2D6B7E83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_FB444A9746085A8B9F534E076D4ECA50" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_F39C463DC488588D85938DEB11773D78" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_FB444A9746085A8B9F534E076D4ECA50" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_BF4F27F0A444FD3CEA51F6E5F5ED3171_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_FB444A9746085A8B9F534E076D4ECA50" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_BF4F27F0A444FD3CEA51F6E5F5ED3171_98BE7AA5C4BC53A5AF40AD0E0C37DA21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_FFD78FEBF65F555990F6B4AE4F485856" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_FB444A9746085A8B9F534E076D4ECA50" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_FFD78FEBF65F555990F6B4AE4F485856" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_7B49F4C73CA95F239F06D0F1762FEE7F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_FFD78FEBF65F555990F6B4AE4F485856" xlink:to="loc_us-gaap_CostOfSalesMember_7B49F4C73CA95F239F06D0F1762FEE7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_DB23D07E8319524089BBC2A04CCE6140" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_FFD78FEBF65F555990F6B4AE4F485856" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_DB23D07E8319524089BBC2A04CCE6140" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_18CE12409E0755029A9622BCA5336550" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_FFD78FEBF65F555990F6B4AE4F485856" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_18CE12409E0755029A9622BCA5336550" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_471B265975415CE7804B72140B74FEBC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_6B4CABC6A04F52E3B356308885698F54" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_471B265975415CE7804B72140B74FEBC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_BA3E2A5192855125B3BBD7859E932592" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_6B4CABC6A04F52E3B356308885698F54" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_BA3E2A5192855125B3BBD7859E932592" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_1BB02F83534151478ABBA7B67346AD68" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_6B4CABC6A04F52E3B356308885698F54" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_1BB02F83534151478ABBA7B67346AD68" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_7452F09F5BB65BE5A3518E9BEAD66371" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_6B4CABC6A04F52E3B356308885698F54" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_7452F09F5BB65BE5A3518E9BEAD66371" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ShareBasedCompensationStockOptionsOutstandingAndExercisableDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_564D39D0BE41344D6A8E5E60B7BB3392" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_89DBC75CC496383AA6565E60B7B19FA5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_564D39D0BE41344D6A8E5E60B7BB3392" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_89DBC75CC496383AA6565E60B7B19FA5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_CE47BB14AA7CB09B75E05E60B7B13A73" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_89DBC75CC496383AA6565E60B7B19FA5" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_CE47BB14AA7CB09B75E05E60B7B13A73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_B77CF9F7CE5239E52CFC5E60B7BBA47F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_CE47BB14AA7CB09B75E05E60B7B13A73" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_B77CF9F7CE5239E52CFC5E60B7BBA47F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_B77CF9F7CE5239E52CFC5E60B7BBA47F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_CE47BB14AA7CB09B75E05E60B7B13A73" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_B77CF9F7CE5239E52CFC5E60B7BBA47F" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PriceRange1Member" xlink:label="loc_aosl_PriceRange1Member_65566CA970F6A3DCDE775E60B7BB95FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_B77CF9F7CE5239E52CFC5E60B7BBA47F" xlink:to="loc_aosl_PriceRange1Member_65566CA970F6A3DCDE775E60B7BB95FF" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PriceRange2Member" xlink:label="loc_aosl_PriceRange2Member_78E436893302E7AD26615E60B7BBE54B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_B77CF9F7CE5239E52CFC5E60B7BBA47F" xlink:to="loc_aosl_PriceRange2Member_78E436893302E7AD26615E60B7BBE54B" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PriceRange3Member" xlink:label="loc_aosl_PriceRange3Member_08A394D4F9708D3A202D5E60B7BBE911" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_B77CF9F7CE5239E52CFC5E60B7BBA47F" xlink:to="loc_aosl_PriceRange3Member_08A394D4F9708D3A202D5E60B7BBE911" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PriceRange4Member" xlink:label="loc_aosl_PriceRange4Member_F1FCCB0D33D43DCF9AA75E60B7BB7D5F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_B77CF9F7CE5239E52CFC5E60B7BBA47F" xlink:to="loc_aosl_PriceRange4Member_F1FCCB0D33D43DCF9AA75E60B7BB7D5F" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PriceRange5Member" xlink:label="loc_aosl_PriceRange5Member_340C9CA769D8E66E55335E60B7BB894F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_B77CF9F7CE5239E52CFC5E60B7BBA47F" xlink:to="loc_aosl_PriceRange5Member_340C9CA769D8E66E55335E60B7BB894F" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_PriceRange6Member" xlink:label="loc_aosl_PriceRange6Member_1E19DBAECD5F533424755E60B7BB9509" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_B77CF9F7CE5239E52CFC5E60B7BBA47F" xlink:to="loc_aosl_PriceRange6Member_1E19DBAECD5F533424755E60B7BB9509" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions_509AC35CF15C0B5AA68E5E60B7BBBF5B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_564D39D0BE41344D6A8E5E60B7BB3392" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions_509AC35CF15C0B5AA68E5E60B7BBBF5B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2_C27A2509FE2F30111E325E60B7BBAFE5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_564D39D0BE41344D6A8E5E60B7BB3392" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2_C27A2509FE2F30111E325E60B7BBAFE5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_73919796600D3927BC315E60B7BB67C2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_564D39D0BE41344D6A8E5E60B7BB3392" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_73919796600D3927BC315E60B7BB67C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions_C5152E75DF0FAC3703A55E60B7BBD75B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_564D39D0BE41344D6A8E5E60B7BB3392" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions_C5152E75DF0FAC3703A55E60B7BBD75B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1_54CE71A7506D86E414E15E60B7BBE58C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_564D39D0BE41344D6A8E5E60B7BB3392" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1_54CE71A7506D86E414E15E60B7BBE58C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_8486EA7A94147CEC6D4C5E60B7BBF71C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_564D39D0BE41344D6A8E5E60B7BB3392" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_8486EA7A94147CEC6D4C5E60B7BBF71C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_72F764A5DBEE2386A5945E60B7BB78E7" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_564D39D0BE41344D6A8E5E60B7BB3392" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_72F764A5DBEE2386A5945E60B7BB78E7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ShareBasedCompensationSummaryOfStockOptionActivitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ShareBasedCompensationTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ShareholdersEquity" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.aosmd.com/role/ShareholdersEquityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockLineItems" xlink:label="loc_us-gaap_ClassOfStockLineItems_46B2FCEA05C24D1E0E3363C571D05F98" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_7939AAA48668CB0DF6F263C571D0E4C6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_46B2FCEA05C24D1E0E3363C571D05F98" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_7939AAA48668CB0DF6F263C571D0E4C6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_F7876D77BFA35BFEA95D63C571D0D27B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_7939AAA48668CB0DF6F263C571D0E4C6" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_F7876D77BFA35BFEA95D63C571D0D27B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_6D5F0C23767E8AC389C263C571D0FB7B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_F7876D77BFA35BFEA95D63C571D0D27B" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_6D5F0C23767E8AC389C263C571D0FB7B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_6D5F0C23767E8AC389C263C571D0FB7B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_F7876D77BFA35BFEA95D63C571D0D27B" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_6D5F0C23767E8AC389C263C571D0FB7B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_D85472B8455AFF03FE7E63C571D00945" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_6D5F0C23767E8AC389C263C571D0FB7B" xlink:to="loc_us-gaap_SubsequentEventMember_D85472B8455AFF03FE7E63C571D00945" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareRepurchaseProgramAxis" xlink:label="loc_us-gaap_ShareRepurchaseProgramAxis_F14D62E3C315B4B56FB863C571D062CE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_7939AAA48668CB0DF6F263C571D0E4C6" xlink:to="loc_us-gaap_ShareRepurchaseProgramAxis_F14D62E3C315B4B56FB863C571D062CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_2FCFDD58F9872B6BEE3063C571D09E1C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_F14D62E3C315B4B56FB863C571D062CE" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_2FCFDD58F9872B6BEE3063C571D09E1C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_2FCFDD58F9872B6BEE3063C571D09E1C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_F14D62E3C315B4B56FB863C571D062CE" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_2FCFDD58F9872B6BEE3063C571D09E1C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_ECBFF4837695A557D80B63C571D0C69B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_7939AAA48668CB0DF6F263C571D0E4C6" xlink:to="loc_us-gaap_RangeAxis_ECBFF4837695A557D80B63C571D0C69B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_B73F2D48395DA599903463C571D04493_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_ECBFF4837695A557D80B63C571D0C69B" xlink:to="loc_us-gaap_RangeMember_B73F2D48395DA599903463C571D04493_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_B73F2D48395DA599903463C571D04493" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_ECBFF4837695A557D80B63C571D0C69B" xlink:to="loc_us-gaap_RangeMember_B73F2D48395DA599903463C571D04493" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_30133926B719A1045D2863C571D001A6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_B73F2D48395DA599903463C571D04493" xlink:to="loc_us-gaap_MinimumMember_30133926B719A1045D2863C571D001A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_84445D72E8735D10729463C571D00334" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_B73F2D48395DA599903463C571D04493" xlink:to="loc_us-gaap_MaximumMember_84445D72E8735D10729463C571D00334" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_6D88D8ADA1407A60B83463C571D03E0F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_7939AAA48668CB0DF6F263C571D0E4C6" xlink:to="loc_us-gaap_StatementClassOfStockAxis_6D88D8ADA1407A60B83463C571D03E0F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_D3F440027B32FB6CC00663C571D0D6E4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_6D88D8ADA1407A60B83463C571D03E0F" xlink:to="loc_us-gaap_ClassOfStockDomain_D3F440027B32FB6CC00663C571D0D6E4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_D3F440027B32FB6CC00663C571D0D6E4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_6D88D8ADA1407A60B83463C571D03E0F" xlink:to="loc_us-gaap_ClassOfStockDomain_D3F440027B32FB6CC00663C571D0D6E4" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_TreasuryStockReissuedMember" xlink:label="loc_aosl_TreasuryStockReissuedMember_38922CD15A22E2AC850763C571D09A29" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_D3F440027B32FB6CC00663C571D0D6E4" xlink:to="loc_aosl_TreasuryStockReissuedMember_38922CD15A22E2AC850763C571D09A29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_962CD53DCA69C4227E1563C571D02707" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_D3F440027B32FB6CC00663C571D0D6E4" xlink:to="loc_us-gaap_CommonStockMember_962CD53DCA69C4227E1563C571D02707" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract" xlink:label="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_DF0312411A58488BE48363C571D0B105" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_46B2FCEA05C24D1E0E3363C571D05F98" xlink:to="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_DF0312411A58488BE48363C571D0B105" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_6D9EA3B9CA0128B1A16F63C571D0AAE9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_DF0312411A58488BE48363C571D0B105" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_6D9EA3B9CA0128B1A16F63C571D0AAE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_162BD59565162E98DA8363C571D0D54B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_DF0312411A58488BE48363C571D0B105" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_162BD59565162E98DA8363C571D0D54B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockDividendsPerShareDeclared" xlink:label="loc_us-gaap_CommonStockDividendsPerShareDeclared_E0F486907BBB18BF360863C571D0374A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_DF0312411A58488BE48363C571D0B105" xlink:to="loc_us-gaap_CommonStockDividendsPerShareDeclared_E0F486907BBB18BF360863C571D0374A" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_NumberOfVotesPerEachCommonShare" xlink:label="loc_aosl_NumberOfVotesPerEachCommonShare_878B6077E38E17AA23C163C571D0B767" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_DF0312411A58488BE48363C571D0B105" xlink:to="loc_aosl_NumberOfVotesPerEachCommonShare_878B6077E38E17AA23C163C571D0B767" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockNumberOfSharesAndRestrictionDisclosuresAbstract" xlink:label="loc_us-gaap_TreasuryStockNumberOfSharesAndRestrictionDisclosuresAbstract_C1B2EC9CA23DC84F413863C571D098C7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_46B2FCEA05C24D1E0E3363C571D05F98" xlink:to="loc_us-gaap_TreasuryStockNumberOfSharesAndRestrictionDisclosuresAbstract_C1B2EC9CA23DC84F413863C571D098C7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchaseProgramAuthorizedAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_ED97A206C037CAD78A1A63C571D08515" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TreasuryStockNumberOfSharesAndRestrictionDisclosuresAbstract_C1B2EC9CA23DC84F413863C571D098C7" xlink:to="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_ED97A206C037CAD78A1A63C571D08515" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_05A3EBE98B2753DF394963C571D0413A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TreasuryStockNumberOfSharesAndRestrictionDisclosuresAbstract_C1B2EC9CA23DC84F413863C571D098C7" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_05A3EBE98B2753DF394963C571D0413A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_6BCF750B4B5410728BFB63C571D07835" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TreasuryStockNumberOfSharesAndRestrictionDisclosuresAbstract_C1B2EC9CA23DC84F413863C571D098C7" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_6BCF750B4B5410728BFB63C571D07835" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_TreasuryStockValueAcquiredCostMethodLessHandlingFees" xlink:label="loc_aosl_TreasuryStockValueAcquiredCostMethodLessHandlingFees_7EA91C392A395EE710F663C571D0F392" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TreasuryStockNumberOfSharesAndRestrictionDisclosuresAbstract_C1B2EC9CA23DC84F413863C571D098C7" xlink:to="loc_aosl_TreasuryStockValueAcquiredCostMethodLessHandlingFees_7EA91C392A395EE710F663C571D0F392" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_384B3C11D6B714FA625763C571D004D1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TreasuryStockNumberOfSharesAndRestrictionDisclosuresAbstract_C1B2EC9CA23DC84F413863C571D098C7" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_384B3C11D6B714FA625763C571D004D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockAcquiredAverageCostPerShare" xlink:label="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_C0E571278211977E221C63C571D016D5" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TreasuryStockNumberOfSharesAndRestrictionDisclosuresAbstract_C1B2EC9CA23DC84F413863C571D098C7" xlink:to="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_C0E571278211977E221C63C571D016D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockSharesRetired" xlink:label="loc_us-gaap_TreasuryStockSharesRetired_D730CEA80EAEF819C8EC63C571D07FBF" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TreasuryStockNumberOfSharesAndRestrictionDisclosuresAbstract_C1B2EC9CA23DC84F413863C571D098C7" xlink:to="loc_us-gaap_TreasuryStockSharesRetired_D730CEA80EAEF819C8EC63C571D07FBF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross_F839EF2FC62701EE912463C571D0D1D4" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TreasuryStockNumberOfSharesAndRestrictionDisclosuresAbstract_C1B2EC9CA23DC84F413863C571D098C7" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross_F839EF2FC62701EE912463C571D0D1D4" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_TreasuryStockReissuedAveragePricePerShare" xlink:label="loc_aosl_TreasuryStockReissuedAveragePricePerShare_58DBB4167BA8D3C7108B63C571DA1423" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TreasuryStockNumberOfSharesAndRestrictionDisclosuresAbstract_C1B2EC9CA23DC84F413863C571D098C7" xlink:to="loc_aosl_TreasuryStockReissuedAveragePricePerShare_58DBB4167BA8D3C7108B63C571DA1423" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/SubsequentEventDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaap_SubsequentEventLineItems_492BB8CA7DDB05CF7F545CF31F029B0C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaap_SubsequentEventTable_84F0863C4BB8CCBE43815CF31EFB2646" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_492BB8CA7DDB05CF7F545CF31F029B0C" xlink:to="loc_us-gaap_SubsequentEventTable_84F0863C4BB8CCBE43815CF31EFB2646" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_2B56A3FD14F2A9BB03005CF31EFB79BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_84F0863C4BB8CCBE43815CF31EFB2646" xlink:to="loc_dei_LegalEntityAxis_2B56A3FD14F2A9BB03005CF31EFB79BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_909D2768C790F6B38B6B5CF31EFC80B2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_2B56A3FD14F2A9BB03005CF31EFB79BD" xlink:to="loc_dei_EntityDomain_909D2768C790F6B38B6B5CF31EFC80B2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_909D2768C790F6B38B6B5CF31EFC80B2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_2B56A3FD14F2A9BB03005CF31EFB79BD" xlink:to="loc_dei_EntityDomain_909D2768C790F6B38B6B5CF31EFC80B2" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ChongqingFundsMember" xlink:label="loc_aosl_ChongqingFundsMember_4EB28F764820C145A2BA5CF31EFC425D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_909D2768C790F6B38B6B5CF31EFC80B2" xlink:to="loc_aosl_ChongqingFundsMember_4EB28F764820C145A2BA5CF31EFC425D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_3C3652DE41D1C42632E55CF31EFCFEB0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_84F0863C4BB8CCBE43815CF31EFB2646" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_3C3652DE41D1C42632E55CF31EFCFEB0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_1CAA8EC14BE2E1B037EB5CF31EFCC06D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_3C3652DE41D1C42632E55CF31EFCFEB0" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_1CAA8EC14BE2E1B037EB5CF31EFCC06D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_1CAA8EC14BE2E1B037EB5CF31EFCC06D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_3C3652DE41D1C42632E55CF31EFCFEB0" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_1CAA8EC14BE2E1B037EB5CF31EFCC06D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_C35AC204AEA79AAB85775CF31EFDDFFD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_1CAA8EC14BE2E1B037EB5CF31EFCC06D" xlink:to="loc_us-gaap_ParentCompanyMember_C35AC204AEA79AAB85775CF31EFDDFFD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_A5274BAF4A1976FD37C35CF31EFD7C0B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_84F0863C4BB8CCBE43815CF31EFB2646" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_A5274BAF4A1976FD37C35CF31EFD7C0B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_0BF00BA281F0F8669C775CF31EFD33A8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_A5274BAF4A1976FD37C35CF31EFD7C0B" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_0BF00BA281F0F8669C775CF31EFD33A8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_0BF00BA281F0F8669C775CF31EFD33A8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_A5274BAF4A1976FD37C35CF31EFD7C0B" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_0BF00BA281F0F8669C775CF31EFD33A8" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_FacilityinLiangjiangNewAreaofChongqingtheJointVentureMember" xlink:label="loc_aosl_FacilityinLiangjiangNewAreaofChongqingtheJointVentureMember_EDEB6EBADF9355FAB46E5CF31EFE68EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityMethodInvesteeNameDomain_0BF00BA281F0F8669C775CF31EFD33A8" xlink:to="loc_aosl_FacilityinLiangjiangNewAreaofChongqingtheJointVentureMember_EDEB6EBADF9355FAB46E5CF31EFE68EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_58D8982F32B39A67C7295CF31EFE1721" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_84F0863C4BB8CCBE43815CF31EFB2646" xlink:to="loc_us-gaap_CreditFacilityAxis_58D8982F32B39A67C7295CF31EFE1721" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_F47191679F8637CD286E5CF31EFEFA8C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_58D8982F32B39A67C7295CF31EFE1721" xlink:to="loc_us-gaap_CreditFacilityDomain_F47191679F8637CD286E5CF31EFEFA8C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_F47191679F8637CD286E5CF31EFEFA8C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_58D8982F32B39A67C7295CF31EFE1721" xlink:to="loc_us-gaap_CreditFacilityDomain_F47191679F8637CD286E5CF31EFEFA8C" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_TermLoanMember" xlink:label="loc_aosl_TermLoanMember_6DE7A7DD119AD747D7FA5CF31EFEBD31" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_F47191679F8637CD286E5CF31EFEFA8C" xlink:to="loc_aosl_TermLoanMember_6DE7A7DD119AD747D7FA5CF31EFEBD31" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_BED26A57201685D769915CF31EFED586" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_84F0863C4BB8CCBE43815CF31EFB2646" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_BED26A57201685D769915CF31EFED586" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_18705528132CBF5C2A1C5CF31EFFFE31_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_BED26A57201685D769915CF31EFED586" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_18705528132CBF5C2A1C5CF31EFFFE31_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_18705528132CBF5C2A1C5CF31EFFFE31" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_BED26A57201685D769915CF31EFED586" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_18705528132CBF5C2A1C5CF31EFFFE31" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SecuredDebtMember" xlink:label="loc_us-gaap_SecuredDebtMember_153C00F92A18EDF2D84D5CF31EFF5188" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_18705528132CBF5C2A1C5CF31EFFFE31" xlink:to="loc_us-gaap_SecuredDebtMember_153C00F92A18EDF2D84D5CF31EFF5188" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_A272F77735A94C80E9F55CF31EFF176A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_84F0863C4BB8CCBE43815CF31EFB2646" xlink:to="loc_us-gaap_DebtInstrumentAxis_A272F77735A94C80E9F55CF31EFF176A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_D11456E675CCC73BD9835CF31EFFAE24_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_A272F77735A94C80E9F55CF31EFF176A" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_D11456E675CCC73BD9835CF31EFFAE24_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_D11456E675CCC73BD9835CF31EFFAE24" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_A272F77735A94C80E9F55CF31EFF176A" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_D11456E675CCC73BD9835CF31EFFAE24" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_VariableInterestRateTermLoanMaturingAugust2022Member" xlink:label="loc_aosl_VariableInterestRateTermLoanMaturingAugust2022Member_A307F0F479387F5079465CF31F00F186" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_D11456E675CCC73BD9835CF31EFFAE24" xlink:to="loc_aosl_VariableInterestRateTermLoanMaturingAugust2022Member_A307F0F479387F5079465CF31F00F186" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_2BEAE2BD2101785E1DAE5CF31F003F08" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_84F0863C4BB8CCBE43815CF31EFB2646" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_2BEAE2BD2101785E1DAE5CF31F003F08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_8C6B45BAEE0BCB0DD79A5CF31F00CB59_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_2BEAE2BD2101785E1DAE5CF31F003F08" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_8C6B45BAEE0BCB0DD79A5CF31F00CB59_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_8C6B45BAEE0BCB0DD79A5CF31F00CB59" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_2BEAE2BD2101785E1DAE5CF31F003F08" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_8C6B45BAEE0BCB0DD79A5CF31F00CB59" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_96F564FFDBA7B98A17E15CF31F01367E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_8C6B45BAEE0BCB0DD79A5CF31F00CB59" xlink:to="loc_us-gaap_SubsequentEventMember_96F564FFDBA7B98A17E15CF31F01367E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_81E59AEF792B0A4D38DC5CF31F0169DF" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_84F0863C4BB8CCBE43815CF31EFB2646" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_81E59AEF792B0A4D38DC5CF31F0169DF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_335C513018D5CC4E7AFA5CF31F0124D0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_81E59AEF792B0A4D38DC5CF31F0169DF" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_335C513018D5CC4E7AFA5CF31F0124D0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_335C513018D5CC4E7AFA5CF31F0124D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_81E59AEF792B0A4D38DC5CF31F0169DF" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_335C513018D5CC4E7AFA5CF31F0124D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LicensingAgreementsMember" xlink:label="loc_us-gaap_LicensingAgreementsMember_11CD6AB8D438447E01C35CF31F0245AC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_335C513018D5CC4E7AFA5CF31F0124D0" xlink:to="loc_us-gaap_LicensingAgreementsMember_11CD6AB8D438447E01C35CF31F0245AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_5DC602F641C3A1AD46AC5CF31F0248D6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_492BB8CA7DDB05CF7F545CF31F029B0C" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_5DC602F641C3A1AD46AC5CF31F0248D6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentTerm" xlink:label="loc_us-gaap_DebtInstrumentTerm_F9DEB1D4054CE821DC115CF31F036162" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_492BB8CA7DDB05CF7F545CF31F029B0C" xlink:to="loc_us-gaap_DebtInstrumentTerm_F9DEB1D4054CE821DC115CF31F036162" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityFairValueOfAmountOutstanding" xlink:label="loc_us-gaap_LineOfCreditFacilityFairValueOfAmountOutstanding_991C2D73AF967722FC765CF31F0391C4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_492BB8CA7DDB05CF7F545CF31F029B0C" xlink:to="loc_us-gaap_LineOfCreditFacilityFairValueOfAmountOutstanding_991C2D73AF967722FC765CF31F0391C4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValue" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValue_5E340AEEF7E2095D1E835CF31F036BFE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_492BB8CA7DDB05CF7F545CF31F029B0C" xlink:to="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValue_5E340AEEF7E2095D1E835CF31F036BFE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsidiaryOrEquityMethodInvesteeCumulativePercentageOwnershipAfterAllTransactions" xlink:label="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeCumulativePercentageOwnershipAfterAllTransactions_B0AFEE8D504A92A59CD45CF31F033F6F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_492BB8CA7DDB05CF7F545CF31F029B0C" xlink:to="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeCumulativePercentageOwnershipAfterAllTransactions_B0AFEE8D504A92A59CD45CF31F033F6F" xlink:type="arc" />
    <link:loc xlink:href="aosl-20180630.xsd#aosl_ConsiderationTransferredtoAcquireInterestinJointVenture" xlink:label="loc_aosl_ConsiderationTransferredtoAcquireInterestinJointVenture_E22B6F7A77FBE0DDA1FF5CF31F04D3D4" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_492BB8CA7DDB05CF7F545CF31F029B0C" xlink:to="loc_aosl_ConsiderationTransferredtoAcquireInterestinJointVenture_E22B6F7A77FBE0DDA1FF5CF31F04D3D4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.aosmd.com/role/SubsequentEventNotes" xlink:type="extended" />
</link:linkbase>
