user: What is the c source code of the assembly code below:

```asm
<majorityElement>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %esi,-0x3c(%rbp)
  mov    %rdx,-0x48(%rbp)
  mov    $0x8,%edi
  call   <malloc@plt>
  mov    %rax,-0x8(%rbp)
  movl   $0x0,-0x18(%rbp)
  mov    -0x18(%rbp),%eax
  mov    %eax,-0x1c(%rbp)
  movl   $0x0,-0x14(%rbp)
  jmp    L181
L84:
  cmpl   $0x0,-0x1c(%rbp)
  jle    L120
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    %eax,-0x24(%rbp)
  jne    L120
  addl   $0x1,-0x1c(%rbp)
  jmp    L121
L120:
  cmpl   $0x0,-0x18(%rbp)
  jle    L26
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    %eax,-0x20(%rbp)
  jne    L26
  addl   $0x1,-0x18(%rbp)
  jmp    L121
L26:
  cmpl   $0x0,-0x1c(%rbp)
  jne    L81
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x24(%rbp)
  movl   $0x1,-0x1c(%rbp)
  jmp    L121
L81:
  cmpl   $0x0,-0x18(%rbp)
  jne    L166
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x20(%rbp)
  movl   $0x1,-0x18(%rbp)
  jmp    L121
L166:
  subl   $0x1,-0x1c(%rbp)
  subl   $0x1,-0x18(%rbp)
L121:
  addl   $0x1,-0x14(%rbp)
L181:
  mov    -0x14(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jl     L84
  mov    -0x48(%rbp),%rax
  movl   $0x0,(%rax)
  cmpl   $0x0,-0x1c(%rbp)
  jle    L162
  movl   $0x0,-0x1c(%rbp)
  movl   $0x0,-0x10(%rbp)
  jmp    L183
L112:
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    %eax,-0x24(%rbp)
  jne    L11
  addl   $0x1,-0x1c(%rbp)
L11:
  addl   $0x1,-0x10(%rbp)
L183:
  mov    -0x10(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jl     L112
  mov    -0x3c(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x55555556,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x1f,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  cmp    %eax,-0x1c(%rbp)
  jle    L162
  mov    -0x48(%rbp),%rax
  mov    (%rax),%eax
  lea    0x1(%rax),%ecx
  mov    -0x48(%rbp),%rdx
  mov    %ecx,(%rdx)
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x8(%rbp),%rax
  add    %rax,%rdx
  mov    -0x24(%rbp),%eax
  mov    %eax,(%rdx)
L162:
  cmpl   $0x0,-0x18(%rbp)
  jle    L139
  movl   $0x0,-0x18(%rbp)
  movl   $0x0,-0xc(%rbp)
  jmp    L71
L33:
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    %eax,-0x20(%rbp)
  jne    L122
  addl   $0x1,-0x18(%rbp)
L122:
  addl   $0x1,-0xc(%rbp)
L71:
  mov    -0xc(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jl     L33
  mov    -0x3c(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x55555556,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x1f,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  cmp    %eax,-0x18(%rbp)
  jle    L139
  mov    -0x48(%rbp),%rax
  mov    (%rax),%eax
  lea    0x1(%rax),%ecx
  mov    -0x48(%rbp),%rdx
  mov    %ecx,(%rdx)
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x8(%rbp),%rax
  add    %rax,%rdx
  mov    -0x20(%rbp),%eax
  mov    %eax,(%rdx)
L139:
  mov    -0x8(%rbp),%rax
  leave
  ret
```

assistant: ```c
int *majorityElement(int *nums, int numsSize, int *returnSize) {
  int n1, n2, c1, c2;
  int *res = (int *)malloc(2 * sizeof(int));
  c1 = c2 = 0;
  for (int i = 0; i < numsSize; i++) {
    if (c1 > 0 && n1 == nums[i]) {
      c1++;
      continue;
    }
    if (c2 > 0 && n2 == nums[i]) {
      c2++;
      continue;
    }
    if (c1 == 0) {
      n1 = nums[i];
      c1 = 1;
      continue;
    }
    if (c2 == 0) {
      n2 = nums[i];
      c2 = 1;
      continue;
    }
    c1--;
    c2--;
  }
  *returnSize = 0;
  if (c1 > 0) {
    c1 = 0;
    for (int i = 0; i < numsSize; i++) {
      if (n1 == nums[i])
        c1++;
    }
    if (c1 > numsSize / 3) {
      res[(*returnSize)++] = n1;
    }
  }
  if (c2 > 0) {
    c2 = 0;
    for (int i = 0; i < numsSize; i++) {
      if (n2 == nums[i])
        c2++;
    }
    if (c2 > numsSize / 3) {
      res[(*returnSize)++] = n2;
    }
  }
  return res;
}
```