<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:786be352-2dcf-49c5-a40c-90744b10d4fb,g:1fab83c3-bb52-4275-929b-7aa0eddc1741-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.apigroupinc.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="apg-20251231.xsd#ConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_3a930562-f843-40fc-bfeb-ca2ccbe4205c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtCurrent_36f592c8-14a6-4377-a5ca-ca479625c98b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3a930562-f843-40fc-bfeb-ca2ccbe4205c" xlink:to="loc_us-gaap_DebtCurrent_36f592c8-14a6-4377-a5ca-ca479625c98b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_4684a499-e7cd-4712-9c61-54a8362beac1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3a930562-f843-40fc-bfeb-ca2ccbe4205c" xlink:to="loc_us-gaap_AccountsPayableCurrent_4684a499-e7cd-4712-9c61-54a8362beac1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_BusinessCombinationContingentConsiderationAndCompensationLiability_ec232402-061a-491a-a1ef-aa5bd12c5f98" xlink:href="apg-20251231.xsd#apg_BusinessCombinationContingentConsiderationAndCompensationLiability"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3a930562-f843-40fc-bfeb-ca2ccbe4205c" xlink:to="loc_apg_BusinessCombinationContingentConsiderationAndCompensationLiability_ec232402-061a-491a-a1ef-aa5bd12c5f98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedSalariesCurrent_974a2332-93f3-4b6d-aecd-17aa6b378d0b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedSalariesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3a930562-f843-40fc-bfeb-ca2ccbe4205c" xlink:to="loc_us-gaap_AccruedSalariesCurrent_974a2332-93f3-4b6d-aecd-17aa6b378d0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_be4f2468-9e3b-40fe-83f9-5e370545066d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3a930562-f843-40fc-bfeb-ca2ccbe4205c" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_be4f2468-9e3b-40fe-83f9-5e370545066d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeasesLiabilityCurrent_feedb2f8-d50c-466f-9e9c-f5f81ab9a4e9" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeasesLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3a930562-f843-40fc-bfeb-ca2ccbe4205c" xlink:to="loc_apg_OperatingAndFinanceLeasesLiabilityCurrent_feedb2f8-d50c-466f-9e9c-f5f81ab9a4e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_520b2642-5c88-46e0-b70c-f61ab7e11808" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3a930562-f843-40fc-bfeb-ca2ccbe4205c" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_520b2642-5c88-46e0-b70c-f61ab7e11808" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_063a71de-cf78-44f8-adfc-3530e134ac59" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_2c303771-b6ff-4a50-9653-631347fa2be6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_063a71de-cf78-44f8-adfc-3530e134ac59" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_2c303771-b6ff-4a50-9653-631347fa2be6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_92c77994-d359-4bd9-82af-fa6b2e97634c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_063a71de-cf78-44f8-adfc-3530e134ac59" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_92c77994-d359-4bd9-82af-fa6b2e97634c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_8c14ad53-fcd7-4555-979b-3a24bb4cf555" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_063a71de-cf78-44f8-adfc-3530e134ac59" xlink:to="loc_us-gaap_LiabilitiesCurrent_8c14ad53-fcd7-4555-979b-3a24bb4cf555" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_a1de99b1-d021-4460-aeb8-273fd81811a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_063a71de-cf78-44f8-adfc-3530e134ac59" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_a1de99b1-d021-4460-aeb8-273fd81811a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_f6bd0c95-aa9b-4afb-93d6-69cd3c59e4ac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_063a71de-cf78-44f8-adfc-3530e134ac59" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_f6bd0c95-aa9b-4afb-93d6-69cd3c59e4ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_b2fc53b4-4572-4852-9563-105b512d6b7c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_063a71de-cf78-44f8-adfc-3530e134ac59" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_b2fc53b4-4572-4852-9563-105b512d6b7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeasesLiabilityNonCurrent_9aef0941-b1a2-491e-a949-6263a7b4b22b" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeasesLiabilityNonCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_063a71de-cf78-44f8-adfc-3530e134ac59" xlink:to="loc_apg_OperatingAndFinanceLeasesLiabilityNonCurrent_9aef0941-b1a2-491e-a949-6263a7b4b22b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_333e6461-738b-4fa5-9a88-b3f86ab35264" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_07a0ab8e-e86e-4c1b-88d1-12755d5eee52" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_333e6461-738b-4fa5-9a88-b3f86ab35264" xlink:to="loc_us-gaap_AssetsCurrent_07a0ab8e-e86e-4c1b-88d1-12755d5eee52" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_52bae413-ae12-44fb-88e7-1730e25eb775" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_333e6461-738b-4fa5-9a88-b3f86ab35264" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_52bae413-ae12-44fb-88e7-1730e25eb775" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_0ad5cd7b-7975-4f3f-8349-e5237b50c330" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_333e6461-738b-4fa5-9a88-b3f86ab35264" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_0ad5cd7b-7975-4f3f-8349-e5237b50c330" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_aed38660-56b7-4925-9e56-aba8c0331cd2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_333e6461-738b-4fa5-9a88-b3f86ab35264" xlink:to="loc_us-gaap_Goodwill_aed38660-56b7-4925-9e56-aba8c0331cd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_96585457-4e83-4804-b332-43acc5d715eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_333e6461-738b-4fa5-9a88-b3f86ab35264" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_96585457-4e83-4804-b332-43acc5d715eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_5c73c8da-bf2c-464d-bc8e-6af437da0cd0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_333e6461-738b-4fa5-9a88-b3f86ab35264" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_5c73c8da-bf2c-464d-bc8e-6af437da0cd0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_2efff537-1246-4719-91fa-f27db869a12c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_333e6461-738b-4fa5-9a88-b3f86ab35264" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_2efff537-1246-4719-91fa-f27db869a12c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_4d7f2c3c-7c85-4bda-bdd4-c510d06110d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_333e6461-738b-4fa5-9a88-b3f86ab35264" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_4d7f2c3c-7c85-4bda-bdd4-c510d06110d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_dbfff3d4-c2ca-4743-a1e0-7e6fda50cafc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_a8a4506e-da4d-48bf-8cb9-4d864f117b84" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_dbfff3d4-c2ca-4743-a1e0-7e6fda50cafc" xlink:to="loc_us-gaap_PreferredStockValue_a8a4506e-da4d-48bf-8cb9-4d864f117b84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_54b60ae8-0bbb-4a39-b4b1-bf8793a4518b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_dbfff3d4-c2ca-4743-a1e0-7e6fda50cafc" xlink:to="loc_us-gaap_CommonStockValue_54b60ae8-0bbb-4a39-b4b1-bf8793a4518b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_289b9125-8b04-4027-92ea-641b40707038" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_dbfff3d4-c2ca-4743-a1e0-7e6fda50cafc" xlink:to="loc_us-gaap_AdditionalPaidInCapital_289b9125-8b04-4027-92ea-641b40707038" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_64f1c6e5-2143-4eac-ab25-c298b5483d64" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_dbfff3d4-c2ca-4743-a1e0-7e6fda50cafc" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_64f1c6e5-2143-4eac-ab25-c298b5483d64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_328556bc-558f-482b-8e0b-738bb18c826a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_dbfff3d4-c2ca-4743-a1e0-7e6fda50cafc" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_328556bc-558f-482b-8e0b-738bb18c826a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_7f648604-70b7-4e94-aa80-08d1847c3011" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_d3ebaf60-a6d2-4e5b-948d-ec97ebe81d71" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_7f648604-70b7-4e94-aa80-08d1847c3011" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_d3ebaf60-a6d2-4e5b-948d-ec97ebe81d71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_7ca4208c-c3c5-4536-9a34-b68a239a8edd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_7f648604-70b7-4e94-aa80-08d1847c3011" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_7ca4208c-c3c5-4536-9a34-b68a239a8edd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_198dbdea-485f-4532-aa19-a0975524e4d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_7f648604-70b7-4e94-aa80-08d1847c3011" xlink:to="loc_us-gaap_InventoryNet_198dbdea-485f-4532-aa19-a0975524e4d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_bd7f6d3f-7f72-46cf-8186-aeaee6da7299" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerAssetNetCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_7f648604-70b7-4e94-aa80-08d1847c3011" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_bd7f6d3f-7f72-46cf-8186-aeaee6da7299" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_bb055d42-e6ac-4c6a-a19f-5631b7a7876d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_7f648604-70b7-4e94-aa80-08d1847c3011" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_bb055d42-e6ac-4c6a-a19f-5631b7a7876d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_1c2e8de5-a96f-4c31-9421-d559e435a1d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_dabddbf8-aad0-4b93-9a77-411bd476f5b4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_1c2e8de5-a96f-4c31-9421-d559e435a1d9" xlink:to="loc_us-gaap_Liabilities_dabddbf8-aad0-4b93-9a77-411bd476f5b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_cfd54988-d26c-428a-a2af-8b67ef8f823f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_1c2e8de5-a96f-4c31-9421-d559e435a1d9" xlink:to="loc_us-gaap_CommitmentsAndContingencies_cfd54988-d26c-428a-a2af-8b67ef8f823f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_1297ffba-dc79-4aa4-bfbb-9284b3d8d3ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_1c2e8de5-a96f-4c31-9421-d559e435a1d9" xlink:to="loc_us-gaap_StockholdersEquity_1297ffba-dc79-4aa4-bfbb-9284b3d8d3ba" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/ConsolidatedStatementsofOperations" xlink:type="simple" xlink:href="apg-20251231.xsd#ConsolidatedStatementsofOperations"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/ConsolidatedStatementsofOperations" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_b57eb9e2-7a38-49f1-91e9-41d5e6477c06" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_46de7921-7d37-4e9f-a855-537cc78bbc12" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_b57eb9e2-7a38-49f1-91e9-41d5e6477c06" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_46de7921-7d37-4e9f-a855-537cc78bbc12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_96b890bc-299b-4184-93f1-5bf9f5811a48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_b57eb9e2-7a38-49f1-91e9-41d5e6477c06" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_96b890bc-299b-4184-93f1-5bf9f5811a48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_825c8dc8-21ab-4c5a-bfed-4b7d441b6cc4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_2b1f5e3b-e731-476a-b1dd-5600afc184e8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_825c8dc8-21ab-4c5a-bfed-4b7d441b6cc4" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_2b1f5e3b-e731-476a-b1dd-5600afc184e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_c3fe0f96-d183-4b19-ba6a-c466764c20d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_825c8dc8-21ab-4c5a-bfed-4b7d441b6cc4" xlink:to="loc_us-gaap_GrossProfit_c3fe0f96-d183-4b19-ba6a-c466764c20d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_cdc57527-ff4e-4690-9d8e-298f9f4546e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_00576682-fecb-452f-8d29-d09dcd9d0ba3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockDividendsIncomeStatementImpact"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_cdc57527-ff4e-4690-9d8e-298f9f4546e6" xlink:to="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_00576682-fecb-452f-8d29-d09dcd9d0ba3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_bf1f1cf5-edd6-4ab0-9cb5-8e5830133ba9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_cdc57527-ff4e-4690-9d8e-298f9f4546e6" xlink:to="loc_us-gaap_NetIncomeLoss_bf1f1cf5-edd6-4ab0-9cb5-8e5830133ba9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertiblePreferredStockConvertedToOtherSecurities_87d0fb03-a96c-4d00-9fb2-322227cb584d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConvertiblePreferredStockConvertedToOtherSecurities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_cdc57527-ff4e-4690-9d8e-298f9f4546e6" xlink:to="loc_us-gaap_ConvertiblePreferredStockConvertedToOtherSecurities_87d0fb03-a96c-4d00-9fb2-322227cb584d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_f82336ed-00d8-4ca1-a7a2-0553a97b9699" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_92978f47-c735-4608-ac2f-3290b06c4b8d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseNonoperatingNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_f82336ed-00d8-4ca1-a7a2-0553a97b9699" xlink:to="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_92978f47-c735-4608-ac2f-3290b06c4b8d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeNet_cdce4e9c-e01a-4ee7-8442-50b5878c68d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_f82336ed-00d8-4ca1-a7a2-0553a97b9699" xlink:to="loc_us-gaap_InvestmentIncomeNet_cdce4e9c-e01a-4ee7-8442-50b5878c68d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_59373594-f738-4888-b0c9-05a62b26f168" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_106c5368-feab-4bfe-9f3f-28533cb9fdd8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_59373594-f738-4888-b0c9-05a62b26f168" xlink:to="loc_us-gaap_OperatingIncomeLoss_106c5368-feab-4bfe-9f3f-28533cb9fdd8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_9c7a3b10-dfeb-423d-b592-f35747396cd8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_59373594-f738-4888-b0c9-05a62b26f168" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_9c7a3b10-dfeb-423d-b592-f35747396cd8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_3c09952e-efbc-4cf2-aab1-26f07bc0d9ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_3f4d4968-9d93-4678-acb7-820fdadbeb8d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfRevenue"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_3c09952e-efbc-4cf2-aab1-26f07bc0d9ce" xlink:to="loc_us-gaap_CostOfRevenue_3f4d4968-9d93-4678-acb7-820fdadbeb8d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_d8ec76f1-509a-45a9-aa5b-7e35a967d12c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_3c09952e-efbc-4cf2-aab1-26f07bc0d9ce" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_d8ec76f1-509a-45a9-aa5b-7e35a967d12c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/ConsolidatedStatementsofComprehensiveIncomeLoss" xlink:type="simple" xlink:href="apg-20251231.xsd#ConsolidatedStatementsofComprehensiveIncomeLoss"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/ConsolidatedStatementsofComprehensiveIncomeLoss" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_dc320c5b-601b-4296-a56e-4696bb3c7e57" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_371053bf-fb01-47c0-8f4f-c78b7d58e1b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_dc320c5b-601b-4296-a56e-4696bb3c7e57" xlink:to="loc_us-gaap_NetIncomeLoss_371053bf-fb01-47c0-8f4f-c78b7d58e1b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossFinancialLiabilityFairValueOptionAfterTaxAndReclassificationAdjustmentAttributableToParent_7773e3aa-dba2-4b7d-b72f-a1487d956f5f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossFinancialLiabilityFairValueOptionAfterTaxAndReclassificationAdjustmentAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_dc320c5b-601b-4296-a56e-4696bb3c7e57" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossFinancialLiabilityFairValueOptionAfterTaxAndReclassificationAdjustmentAttributableToParent_7773e3aa-dba2-4b7d-b72f-a1487d956f5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_f2ea368e-d29c-42e8-893e-2c12d9d5737d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_dc320c5b-601b-4296-a56e-4696bb3c7e57" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_f2ea368e-d29c-42e8-893e-2c12d9d5737d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_b3602e24-48d4-418e-981e-5dbf4aa4912b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_dc320c5b-601b-4296-a56e-4696bb3c7e57" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_b3602e24-48d4-418e-981e-5dbf4aa4912b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="apg-20251231.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9fa24ed7-c4ee-4d9e-87d3-7d4a1776a8d2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_53c21cec-da22-4051-802d-590290d3b7fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9fa24ed7-c4ee-4d9e-87d3-7d4a1776a8d2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_53c21cec-da22-4051-802d-590290d3b7fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_f1de06e8-c619-4007-86b7-986f314f1b07" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9fa24ed7-c4ee-4d9e-87d3-7d4a1776a8d2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_f1de06e8-c619-4007-86b7-986f314f1b07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_dd7e186d-86cd-42c8-9c13-04afdae513db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9fa24ed7-c4ee-4d9e-87d3-7d4a1776a8d2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_dd7e186d-86cd-42c8-9c13-04afdae513db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_4e085354-7e60-42ac-97b1-0b05b840bdc7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9fa24ed7-c4ee-4d9e-87d3-7d4a1776a8d2" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_4e085354-7e60-42ac-97b1-0b05b840bdc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_490bd78a-24ce-4875-9790-fa8a51f6e022" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_6a7db98c-15c9-4605-942b-65db84b00fa8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_490bd78a-24ce-4875-9790-fa8a51f6e022" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_6a7db98c-15c9-4605-942b-65db84b00fa8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_440f6535-f56d-43a0-8eb2-2adf34896120" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_490bd78a-24ce-4875-9790-fa8a51f6e022" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_440f6535-f56d-43a0-8eb2-2adf34896120" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_ProceedsFromSalesOfPropertyEquipmentHeldForSaleAssetsAndDisposalsOfBusinesses_3a23495c-0d21-480a-850a-979d1b67e365" xlink:href="apg-20251231.xsd#apg_ProceedsFromSalesOfPropertyEquipmentHeldForSaleAssetsAndDisposalsOfBusinesses"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_490bd78a-24ce-4875-9790-fa8a51f6e022" xlink:to="loc_apg_ProceedsFromSalesOfPropertyEquipmentHeldForSaleAssetsAndDisposalsOfBusinesses_3a23495c-0d21-480a-850a-979d1b67e365" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_ffc89d80-fab6-4c7a-9af2-ad9e60790228" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_ffc89d80-fab6-4c7a-9af2-ad9e60790228" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentForAmortization_70134997-67ea-49ba-9bcf-c8b29508f90e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentForAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:to="loc_us-gaap_AdjustmentForAmortization_70134997-67ea-49ba-9bcf-c8b29508f90e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_NoncashLeaseExpense_5bb1395a-54e7-4e66-a63d-99c87b37adaa" xlink:href="apg-20251231.xsd#apg_NoncashLeaseExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:to="loc_apg_NoncashLeaseExpense_5bb1395a-54e7-4e66-a63d-99c87b37adaa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_348806aa-2583-4892-af63-213460202890" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_348806aa-2583-4892-af63-213460202890" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_NetPeriodicPensionBenefit_967c095e-29b5-4237-895e-45cc80ffda39" xlink:href="apg-20251231.xsd#apg_NetPeriodicPensionBenefit"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:to="loc_apg_NetPeriodicPensionBenefit_967c095e-29b5-4237-895e-45cc80ffda39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_4073ae3e-6015-49f1-8d9d-cbbbeee08664" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:to="loc_us-gaap_Depreciation_4073ae3e-6015-49f1-8d9d-cbbbeee08664" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedTaxesPayable_fa0e3ded-4e19-4781-b897-1239b98822e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedTaxesPayable"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedTaxesPayable_fa0e3ded-4e19-4781-b897-1239b98822e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_ProfitSharingExpense_d88fc5ba-bf23-4882-9006-65ac7ac28271" xlink:href="apg-20251231.xsd#apg_ProfitSharingExpense"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:to="loc_apg_ProfitSharingExpense_d88fc5ba-bf23-4882-9006-65ac7ac28271" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_19dcb07b-62b0-4d14-86fc-06078e01096c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_19dcb07b-62b0-4d14-86fc-06078e01096c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_0e1eef36-cf19-4461-af98-d56dc133db0a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:to="loc_us-gaap_NetIncomeLoss_0e1eef36-cf19-4461-af98-d56dc133db0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerAsset_91c0eaee-1c81-40bf-a66f-42a23e97d521" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerAsset"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerAsset_91c0eaee-1c81-40bf-a66f-42a23e97d521" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_bb45f920-5c46-4783-8c06-338f7207c09f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_bb45f920-5c46-4783-8c06-338f7207c09f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_08457afe-a5d9-45f3-8da3-92ffe118ead6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDeferredIncomeTaxes"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_08457afe-a5d9-45f3-8da3-92ffe118ead6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_RestructuringChargesNetOfCashPaid_85bb11dd-0dc6-49a3-9f14-faeb83eb9e7f" xlink:href="apg-20251231.xsd#apg_RestructuringChargesNetOfCashPaid"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:to="loc_apg_RestructuringChargesNetOfCashPaid_85bb11dd-0dc6-49a3-9f14-faeb83eb9e7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_0c82356b-0dff-4878-9dfd-40207c2a58a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:to="loc_us-gaap_ShareBasedCompensation_0c82356b-0dff-4878-9dfd-40207c2a58a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_0d0bc130-d5c9-4aea-8d86-fe03ba46598c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_0d0bc130-d5c9-4aea-8d86-fe03ba46598c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_37f34dd8-6ea6-43f7-b38b-29060777c3ec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_37f34dd8-6ea6-43f7-b38b-29060777c3ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_b04197df-5702-49b4-bce4-d1b9eb6ae539" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:calculationArc order="18" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_0f0ccf51-4171-48e6-9e1c-55255a46edfb" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_b04197df-5702-49b4-bce4-d1b9eb6ae539" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d2e106e5-b1a1-422b-ac68-121a596421da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_1a531617-5658-445e-956e-dc7234b0fc77" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d2e106e5-b1a1-422b-ac68-121a596421da" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_1a531617-5658-445e-956e-dc7234b0fc77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_4fba1ed9-81fa-402d-94b8-cb71754eaf2d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d2e106e5-b1a1-422b-ac68-121a596421da" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_4fba1ed9-81fa-402d-94b8-cb71754eaf2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_591e6720-0af2-4d1b-9da0-c3434ac58e3f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d2e106e5-b1a1-422b-ac68-121a596421da" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_591e6720-0af2-4d1b-9da0-c3434ac58e3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_6e398b59-8593-4cfd-ae9b-a35e452c2905" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d2e106e5-b1a1-422b-ac68-121a596421da" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_6e398b59-8593-4cfd-ae9b-a35e452c2905" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_6953c296-6e21-467d-a302-62cc0102a0a2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d2e106e5-b1a1-422b-ac68-121a596421da" xlink:to="loc_us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_6953c296-6e21-467d-a302-62cc0102a0a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_19e79d49-c03e-4856-8a08-836a6deb4a55" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d2e106e5-b1a1-422b-ac68-121a596421da" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_19e79d49-c03e-4856-8a08-836a6deb4a55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_0207ae2b-9313-4298-ad4b-97179b2dc719" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d2e106e5-b1a1-422b-ac68-121a596421da" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_0207ae2b-9313-4298-ad4b-97179b2dc719" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfPreferredStockAndPreferenceStock_67997bfb-56d6-49b9-9078-9f76dd7d76d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfPreferredStockAndPreferenceStock"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d2e106e5-b1a1-422b-ac68-121a596421da" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfPreferredStockAndPreferenceStock_67997bfb-56d6-49b9-9078-9f76dd7d76d5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/BUSINESSCOMBINATIONSScheduleofNetAssetsAcquiredDetails" xlink:type="simple" xlink:href="apg-20251231.xsd#BUSINESSCOMBINATIONSScheduleofNetAssetsAcquiredDetails"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/BUSINESSCOMBINATIONSScheduleofNetAssetsAcquiredDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_617246a7-1cda-44d4-82cc-37b141a46a52" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_926b118e-6591-47cd-aeae-b378c106ef5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_617246a7-1cda-44d4-82cc-37b141a46a52" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_926b118e-6591-47cd-aeae-b378c106ef5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_PaymentsToAcquireBusinessesCashDepositedIntoEscrow_5c7512ba-402e-4834-aa07-f0c52a06975f" xlink:href="apg-20251231.xsd#apg_PaymentsToAcquireBusinessesCashDepositedIntoEscrow"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_617246a7-1cda-44d4-82cc-37b141a46a52" xlink:to="loc_apg_PaymentsToAcquireBusinessesCashDepositedIntoEscrow_5c7512ba-402e-4834-aa07-f0c52a06975f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_80e72ef5-1238-4952-a96c-dfb7504c5ced" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_617246a7-1cda-44d4-82cc-37b141a46a52" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_80e72ef5-1238-4952-a96c-dfb7504c5ced" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_74141f02-d1e7-47eb-80b0-f57d9e4f82ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractLiabilities_6eaa4eeb-0f6e-4233-b3ad-5b0b35fa4faa" xlink:href="apg-20251231.xsd#apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_74141f02-d1e7-47eb-80b0-f57d9e4f82ad" xlink:to="loc_apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractLiabilities_6eaa4eeb-0f6e-4233-b3ad-5b0b35fa4faa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_019b6d8e-b24c-7d6f-9c59-3fef6f231d6f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_74141f02-d1e7-47eb-80b0-f57d9e4f82ad" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_019b6d8e-b24c-7d6f-9c59-3fef6f231d6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_9735aaf7-214a-49bd-82d1-f4b469fbaa3b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_74141f02-d1e7-47eb-80b0-f57d9e4f82ad" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_9735aaf7-214a-49bd-82d1-f4b469fbaa3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_5d78afc8-fe0c-4156-8e39-81b94f1419b6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_74141f02-d1e7-47eb-80b0-f57d9e4f82ad" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_5d78afc8-fe0c-4156-8e39-81b94f1419b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_5e2880ae-11b0-474b-a94e-433ee4ed1c35" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_74141f02-d1e7-47eb-80b0-f57d9e4f82ad" xlink:to="loc_us-gaap_Goodwill_5e2880ae-11b0-474b-a94e-433ee4ed1c35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_aa6f778d-406b-4603-862b-7381a3a1451b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_74141f02-d1e7-47eb-80b0-f57d9e4f82ad" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_aa6f778d-406b-4603-862b-7381a3a1451b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentAssets_019b6d8e-639e-7e2d-88aa-11de18bb1e27" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_74141f02-d1e7-47eb-80b0-f57d9e4f82ad" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentAssets_019b6d8e-639e-7e2d-88aa-11de18bb1e27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractAssets_4e2778ff-e904-427c-8e63-aa41f9cd37ca" xlink:href="apg-20251231.xsd#apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractAssets"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_74141f02-d1e7-47eb-80b0-f57d9e4f82ad" xlink:to="loc_apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractAssets_4e2778ff-e904-427c-8e63-aa41f9cd37ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseLiabilities_b4ca7b95-0731-492a-8746-00590fceb596" xlink:href="apg-20251231.xsd#apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseLiabilities"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_74141f02-d1e7-47eb-80b0-f57d9e4f82ad" xlink:to="loc_apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseLiabilities_b4ca7b95-0731-492a-8746-00590fceb596" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_fe8d0b38-0805-46b2-90a8-9f801ce09836" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_74141f02-d1e7-47eb-80b0-f57d9e4f82ad" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_fe8d0b38-0805-46b2-90a8-9f801ce09836" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_a967f8a6-37de-4361-bda3-a7566fde9400" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_74141f02-d1e7-47eb-80b0-f57d9e4f82ad" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_a967f8a6-37de-4361-bda3-a7566fde9400" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_79ccd59e-e04f-4e01-beb6-5da16193e547" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_74141f02-d1e7-47eb-80b0-f57d9e4f82ad" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_79ccd59e-e04f-4e01-beb6-5da16193e547" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets_03ea1676-3218-4a2d-8dee-234868277076" xlink:href="apg-20251231.xsd#apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_74141f02-d1e7-47eb-80b0-f57d9e4f82ad" xlink:to="loc_apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets_03ea1676-3218-4a2d-8dee-234868277076" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_bfce8f36-e0cc-4ffd-90c2-9124cfd0f120" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_74141f02-d1e7-47eb-80b0-f57d9e4f82ad" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_bfce8f36-e0cc-4ffd-90c2-9124cfd0f120" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_cfa1c290-4ed6-4e81-94af-d238be3e4676" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_74141f02-d1e7-47eb-80b0-f57d9e4f82ad" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_cfa1c290-4ed6-4e81-94af-d238be3e4676" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/GOODWILLANDINTANGIBLESSummaryofIdentifiableIntangibleAssetsDetails" xlink:type="simple" xlink:href="apg-20251231.xsd#GOODWILLANDINTANGIBLESSummaryofIdentifiableIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/GOODWILLANDINTANGIBLESSummaryofIdentifiableIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_eb2de1a0-a178-461b-941f-3276bec67973" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_61381c8a-2eeb-4484-9ce0-5fa70bdbc435" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_eb2de1a0-a178-461b-941f-3276bec67973" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_61381c8a-2eeb-4484-9ce0-5fa70bdbc435" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_b17d5e53-8e8e-4e57-a3b3-d2bc08e7acf7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_eb2de1a0-a178-461b-941f-3276bec67973" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_b17d5e53-8e8e-4e57-a3b3-d2bc08e7acf7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/GOODWILLANDINTANGIBLESSummaryofAggregateAmortizationExpenseoftheIntangibleDetails" xlink:type="simple" xlink:href="apg-20251231.xsd#GOODWILLANDINTANGIBLESSummaryofAggregateAmortizationExpenseoftheIntangibleDetails"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/GOODWILLANDINTANGIBLESSummaryofAggregateAmortizationExpenseoftheIntangibleDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_4e505ab8-b312-4cfc-a953-9f906b20ab6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_68448d47-cdd6-4874-a2ea-9aa001e49a07" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_4e505ab8-b312-4cfc-a953-9f906b20ab6d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_68448d47-cdd6-4874-a2ea-9aa001e49a07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_2f7facf7-921a-4b2a-93f6-29025ff552d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_4e505ab8-b312-4cfc-a953-9f906b20ab6d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_2f7facf7-921a-4b2a-93f6-29025ff552d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_57400670-a3d7-4f95-a4b6-62779bccdf97" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_4e505ab8-b312-4cfc-a953-9f906b20ab6d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_57400670-a3d7-4f95-a4b6-62779bccdf97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_db2dfbe7-fef9-43a1-ba0b-644d711f620c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_4e505ab8-b312-4cfc-a953-9f906b20ab6d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_db2dfbe7-fef9-43a1-ba0b-644d711f620c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_27daf6e7-fc65-4547-9dae-517d321d5604" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_4e505ab8-b312-4cfc-a953-9f906b20ab6d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_27daf6e7-fc65-4547-9dae-517d321d5604" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_ed797d16-03f8-49c7-bec2-7bd16912ab91" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_4e505ab8-b312-4cfc-a953-9f906b20ab6d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_ed797d16-03f8-49c7-bec2-7bd16912ab91" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/FAIRVALUEOFFINANCIALINSTRUMENTSSummaryofFairValueMeasurementAssetsandLiabilitiesMeasuredonRecurringBasisDetails" xlink:type="simple" xlink:href="apg-20251231.xsd#FAIRVALUEOFFINANCIALINSTRUMENTSSummaryofFairValueMeasurementAssetsandLiabilitiesMeasuredonRecurringBasisDetails"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/FAIRVALUEOFFINANCIALINSTRUMENTSSummaryofFairValueMeasurementAssetsandLiabilitiesMeasuredonRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_96333ff2-e1a5-4990-8c2f-29ee35f94797" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_75c9968b-c2f3-45e4-a832-39c803b409bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_96333ff2-e1a5-4990-8c2f-29ee35f94797" xlink:to="loc_us-gaap_DerivativeLiabilities_75c9968b-c2f3-45e4-a832-39c803b409bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_3289e534-2535-44e0-9bac-5218fbd3739a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_96333ff2-e1a5-4990-8c2f-29ee35f94797" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_3289e534-2535-44e0-9bac-5218fbd3739a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_e732d204-0cb4-450f-b9c0-37b46ea8c66e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_7b72d91a-49f0-421c-a29f-24a17dc16c35" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_e732d204-0cb4-450f-b9c0-37b46ea8c66e" xlink:to="loc_us-gaap_DerivativeAssets_7b72d91a-49f0-421c-a29f-24a17dc16c35" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/PROPERTYANDEQUIPMENTNETSummaryofComponentsofPropertyandEquipmentDetails" xlink:type="simple" xlink:href="apg-20251231.xsd#PROPERTYANDEQUIPMENTNETSummaryofComponentsofPropertyandEquipmentDetails"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/PROPERTYANDEQUIPMENTNETSummaryofComponentsofPropertyandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_4fb54028-d8f2-4ae6-a866-26eec3233388" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_c63799d4-5512-422b-8fbc-de66adb8c948" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_4fb54028-d8f2-4ae6-a866-26eec3233388" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_c63799d4-5512-422b-8fbc-de66adb8c948" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_88a7cfda-89a5-4ea3-8044-7f7c7a92b43c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_4fb54028-d8f2-4ae6-a866-26eec3233388" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_88a7cfda-89a5-4ea3-8044-7f7c7a92b43c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/LEASESScheduleofComponentsofLeaseExpenseDetails" xlink:type="simple" xlink:href="apg-20251231.xsd#LEASESScheduleofComponentsofLeaseExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/LEASESScheduleofComponentsofLeaseExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_b09392d6-781a-4256-8f82-357106b59f85" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_4e03c2f8-c1a1-499a-9d13-c385e0dacdd4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_b09392d6-781a-4256-8f82-357106b59f85" xlink:to="loc_us-gaap_OperatingLeaseCost_4e03c2f8-c1a1-499a-9d13-c385e0dacdd4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_b0b969a1-6162-4cd6-a0d2-cce056596faa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_b09392d6-781a-4256-8f82-357106b59f85" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_b0b969a1-6162-4cd6-a0d2-cce056596faa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermLeaseCost_10e21aa4-f7b0-47b1-828e-7f9fd9a2f5c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermLeaseCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_b09392d6-781a-4256-8f82-357106b59f85" xlink:to="loc_us-gaap_ShortTermLeaseCost_10e21aa4-f7b0-47b1-828e-7f9fd9a2f5c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_5cd1706b-1631-4f58-a6e3-d2cf998dd187" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableLeaseCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_b09392d6-781a-4256-8f82-357106b59f85" xlink:to="loc_us-gaap_VariableLeaseCost_5cd1706b-1631-4f58-a6e3-d2cf998dd187" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/LEASESScheduleofFutureUndiscountedCashFlowsandReconciliationtotheLeaseLiabilitiesDetails" xlink:type="simple" xlink:href="apg-20251231.xsd#LEASESScheduleofFutureUndiscountedCashFlowsandReconciliationtotheLeaseLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/LEASESScheduleofFutureUndiscountedCashFlowsandReconciliationtotheLeaseLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_50f9cdce-ddc6-47d9-8078-6b960b592c5b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_b4e8fc2f-0be9-4359-9dee-88cab3c2905f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_50f9cdce-ddc6-47d9-8078-6b960b592c5b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_b4e8fc2f-0be9-4359-9dee-88cab3c2905f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_4df03a13-11d6-4d18-9080-87252583c5d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_50f9cdce-ddc6-47d9-8078-6b960b592c5b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_4df03a13-11d6-4d18-9080-87252583c5d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_5aa29ef9-87c3-40ce-a40c-9b93209e5274" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_50f9cdce-ddc6-47d9-8078-6b960b592c5b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_5aa29ef9-87c3-40ce-a40c-9b93209e5274" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_05051075-56ac-4514-8a0f-495e005b35f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_50f9cdce-ddc6-47d9-8078-6b960b592c5b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_05051075-56ac-4514-8a0f-495e005b35f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_42125f37-04c4-4201-878f-75eea714c57d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_50f9cdce-ddc6-47d9-8078-6b960b592c5b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_42125f37-04c4-4201-878f-75eea714c57d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_f955fd22-cb6b-4e54-8d06-cf1bf675e29d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_50f9cdce-ddc6-47d9-8078-6b960b592c5b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_f955fd22-cb6b-4e54-8d06-cf1bf675e29d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaid_a9635889-a9de-4b5f-a437-33a296a311c6" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiabilityToBePaid"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4727034e-3dc0-40cd-a5e2-22669f3ec0ac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaid_a9635889-a9de-4b5f-a437-33a296a311c6" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_4727034e-3dc0-40cd-a5e2-22669f3ec0ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_dec58087-1004-4650-8d2c-9af03551b046" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaid_a9635889-a9de-4b5f-a437-33a296a311c6" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_dec58087-1004-4650-8d2c-9af03551b046" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive_3ace28ef-8045-4a27-8a59-5e31e1483f53" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_7b72cb7b-d821-445f-a373-c7a5fcd22752" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive_3ace28ef-8045-4a27-8a59-5e31e1483f53" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_7b72cb7b-d821-445f-a373-c7a5fcd22752" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_1e178ed9-057a-4b29-9d63-9e5783e5a46d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive_3ace28ef-8045-4a27-8a59-5e31e1483f53" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_1e178ed9-057a-4b29-9d63-9e5783e5a46d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeasesLiabilityNonCurrent_cfe1e0ca-604b-49ef-b51a-743402b88e1e" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeasesLiabilityNonCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_f9a9a376-0a3c-4363-adc5-2da953adb049" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeasesLiabilityNonCurrent_cfe1e0ca-604b-49ef-b51a-743402b88e1e" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_f9a9a376-0a3c-4363-adc5-2da953adb049" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_62f9eb60-b76d-43f5-99a6-8823dfcfcea6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeasesLiabilityNonCurrent_cfe1e0ca-604b-49ef-b51a-743402b88e1e" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_62f9eb60-b76d-43f5-99a6-8823dfcfcea6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount_7fff81f5-a21b-4ef2-990c-bf88fa2dfcfc" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_c8ba4f34-35df-459a-bf27-7078cb621c3d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount_7fff81f5-a21b-4ef2-990c-bf88fa2dfcfc" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_c8ba4f34-35df-459a-bf27-7078cb621c3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_c776d9d7-fc37-4ce8-8f6a-584a89065f08" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount_7fff81f5-a21b-4ef2-990c-bf88fa2dfcfc" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_c776d9d7-fc37-4ce8-8f6a-584a89065f08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiability_8ac4baff-aca5-4a96-91ba-1b157ee80d49" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_f438a8cb-33ff-4c78-9c33-973c18ecea19" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiability_8ac4baff-aca5-4a96-91ba-1b157ee80d49" xlink:to="loc_us-gaap_OperatingLeaseLiability_f438a8cb-33ff-4c78-9c33-973c18ecea19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_c4cc13d5-db1d-44ef-a0d8-4850dbc1e1d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiability_8ac4baff-aca5-4a96-91ba-1b157ee80d49" xlink:to="loc_us-gaap_FinanceLeaseLiability_c4cc13d5-db1d-44ef-a0d8-4850dbc1e1d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearOne_00b092c6-5db1-4476-9ffc-791b5d4f4523" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiabilityToBePaidYearOne"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_b6121283-3e16-478b-b0c1-912b3938b324" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearOne_00b092c6-5db1-4476-9ffc-791b5d4f4523" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_b6121283-3e16-478b-b0c1-912b3938b324" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_4dee8373-6d6d-490a-ba73-acc82abe2a31" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearOne_00b092c6-5db1-4476-9ffc-791b5d4f4523" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_4dee8373-6d6d-490a-ba73-acc82abe2a31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_3d705e07-2db5-4cf4-a0c2-2b22a714ea7b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_d8bba105-8498-4e60-b83a-87f073e5ec3b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_3d705e07-2db5-4cf4-a0c2-2b22a714ea7b" xlink:to="loc_us-gaap_FinanceLeaseLiability_d8bba105-8498-4e60-b83a-87f073e5ec3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_8a459309-e7b0-4e85-acdb-0886aa3d6402" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_3d705e07-2db5-4cf4-a0c2-2b22a714ea7b" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_8a459309-e7b0-4e85-acdb-0886aa3d6402" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearTwo_95c327cf-ce76-442f-a540-cd800ef86e9c" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiabilityToBePaidYearTwo"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_5fc044ca-3654-432b-aef1-119a6b1a8794" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearTwo_95c327cf-ce76-442f-a540-cd800ef86e9c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_5fc044ca-3654-432b-aef1-119a6b1a8794" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_a96610b2-32ee-4169-a807-3bcb427bfb52" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearTwo_95c327cf-ce76-442f-a540-cd800ef86e9c" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_a96610b2-32ee-4169-a807-3bcb427bfb52" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearFive_a089c880-c0df-4185-a805-62139b3bc461" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiabilityToBePaidYearFive"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_a5c7dc17-a01f-4431-b276-ef756bbc8b00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearFive_a089c880-c0df-4185-a805-62139b3bc461" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_a5c7dc17-a01f-4431-b276-ef756bbc8b00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_b59e668b-926c-4dad-ba00-7fe90019215c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearFive_a089c880-c0df-4185-a805-62139b3bc461" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_b59e668b-926c-4dad-ba00-7fe90019215c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearFour_48312ad5-7d3b-48ec-891b-6f7112c94b3a" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiabilityToBePaidYearFour"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_23612739-a63c-4b70-8f22-0612de258fc5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearFour_48312ad5-7d3b-48ec-891b-6f7112c94b3a" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_23612739-a63c-4b70-8f22-0612de258fc5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_7c6e5c30-87fd-4475-b843-bc1c288ade81" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearFour_48312ad5-7d3b-48ec-891b-6f7112c94b3a" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_7c6e5c30-87fd-4475-b843-bc1c288ade81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_0597c9fd-e1ba-4a8e-8447-b150c3aeb709" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_fc3c8e22-fd33-4c9d-b308-f5527534b335" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_0597c9fd-e1ba-4a8e-8447-b150c3aeb709" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_fc3c8e22-fd33-4c9d-b308-f5527534b335" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_2c040120-86a6-4b65-bbe5-42b434fd0da3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_0597c9fd-e1ba-4a8e-8447-b150c3aeb709" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_2c040120-86a6-4b65-bbe5-42b434fd0da3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearThree_1e376796-e829-40c4-ac77-12305b8ac917" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiabilityToBePaidYearThree"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_3a6cd228-4dcd-4eb6-9e93-608e89728762" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearThree_1e376796-e829-40c4-ac77-12305b8ac917" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_3a6cd228-4dcd-4eb6-9e93-608e89728762" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_24034e02-95d4-422e-9f30-a86df269179f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearThree_1e376796-e829-40c4-ac77-12305b8ac917" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_24034e02-95d4-422e-9f30-a86df269179f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeasesLiabilityCurrent_9e614855-1ff3-4b42-90aa-eff096d50402" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeasesLiabilityCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_a3af7e8d-f7e3-42a0-a0dd-3b75b4f9df8e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeasesLiabilityCurrent_9e614855-1ff3-4b42-90aa-eff096d50402" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_a3af7e8d-f7e3-42a0-a0dd-3b75b4f9df8e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_84edf27e-7851-45e5-b6bd-d2ed78d2a6c9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeasesLiabilityCurrent_9e614855-1ff3-4b42-90aa-eff096d50402" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_84edf27e-7851-45e5-b6bd-d2ed78d2a6c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_72df1b3a-3443-4644-b06f-c879376a3495" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_e2b895e3-635e-4072-b400-b396df73dd40" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiability_72df1b3a-3443-4644-b06f-c879376a3495" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_e2b895e3-635e-4072-b400-b396df73dd40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_4ed328df-32eb-46a5-9342-eaeff7bc16e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiability_72df1b3a-3443-4644-b06f-c879376a3495" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_4ed328df-32eb-46a5-9342-eaeff7bc16e7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/LEASESScheduleofFutureUndiscountedCashFlowsandReconciliationtotheLeaseLiabilitiesDetails_1" xlink:type="simple" xlink:href="apg-20251231.xsd#LEASESScheduleofFutureUndiscountedCashFlowsandReconciliationtotheLeaseLiabilitiesDetails_1"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/LEASESScheduleofFutureUndiscountedCashFlowsandReconciliationtotheLeaseLiabilitiesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiability_0ba95a84-32b4-4de2-9e22-143c3c3991a4" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeasesLiabilityCurrent_9b0611f9-2542-46c3-9966-c540d1df5e44" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeasesLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiability_0ba95a84-32b4-4de2-9e22-143c3c3991a4" xlink:to="loc_apg_OperatingAndFinanceLeasesLiabilityCurrent_9b0611f9-2542-46c3-9966-c540d1df5e44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeasesLiabilityNonCurrent_cc032169-d233-4b9c-a96a-a726003c8ee4" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeasesLiabilityNonCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiability_0ba95a84-32b4-4de2-9e22-143c3c3991a4" xlink:to="loc_apg_OperatingAndFinanceLeasesLiabilityNonCurrent_cc032169-d233-4b9c-a96a-a726003c8ee4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_998709c6-a4e0-4d6f-bb36-2aa3191e6424" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_9b4e4fa5-21b5-420e-82c2-7253dd3efe3d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_998709c6-a4e0-4d6f-bb36-2aa3191e6424" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_9b4e4fa5-21b5-420e-82c2-7253dd3efe3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_a6936958-f645-42e6-a43c-9d834f6750eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_998709c6-a4e0-4d6f-bb36-2aa3191e6424" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_a6936958-f645-42e6-a43c-9d834f6750eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_91776184-c1a2-4ac8-90a3-891e0042ccf6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_998709c6-a4e0-4d6f-bb36-2aa3191e6424" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_91776184-c1a2-4ac8-90a3-891e0042ccf6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_0791a6cc-756c-42e6-8ba8-1cfca3a33e35" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_998709c6-a4e0-4d6f-bb36-2aa3191e6424" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_0791a6cc-756c-42e6-8ba8-1cfca3a33e35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_f1372596-f028-48cd-8e31-e48d17117b63" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_998709c6-a4e0-4d6f-bb36-2aa3191e6424" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_f1372596-f028-48cd-8e31-e48d17117b63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_46558d2b-0339-452f-a2bc-9e0cc435a698" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_998709c6-a4e0-4d6f-bb36-2aa3191e6424" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_46558d2b-0339-452f-a2bc-9e0cc435a698" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaid_696b07f7-aaf5-4f90-93cc-46b848be54d4" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiabilityToBePaid"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiability_a7c4550c-18bf-4f00-b889-2e04a8c3971d" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaid_696b07f7-aaf5-4f90-93cc-46b848be54d4" xlink:to="loc_apg_OperatingAndFinanceLeaseLiability_a7c4550c-18bf-4f00-b889-2e04a8c3971d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount_691735e1-de78-481a-adde-3209919ed7e8" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaid_696b07f7-aaf5-4f90-93cc-46b848be54d4" xlink:to="loc_apg_OperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount_691735e1-de78-481a-adde-3209919ed7e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9d8d2857-6d74-4db5-8229-2a7d39037a6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_08f6c4a4-2d4b-4ed8-a401-8145cc85f036" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9d8d2857-6d74-4db5-8229-2a7d39037a6d" xlink:to="loc_us-gaap_OperatingLeaseLiability_08f6c4a4-2d4b-4ed8-a401-8145cc85f036" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_0f4bffc8-d7f9-48ae-865d-e75c743fa459" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9d8d2857-6d74-4db5-8229-2a7d39037a6d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_0f4bffc8-d7f9-48ae-865d-e75c743fa459" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/LEASESScheduleofFutureUndiscountedCashFlowsandReconciliationtotheLeaseLiabilitiesDetails_2" xlink:type="simple" xlink:href="apg-20251231.xsd#LEASESScheduleofFutureUndiscountedCashFlowsandReconciliationtotheLeaseLiabilitiesDetails_2"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/LEASESScheduleofFutureUndiscountedCashFlowsandReconciliationtotheLeaseLiabilitiesDetails_2" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaid_8416c517-8daf-444e-a09a-7e4ef3a9d7db" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiabilityToBePaid"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearOne_58a6c1db-dcbb-45ed-b5f1-225f80988731" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiabilityToBePaidYearOne"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaid_8416c517-8daf-444e-a09a-7e4ef3a9d7db" xlink:to="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearOne_58a6c1db-dcbb-45ed-b5f1-225f80988731" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearTwo_824ffe82-8052-40cf-91de-4ffe38e70e33" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiabilityToBePaidYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaid_8416c517-8daf-444e-a09a-7e4ef3a9d7db" xlink:to="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearTwo_824ffe82-8052-40cf-91de-4ffe38e70e33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearThree_8944fb9c-3c67-45a5-b08e-36c44b323169" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiabilityToBePaidYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaid_8416c517-8daf-444e-a09a-7e4ef3a9d7db" xlink:to="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearThree_8944fb9c-3c67-45a5-b08e-36c44b323169" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearFour_a555e17f-a5d3-4968-ac9d-77f824bec107" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiabilityToBePaidYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaid_8416c517-8daf-444e-a09a-7e4ef3a9d7db" xlink:to="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearFour_a555e17f-a5d3-4968-ac9d-77f824bec107" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearFive_be25517f-d63e-4073-b832-ef765522aa7a" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiabilityToBePaidYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaid_8416c517-8daf-444e-a09a-7e4ef3a9d7db" xlink:to="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidYearFive_be25517f-d63e-4073-b832-ef765522aa7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive_a1eaad2a-5d3c-401e-ac1f-a5e00b1a011c" xlink:href="apg-20251231.xsd#apg_OperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaid_8416c517-8daf-444e-a09a-7e4ef3a9d7db" xlink:to="loc_apg_OperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive_a1eaad2a-5d3c-401e-ac1f-a5e00b1a011c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/DEBTSummaryofDebtObligationsDetails" xlink:type="simple" xlink:href="apg-20251231.xsd#DEBTSummaryofDebtObligationsDetails"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/DEBTSummaryofDebtObligationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_b7af46fb-e27d-4311-9fab-6444380c2fd6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsGross_d2bdda47-9d19-4ed7-9dd3-2d0a1b2a8888" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFinanceCostsGross"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_b7af46fb-e27d-4311-9fab-6444380c2fd6" xlink:to="loc_us-gaap_DeferredFinanceCostsGross_d2bdda47-9d19-4ed7-9dd3-2d0a1b2a8888" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_b2e855ac-025a-4a37-9d10-fc79930b3b5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_b7af46fb-e27d-4311-9fab-6444380c2fd6" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_b2e855ac-025a-4a37-9d10-fc79930b3b5c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/DEBTSummaryofDebtObligationsDetails_1" xlink:type="simple" xlink:href="apg-20251231.xsd#DEBTSummaryofDebtObligationsDetails_1"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/DEBTSummaryofDebtObligationsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_74917a39-e7ae-413c-90e8-5d853e1b4d50" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_e283af5f-7fc4-49b2-b559-d394eec367e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_74917a39-e7ae-413c-90e8-5d853e1b4d50" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_e283af5f-7fc4-49b2-b559-d394eec367e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_18d0b1d6-15f9-45e8-8f79-f939ada4aa4c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_74917a39-e7ae-413c-90e8-5d853e1b4d50" xlink:to="loc_us-gaap_LongTermDebtCurrent_18d0b1d6-15f9-45e8-8f79-f939ada4aa4c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/DEBTScheduleofAnnualMaturitiesExcludingAmortizationofDebtIssuanceCostsDetails" xlink:type="simple" xlink:href="apg-20251231.xsd#DEBTScheduleofAnnualMaturitiesExcludingAmortizationofDebtIssuanceCostsDetails"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/DEBTScheduleofAnnualMaturitiesExcludingAmortizationofDebtIssuanceCostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_5e495ad7-2915-4f46-bfb1-f319d88dcd84" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_a627d2b1-1fb8-4618-a7ee-073472edd6b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_5e495ad7-2915-4f46-bfb1-f319d88dcd84" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_a627d2b1-1fb8-4618-a7ee-073472edd6b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_ff22961a-3323-40dd-8524-3bb81ffe88db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_5e495ad7-2915-4f46-bfb1-f319d88dcd84" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_ff22961a-3323-40dd-8524-3bb81ffe88db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_2e8e2198-d3d6-4507-ac43-8e24f72838e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_5e495ad7-2915-4f46-bfb1-f319d88dcd84" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_2e8e2198-d3d6-4507-ac43-8e24f72838e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_39a6c0a6-08a8-4474-bd35-4dab2c93ee1c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_5e495ad7-2915-4f46-bfb1-f319d88dcd84" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_39a6c0a6-08a8-4474-bd35-4dab2c93ee1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_e450fddd-a42e-44b4-8f37-c5155cdb68c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_5e495ad7-2915-4f46-bfb1-f319d88dcd84" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_e450fddd-a42e-44b4-8f37-c5155cdb68c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_a4029e17-9c3d-40a2-a756-1be686f32a61" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_5e495ad7-2915-4f46-bfb1-f319d88dcd84" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_a4029e17-9c3d-40a2-a756-1be686f32a61" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/INCOMETAXESSummaryofComponentsofIncomeLossBeforeIncomeTaxesDetails" xlink:type="simple" xlink:href="apg-20251231.xsd#INCOMETAXESSummaryofComponentsofIncomeLossBeforeIncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/INCOMETAXESSummaryofComponentsofIncomeLossBeforeIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_63c3dc2b-da7d-4947-8db6-570d3577867d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_d7fb6bda-51d8-4702-b31b-60319bd909c1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromEquityMethodInvestments_63c3dc2b-da7d-4947-8db6-570d3577867d" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_d7fb6bda-51d8-4702-b31b-60319bd909c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_50b5b834-b219-4b71-9f3d-fb1a610d1cdc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromEquityMethodInvestments_63c3dc2b-da7d-4947-8db6-570d3577867d" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_50b5b834-b219-4b71-9f3d-fb1a610d1cdc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/INCOMETAXESSummaryofIncomeTaxProvisionDetails" xlink:type="simple" xlink:href="apg-20251231.xsd#INCOMETAXESSummaryofIncomeTaxProvisionDetails"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/INCOMETAXESSummaryofIncomeTaxProvisionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_88408677-4a95-4703-9799-1fa79e474370" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_cf1596cb-825f-4ad3-8795-4c4d3289f72a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_88408677-4a95-4703-9799-1fa79e474370" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_cf1596cb-825f-4ad3-8795-4c4d3289f72a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_7aaccff1-b324-41e2-be8d-a8e89f298b2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_88408677-4a95-4703-9799-1fa79e474370" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_7aaccff1-b324-41e2-be8d-a8e89f298b2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_faab6015-3f67-4824-9d43-1949318eb00d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_88408677-4a95-4703-9799-1fa79e474370" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_faab6015-3f67-4824-9d43-1949318eb00d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations_019c7984-c52e-7dc9-ab10-c8d73a0e7760" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_019c7984-c52e-716f-b7a5-da91a357f80b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations_019c7984-c52e-7dc9-ab10-c8d73a0e7760" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_019c7984-c52e-716f-b7a5-da91a357f80b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_019c7984-c52e-7ed9-9700-508b55bb3d77" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations_019c7984-c52e-7dc9-ab10-c8d73a0e7760" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_019c7984-c52e-7ed9-9700-508b55bb3d77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_a9a52492-6b0e-48af-8ffe-e1a255fb1f5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations_6fd2d774-98c0-417f-b37c-089f20dceb1b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_a9a52492-6b0e-48af-8ffe-e1a255fb1f5c" xlink:to="loc_us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations_6fd2d774-98c0-417f-b37c-089f20dceb1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations_09115ad8-9409-461e-8029-fadcf9075b3b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_a9a52492-6b0e-48af-8ffe-e1a255fb1f5c" xlink:to="loc_us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations_09115ad8-9409-461e-8029-fadcf9075b3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations_019c336f-8fd5-7edd-9b2e-00a8c4b76822" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_a9a52492-6b0e-48af-8ffe-e1a255fb1f5c" xlink:to="loc_us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations_019c336f-8fd5-7edd-9b2e-00a8c4b76822" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_7f9303a7-0f34-435c-8d59-9f2851d25b0f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_2b1ea092-ea96-43a8-bd76-7f649281f845" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_7f9303a7-0f34-435c-8d59-9f2851d25b0f" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_2b1ea092-ea96-43a8-bd76-7f649281f845" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_4c4715de-fc8f-4bab-90ec-e8dfa64d0e96" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_7f9303a7-0f34-435c-8d59-9f2851d25b0f" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_4c4715de-fc8f-4bab-90ec-e8dfa64d0e96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_a1b9e8ac-5b4f-4aae-ac13-b1dbb31a3277" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_7f9303a7-0f34-435c-8d59-9f2851d25b0f" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_a1b9e8ac-5b4f-4aae-ac13-b1dbb31a3277" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations_019c7984-a01e-75e8-9802-486239869a15" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_019c7984-a01e-7bec-ae55-9963e6197add" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations_019c7984-a01e-75e8-9802-486239869a15" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_019c7984-a01e-7bec-ae55-9963e6197add" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_019c7984-a01e-7b6e-b226-0fcdd1f3c453" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations_019c7984-a01e-75e8-9802-486239869a15" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_019c7984-a01e-7b6e-b226-0fcdd1f3c453" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations_019c7984-df21-7387-bf4c-cf555d4eb59d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_019c7984-df21-7158-9a48-ddc0968a5ff9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations_019c7984-df21-7387-bf4c-cf555d4eb59d" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_019c7984-df21-7158-9a48-ddc0968a5ff9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_019c7984-df21-793c-b64f-51b4d1482eb7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations_019c7984-df21-7387-bf4c-cf555d4eb59d" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_019c7984-df21-793c-b64f-51b4d1482eb7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/INCOMETAXESSummaryofReconciliationofFederalStatutoryIncomeTaxRateInAcordanceWiththeGuidanceinASUNo202309Details" xlink:type="simple" xlink:href="apg-20251231.xsd#INCOMETAXESSummaryofReconciliationofFederalStatutoryIncomeTaxRateInAcordanceWiththeGuidanceinASUNo202309Details"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/INCOMETAXESSummaryofReconciliationofFederalStatutoryIncomeTaxRateInAcordanceWiththeGuidanceinASUNo202309Details" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_fea7fcdd-a805-491b-8fef-487e7caddb45" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_92d5c9dc-e606-481d-8043-d4aa20d33f31" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_fea7fcdd-a805-491b-8fef-487e7caddb45" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_92d5c9dc-e606-481d-8043-d4aa20d33f31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_aadf08b3-a0a1-400a-9ff6-d9a140d0ef6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_fea7fcdd-a805-491b-8fef-487e7caddb45" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_aadf08b3-a0a1-400a-9ff6-d9a140d0ef6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_bb07b016-37bf-481e-a1fe-ac9e029cd88e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_fea7fcdd-a805-491b-8fef-487e7caddb45" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_bb07b016-37bf-481e-a1fe-ac9e029cd88e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_EffectiveIncomeTaxRateReconciliationCrossBorderFinancingArrangementOtherPercent_019c3374-bfe0-750a-8b2d-053968f212cc" xlink:href="apg-20251231.xsd#apg_EffectiveIncomeTaxRateReconciliationCrossBorderFinancingArrangementOtherPercent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_fea7fcdd-a805-491b-8fef-487e7caddb45" xlink:to="loc_apg_EffectiveIncomeTaxRateReconciliationCrossBorderFinancingArrangementOtherPercent_019c3374-bfe0-750a-8b2d-053968f212cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_eed95903-561e-4cd7-9c18-7cdb60aaf5f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_fea7fcdd-a805-491b-8fef-487e7caddb45" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_eed95903-561e-4cd7-9c18-7cdb60aaf5f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherPercent_3d533827-20cb-4b14-a708-75bc7720c02b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherPercent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_fea7fcdd-a805-491b-8fef-487e7caddb45" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherPercent_3d533827-20cb-4b14-a708-75bc7720c02b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_3acd4542-4735-4f77-bf83-66238bc13f86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_fea7fcdd-a805-491b-8fef-487e7caddb45" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_3acd4542-4735-4f77-bf83-66238bc13f86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_019c335a-4327-77d0-9950-1d2064d141f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_fea7fcdd-a805-491b-8fef-487e7caddb45" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_019c335a-4327-77d0-9950-1d2064d141f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_EffectiveIncomeTaxRateReconciliationTransactionCostsPercent_019c335a-6f87-74d3-96e5-9bd2b273c441" xlink:href="apg-20251231.xsd#apg_EffectiveIncomeTaxRateReconciliationTransactionCostsPercent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_fea7fcdd-a805-491b-8fef-487e7caddb45" xlink:to="loc_apg_EffectiveIncomeTaxRateReconciliationTransactionCostsPercent_019c335a-6f87-74d3-96e5-9bd2b273c441" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_e299e880-b336-4521-9da2-f4bd37dc47f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_f0c2939a-ee6c-4dad-bba1-38944177c3e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_e299e880-b336-4521-9da2-f4bd37dc47f0" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_f0c2939a-ee6c-4dad-bba1-38944177c3e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_a121f801-1bac-4f4e-b333-934033cf1004" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_e299e880-b336-4521-9da2-f4bd37dc47f0" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_a121f801-1bac-4f4e-b333-934033cf1004" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_510e669d-e22f-4d91-9b97-f6f947a59b64" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_e299e880-b336-4521-9da2-f4bd37dc47f0" xlink:to="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_510e669d-e22f-4d91-9b97-f6f947a59b64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_e1e74934-503e-4aec-83eb-2d090efb08f7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_e299e880-b336-4521-9da2-f4bd37dc47f0" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_e1e74934-503e-4aec-83eb-2d090efb08f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherAmount_019b4ae7-805c-79bb-a956-1cc0b81317e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherAmount"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_e299e880-b336-4521-9da2-f4bd37dc47f0" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherAmount_019b4ae7-805c-79bb-a956-1cc0b81317e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_019b4ae7-98ee-7063-81fc-331e6be69205" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_e299e880-b336-4521-9da2-f4bd37dc47f0" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_019b4ae7-98ee-7063-81fc-331e6be69205" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_019c335a-be8a-72a9-ae54-871279465ed6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_e299e880-b336-4521-9da2-f4bd37dc47f0" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_019c335a-be8a-72a9-ae54-871279465ed6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_EffectiveIncomeTaxRateReconciliationCrossBorderFinancingArrangementOtherAmount_019c3373-bf3b-7678-a3f3-f1e20fe1da02" xlink:href="apg-20251231.xsd#apg_EffectiveIncomeTaxRateReconciliationCrossBorderFinancingArrangementOtherAmount"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_e299e880-b336-4521-9da2-f4bd37dc47f0" xlink:to="loc_apg_EffectiveIncomeTaxRateReconciliationCrossBorderFinancingArrangementOtherAmount_019c3373-bf3b-7678-a3f3-f1e20fe1da02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_EffectiveIncomeTaxRateReconciliationTransactionCostsAmount_019c335a-f0c6-7817-a1e8-ab9793b1f26e" xlink:href="apg-20251231.xsd#apg_EffectiveIncomeTaxRateReconciliationTransactionCostsAmount"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_e299e880-b336-4521-9da2-f4bd37dc47f0" xlink:to="loc_apg_EffectiveIncomeTaxRateReconciliationTransactionCostsAmount_019c335a-f0c6-7817-a1e8-ab9793b1f26e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/INCOMETAXESSummaryofIncomeTaxesPaidDetails" xlink:type="simple" xlink:href="apg-20251231.xsd#INCOMETAXESSummaryofIncomeTaxesPaidDetails"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/INCOMETAXESSummaryofIncomeTaxesPaidDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_019b4aca-b3f0-7a6c-aa5a-590ae6b55c94" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxesPaidNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidFederalAfterRefundReceived_019b4aca-b3f0-718c-92c5-97a7309980e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidFederalAfterRefundReceived"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxesPaidNet_019b4aca-b3f0-7a6c-aa5a-590ae6b55c94" xlink:to="loc_us-gaap_IncomeTaxPaidFederalAfterRefundReceived_019b4aca-b3f0-718c-92c5-97a7309980e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived_019b4aca-b3f0-74ae-bfbb-8968a03abdf4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxesPaidNet_019b4aca-b3f0-7a6c-aa5a-590ae6b55c94" xlink:to="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived_019b4aca-b3f0-74ae-bfbb-8968a03abdf4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidForeignAfterRefundReceived_019b4aca-b3f0-72cd-9b37-78e8747d3b89" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidForeignAfterRefundReceived"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxesPaidNet_019b4aca-b3f0-7a6c-aa5a-590ae6b55c94" xlink:to="loc_us-gaap_IncomeTaxPaidForeignAfterRefundReceived_019b4aca-b3f0-72cd-9b37-78e8747d3b89" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/INCOMETAXESSummaryofComponentsofDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="simple" xlink:href="apg-20251231.xsd#INCOMETAXESSummaryofComponentsofDeferredTaxAssetsAndLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/INCOMETAXESSummaryofComponentsofDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_3610403e-fd68-468c-9a52-c32b42aaad24" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill_efea04a7-d5ee-4371-a841-840804c0fdbd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_3610403e-fd68-468c-9a52-c32b42aaad24" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill_efea04a7-d5ee-4371-a841-840804c0fdbd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_DeferredTaxLiabilitiesAmortizationOnIdentifiedIntangibleAssets_215a22b9-4cf9-46e3-aebf-8fcd77f2ecde" xlink:href="apg-20251231.xsd#apg_DeferredTaxLiabilitiesAmortizationOnIdentifiedIntangibleAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_3610403e-fd68-468c-9a52-c32b42aaad24" xlink:to="loc_apg_DeferredTaxLiabilitiesAmortizationOnIdentifiedIntangibleAssets_215a22b9-4cf9-46e3-aebf-8fcd77f2ecde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_50d64460-5ed8-4444-8a3c-c49764d507f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_3610403e-fd68-468c-9a52-c32b42aaad24" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_50d64460-5ed8-4444-8a3c-c49764d507f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesDerivatives_d9dfbcf2-6738-4ebd-a6d2-0dc9c5a36dba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesDerivatives"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_3610403e-fd68-468c-9a52-c32b42aaad24" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesDerivatives_d9dfbcf2-6738-4ebd-a6d2-0dc9c5a36dba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_DeferredTaxLiabilitiesPensionAndPostRetirementObligations_6c034890-dec4-42cb-b494-f34c08b7b75e" xlink:href="apg-20251231.xsd#apg_DeferredTaxLiabilitiesPensionAndPostRetirementObligations"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_3610403e-fd68-468c-9a52-c32b42aaad24" xlink:to="loc_apg_DeferredTaxLiabilitiesPensionAndPostRetirementObligations_6c034890-dec4-42cb-b494-f34c08b7b75e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_DeferredTaxLiabilitiesDeferredPayments_3bd24ebd-51d0-423d-a633-399514d66f71" xlink:href="apg-20251231.xsd#apg_DeferredTaxLiabilitiesDeferredPayments"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_3610403e-fd68-468c-9a52-c32b42aaad24" xlink:to="loc_apg_DeferredTaxLiabilitiesDeferredPayments_3bd24ebd-51d0-423d-a633-399514d66f71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_1435ce24-6025-4300-ab48-4073617b5f67" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesLeasingArrangements"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_3610403e-fd68-468c-9a52-c32b42aaad24" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_1435ce24-6025-4300-ab48-4073617b5f67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_b087b344-9c68-4c68-ab93-1d934357c09d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_3610403e-fd68-468c-9a52-c32b42aaad24" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_b087b344-9c68-4c68-ab93-1d934357c09d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilities_07e880bd-be44-4da0-8392-095f155cd829" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_9473398b-2078-4c5a-a888-b155c284d682" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_07e880bd-be44-4da0-8392-095f155cd829" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_9473398b-2078-4c5a-a888-b155c284d682" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_511341fc-95d6-498d-9acc-a721d9df5b2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_07e880bd-be44-4da0-8392-095f155cd829" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_511341fc-95d6-498d-9acc-a721d9df5b2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_6b6844de-89cd-4368-b059-bfe6d01bf921" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_DeferredTaxAssetsOperatingAndFinanceLeaseLiabilities_357ae583-8f45-4c8e-8a26-3033468971ee" xlink:href="apg-20251231.xsd#apg_DeferredTaxAssetsOperatingAndFinanceLeaseLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6b6844de-89cd-4368-b059-bfe6d01bf921" xlink:to="loc_apg_DeferredTaxAssetsOperatingAndFinanceLeaseLiabilities_357ae583-8f45-4c8e-8a26-3033468971ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefits_16b39524-094f-44aa-b698-c5f869c38f31" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6b6844de-89cd-4368-b059-bfe6d01bf921" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefits_16b39524-094f-44aa-b698-c5f869c38f31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_cab0332c-aa2f-4790-af02-298cd4f8336a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6b6844de-89cd-4368-b059-bfe6d01bf921" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_cab0332c-aa2f-4790-af02-298cd4f8336a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_e8f9a61b-f14b-4d2b-a7c6-8a96838b34e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6b6844de-89cd-4368-b059-bfe6d01bf921" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_e8f9a61b-f14b-4d2b-a7c6-8a96838b34e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_apg_DeferredTaxAssetsContingentConsiderationAndCompensationLiabilities_d1508aad-ff57-4984-a36f-ce35dc8a0c49" xlink:href="apg-20251231.xsd#apg_DeferredTaxAssetsContingentConsiderationAndCompensationLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6b6844de-89cd-4368-b059-bfe6d01bf921" xlink:to="loc_apg_DeferredTaxAssetsContingentConsiderationAndCompensationLiabilities_d1508aad-ff57-4984-a36f-ce35dc8a0c49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsCapitalLossCarryforwards_a685ba58-c88e-427b-8486-ec119d186069" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsCapitalLossCarryforwards"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6b6844de-89cd-4368-b059-bfe6d01bf921" xlink:to="loc_us-gaap_DeferredTaxAssetsCapitalLossCarryforwards_a685ba58-c88e-427b-8486-ec119d186069" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_f35fa8a1-09ba-4ec4-9b9d-ea471251b8e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwards"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6b6844de-89cd-4368-b059-bfe6d01bf921" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_f35fa8a1-09ba-4ec4-9b9d-ea471251b8e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals_625af5c3-465e-4ed7-8e7c-a2d399b0cfb0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6b6844de-89cd-4368-b059-bfe6d01bf921" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals_625af5c3-465e-4ed7-8e7c-a2d399b0cfb0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetInterestCarryforward_171f5b89-29cb-4d0a-be28-86b433d8eca0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetInterestCarryforward"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6b6844de-89cd-4368-b059-bfe6d01bf921" xlink:to="loc_us-gaap_DeferredTaxAssetInterestCarryforward_171f5b89-29cb-4d0a-be28-86b433d8eca0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsDerivativeInstruments_0adfe5a1-cb19-4097-968a-e532e03dcfca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsDerivativeInstruments"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6b6844de-89cd-4368-b059-bfe6d01bf921" xlink:to="loc_us-gaap_DeferredTaxAssetsDerivativeInstruments_0adfe5a1-cb19-4097-968a-e532e03dcfca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_019c335d-2081-7e84-aaa9-8acf56825951" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6b6844de-89cd-4368-b059-bfe6d01bf921" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_019c335d-2081-7e84-aaa9-8acf56825951" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_72fead6b-cc4b-4c38-b2c9-7d274cc48311" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_c7b7321e-c13d-4ccc-b9b2-9b3663a3cff3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_72fead6b-cc4b-4c38-b2c9-7d274cc48311" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_c7b7321e-c13d-4ccc-b9b2-9b3663a3cff3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_1f783ef7-b1f9-4d07-8142-ebbacdca51b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_72fead6b-cc4b-4c38-b2c9-7d274cc48311" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_1f783ef7-b1f9-4d07-8142-ebbacdca51b5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/PENSIONScheduleofChangesinBenefitObligationsandPlanAssetsDetails" xlink:type="simple" xlink:href="apg-20251231.xsd#PENSIONScheduleofChangesinBenefitObligationsandPlanAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/PENSIONScheduleofChangesinBenefitObligationsandPlanAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_e6f88f53-9b3f-4aae-b36b-d6e11c1fad92" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_74d1445b-0274-4c1f-9249-937189ac98bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_e6f88f53-9b3f-4aae-b36b-d6e11c1fad92" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_74d1445b-0274-4c1f-9249-937189ac98bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_0ac2ad75-6177-49f1-9ed9-b7343e14f693" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanBenefitObligation"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_e6f88f53-9b3f-4aae-b36b-d6e11c1fad92" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_0ac2ad75-6177-49f1-9ed9-b7343e14f693" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/PENSIONSummaryofSupplementalConsolidatedBalanceSheetsInformationRelatedtoPensionDetails" xlink:type="simple" xlink:href="apg-20251231.xsd#PENSIONSummaryofSupplementalConsolidatedBalanceSheetsInformationRelatedtoPensionDetails"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/PENSIONSummaryofSupplementalConsolidatedBalanceSheetsInformationRelatedtoPensionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_91402745-3a7e-481b-a60f-85602f5ce08e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_08633bcd-2570-4882-8ad5-62ffb9f4215b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_91402745-3a7e-481b-a60f-85602f5ce08e" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_08633bcd-2570-4882-8ad5-62ffb9f4215b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_239a4f46-e0b6-4e3e-b82c-67ee95039578" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_91402745-3a7e-481b-a60f-85602f5ce08e" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_239a4f46-e0b6-4e3e-b82c-67ee95039578" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_b849ec8c-e4e8-40f1-b383-a9869184a83f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_91402745-3a7e-481b-a60f-85602f5ce08e" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_b849ec8c-e4e8-40f1-b383-a9869184a83f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/PENSIONComponentsofNetPeriodicPensionCostDetails" xlink:type="simple" xlink:href="apg-20251231.xsd#PENSIONComponentsofNetPeriodicPensionCostDetails"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/PENSIONComponentsofNetPeriodicPensionCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1cca253e-9c0d-487a-b6e0-d1a6ff3cd5d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_44d6e7fb-a28f-4646-8c04-e70fc79b82ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1cca253e-9c0d-487a-b6e0-d1a6ff3cd5d8" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_44d6e7fb-a28f-4646-8c04-e70fc79b82ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_c28a9b60-1999-4fbb-a3e6-45355a947ab8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1cca253e-9c0d-487a-b6e0-d1a6ff3cd5d8" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_c28a9b60-1999-4fbb-a3e6-45355a947ab8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_4f101f93-afd8-4c87-849b-8961764e248e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1cca253e-9c0d-487a-b6e0-d1a6ff3cd5d8" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_4f101f93-afd8-4c87-849b-8961764e248e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_47e2416f-549e-4765-895d-6818772841a2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1cca253e-9c0d-487a-b6e0-d1a6ff3cd5d8" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_47e2416f-549e-4765-895d-6818772841a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_0a32562f-021e-48e3-993b-40ed5741463b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1cca253e-9c0d-487a-b6e0-d1a6ff3cd5d8" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_0a32562f-021e-48e3-993b-40ed5741463b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.apigroupinc.com/role/EARNINGSLOSSPERSHARESummaryofComputationEarningsLossPerCommonShareUsingTwoClassMethodDetails" xlink:type="simple" xlink:href="apg-20251231.xsd#EARNINGSLOSSPERSHARESummaryofComputationEarningsLossPerCommonShareUsingTwoClassMethodDetails"/>
  <link:calculationLink xlink:role="http://www.apigroupinc.com/role/EARNINGSLOSSPERSHARESummaryofComputationEarningsLossPerCommonShareUsingTwoClassMethodDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_91f3e3c0-2c93-42a0-820f-e26d81ac9157" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_1d638d63-9cd8-4f29-a41f-cc690067e700" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_91f3e3c0-2c93-42a0-820f-e26d81ac9157" xlink:to="loc_us-gaap_NetIncomeLoss_1d638d63-9cd8-4f29-a41f-cc690067e700" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_99db6171-4ddb-46c7-ac25-f5c02bd7d579" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockDividendsIncomeStatementImpact"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_91f3e3c0-2c93-42a0-820f-e26d81ac9157" xlink:to="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_99db6171-4ddb-46c7-ac25-f5c02bd7d579" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertiblePreferredStockConvertedToOtherSecurities_7e5ccfa8-26b3-4443-8c88-12cd2bde4bf4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConvertiblePreferredStockConvertedToOtherSecurities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_91f3e3c0-2c93-42a0-820f-e26d81ac9157" xlink:to="loc_us-gaap_ConvertiblePreferredStockConvertedToOtherSecurities_7e5ccfa8-26b3-4443-8c88-12cd2bde4bf4" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
