You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: process_channel_biosemi.m
    path of file: ./repos/brainstorm3/toolbox/process/functions
    
    the code of the file until where you have to start completion: function varargout = process_channel_biosemi( varargin )
% PROCESS_CHANNEL_BIOSEMI: Rename channels for BioSemi raw recordings in database.

% @=============================================================================
% This function is part of the Brainstorm software:
% https://neuroimage.usc.edu/brainstorm
% 
% Copyright (c) University of Southern California & McGill University
% This software is distributed under the terms of the GNU General Public License
% as published by the Free Software Foundation. Further details on the GPLv3
% license can be found at http://www.gnu.org/copyleft/gpl.html.
% 
% FOR RESEARCH PURPOSES ONLY. THE SOFTWARE IS PROVIDED "AS IS," AND THE
% UNIVERSITY OF SOUTHERN CALIFORNIA AND ITS COLLABORATORS DO NOT MAKE ANY
% WARRANTY, EXPRESS OR I
    
function biosemiMap = GetBiosemiMap(capSize)
    switch capSize
        case 16
            biosemiMap = { 'A1',  'A2',  'A5',  'A4',  'A3',  'A6',  'A7',  'A8', ...
                           'A9', 'A10', 'A13', 'A12', 'A11', 'A14', 'A15', 'A16'; ...
                          'Fp1', 'Fp2',  'F3',  'Fz',  'F4',  'T7',  'C3',  'Cz', ...
                           'C4',  'T8',  'P3',  'Pz',  'P4',  'O1',  'Oz',  'O2'};

        case 32
            biosemiMap = { 'A1', 'A30',  'A2', 'A29',  'A3',  'A4', 'A31', 'A27', ...
                          'A28',  'A6',  'A5', 'A26', 'A25',  'A7',  'A8', 'A32', ...
                          'A23', 'A24', 'A10',  'A9', 'A22', 'A21', 'A11', 'A12', ...
                          'A13', 'A19', 'A20', 'A14', 'A18', 'A15', 'A16', 'A17'; ...
                          'Fp1', 'Fp2', 'AF3', 'AF4',  'F7',  'F3',  'Fz',  'F4', ...
                           'F8', 'FC5', 'FC1', 'FC2', 'FC6',  'T7',  'C3',  'Cz', ...
                           'C4',  'T8', 'CP5', 'CP1', 'CP2', 'CP6',  'P7',  'P3', ...
                           'Pz',  'P4',  'P8', 'PO3', 'PO4',  'O1',  'Oz',  'O2'};

        case 64
            biosemiMap = { 'A1',  'B1',  'B2',  'A2',  'A3',  'B5',  'B4',  'B3', ...
                           'A7',  'A6',  'A5',  'A4',  'B6',  'B7',  'B8',  'B9', ...
                          'B10',  'A8',  'A9', 'A10', 'A11', 'B15', 'B14', 'B13', ...
                          'B12', 'B11', 'A15', 'A14', 'A13', 'A12', 'B16', 'B17', ...
                          'B18', 'B19', 'B20', 'A16', 'A17', 'A18', 'A19', 'A32', ...
                          'B24', 'B23', 'B22', 'B21', 'A24', 'A23', 'A22', 'A21', ...
                          'A20', 'A31', 'B25', 'B26', 'B27', 'B28', 'B29', 'A25', ...
                          'A26', 'A30', 'B31', 'B30', 'A27', 'A29', 'B32', 'A28'; ...
                          'Fp1', 'Fpz', 'Fp2', 'AF7', 'AF3', 'AFz', 'AF4', 'AF8', ...
                           'F7',  'F5',  'F3',  'F1',  'Fz',  'F2',  'F4',  'F6', ...
                           'F8', 'FT7', 'FC5', 'FC3', 'FC1', 'FCz', 'FC2', 'FC4', ...
                          'FC6', 'FT8',  'T7',  'C5',  'C3',  'C1',  'Cz',  'C2', ....
                           'C4',  'C6',  'T8', 'TP7', 'CP5', 'CP3', 'CP1', 'CPz', ...
                          'CP2', 'CP4', 'CP6', 'TP8',  'P9',  'P7',  'P5',  'P3', ...
                           'P1',  'Pz',  'P2',  'P4',  'P6',  'P8', 'P10', 'PO7', ...
                          'PO3', 'POz', 'PO4', 'PO8',  'O1',  'Oz',  'O2',  'Iz'};

        otherwise
            error('BioSemi cap size %d is not supported.', capSize);
    end