user: 请从给定的汇编指令推导出C源代码:

```asm
<imprimeAltera>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  add    $0xffffffffffffff80,%rsp
  mov    %rdi,-0x68(%rbp)
  mov    %rsi,-0x70(%rbp)
  mov    %rdx,-0x78(%rbp)
  mov    %rcx,-0x80(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x78(%rbp),%rdx
  lea    -0x60(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  movzbl -0x60(%rbp),%eax
  cmp    $0x60,%al
  jle    L48
  movzbl -0x60(%rbp),%eax
  cmp    $0x7a,%al
  jg     L48
  movzbl -0x60(%rbp),%eax
  sub    $0x20,%eax
  mov    %al,-0x60(%rbp)
L48:
  mov    -0x78(%rbp),%rdx
  mov    -0x68(%rbp),%rax
  lea    D35(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    -0x68(%rbp),%rax
  mov    %rax,%rsi
  mov    $0xa,%edi
  call   <fputc@plt>
  mov    -0x80(%rbp),%rdx
  mov    -0x68(%rbp),%rax
  lea    D45(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    -0x70(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x63,%al
  jne    L11
  lea    D135(%rip),%rax
  jmp    L66
L11:
  lea    D39(%rip),%rax
L66:
  mov    -0x70(%rbp),%rdx
  movzbl (%rdx),%edx
  cmp    $0x63,%dl
  jne    L43
  mov    $0x73,%edx
  jmp    L42
L43:
  mov    $0x69,%edx
L42:
  mov    -0x68(%rbp),%rdi
  mov    %rax,%rcx
  lea    D11(%rip),%rax
  mov    %rax,%rsi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    -0x68(%rbp),%rax
  mov    %rax,%rcx
  mov    $0x15,%edx
  mov    $0x1,%esi
  lea    D99(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  mov    -0x68(%rbp),%rax
  mov    %rax,%rcx
  mov    $0x1b,%edx
  mov    $0x1,%esi
  lea    D50(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  mov    -0x68(%rbp),%rax
  mov    %rax,%rcx
  mov    $0xd,%edx
  mov    $0x1,%esi
  lea    D49(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  mov    -0x68(%rbp),%rax
  mov    %rax,%rsi
  mov    $0xa,%edi
  call   <fputc@plt>
  mov    -0x70(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x63,%al
  jne    L84
  lea    D133(%rip),%rax
  jmp    L33
L84:
  lea    D69(%rip),%rax
L33:
  lea    -0x60(%rbp),%rdx
  mov    -0x68(%rbp),%rdi
  mov    %rax,%rcx
  lea    D9(%rip),%rax
  mov    %rax,%rsi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    -0x68(%rbp),%rax
  mov    %rax,%rsi
  mov    $0xa,%edi
  call   <fputc@plt>
  mov    -0x68(%rbp),%rax
  mov    %rax,%rcx
  mov    $0x39,%edx
  mov    $0x1,%esi
  lea    D112(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  lea    -0x60(%rbp),%rdx
  mov    -0x68(%rbp),%rax
  lea    D80(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  lea    -0x60(%rbp),%rdx
  mov    -0x68(%rbp),%rax
  lea    D20(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    -0x68(%rbp),%rax
  mov    %rax,%rsi
  mov    $0xa,%edi
  call   <fputc@plt>
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L29
  call   <__stack_chk_fail@plt>
L29:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D35
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D45
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D135
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D39
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D11
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D99
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D50
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D49
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D133
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D69
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D9
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D112
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D80
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D20
type_guessed: string

tool: D35: 	/* Testar PRF altera %s professor */


tool: D45: 	else if ( strcmp( ComandoTeste , ALTERA_%s_CMD ) == 0 ){


tool: D135: paramString

tool: D39: &paramInt

tool: D11: 		NumLidos = LER_LerParametros( "i%ci" , &index, %s, &CondRetEsperada );


tool: D99: 		if(NumLidos != 3){


tool: D50: 			return TST_CondRetParm;


tool: D49: 		} /* if */


tool: D133: String

tool: D69: Int

tool: D9: 		CondRetObtido = PRF_altera%s(p[index], param%s);


tool: D112: 		return TST_CompararInt(CondRetEsperada, CondRetObtido,


tool: D80: 				"Retorno errado ao alterar %s de Professor.");


tool: D20: 	} /* fim ativa: Testar PRF altera %s professor */


assistant: ```c
void imprimeAltera(FILE *fAltera, char *tipo, char *nome, char *nomeUpperCase) {
  char nomeInicialUpper[80];
  strcpy(nomeInicialUpper, nome);
  if ('a' <= nomeInicialUpper[0] && nomeInicialUpper[0] <= 'z')
    nomeInicialUpper[0] += 'A' - 'a';
  fprintf(fAltera, "\t/* Testar PRF altera %s professor */\n", nome);
  fprintf(fAltera, "\n");
  fprintf(fAltera, "\telse if ( strcmp( ComandoTeste , ALTERA_%s_CMD ) == 0 ){\n", nomeUpperCase);
  fprintf(fAltera, "\t\tNumLidos = LER_LerParametros( \"i%ci\" , &index, %s, &CondRetEsperada );\n", *tipo == 'c' ? 's' : 'i', *tipo == 'c' ? "paramString" : "&paramInt");
  fprintf(fAltera, "\t\tif(NumLidos != 3){\n");
  fprintf(fAltera, "\t\t\treturn TST_CondRetParm;\n");
  fprintf(fAltera, "\t\t} /* if */\n");
  fprintf(fAltera, "\n");
  fprintf(fAltera, "\t\tCondRetObtido = PRF_altera%s(p[index], param%s);\n", nomeInicialUpper, *tipo == 'c' ? "String" : "Int");
  fprintf(fAltera, "\n");
  fprintf(fAltera, "\t\treturn TST_CompararInt(CondRetEsperada, CondRetObtido,\n");
  fprintf(fAltera, "\t\t\t\t\"Retorno errado ao alterar %s de Professor.\");\n", nomeInicialUpper);
  fprintf(fAltera, "\t} /* fim ativa: Testar PRF altera %s professor */\n", nomeInicialUpper);
  fprintf(fAltera, "\n");
}
```