3.65

    A.

    1. &A[i][j] in %rdx

    B.

    1. &A[j][i] in %rax

    C.

    1. addq $8, %rdx # means A[i][j] -> A[i][j+1]
    2. addq $120, %rax # means A[j][i] -> A[j+1][i], 120 == 8*M

    M = 15