user: 请将以下的汇编代码转换成C语言代码:

```asm
<j_to_md>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %edi,-0x4(%rbp)
  mov    %rsi,-0x10(%rbp)
  mov    %rdx,-0x18(%rbp)
  cmpl   $0x1f,-0x4(%rbp)
  jg     L156
  mov    -0x10(%rbp),%rax
  movl   $0x0,(%rax)
  mov    -0x18(%rbp),%rax
  mov    -0x4(%rbp),%edx
  mov    %edx,(%rax)
  jmp    L84
L156:
  cmpl   $0x3b,-0x4(%rbp)
  jg     L25
  mov    -0x10(%rbp),%rax
  movl   $0x1,(%rax)
  mov    -0x4(%rbp),%eax
  lea    -0x1f(%rax),%edx
  mov    -0x18(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L84
L25:
  cmpl   $0x5a,-0x4(%rbp)
  jg     L210
  mov    -0x10(%rbp),%rax
  movl   $0x2,(%rax)
  mov    -0x4(%rbp),%eax
  lea    -0x3c(%rax),%edx
  mov    -0x18(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L84
L210:
  cmpl   $0x78,-0x4(%rbp)
  jg     L157
  mov    -0x10(%rbp),%rax
  movl   $0x3,(%rax)
  mov    -0x4(%rbp),%eax
  lea    -0x5b(%rax),%edx
  mov    -0x18(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L84
L157:
  cmpl   $0x97,-0x4(%rbp)
  jg     L195
  mov    -0x10(%rbp),%rax
  movl   $0x4,(%rax)
  mov    -0x4(%rbp),%eax
  lea    -0x79(%rax),%edx
  mov    -0x18(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L84
L195:
  cmpl   $0xb5,-0x4(%rbp)
  jg     L125
  mov    -0x10(%rbp),%rax
  movl   $0x5,(%rax)
  mov    -0x4(%rbp),%eax
  lea    -0x98(%rax),%edx
  mov    -0x18(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L84
L125:
  cmpl   $0xd4,-0x4(%rbp)
  jg     L192
  mov    -0x10(%rbp),%rax
  movl   $0x6,(%rax)
  mov    -0x4(%rbp),%eax
  lea    -0xb6(%rax),%edx
  mov    -0x18(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L84
L192:
  cmpl   $0xf3,-0x4(%rbp)
  jg     L94
  mov    -0x10(%rbp),%rax
  movl   $0x7,(%rax)
  mov    -0x4(%rbp),%eax
  lea    -0xd5(%rax),%edx
  mov    -0x18(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L84
L94:
  cmpl   $0x111,-0x4(%rbp)
  jg     L149
  mov    -0x10(%rbp),%rax
  movl   $0x8,(%rax)
  mov    -0x4(%rbp),%eax
  lea    -0xf4(%rax),%edx
  mov    -0x18(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L84
L149:
  cmpl   $0x130,-0x4(%rbp)
  jg     L160
  mov    -0x10(%rbp),%rax
  movl   $0x9,(%rax)
  mov    -0x4(%rbp),%eax
  lea    -0x112(%rax),%edx
  mov    -0x18(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L84
L160:
  cmpl   $0x14e,-0x4(%rbp)
  jg     L61
  mov    -0x10(%rbp),%rax
  movl   $0xa,(%rax)
  mov    -0x4(%rbp),%eax
  lea    -0x131(%rax),%edx
  mov    -0x18(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L84
L61:
  mov    -0x10(%rbp),%rax
  movl   $0xb,(%rax)
  mov    -0x4(%rbp),%eax
  lea    -0x14f(%rax),%edx
  mov    -0x18(%rbp),%rax
  mov    %edx,(%rax)
  nop
L84:
  pop    %rbp
  ret
```

assistant: ```c
void j_to_md(int j, int *m, int *d) {
  if (j < 32) {
    *m = 0;
    *d = j;
  } else if (j < 60) {
    *m = 1;
    *d = j - 31;
  } else if (j < 91) {
    *m = 2;
    *d = j - 60;
  } else if (j < 121) {
    *m = 3;
    *d = j - 91;
  } else if (j < 152) {
    *m = 4;
    *d = j - 121;
  } else if (j < 182) {
    *m = 5;
    *d = j - 152;
  } else if (j < 213) {
    *m = 6;
    *d = j - 182;
  } else if (j < 244) {
    *m = 7;
    *d = j - 213;
  } else if (j < 274) {
    *m = 8;
    *d = j - 244;
  } else if (j < 305) {
    *m = 9;
    *d = j - 274;
  } else if (j < 335) {
    *m = 10;
    *d = j - 305;
  } else {
    *m = 11;
    *d = j - 335;
  }
  return;
}
```