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

```asm
<Decrypt>:
  endbr64
  push   %r15
  mov    %rdi,%r15
  push   %r14
  mov    %rsi,%r14
  push   %r13
  mov    $0xc,%r13d
  push   %r12
  mov    $0x2b,%r12d
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  movd   0x4(%rdi),%xmm4
  movd   (%rdi),%xmm5
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  mov    (%rdi),%eax
  movd   0xc(%rdi),%xmm6
  movd   0x8(%rdi),%xmm7
  mov    %rsp,%rbp
  sar    $0x4,%eax
  movd   %eax,%xmm0
  mov    0x4(%rdi),%eax
  punpckldq %xmm5,%xmm0
  movd   0x10(%rdi),%xmm5
  sar    $0x4,%eax
  movd   %eax,%xmm1
  mov    0x8(%rdi),%eax
  punpckldq %xmm4,%xmm1
  movd   0x14(%rdi),%xmm4
  punpcklqdq %xmm1,%xmm0
  pand   D20(%rip),%xmm0
  sar    $0x4,%eax
  movaps %xmm0,(%rsp)
  movd   %eax,%xmm0
  mov    0xc(%rdi),%eax
  punpckldq %xmm7,%xmm0
  movd   0x18(%rdi),%xmm7
  sar    $0x4,%eax
  movd   %eax,%xmm1
  mov    0x10(%rdi),%eax
  punpckldq %xmm6,%xmm1
  movd   0x1c(%rdi),%xmm6
  punpcklqdq %xmm1,%xmm0
  pand   D20(%rip),%xmm0
  sar    $0x4,%eax
  movaps %xmm0,0x10(%rsp)
  movd   %eax,%xmm0
  mov    0x14(%rdi),%eax
  punpckldq %xmm5,%xmm0
  sar    $0x4,%eax
  movd   %eax,%xmm1
  mov    0x18(%rdi),%eax
  punpckldq %xmm4,%xmm1
  punpcklqdq %xmm1,%xmm0
  pand   D20(%rip),%xmm0
  sar    $0x4,%eax
  movaps %xmm0,0x20(%rsp)
  movd   %eax,%xmm0
  mov    0x1c(%rdi),%eax
  punpckldq %xmm7,%xmm0
  sar    $0x4,%eax
  movd   %eax,%xmm1
  punpckldq %xmm6,%xmm1
  punpcklqdq %xmm1,%xmm0
  pand   D20(%rip),%xmm0
  movaps %xmm0,0x30(%rsp)
  xchg   %ax,%ax
L1:
  mov    %r13d,%edx
  mov    %r14,%rsi
  lea    0x4(%r12),%ebx
  mov    %rbp,%rdi
  call   <AddKey@plt>
L10:
  mov    %rbp,%rdi
  call   <invSCShRMCS@plt>
  mov    %ebx,%esi
  mov    %rbp,%rdi
  sub    $0x1,%ebx
  call   <AddConstants@plt>
  cmp    %ebx,%r12d
  jne    L10
  sub    $0x4,%r12d
  sub    $0x1,%r13d
  jne    L1
  xor    %edx,%edx
  mov    %r14,%rsi
  mov    %rbp,%rdi
  call   <AddKey@plt>
  movdqa (%rsp),%xmm2
  movdqa D42(%rip),%xmm3
  movdqa 0x20(%rsp),%xmm1
  movdqa %xmm2,%xmm0
  shufps $0xdd,0x10(%rsp),%xmm2
  shufps $0x88,0x10(%rsp),%xmm0
  pand   D20(%rip),%xmm2
  pslld  $0x4,%xmm0
  pand   %xmm3,%xmm0
  por    %xmm2,%xmm0
  movups %xmm0,(%r15)
  movdqa %xmm1,%xmm0
  shufps $0xdd,0x30(%rsp),%xmm1
  shufps $0x88,0x30(%rsp),%xmm0
  pand   D20(%rip),%xmm1
  pslld  $0x4,%xmm0
  pand   %xmm3,%xmm0
  por    %xmm1,%xmm0
  movups %xmm0,0x10(%r15)
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L23
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L23:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D20
type_guessed: byte[16]
name: disassemble_data
arguments: tag: D42
type_guessed: byte[16]

tool: {"D20": [0x0f,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x0f,0x00,0x00,0x00]}

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

assistant: ```c
void Decrypt(uint8_t *block, uint8_t *keyBytes) {
  int8_t i, j;
  uint8_t state[4][4];
  for (i = 0; i < 16; i++) {
    if (i % 2) {
      state[i / 4][i % 4] = block[i >> 1] & 0xF;
    } else {
      state[i / 4][i % 4] = (block[i >> 1] >> 4) & 0xF;
    }
  }
  for (i = (48 >> 2) - 1; i >= 0; i--) {
    AddKey(state, keyBytes, i + 1);
    for (j = 3; j >= 0; j--) {
      invSCShRMCS(state);
      AddConstants(state, i * 4 + j);
    }
  }
  AddKey(state, keyBytes, 0);
  for (i = 0; i < 8; i++) {
    block[i] = ((state[(2 * i) / 4][(2 * i) % 4] & 0xF) << 4) | (state[(2 * i + 1) / 4][(2 * i + 1) % 4] & 0xF);
  }
}
```