user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<conv_argb8888_abgr8888>:
  endbr64
  test   %ecx,%ecx
  jle    L105
  sar    $0x2,%r8d
  sar    $0x2,%r9d
  push   %r15
  mov    %edx,%r11d
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  movslq %r9d,%rbp
  push   %rbx
  movslq %r8d,%rbx
  shl    $0x2,%rbp
  shl    $0x2,%rbx
  test   %edx,%edx
  jle    L89
  mov    %ecx,%r13d
  lea    -0x1(%rdx),%ecx
  shr    $0x2,%edx
  mov    %r11d,%r14d
  lea    -0x1(%rdx),%r9d
  mov    %ecx,-0xc(%rsp)
  mov    %r11d,%r15d
  mov    %rdi,%rax
  add    $0x1,%r9
  and    $0xfffffffc,%r14d
  xor    %r10d,%r10d
  and    $0x3,%r15d
  movq   D45(%rip),%xmm8
  movdqa D45(%rip),%xmm5
  shl    $0x4,%r9
  movdqa D42(%rip),%xmm4
  movdqa D10(%rip),%xmm3
  movq   D42(%rip),%xmm7
  movq   D10(%rip),%xmm6
  nopl   (%rax)
L1:
  lea    0x4(%rsi),%rcx
  mov    %rax,%rdx
  sub    %rcx,%rdx
  cmp    $0x8,%rdx
  jbe    L82
  cmp    $0x1,%r11d
  je     L82
  cmpl   $0x2,-0xc(%rsp)
  jbe    L88
  xor    %edx,%edx
  nopl   0x0(%rax,%rax,1)
L59:
  movdqu (%rsi,%rdx,1),%xmm1
  movdqa %xmm1,%xmm0
  movdqa %xmm1,%xmm2
  pand   %xmm3,%xmm1
  pslld  $0x10,%xmm0
  psrad  $0x10,%xmm2
  pand   %xmm5,%xmm0
  pand   %xmm4,%xmm2
  por    %xmm2,%xmm0
  por    %xmm1,%xmm0
  movups %xmm0,(%rax,%rdx,1)
  add    $0x10,%rdx
  cmp    %r9,%rdx
  jne    L59
  cmp    %r14d,%r11d
  je     L46
  mov    %r15d,%edi
  cmp    $0x1,%r15d
  je     L132
  mov    %r14d,%edx
  mov    %r14d,%ecx
L37:
  movq   (%rsi,%rdx,4),%xmm1
  movdqa %xmm1,%xmm0
  movdqa %xmm1,%xmm2
  pand   %xmm6,%xmm1
  pslld  $0x10,%xmm0
  psrad  $0x10,%xmm2
  pand   %xmm8,%xmm0
  pand   %xmm7,%xmm2
  por    %xmm2,%xmm0
  por    %xmm1,%xmm0
  movq   %xmm0,(%rax,%rdx,4)
  mov    %edi,%edx
  and    $0xfffffffe,%edx
  add    %edx,%ecx
  cmp    %edx,%edi
  je     L46
L84:
  movslq %ecx,%rcx
  mov    (%rsi,%rcx,4),%edi
  mov    %edi,%edx
  mov    %edi,%r8d
  and    $0xff00ff00,%edi
  shl    $0x10,%edx
  sar    $0x10,%r8d
  and    $0xff0000,%edx
  movzbl %r8b,%r8d
  or     %r8d,%edx
  or     %edi,%edx
  mov    %edx,(%rax,%rcx,4)
L46:
  add    $0x1,%r10d
  add    %rbx,%rax
  add    %rbp,%rsi
  cmp    %r10d,%r13d
  jne    L1
L89:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L82:
  mov    %r11d,%r12d
  xor    %edi,%edi
  nopl   (%rax)
L7:
  mov    (%rsi,%rdi,4),%ecx
  mov    %ecx,%edx
  mov    %ecx,%r8d
  and    $0xff00ff00,%ecx
  sar    $0x10,%edx
  shl    $0x10,%r8d
  movzbl %dl,%edx
  and    $0xff0000,%r8d
  or     %r8d,%edx
  or     %ecx,%edx
  mov    %edx,(%rax,%rdi,4)
  add    $0x1,%rdi
  cmp    %r12,%rdi
  jne    L7
  jmp    L46
L88:
  mov    %r11d,%edi
  xor    %edx,%edx
  xor    %ecx,%ecx
  jmp    L37
L132:
  mov    %r14d,%ecx
  jmp    L84
L105:
  ret
```

tool_calls: name: parse_data
arguments: label: D45
type_infered: byte[16]
name: parse_data
arguments: label: D42
type_infered: byte[16]
name: parse_data
arguments: label: D10
type_infered: byte[16]

tool: {"D45": [0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00]}

tool: {"D42": [0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00]}

tool: {"D10": [0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff]}

assistant: ```c
void conv_argb8888_abgr8888(void *output_, const void *input_, int width, int height, int out_stride, int in_stride) {
  int h, w;
  const uint32_t *input = (const uint32_t *)input_;
  uint32_t *output = (uint32_t *)output_;
  for (h = 0; h < height; h++, output += out_stride >> 2, input += in_stride >> 2) {
    for (w = 0; w < width; w++) {
      uint32_t col = input[w];
      output[w] = ((col << 16) & 0xff0000) | ((col >> 16) & 0xff) | (col & 0xff00ff00);
    }
  }
}
```