When the enchanted creature is put into a graveyard, Takklemaggot's second ability triggers, then Takklemaggot is put into its owner's graveyard as a state-based action. When the ability resolves, if Takklemaggot is still in that graveyard, it's returned to the battlefield.