user: What would the C source look like for the assembly code provided here?

```asm
<demultiplyAlpha>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %edi,-0x14(%rbp)
  mov    %esi,-0x18(%rbp)
  mov    %rdx,-0x20(%rbp)
  mov    -0x20(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  movl   $0x0,-0xc(%rbp)
  jmp    L26
L22:
  addq   $0x1,-0x8(%rbp)
  movl   $0x0,-0x10(%rbp)
  jmp    L21
L1:
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x3(%rax),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L24
  mov    -0x10(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    %edx,%eax
  shl    $0x8,%eax
  sub    %edx,%eax
  mov    %eax,%ecx
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x3(%rax),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  shr    %al
  movzbl %al,%eax
  add    %ecx,%eax
  mov    -0x10(%rbp),%edx
  movslq %edx,%rdx
  lea    0x3(%rdx),%rcx
  mov    -0x8(%rbp),%rdx
  add    %rcx,%rdx
  movzbl (%rdx),%edx
  movzbl %dl,%esi
  cltd
  idiv   %esi
  mov    %eax,%ecx
  mov    -0x10(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    %edx,%eax
  shl    $0x8,%eax
  sub    %edx,%eax
  mov    %eax,%ecx
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x3(%rax),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  shr    %al
  movzbl %al,%eax
  add    %ecx,%eax
  mov    -0x10(%rbp),%edx
  movslq %edx,%rdx
  lea    0x3(%rdx),%rcx
  mov    -0x8(%rbp),%rdx
  add    %rcx,%rdx
  movzbl (%rdx),%edx
  movzbl %dl,%edi
  cltd
  idiv   %edi
  mov    %eax,%ecx
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x2(%rax),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    %edx,%eax
  shl    $0x8,%eax
  sub    %edx,%eax
  mov    %eax,%ecx
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x3(%rax),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  shr    %al
  movzbl %al,%eax
  add    %ecx,%eax
  mov    -0x10(%rbp),%edx
  movslq %edx,%rdx
  lea    0x3(%rdx),%rcx
  mov    -0x8(%rbp),%rdx
  add    %rcx,%rdx
  movzbl (%rdx),%edx
  movzbl %dl,%esi
  cltd
  idiv   %esi
  mov    %eax,%ecx
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x2(%rax),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
L24:
  addl   $0x4,-0x10(%rbp)
L21:
  mov    -0x14(%rbp),%eax
  shl    $0x2,%eax
  cmp    %eax,-0x10(%rbp)
  jl     L1
  mov    -0x14(%rbp),%eax
  shl    $0x2,%eax
  cltq
  add    %rax,-0x8(%rbp)
  addl   $0x1,-0xc(%rbp)
L26:
  mov    -0xc(%rbp),%eax
  cmp    -0x18(%rbp),%eax
  jl     L22
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void demultiplyAlpha(int wide, int high, unsigned char *data) {
  int x, y;
  unsigned char *srcPtr;
  srcPtr = data;
  for (y = 0; y < high; y++) {
    srcPtr++;
    for (x = 0; x < 4 * wide; x += 4) {
      if (srcPtr[x + 3]) {
        srcPtr[x] = (srcPtr[x] * 255 + (srcPtr[x + 3] >> 1)) / srcPtr[x + 3];
        srcPtr[x + 1] = (srcPtr[x + 1] * 255 + (srcPtr[x + 3] >> 1)) / srcPtr[x + 3];
        srcPtr[x + 2] = (srcPtr[x + 2] * 255 + (srcPtr[x + 3] >> 1)) / srcPtr[x + 3];
      }
    }
    srcPtr += 4 * wide;
  }
}
```