#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ free(char *);
int /*<<< orphan*/ id3map_add_multiple_from_string(char *);
int /*<<< orphan*/ id3map_free();
char *safe_strdup(char *);
void id3map_set_default() {
  id3map_free();
  char *t = safe_strdup("TALB:ALBUM,"
                        "TSOA:ALBUMSORT,"
                        "XSOA:ALBUMSORT,"
                        "TSST:DISCSUBTITLE,"
                        "TIT1:GROUPING,"
                        "TIT2:TITLE,"
                        "TSOT:TITLESORT,"
                        "XSOT:TITLESORT,"
                        "TIT3:SUBTITLE,"
                        "TPE2:ALBUMARTIST,"
                        "TSO2:ALBUMARTISTSORT,"
                        "TPE1:ARTIST,"
                        "TSOP:ARTISTSORT,"
                        "XSOP:ARTISTSORT,"
                        "TEXT:AUTHOR,"
                        "TCOM:COMPOSER,"
                        "TPE3:CONDUCTOR,"
                        "TPUB:PUBLISHER,"
                        "TPE4:REMIXER,"
                        "TPOS:DISCNUMBER,"
                        "TRCK:TRACKNUMBER,"
                        "POPM:RATING,"
                        "TYER:DATE,"
                        "TDRC:DATE,"
                        "TDOR:ORIGINALDATE,"
                        "TSRC:ISRC,"
                        "TCMP:COMPILATION,"
                        "TENC:ENCODED-BY,"
                        "TSSE:ENCODER,"
                        "TMED:MEDIA,"
                        "TCON:GENRE,"
                        "TMOO:MOOD,"
                        "TBPM:BPM,"
                        "COMM:COMMENT,"
                        "TCOP:COPYRIGHT,"
                        "TLAN:LANGUAGE,"
                        "WCOP:LICENCE,"
                        "USLT:LYRICS,"
                        "TXXX:ALBUMARTISTSORT:ALBUMARTIST2");
  id3map_add_multiple_from_string(t);
  free(t);
}


x86 assembly (clang, -O0):
<id3map_set_default>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    $0x0,%al
call   1040 <id3map_free@plt>
lea    0xeaa(%rip),%rdi
call   1060 <safe_strdup@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
call   1050 <id3map_add_multiple_from_string@plt>
mov    -0x8(%rbp),%rdi
call   1030 <free@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<id3map_set_default>:
push   %rbx
xor    %eax,%eax
call   1040 <id3map_free@plt>
lea    0xeb1(%rip),%rdi
call   1060 <safe_strdup@plt>
mov    %rax,%rbx
mov    %rax,%rdi
call   1050 <id3map_add_multiple_from_string@plt>
mov    %rbx,%rdi
pop    %rbx
jmp    1030 <free@plt>

LLVM IR (-O0):
@.str = [560 x i8] c"TALB:ALBUM,TSOA:ALBUMSORT,XSOA:ALBUMSORT,TSST:DISCSUBTITLE,TIT1:GROUPING,TIT2:TITLE,TSOT:TITLESORT,XSOT:TITLESORT,TIT3:SUBTITLE,TPE2:ALBUMARTIST,TSO2:ALBUMARTISTSORT,TPE1:ARTIST,TSOP:ARTISTSORT,XSOP:ARTISTSORT,TEXT:AUTHOR,TCOM:COMPOSER,TPE3:CONDUCTOR,TPUB:PUBLISHER,TPE4:REMIXER,TPOS:DISCNUMBER,TRCK:TRACKNUMBER,POPM:RATING,TYER:DATE,TDRC:DATE,TDOR:ORIGINALDATE,TSRC:ISRC,TCMP:COMPILATION,TENC:ENCODED-BY,TSSE:ENCODER,TMED:MEDIA,TCON:GENRE,TMOO:MOOD,TBPM:BPM,COMM:COMMENT,TCOP:COPYRIGHT,TLAN:LANGUAGE,WCOP:LICENCE,USLT:LYRICS,TXXX:ALBUMARTISTSORT:ALBUMARTIST2\00"
define void @id3map_set_default() {
%1 = alloca i8*
%2 = call i32 (...) @id3map_free()
%3 = call i8* @safe_strdup(i8* getelementptr inbounds ([560 x i8], [560 x i8]* @.str, i64 0, i64 0))
store i8* %3, i8** %1
%4 = load i8*, i8** %1
%5 = call i32 @id3map_add_multiple_from_string(i8* %4)
%6 = load i8*, i8** %1
%7 = call i32 @free(i8* %6)
ret void
}

LLVM IR (-O2):
@.str = [560 x i8] c"TALB:ALBUM,TSOA:ALBUMSORT,XSOA:ALBUMSORT,TSST:DISCSUBTITLE,TIT1:GROUPING,TIT2:TITLE,TSOT:TITLESORT,XSOT:TITLESORT,TIT3:SUBTITLE,TPE2:ALBUMARTIST,TSO2:ALBUMARTISTSORT,TPE1:ARTIST,TSOP:ARTISTSORT,XSOP:ARTISTSORT,TEXT:AUTHOR,TCOM:COMPOSER,TPE3:CONDUCTOR,TPUB:PUBLISHER,TPE4:REMIXER,TPOS:DISCNUMBER,TRCK:TRACKNUMBER,POPM:RATING,TYER:DATE,TDRC:DATE,TDOR:ORIGINALDATE,TSRC:ISRC,TCMP:COMPILATION,TENC:ENCODED-BY,TSSE:ENCODER,TMED:MEDIA,TCON:GENRE,TMOO:MOOD,TBPM:BPM,COMM:COMMENT,TCOP:COPYRIGHT,TLAN:LANGUAGE,WCOP:LICENCE,USLT:LYRICS,TXXX:ALBUMARTISTSORT:ALBUMARTIST2\00"
define void @id3map_set_default() {
%1 = tail call i32 (...) @id3map_free()
%2 = tail call i8* @safe_strdup(i8* getelementptr inbounds ([560 x i8], [560 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @id3map_add_multiple_from_string(i8* %2)
%4 = tail call i32 @free(i8* %2)
ret void
}