LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/./bitstream/dvb/si/desc_58.h
// Function: desc58_next_lto
static inline uint8_t *desc58_next_lto(const uint8_t *p_desc,
                                       const uint8_t *p_desc_n)
{
    if (!p_desc_n)
        p_desc_n = p_desc + DESC58_HEADER_SIZE;
    else
        p_desc_n += DESC58_LTO_SIZE;
    return desc_check(p_desc, p_desc_n, DESC58_LTO_SIZE);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0xdd95
movq -0x8(%rbp), %rax
addq $0x2, %rax
movq %rax, -0x10(%rbp)
jmp 0xdda1
movq -0x10(%rbp), %rax
addq $0xd, %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movl $0xd, %edx
callq 0x7930
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/./bitstream/dvb/si/desc_58.h
// Function: desc58n_set_time_of_change
static inline void desc58n_set_time_of_change(uint8_t *p_desc_n, uint64_t i_time_of_change)
{
    p_desc_n[6] = (i_time_of_change >> 32) & 0xff;
    p_desc_n[7] = (i_time_of_change >> 24) & 0xff;
    p_desc_n[8] = (i_time_of_change >> 16) & 0xff;
    p_desc_n[9] = (i_time_of_change >> 8) & 0xff;
    p_desc_n[10] = i_time_of_change & 0xff;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
shrq $0x20, %rax
andq $0xff, %rax
movb %al, %cl
movq -0x8(%rbp), %rax
movb %cl, 0x6(%rax)
movq -0x10(%rbp), %rax
shrq $0x18, %rax
andq $0xff, %rax
movb %al, %cl
movq -0x8(%rbp), %rax
movb %cl, 0x7(%rax)
movq -0x10(%rbp), %rax
shrq $0x10, %rax
andq $0xff, %rax
movb %al, %cl
movq -0x8(%rbp), %rax
movb %cl, 0x8(%rax)
movq -0x10(%rbp), %rax
shrq $0x8, %rax
andq $0xff, %rax
movb %al, %cl
movq -0x8(%rbp), %rax
movb %cl, 0x9(%rax)
movq -0x10(%rbp), %rax
andq $0xff, %rax
movb %al, %cl
movq -0x8(%rbp), %rax
movb %cl, 0xa(%rax)
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/./bitstream/dvb/si/rst.h
// Function: rst_get_status
static inline uint8_t *rst_get_status(uint8_t *p_rst, uint8_t n)
{
    uint8_t *p_rst_n = p_rst + RST_HEADER_SIZE + n * RST_STATUS_SIZE;
    if (p_rst_n + RST_STATUS_SIZE - p_rst
         > psi_get_length(p_rst) + PSI_HEADER_SIZE)
        return NULL;
    return p_rst_n;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movb %sil, %al
movq %rdi, -0x10(%rbp)
movb %al, -0x11(%rbp)
movq -0x10(%rbp), %rax
addq $0x3, %rax
movzbl -0x11(%rbp), %ecx
imull $0x9, %ecx, %ecx
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
addq $0x9, %rax
movq -0x10(%rbp), %rcx
subq %rcx, %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rdi
callq 0x5490
movw %ax, %cx
movq -0x28(%rbp), %rax
movzwl %cx, %ecx
addl $0x3, %ecx
movslq %ecx, %rcx
cmpq %rcx, %rax
jle 0xe036
movq $0x0, -0x8(%rbp)
jmp 0xe03e
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/./bitstream/mpeg/psi/pmt.h
// Function: pmt_init
static inline void pmt_init(uint8_t *p_pmt)
{
    psi_init(p_pmt, true);
    psi_set_tableid(p_pmt, PMT_TABLE_ID);
    p_pmt[1] &= ~0x40;
    psi_set_section(p_pmt, 0);
    psi_set_lastsection(p_pmt, 0);
    p_pmt[8] = 0xe0;
    p_pmt[10] = 0xf0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x5410
movq -0x8(%rbp), %rdi
movl $0x2, %esi
callq 0x5450
movq -0x8(%rbp), %rax
movzbl 0x1(%rax), %ecx
andl $-0x41, %ecx
movb %cl, 0x1(%rax)
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x5040
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x5060
movq -0x8(%rbp), %rax
movb $-0x20, 0x8(%rax)
movq -0x8(%rbp), %rax
movb $-0x10, 0xa(%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc0b
static void build_desc0b(uint8_t *desc) {
    desc0b_init(desc);
    desc0b_set_external_clock_reference_indicator(desc, true);
    desc0b_set_clock_accuracy_integer(desc, 60);
    desc0b_set_clock_accuracy_exponent(desc, 4);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x105c0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x105f0
movq -0x8(%rbp), %rdi
movl $0x3c, %esi
callq 0x10640
movq -0x8(%rbp), %rdi
movl $0x4, %esi
callq 0x10680
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc0c
static void build_desc0c(uint8_t *desc) {
    desc0c_init(desc);
    desc0c_set_bound_valid(desc, true);
    desc0c_set_LTW_offset_lower_bound(desc, 1234);
    desc0c_set_LTW_offset_upper_bound(desc, 5678);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x106b0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x106e0
movq -0x8(%rbp), %rdi
movl $0x4d2, %esi            # imm = 0x4D2
callq 0x10730
movq -0x8(%rbp), %rdi
movl $0x162e, %esi           # imm = 0x162E
callq 0x10780
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc12
static void build_desc12(uint8_t *desc) {
    desc12_init(desc);
    desc12_set_closed_gop_flag(desc, true);
    desc12_set_identical_gop_flag(desc, false);
    desc12_set_max_gop_length(desc, 5000);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x10ab0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x10ae0
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x10b30
movq -0x8(%rbp), %rdi
movl $0x1388, %esi           # imm = 0x1388
callq 0x10b80
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/./bitstream/mpeg/psi/pmt.h
// Function: pmt_get_es
static inline uint8_t *pmt_get_es(uint8_t *p_pmt, uint8_t n)
{
    pmt_each_es(p_pmt, es)
        if (!n--)
            return es;
    return NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movb %sil, %al
movq %rdi, -0x10(%rbp)
movb %al, -0x11(%rbp)
movq -0x10(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x10bd0
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0xe558
movb -0x11(%rbp), %al
movb %al, %cl
addb $-0x1, %cl
movb %cl, -0x11(%rbp)
cmpb $0x0, %al
jne 0xe543
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0xe560
jmp 0xe545
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x10bd0
movq %rax, -0x20(%rbp)
jmp 0xe523
movq $0x0, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc02_1
static void build_desc02_1(uint8_t *desc) {
    desc02_init(desc);
    desc02_set_multiple_frame_rate (desc, true);
    desc02_set_frame_rate_code     (desc, 3); // 25.00
    desc02_set_mpeg1_only_flag     (desc, true);
    desc02_set_constraint_parameter(desc, true);
    desc02_set_still_picture       (desc, true);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x10cd0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x10d00
movq -0x8(%rbp), %rdi
movl $0x3, %esi
callq 0x10d50
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x10d90
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x10e00
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x10e50
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc02_2
static void build_desc02_2(uint8_t *desc) {
    desc02_init(desc);
    desc02_set_multiple_frame_rate (desc, true);
    desc02_set_frame_rate_code     (desc, 4); // 29.97
    desc02_set_mpeg1_only_flag     (desc, false); // Allow more flags
    desc02_set_constraint_parameter(desc, true);
    desc02_set_still_picture       (desc, true);
    desc02_set_profile             (desc, 4); // Main
    desc02_set_level               (desc, 8); // Main
    desc02_set_chroma_format       (desc, 2); // 4:2:2
    desc02_set_frame_rate_extension(desc, false);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x10cd0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x10d00
movq -0x8(%rbp), %rdi
movl $0x4, %esi
callq 0x10d50
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x10d90
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x10e00
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x10e50
movq -0x8(%rbp), %rdi
movl $0x4, %esi
callq 0x10ea0
movq -0x8(%rbp), %rdi
movl $0x8, %esi
callq 0x10ed0
movq -0x8(%rbp), %rdi
movl $0x2, %esi
callq 0x10f00
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x10f30
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc04
static void build_desc04(uint8_t *desc) {
    desc04_init(desc);
    desc04_set_type(desc, 1);
    desc04_set_layer_index(desc, 6);
    desc04_set_embedded_layer_index(desc, 7);
    desc04_set_channel(desc, 8);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x10f80
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x10fb0
movq -0x8(%rbp), %rdi
movl $0x6, %esi
callq 0x10fe0
movq -0x8(%rbp), %rdi
movl $0x7, %esi
callq 0x11010
movq -0x8(%rbp), %rdi
movl $0x8, %esi
callq 0x11040
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc07
static void build_desc07(uint8_t *desc) {
    desc07_init(desc);
    desc07_set_horizontal_size(desc, 720);
    desc07_set_vertical_size(desc, 576);
    desc07_set_aspect_ratio_info(desc, 7);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x11140
movq -0x8(%rbp), %rdi
movl $0x2d0, %esi            # imm = 0x2D0
callq 0x11170
movq -0x8(%rbp), %rdi
movl $0x240, %esi            # imm = 0x240
callq 0x111c0
movq -0x8(%rbp), %rdi
movl $0x7, %esi
callq 0x11230
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc08
static void build_desc08(uint8_t *desc) {
    desc08_init(desc);
    desc08_set_horizontal_offset(desc, 1024);
    desc08_set_vertical_offset(desc, 768);
    desc08_set_window_priority(desc, 15);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x11260
movq -0x8(%rbp), %rdi
movl $0x400, %esi            # imm = 0x400
callq 0x11170
movq -0x8(%rbp), %rdi
movl $0x300, %esi            # imm = 0x300
callq 0x111c0
movq -0x8(%rbp), %rdi
movl $0xf, %esi
callq 0x11230
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc03
static void build_desc03(uint8_t *desc) {
    desc03_init(desc);
    desc03_set_free_format_flag(desc, true);
    desc03_set_ID(desc, true);
    desc03_set_layer(desc, 2); // Layer II
    desc03_set_vbr_flag(desc, true);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x11340
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x11380
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x113d0
movq -0x8(%rbp), %rdi
movl $0x2, %esi
callq 0x11420
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x11460
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc50
static void build_desc50(uint8_t *desc) {
    char *text = "Stereo";
    desc50_init(desc);
    desc50_set_stream_content(desc, 0x02);
    desc50_set_component_type(desc, 0x03);
    desc50_set_component_tag(desc, 46);
    desc50_set_language(desc, (uint8_t *)"eng");
    desc50_set_text(desc, (uint8_t *)text, strlen(text)); // Not required
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
leaq 0x89be(%rip), %rax      # 0x175b1
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rdi
callq 0x115c0
movq -0x8(%rbp), %rdi
movl $0x2, %esi
callq 0x11600
movq -0x8(%rbp), %rdi
movl $0x3, %esi
callq 0x11630
movq -0x8(%rbp), %rdi
movl $0x2e, %esi
callq 0x11650
movq -0x8(%rbp), %rdi
leaq 0x8838(%rip), %rsi      # 0x1746d
callq 0x11670
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1050
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rsi
movzbl %al, %edx
callq 0x116b0
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc5e
static void build_desc5e(uint8_t *desc) {
    char *text = "Stereo";
    uint8_t k = 0;
    uint8_t *data_n;

    desc5e_init(desc);
    desc5e_set_component_tag(desc, 46);
    desc_set_length(desc, 255);

    data_n = desc5e_get_data(desc, k++);
    desc5en_set_code(data_n, (uint8_t *)"eng");
    desc5en_set_text(data_n, (uint8_t *)text, strlen(text));

    data_n = desc5e_get_data(desc, k++);
    desc5en_set_code(data_n, (uint8_t *)"fre");
    desc5en_set_text(data_n, (uint8_t *)text, strlen(text));

    data_n = desc5e_get_data(desc, k++);
    desc5en_set_code(data_n, (uint8_t *)"bul");
    desc5en_set_text(data_n, (uint8_t *)text, strlen(text));

    data_n = desc5e_get_data(desc, k);
    desc_set_length(desc, data_n - desc - DESC_HEADER_SIZE);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
leaq 0x892e(%rip), %rax      # 0x175b1
movq %rax, -0x10(%rbp)
movb $0x0, -0x11(%rbp)
movq -0x8(%rbp), %rdi
callq 0x11700
movq -0x8(%rbp), %rdi
movl $0x2e, %esi
callq 0x11730
movq -0x8(%rbp), %rdi
movl $0xff, %esi
callq 0x5ca0
movq -0x8(%rbp), %rdi
movb -0x11(%rbp), %al
movb %al, %cl
addb $0x1, %cl
movb %cl, -0x11(%rbp)
leaq 0x2a8a(%rip), %rdx      # 0x11750
movzbl %al, %esi
callq 0x59c0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
leaq 0x8790(%rip), %rsi      # 0x1746d
callq 0x7890
movq -0x20(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1050
movq -0x50(%rbp), %rdi
movq -0x48(%rbp), %rsi
movzbl %al, %edx
callq 0x117b0
movq -0x8(%rbp), %rdi
movb -0x11(%rbp), %al
movb %al, %cl
addb $0x1, %cl
movb %cl, -0x11(%rbp)
leaq 0x2a2f(%rip), %rdx      # 0x11750
movzbl %al, %esi
callq 0x59c0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
leaq 0x8739(%rip), %rsi      # 0x17471
callq 0x7890
movq -0x20(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1050
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %rsi
movzbl %al, %edx
callq 0x117b0
movq -0x8(%rbp), %rdi
movb -0x11(%rbp), %al
movb %al, %cl
addb $0x1, %cl
movb %cl, -0x11(%rbp)
leaq 0x29d4(%rip), %rdx      # 0x11750
movzbl %al, %esi
callq 0x59c0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
leaq 0x86e2(%rip), %rsi      # 0x17475
callq 0x7890
movq -0x20(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1050
movq -0x30(%rbp), %rdi
movq -0x28(%rbp), %rsi
movzbl %al, %edx
callq 0x117b0
movq -0x8(%rbp), %rdi
leaq 0x2984(%rip), %rdx      # 0x11750
movzbl -0x11(%rbp), %esi
callq 0x59c0
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rax
movq -0x8(%rbp), %rcx
subq %rcx, %rax
subq $0x2, %rax
movzbl %al, %esi
callq 0x5ca0
addq $0x50, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc6a
static void build_desc6a(uint8_t *desc) {
    desc6a_init(desc);

    desc6a_set_component_type_flag  (desc, true);
    desc6a_set_component_type       (desc, 10);

    desc6a_set_bsid_flag            (desc, true);
    desc6a_set_bsid                 (desc, 20);

    desc6a_set_mainid_flag          (desc, true);
    desc6a_set_mainid               (desc, 30);

    desc6a_set_asvc_flag            (desc, true);
    desc6a_set_asvc                 (desc, 40);

    desc6a_set_length(desc);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x11810
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x11850
movq -0x8(%rbp), %rdi
movl $0xa, %esi
callq 0x118a0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x118e0
movq -0x8(%rbp), %rdi
movl $0x14, %esi
callq 0x11930
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x11990
movq -0x8(%rbp), %rdi
movl $0x1e, %esi
callq 0x119e0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x11a50
movq -0x8(%rbp), %rdi
movl $0x28, %esi
callq 0x11aa0
movq -0x8(%rbp), %rdi
callq 0x11b30
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc7a
static void build_desc7a(uint8_t *desc) {
    desc7a_init(desc);

    desc7a_set_component_type_flag  (desc, true);
    desc7a_set_component_type       (desc, 10);

    desc7a_set_bsid_flag            (desc, true);
    desc7a_set_bsid                 (desc, 20);

    desc7a_set_mainid_flag          (desc, true);
    desc7a_set_mainid               (desc, 30);

    desc7a_set_asvc_flag            (desc, true);
    desc7a_set_asvc                 (desc, 40);

    desc7a_set_mixinfoexists_flag   (desc, true);

    desc7a_set_substream1_flag      (desc, true);
    desc7a_set_substream1           (desc, 50);

    desc7a_set_substream2_flag      (desc, true);
    desc7a_set_substream2           (desc, 60);

    desc7a_set_substream3_flag      (desc, true);
    desc7a_set_substream3           (desc, 70);

    desc7a_set_length(desc);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x11c40
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x11c80
movq -0x8(%rbp), %rdi
movl $0xa, %esi
callq 0x11cd0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x11d10
movq -0x8(%rbp), %rdi
movl $0x14, %esi
callq 0x11d60
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x11dc0
movq -0x8(%rbp), %rdi
movl $0x1e, %esi
callq 0x11e10
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x11e80
movq -0x8(%rbp), %rdi
movl $0x28, %esi
callq 0x11ed0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x11f60
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x11fb0
movq -0x8(%rbp), %rdi
movl $0x32, %esi
callq 0x12000
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x120b0
movq -0x8(%rbp), %rdi
movl $0x3c, %esi
callq 0x12100
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x121c0
movq -0x8(%rbp), %rdi
movl $0x46, %esi
callq 0x12210
movq -0x8(%rbp), %rdi
callq 0x122f0
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc7b
static void build_desc7b(uint8_t *desc) {
    desc7b_init(desc);
    desc7b_set_sample_rate_code(desc, 8);
    desc7b_set_bit_rate_code(desc, 11);
    desc7b_set_nblks(desc, 5);
    desc7b_set_fsize(desc, 95);
    desc7b_set_surround_mode(desc, 3);
    desc7b_set_lfe_flag(desc, true);
    desc7b_set_extended_surround_flag(desc, 2);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x124b0
movq -0x8(%rbp), %rdi
movl $0x8, %esi
callq 0x124e0
movq -0x8(%rbp), %rdi
movl $0xb, %esi
callq 0x12510
movq -0x8(%rbp), %rdi
movl $0x5, %esi
callq 0x12560
movq -0x8(%rbp), %rdi
movl $0x5f, %esi
callq 0x125b0
movq -0x8(%rbp), %rdi
movl $0x3, %esi
callq 0x12610
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x12670
movq -0x8(%rbp), %rdi
movl $0x2, %esi
callq 0x126c0
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc46
static void build_desc46(uint8_t *desc) {
    uint8_t k = 0;
    uint8_t *lang_n;

    desc46_init(desc);
    desc_set_length(desc, 255);

    lang_n = desc46_get_language(desc, k++);
    desc46n_set_code(lang_n, (uint8_t *)"eng");
    desc46n_set_teletexttype(lang_n, 1);
    desc46n_set_teletextmagazine(lang_n, 3);
    desc46n_set_teletextpage(lang_n, 255);

    lang_n = desc46_get_language(desc, k++);
    desc46n_set_code(lang_n, (uint8_t *)"bul");
    desc46n_set_teletexttype(lang_n, 2);
    desc46n_set_teletextmagazine(lang_n, 2);
    desc46n_set_teletextpage(lang_n, 127);

    lang_n = desc46_get_language(desc, k++);
    desc46n_set_code(lang_n, (uint8_t *)"fre");
    desc46n_set_teletexttype(lang_n, 3);
    desc46n_set_teletextmagazine(lang_n, 1);
    desc46n_set_teletextpage(lang_n, 64);

    lang_n = desc46_get_language(desc, k);
    desc_set_length(desc, lang_n - desc - DESC_HEADER_SIZE);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movb $0x0, -0x9(%rbp)
movq -0x8(%rbp), %rdi
callq 0x126f0
movq -0x8(%rbp), %rdi
movl $0xff, %esi
callq 0x5ca0
movq -0x8(%rbp), %rdi
movb -0x9(%rbp), %al
movb %al, %cl
addb $0x1, %cl
movb %cl, -0x9(%rbp)
leaq 0x36b3(%rip), %rdx      # 0x12710
movzbl %al, %esi
callq 0x59c0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
leaq 0x83f9(%rip), %rsi      # 0x1746d
callq 0x7890
movq -0x18(%rbp), %rdi
movl $0x1, %esi
callq 0x12760
movq -0x18(%rbp), %rdi
movl $0x3, %esi
callq 0x127a0
movq -0x18(%rbp), %rdi
movl $0xff, %esi
callq 0x127e0
movq -0x8(%rbp), %rdi
movb -0x9(%rbp), %al
movb %al, %cl
addb $0x1, %cl
movb %cl, -0x9(%rbp)
leaq 0x3657(%rip), %rdx      # 0x12710
movzbl %al, %esi
callq 0x59c0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
leaq 0x83a5(%rip), %rsi      # 0x17475
callq 0x7890
movq -0x18(%rbp), %rdi
movl $0x2, %esi
callq 0x12760
movq -0x18(%rbp), %rdi
movl $0x2, %esi
callq 0x127a0
movq -0x18(%rbp), %rdi
movl $0x7f, %esi
callq 0x127e0
movq -0x8(%rbp), %rdi
movb -0x9(%rbp), %al
movb %al, %cl
addb $0x1, %cl
movb %cl, -0x9(%rbp)
leaq 0x35fb(%rip), %rdx      # 0x12710
movzbl %al, %esi
callq 0x59c0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
leaq 0x8345(%rip), %rsi      # 0x17471
callq 0x7890
movq -0x18(%rbp), %rdi
movl $0x3, %esi
callq 0x12760
movq -0x18(%rbp), %rdi
movl $0x1, %esi
callq 0x127a0
movq -0x18(%rbp), %rdi
movl $0x40, %esi
callq 0x127e0
movq -0x8(%rbp), %rdi
leaq 0x35aa(%rip), %rdx      # 0x12710
movzbl -0x9(%rbp), %esi
callq 0x59c0
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq -0x8(%rbp), %rcx
subq %rcx, %rax
subq $0x2, %rax
movzbl %al, %esi
callq 0x5ca0
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc60
static void build_desc60(uint8_t *desc) {
    desc60_init(desc);
    desc60_set_new_onid(desc, 10000);
    desc60_set_new_tsid(desc, 15000);
    desc60_set_new_service_id(desc, 20000);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x129f0
movq -0x8(%rbp), %rdi
movl $0x2710, %esi           # imm = 0x2710
callq 0x12a20
movq -0x8(%rbp), %rdi
movl $0x3a98, %esi           # imm = 0x3A98
callq 0x12a60
movq -0x8(%rbp), %rdi
movl $0x4e20, %esi           # imm = 0x4E20
callq 0x12aa0
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc59
static void build_desc59(uint8_t *desc) {
    uint8_t k = 0;
    uint8_t *lang_n;

    desc59_init(desc);
    desc_set_length(desc, 255);

    lang_n = desc59_get_language(desc, k++);
    desc59n_set_code(lang_n, (uint8_t *)"eng");
    desc59n_set_subtitlingtype(lang_n, 1);
    desc59n_set_compositionpage(lang_n, 2);
    desc59n_set_ancillarypage(lang_n, 3);

    lang_n = desc59_get_language(desc, k++);
    desc59n_set_code(lang_n, (uint8_t *)"bul");
    desc59n_set_subtitlingtype(lang_n, 2);
    desc59n_set_compositionpage(lang_n, 3);
    desc59n_set_ancillarypage(lang_n, 4);

    lang_n = desc59_get_language(desc, k++);
    desc59n_set_code(lang_n, (uint8_t *)"fre");
    desc59n_set_subtitlingtype(lang_n, 5);
    desc59n_set_compositionpage(lang_n, 6);
    desc59n_set_ancillarypage(lang_n, 7);

    lang_n = desc59_get_language(desc, k);
    desc_set_length(desc, lang_n - desc - DESC_HEADER_SIZE);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movb $0x0, -0x9(%rbp)
movq -0x8(%rbp), %rdi
callq 0x12b30
movq -0x8(%rbp), %rdi
movl $0xff, %esi
callq 0x5ca0
movq -0x8(%rbp), %rdi
movb -0x9(%rbp), %al
movb %al, %cl
addb $0x1, %cl
movb %cl, -0x9(%rbp)
leaq 0x35b3(%rip), %rdx      # 0x12b50
movzbl %al, %esi
callq 0x59c0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
leaq 0x7eb9(%rip), %rsi      # 0x1746d
callq 0x7890
movq -0x18(%rbp), %rdi
movl $0x1, %esi
callq 0x12ba0
movq -0x18(%rbp), %rdi
movl $0x2, %esi
callq 0x12bc0
movq -0x18(%rbp), %rdi
movl $0x3, %esi
callq 0x12c00
movq -0x8(%rbp), %rdi
movb -0x9(%rbp), %al
movb %al, %cl
addb $0x1, %cl
movb %cl, -0x9(%rbp)
leaq 0x3557(%rip), %rdx      # 0x12b50
movzbl %al, %esi
callq 0x59c0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
leaq 0x7e65(%rip), %rsi      # 0x17475
callq 0x7890
movq -0x18(%rbp), %rdi
movl $0x2, %esi
callq 0x12ba0
movq -0x18(%rbp), %rdi
movl $0x3, %esi
callq 0x12bc0
movq -0x18(%rbp), %rdi
movl $0x4, %esi
callq 0x12c00
movq -0x8(%rbp), %rdi
movb -0x9(%rbp), %al
movb %al, %cl
addb $0x1, %cl
movb %cl, -0x9(%rbp)
leaq 0x34fb(%rip), %rdx      # 0x12b50
movzbl %al, %esi
callq 0x59c0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
leaq 0x7e05(%rip), %rsi      # 0x17471
callq 0x7890
movq -0x18(%rbp), %rdi
movl $0x5, %esi
callq 0x12ba0
movq -0x18(%rbp), %rdi
movl $0x6, %esi
callq 0x12bc0
movq -0x18(%rbp), %rdi
movl $0x7, %esi
callq 0x12c00
movq -0x8(%rbp), %rdi
leaq 0x34aa(%rip), %rdx      # 0x12b50
movzbl -0x9(%rbp), %esi
callq 0x59c0
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq -0x8(%rbp), %rcx
subq %rcx, %rax
subq $0x2, %rax
movzbl %al, %esi
callq 0x5ca0
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc1d
static void build_desc1d(uint8_t *desc) {
    desc1d_init(desc);
    desc1d_set_scope(desc, 0x01);
    desc1d_set_iod_label(desc, 0x23);
    desc1d_set_iod(desc, 0x45);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x12cb0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x12ce0
movq -0x8(%rbp), %rdi
movl $0x23, %esi
callq 0x12d00
movq -0x8(%rbp), %rdi
movl $0x45, %esi
callq 0x12d20
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc1f
static void build_desc1f(uint8_t *desc) {
    uint8_t k = 0;
    uint8_t *entry_n;

    desc1f_init(desc);
    desc_set_length(desc, 255);

    entry_n = desc1f_get_entry(desc, k++);
    desc1fn_set_es_id(entry_n, 0x1122);
    desc1fn_set_flexmux_channel(entry_n, 0x33);

    entry_n = desc1f_get_entry(desc, k++);
    desc1fn_set_es_id(entry_n, 0x4455);
    desc1fn_set_flexmux_channel(entry_n, 0x66);

    entry_n = desc1f_get_entry(desc, k++);
    desc1fn_set_es_id(entry_n, 0x7788);
    desc1fn_set_flexmux_channel(entry_n, 0x99);

    entry_n = desc1f_get_entry(desc, k);
    desc_set_length(desc, entry_n - desc - DESC_HEADER_SIZE);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movb $0x0, -0x9(%rbp)
movq -0x8(%rbp), %rdi
callq 0x12d40
movq -0x8(%rbp), %rdi
movl $0xff, %esi
callq 0x5ca0
movq -0x8(%rbp), %rdi
movb -0x9(%rbp), %al
movb %al, %cl
addb $0x1, %cl
movb %cl, -0x9(%rbp)
leaq 0x35c3(%rip), %rdx      # 0x12d60
movzbl %al, %esi
callq 0x59c0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movl $0x1122, %esi           # imm = 0x1122
callq 0x12db0
movq -0x18(%rbp), %rdi
movl $0x33, %esi
callq 0x12df0
movq -0x8(%rbp), %rdi
movb -0x9(%rbp), %al
movb %al, %cl
addb $0x1, %cl
movb %cl, -0x9(%rbp)
leaq 0x3585(%rip), %rdx      # 0x12d60
movzbl %al, %esi
callq 0x59c0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movl $0x4455, %esi           # imm = 0x4455
callq 0x12db0
movq -0x18(%rbp), %rdi
movl $0x66, %esi
callq 0x12df0
movq -0x8(%rbp), %rdi
movb -0x9(%rbp), %al
movb %al, %cl
addb $0x1, %cl
movb %cl, -0x9(%rbp)
leaq 0x3547(%rip), %rdx      # 0x12d60
movzbl %al, %esi
callq 0x59c0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movl $0x7788, %esi           # imm = 0x7788
callq 0x12db0
movq -0x18(%rbp), %rdi
movl $0x99, %esi
callq 0x12df0
movq -0x8(%rbp), %rdi
leaq 0x3514(%rip), %rdx      # 0x12d60
movzbl -0x9(%rbp), %esi
callq 0x59c0
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq -0x8(%rbp), %rcx
subq %rcx, %rax
subq $0x2, %rax
movzbl %al, %esi
callq 0x5ca0
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc22
static void build_desc22(uint8_t *desc) {
    uint8_t k = 0;
    uint8_t *entry_n;

    desc22_init(desc);
    desc22_set_default_buffer_size(desc, 0x112233);

    desc_set_length(desc, 255);
    entry_n = desc22_get_entry(desc, k++);
    desc22n_set_flexmux_channel(entry_n, 0x11);
    desc22n_set_flexmux_buffer_size(entry_n, 0x223344);

    entry_n = desc22_get_entry(desc, k++);
    desc22n_set_flexmux_channel(entry_n, 0x55);
    desc22n_set_flexmux_buffer_size(entry_n, 0x667788);

    entry_n = desc22_get_entry(desc, k++);
    desc22n_set_flexmux_channel(entry_n, 0x99);
    desc22n_set_flexmux_buffer_size(entry_n, 0xaabbcc);

    entry_n = desc22_get_entry(desc, k);
    desc_set_length(desc, entry_n - desc - DESC_HEADER_SIZE);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movb $0x0, -0x9(%rbp)
movq -0x8(%rbp), %rdi
callq 0x13120
movq -0x8(%rbp), %rdi
movl $0x112233, %esi         # imm = 0x112233
callq 0x13150
movq -0x8(%rbp), %rdi
movl $0xff, %esi
callq 0x5ca0
movq -0x8(%rbp), %rdi
movb -0x9(%rbp), %al
movb %al, %cl
addb $0x1, %cl
movb %cl, -0x9(%rbp)
leaq 0x33a5(%rip), %rdx      # 0x131a0
movzbl %al, %esi
callq 0x59c0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movl $0x11, %esi
callq 0x131f0
movq -0x18(%rbp), %rdi
movl $0x223344, %esi         # imm = 0x223344
callq 0x13210
movq -0x8(%rbp), %rdi
movb -0x9(%rbp), %al
movb %al, %cl
addb $0x1, %cl
movb %cl, -0x9(%rbp)
leaq 0x3367(%rip), %rdx      # 0x131a0
movzbl %al, %esi
callq 0x59c0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movl $0x55, %esi
callq 0x131f0
movq -0x18(%rbp), %rdi
movl $0x667788, %esi         # imm = 0x667788
callq 0x13210
movq -0x8(%rbp), %rdi
movb -0x9(%rbp), %al
movb %al, %cl
addb $0x1, %cl
movb %cl, -0x9(%rbp)
leaq 0x3329(%rip), %rdx      # 0x131a0
movzbl %al, %esi
callq 0x59c0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movl $0x99, %esi
callq 0x131f0
movq -0x18(%rbp), %rdi
movl $0xaabbcc, %esi         # imm = 0xAABBCC
callq 0x13210
movq -0x8(%rbp), %rdi
leaq 0x32f6(%rip), %rdx      # 0x131a0
movzbl -0x9(%rbp), %esi
callq 0x59c0
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq -0x8(%rbp), %rcx
subq %rcx, %rax
subq $0x2, %rax
movzbl %al, %esi
callq 0x5ca0
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc27
static void build_desc27(uint8_t *desc) {
    desc27_init(desc);
    desc27_set_input_leak_rate(desc, 12345);
    desc27_set_buffer_size(desc, 23456);
    desc27_set_output_leak_rate(desc, 34567);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x13330
movq -0x8(%rbp), %rdi
movl $0x3039, %esi           # imm = 0x3039
callq 0x13360
movq -0x8(%rbp), %rdi
movl $0x5ba0, %esi           # imm = 0x5BA0
callq 0x133b0
movq -0x8(%rbp), %rdi
movl $0x8707, %esi           # imm = 0x8707
callq 0x13400
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc2c
static void build_desc2c(uint8_t *desc) {
    desc2c_init(desc);
    desc2c_set_fcr_es_id(desc, 0x1234);
    desc2c_set_fcr_resolution(desc, 123456789);
    desc2c_set_fcr_length(desc, 55);
    desc2c_set_fmx_rate_length(desc, 32);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x13450
movq -0x8(%rbp), %rdi
movl $0x1234, %esi           # imm = 0x1234
callq 0x13480
movq -0x8(%rbp), %rdi
movl $0x75bcd15, %esi        # imm = 0x75BCD15
callq 0x134c0
movq -0x8(%rbp), %rdi
movl $0x37, %esi
callq 0x13520
movq -0x8(%rbp), %rdi
movl $0x20, %esi
callq 0x13540
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc24_1
static void build_desc24_1(uint8_t *desc) {
    desc24_init(desc);

    desc24_set_metadata_application_format(desc, 0xabcd);
    desc24_set_content_reference_id_record_flag(desc, false);
    desc24_set_content_time_base_indicator(desc, 0);

    desc24_set_length(desc);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x13560
movq -0x8(%rbp), %rdi
movl $0xabcd, %esi           # imm = 0xABCD
callq 0x13580
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x135c0
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x13640
movq -0x8(%rbp), %rdi
callq 0x136b0
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc24_2
static void build_desc24_2(uint8_t *desc) {
    desc24_init(desc);

    desc24_set_metadata_application_format(desc, 0xfff0);

    desc24_set_content_reference_id_record_flag(desc, false);

    desc24_set_content_time_base_indicator(desc, 3);
    desc24_set_time_base_association(desc, 3, (uint8_t *)"ABC");

    desc24_set_length(desc);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x13560
movq -0x8(%rbp), %rdi
movl $0xfff0, %esi           # imm = 0xFFF0
callq 0x13580
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x135c0
movq -0x8(%rbp), %rdi
movl $0x3, %esi
callq 0x13640
movq -0x8(%rbp), %rdi
movl $0x3, %esi
leaq 0x754c(%rip), %rdx      # 0x175b8
callq 0x13990
movq -0x8(%rbp), %rdi
callq 0x136b0
addq $0x10, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc24_3
static void build_desc24_3(uint8_t *desc) {
    desc24_init(desc);

    desc24_set_metadata_application_format(desc, 0xffff);
    // Needs desc24_set_metadata_application_format(desc, 0xffff);
    desc24_set_metadata_application_format_identifier(desc, 0xaabbccdd);

    desc24_set_content_reference_id_record_flag(desc, true);
    // Needs desc24_set_content_reference_id_record_flag(desc, true);
    desc24_set_content_reference_id_record(desc, 3, (uint8_t *)"abc");

    desc24_set_content_time_base_indicator(desc, 2);
    // Needs desc24_set_content_time_base_indicator(desc, 1..2);
    desc24_set_content_time_base_value (desc, 0x1F0F0F0F0); // 8337289456
    desc24_set_metadata_time_base_value(desc, 0x1F1F1F1F1); // 8354132465

    // Needs desc24_set_content_time_base_indicator(desc, 2);
    desc24_set_content_id(desc, 100);

    // Needs desc24_set_content_time_base_indicator(desc, 3..7);
    desc24_set_time_base_association(desc, 3, (uint8_t *)"ABC");

    desc24_set_length(desc);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x13560
movq -0x8(%rbp), %rdi
movl $0xffff, %esi           # imm = 0xFFFF
callq 0x13580
movq -0x8(%rbp), %rdi
movl $0xaabbccdd, %esi       # imm = 0xAABBCCDD
callq 0x13a60
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x135c0
movq -0x8(%rbp), %rdi
movl $0x3, %esi
leaq 0x74ed(%rip), %rdx      # 0x175bc
callq 0x13ae0
movq -0x8(%rbp), %rdi
movl $0x2, %esi
callq 0x13640
movq -0x8(%rbp), %rdi
movabsq $0x1f0f0f0f0, %rsi      # imm = 0x1F0F0F0F0
callq 0x13b70
movq -0x8(%rbp), %rdi
movabsq $0x1f1f1f1f1, %rsi      # imm = 0x1F1F1F1F1
callq 0x13cb0
movq -0x8(%rbp), %rdi
movl $0x64, %esi
callq 0x13df0
movq -0x8(%rbp), %rdi
movl $0x3, %esi
leaq 0x7492(%rip), %rdx      # 0x175b8
callq 0x13990
movq -0x8(%rbp), %rdi
callq 0x136b0
addq $0x10, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc25
static void build_desc25(uint8_t *desc) {
    desc25_init(desc);

    desc25_set_metadata_application_format(desc, 0xffff);
    // Needs desc25_set_metadata_application_format(desc, 0xffff);
    desc25_set_metadata_application_format_identifier(desc, 0x00112233);

    desc25_set_metadata_format(desc, 0xff);
    // Needs desc25_set_metadata_format(desc, 0xff);
    desc25_set_metadata_format_identifier(desc, 0xdeadbeaf);

    desc25_set_metadata_service_id(desc, 0x88);

    desc25_set_metadata_locator_record_flag(desc, true);
    // Needs desc25_set_metadata_locator_record_flag(desc, true);
    desc25_set_metadata_locator_record(desc, 3, (uint8_t *)"abc");

    desc25_set_mpeg_carriage_flags(desc, 1);
    // Needs desc25_set_mpeg_carriage_flags(desc, 0..2);
    desc25_set_program_number(desc, 1000);
    // Needs desc25_set_mpeg_carriage_flags(desc, 1);
    desc25_set_ts_location(desc, 2000);
    desc25_set_ts_id(desc, 3000);

    desc25_set_length(desc);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x13ea0
movq -0x8(%rbp), %rdi
movl $0xffff, %esi           # imm = 0xFFFF
callq 0x13580
movq -0x8(%rbp), %rdi
movl $0x112233, %esi         # imm = 0x112233
callq 0x13a60
movq -0x8(%rbp), %rdi
movl $0xff, %esi
callq 0x13ec0
movq -0x8(%rbp), %rdi
movl $0xdeadbeaf, %esi       # imm = 0xDEADBEAF
callq 0x13f20
movq -0x8(%rbp), %rdi
movl $0x88, %esi
callq 0x13ff0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x14070
movq -0x8(%rbp), %rdi
movl $0x3, %esi
leaq 0x7403(%rip), %rdx      # 0x175bc
callq 0x14130
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x141e0
movq -0x8(%rbp), %rdi
movl $0x3e8, %esi            # imm = 0x3E8
callq 0x14280
movq -0x8(%rbp), %rdi
movl $0x7d0, %esi            # imm = 0x7D0
callq 0x14390
movq -0x8(%rbp), %rdi
movl $0xbb8, %esi            # imm = 0xBB8
callq 0x14480
movq -0x8(%rbp), %rdi
callq 0x14570
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc26_1
static void build_desc26_1(uint8_t *desc) {
    desc26_init(desc);

    desc26_set_metadata_application_format(desc, 0xfff0);
    desc26_set_metadata_format(desc, 0xf0);
    desc26_set_metadata_service_id(desc, 0x88);
    desc26_set_dsm_cc_flag(desc, false);
    desc26_set_decoder_config_flags(desc, 0);

    desc26_set_length(desc);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x14840
movq -0x8(%rbp), %rdi
movl $0xfff0, %esi           # imm = 0xFFF0
callq 0x13580
movq -0x8(%rbp), %rdi
movl $0xf0, %esi
callq 0x13ec0
movq -0x8(%rbp), %rdi
movl $0x88, %esi
callq 0x13ff0
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x14860
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x14920
movq -0x8(%rbp), %rdi
callq 0x149c0
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc26_2
static void build_desc26_2(uint8_t *desc) {
    desc26_init(desc);

    desc26_set_metadata_application_format(desc, 0xffff);
    // Needs desc26_set_metadata_application_format(desc, 0xffff);
    desc26_set_metadata_application_format_identifier(desc, 0x00112233);

    desc26_set_metadata_format(desc, 0xff);
    // Needs desc26_set_metadata_format(desc, 0xff);
    desc26_set_metadata_format_identifier(desc, 0xdeadbeaf);

    desc26_set_metadata_service_id(desc, 0x88);

    desc26_set_dsm_cc_flag(desc, true);
    // Needs desc26_set_dsm_cc_flag(desc, true);
    desc26_set_service_identification_record(desc, 3, (uint8_t *)"abc");

    desc26_set_decoder_config_flags(desc, 3);
    // Needs desc26_set_decoder_config_flags(desc, 1);
    desc26_set_decoder_config(desc, 3, (uint8_t *)"123");

    // Needs desc26_set_decoder_config_flags(desc, 3);
    desc26_set_dec_config_identification_record(desc, 3, (uint8_t *)"ABC");

    // Needs desc26_set_mpeg_carriage_flags(desc, 4);
    desc26_set_decoder_config_metadata_service_id(desc, 100);

    desc26_set_length(desc);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x14840
movq -0x8(%rbp), %rdi
movl $0xffff, %esi           # imm = 0xFFFF
callq 0x13580
movq -0x8(%rbp), %rdi
movl $0x112233, %esi         # imm = 0x112233
callq 0x13a60
movq -0x8(%rbp), %rdi
movl $0xff, %esi
callq 0x13ec0
movq -0x8(%rbp), %rdi
movl $0xdeadbeaf, %esi       # imm = 0xDEADBEAF
callq 0x13f20
movq -0x8(%rbp), %rdi
movl $0x88, %esi
callq 0x13ff0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x14860
movq -0x8(%rbp), %rdi
movl $0x3, %esi
leaq 0x72c3(%rip), %rdx      # 0x175bc
callq 0x14e00
movq -0x8(%rbp), %rdi
movl $0x3, %esi
callq 0x14920
movq -0x8(%rbp), %rdi
movl $0x3, %esi
leaq 0x72a4(%rip), %rdx      # 0x175c0
callq 0x14eb0
movq -0x8(%rbp), %rdi
movl $0x3, %esi
leaq 0x7287(%rip), %rdx      # 0x175b8
callq 0x14fa0
movq -0x8(%rbp), %rdi
movl $0x64, %esi
callq 0x15090
movq -0x8(%rbp), %rdi
callq 0x149c0
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc28
static void build_desc28(uint8_t *desc) {
    desc28_init(desc);
    desc28_set_profile_idc(desc, 0x12);
    desc28_set_constraint_set0_flag(desc, true);
    desc28_set_constraint_set1_flag(desc, true);
    desc28_set_constraint_set2_flag(desc, false);
    desc28_set_avc_compatible_flags(desc, 0x0a);
    desc28_set_level_idc(desc, 0x34);
    desc28_set_avc_still_present(desc, false);
    desc28_set_avc_24_hour_picture_flag(desc, false);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x15160
movq -0x8(%rbp), %rdi
movl $0x12, %esi
callq 0x151a0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x151c0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x15210
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x15260
movq -0x8(%rbp), %rdi
movl $0xa, %esi
callq 0x152b0
movq -0x8(%rbp), %rdi
movl $0x34, %esi
callq 0x152e0
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x15300
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x15350
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc2a
static void build_desc2a(uint8_t *desc) {
    desc2a_init(desc);
    desc2a_set_hrd_management_valid_flag(desc, false);
    desc2a_set_picture_and_timing_info_present(desc, true);
    desc2a_set_90khz_flag(desc, false); // depends on picture_and_timing_info
    desc2a_set_N(desc, 12345678); // depends on 90khz == false
    desc2a_set_K(desc, 34567890); // depends on 90khz == false
    desc2a_set_num_units_in_tick(desc, 456789); // depends on picture_and_timing_info
    desc2a_set_fixed_frame_rate_flag(desc, true);
    desc2a_set_temporal_poc_flag(desc, false);
    desc2a_set_picture_to_display_conversion_flag(desc, true);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x153a0
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x153e0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x15430
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x154a0
movq -0x8(%rbp), %rdi
movl $0xbc614e, %esi         # imm = 0xBC614E
callq 0x15530
movq -0x8(%rbp), %rdi
movl $0x20f76d2, %esi        # imm = 0x20F76D2
callq 0x155c0
movq -0x8(%rbp), %rdi
movl $0x6f855, %esi          # imm = 0x6F855
callq 0x15650
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x15710
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x157c0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x15870
addq $0x10, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc6b
static void build_desc6b(uint8_t *desc) {
    desc6b_init(desc);
    desc6b_set_dvd_video_ancillary_data_flag    (desc, true);
    desc6b_set_extended_ancillary_data_flag     (desc, false);
    desc6b_set_announcement_switching_data_flag (desc, true);
    desc6b_set_dab_ancillary_data_flag          (desc, false);
    desc6b_set_scale_factor_error_check_flag    (desc, true);
    desc6b_set_mpeg4_ancillary_data_flag        (desc, false);
    desc6b_set_rds_via_uecp_flag                (desc, true);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x15990
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x159d0
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x15a20
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x15a70
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x15ac0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x15b10
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x15b60
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x15bb0
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc2b
static void build_desc2b(uint8_t *desc) {
    desc2b_init(desc);
    desc2b_set_aac_profile(desc, 0x12);
    desc2b_set_aac_channel_config(desc, 0x05);
    desc2b_set_aac_additional_info(desc, 0x00);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x15c00
movq -0x8(%rbp), %rdi
movl $0x12, %esi
callq 0x15c30
movq -0x8(%rbp), %rdi
movl $0x5, %esi
callq 0x15c50
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x15c70
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/dvb_gen_si.c
// Function: build_desc7c
static void build_desc7c(uint8_t *desc) {
    desc7c_init(desc);
    desc7c_set_profile_and_level(desc, 0x14);
    desc7c_set_aac_type_flag(desc, true);
    desc7c_set_aac_type(desc, 0x1f);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x15c90
movq -0x8(%rbp), %rdi
movl $0x14, %esi
callq 0x15cc0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x15ce0
movq -0x8(%rbp), %rdi
movl $0x1f, %esi
callq 0x15d80
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/./bitstream/mpeg/psi/desc_0d.h
// Function: desc0d_set_additional_copyright_info
static inline void desc0d_set_additional_copyright_info(uint8_t *p_desc, uint8_t *p_additional_copyright_info, uint8_t i_length)
{
    if (i_length == 0 || !p_additional_copyright_info)
        desc_set_length(p_desc, DESC0D_HEADER_SIZE - DESC_HEADER_SIZE);
    else if (i_length < 252)
    {
        desc_set_length(p_desc, (DESC0D_HEADER_SIZE - DESC_HEADER_SIZE) + i_length);
        memcpy(p_desc + DESC0D_HEADER_SIZE, p_additional_copyright_info, i_length);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movb %dl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movb %al, -0x11(%rbp)
movzbl -0x11(%rbp), %eax
cmpl $0x0, %eax
je 0x10875
cmpq $0x0, -0x10(%rbp)
jne 0x10885
movq -0x8(%rbp), %rdi
movl $0x4, %esi
callq 0x5ca0
jmp 0x108bc
movzbl -0x11(%rbp), %eax
cmpl $0xfc, %eax
jge 0x108ba
movq -0x8(%rbp), %rdi
movzbl -0x11(%rbp), %eax
addl $0x4, %eax
movzbl %al, %esi
callq 0x5ca0
movq -0x8(%rbp), %rdi
addq $0x6, %rdi
movq -0x10(%rbp), %rsi
movzbl -0x11(%rbp), %eax
movl %eax, %edx
callq 0x1090
jmp 0x108bc
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)