void pico_mqtt_serializer_destroy(struct pico_mqtt_serializer *serializer) {
  do {
  } while (0);
  pico_mqtt_serializer_clear(serializer);
  my_debug_free(
      serializer,
      "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
      "2022-01-22/02-19-57/repos/tass-belgium/picotcp-modules/refs/heads/"
      "master/pico_mqtt/pico_mqtt_serializer.c",
      __func__, 180);
}


x86 assembly (clang, -O0):
<pico_mqtt_serializer_destroy>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
jmp    1131 <pico_mqtt_serializer_destroy+0x11>
mov    -0x8(%rbp),%rdi
mov    $0x0,%al
call   1030 <pico_mqtt_serializer_clear@plt>
mov    -0x8(%rbp),%rdi
lea    0xeb9(%rip),%rsi
lea    0xf5c(%rip),%rdx
mov    $0xb4,%ecx
mov    $0x0,%al
call   1040 <my_debug_free@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<pico_mqtt_serializer_destroy>:
push   %rbx
mov    %rdi,%rbx
xor    %eax,%eax
call   1030 <pico_mqtt_serializer_clear@plt>
lea    0xece(%rip),%rsi
lea    0xf71(%rip),%rdx
mov    %rbx,%rdi
mov    $0xb4,%ecx
xor    %eax,%eax
pop    %rbx
jmp    1040 <my_debug_free@plt>

LLVM IR (-O0):
%struct.pico_mqtt_serializer = type opaque
@.str = [170 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/tass-belgium/picotcp-modules/refs/heads/master/pico_mqtt/pico_mqtt_serializer.c\00"
@__func__.pico_mqtt_serializer_destroy = [29 x i8] c"pico_mqtt_serializer_destroy\00"
define void @pico_mqtt_serializer_destroy(%struct.pico_mqtt_serializer* %0) {
%2 = alloca %struct.pico_mqtt_serializer*
store %struct.pico_mqtt_serializer* %0, %struct.pico_mqtt_serializer** %2
br label %3
3: ; preds = %1
br label %4
4: ; preds = %3
%5 = load %struct.pico_mqtt_serializer*, %struct.pico_mqtt_serializer** %2
%6 = call i32 (%struct.pico_mqtt_serializer*, ...) bitcast (i32 (...)* @pico_mqtt_serializer_clear to i32 (%struct.pico_mqtt_serializer*, ...)*)(%struct.pico_mqtt_serializer* %5)
%7 = load %struct.pico_mqtt_serializer*, %struct.pico_mqtt_serializer** %2
%8 = call i32 (%struct.pico_mqtt_serializer*, i8*, i8*, i32, ...) bitcast (i32 (...)* @my_debug_free to i32 (%struct.pico_mqtt_serializer*, i8*, i8*, i32, ...)*)(%struct.pico_mqtt_serializer* %7, i8* getelementptr inbounds ([170 x i8], [170 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @__func__.pico_mqtt_serializer_destroy, i64 0, i64 0), i32 180)
ret void
}

LLVM IR (-O2):
%struct.pico_mqtt_serializer = type opaque
@.str = [170 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/tass-belgium/picotcp-modules/refs/heads/master/pico_mqtt/pico_mqtt_serializer.c\00"
@__func__.pico_mqtt_serializer_destroy = [29 x i8] c"pico_mqtt_serializer_destroy\00"
define void @pico_mqtt_serializer_destroy(%struct.pico_mqtt_serializer* %0) {
%2 = tail call i32 (%struct.pico_mqtt_serializer*, ...) bitcast (i32 (...)* @pico_mqtt_serializer_clear to i32 (%struct.pico_mqtt_serializer*, ...)*)(%struct.pico_mqtt_serializer* %0)
%3 = tail call i32 (%struct.pico_mqtt_serializer*, i8*, i8*, i32, ...) bitcast (i32 (...)* @my_debug_free to i32 (%struct.pico_mqtt_serializer*, i8*, i8*, i32, ...)*)(%struct.pico_mqtt_serializer* %0, i8* getelementptr inbounds ([170 x i8], [170 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @__func__.pico_mqtt_serializer_destroy, i64 0, i64 0), i32 180)
ret void
}