gf(2) Polynomial long division

c = a/b

a = b0000000000000000000000001100011101000000110100011000111011010101
a = 0x000000c740d18ed5
a = x39 + x38 + x34 + x33 + x32 + x30 + x23 + x22 + x20 + x16 + x15 + x11 + x10 + x9 + x7 + x6 + x4 + x2 + 1

b = b0000000000000000000000000000000000000000001001111000101010011001
b = 0x0000000000278a99
b = x21 + x18 + x17 + x16 + x15 + x11 + x9 + x7 + x4 + x3 + 1

  1100011101000000110100011000111011010101 | 1001111000101010011001
- 1001111000101010011001                   | 1
  ---------------------------------------- |
   101100101101010101101011000111011010101 |
-  1001111000101010011001                  | 1
  ---------------------------------------- |
     1011001111111100001111000111011010101 |
-   0000000000000000000000                 | 0
-    1001111000101010011001                | 1
  ---------------------------------------- |
       10110111010110010110000111011010101 |
-     0000000000000000000000               | 0
-      1001111000101010011001              | 1
  ---------------------------------------- |
         101001011100110000010111011010101 |
-       0000000000000000000000             | 0
-        1001111000101010011001            | 1
  ---------------------------------------- |
           1110111110011001110011011010101 |
-         0000000000000000000000           | 0
-          1001111000101010011001          | 1
  ---------------------------------------- |
            111000110110011101010011010101 |
-           1001111000101010011001         | 1
  ---------------------------------------- |
             11111010100110100110111010101 |
-            1001111000101010011001        | 1
  ---------------------------------------- |
              1100100101100000000101010101 |
-             1001111000101010011001       | 1
  ---------------------------------------- |
               101011101001010011100010101 |
-              1001111000101010011001      | 1
  ---------------------------------------- |
                 1100001011111010000110101 |
-               0000000000000000000000     | 0
-                1001111000101010011001    | 1
  ---------------------------------------- |
                  101110011010000011111101 |
-                 1001111000101010011001   | 1
  ---------------------------------------- |
                    1001111000101010011001 |
-                  0000000000000000000000  | 0
-                   1001111000101010011001 | 1
  ---------------------------------------- |
                                         0 |

cquotient = b0000000000000000000000000000000000000000000001101010101111101101
cquotient = 0x000000000006abed
cquotient = x18 + x17 + x15 + x13 + x11 + x9 + x8 + x7 + x6 + x5 + x3 + x2 + 1

cremainder = b0000000000000000000000000000000000000000000000000000000000000000
cremainder = 0x0000000000000000
cremainder = 0