// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/./bitstream/mpeg/psi/desc_3f03.h
// Function: desc3f03_print
static inline void desc3f03_print(const uint8_t *p_desc, f_print pf_print,
                                  void *opaque, print_type_t i_print_type)
{
    uint8_t *pti = desc3f03_get_picture_and_timing_info(p_desc);
    uint8_t *scale = pti ? desc3f03_pti_get_scale(pti) : NULL;

    switch (i_print_type) {
    case PRINT_XML:
        pf_print(opaque, "<HEVC_TIMING_HRD_DESC"
                 " hrd_management_valid=\"%u\""
                 ">",
                 desc3f03_get_hrd_management_valid_flag(p_desc));
        if (!desc3f03_get_target_schedule_idx_not_present_flag(p_desc))
            pf_print(opaque, "<HEVC_TIMING_HRD schedule_idx=\"%u\"/>",
                     desc3f03_get_target_schedule_idx(p_desc));
        if (pti) {
            pf_print(opaque, "<HEVC_PICTURE_AND_TIMING_INFO"
                     " num_units_in_tick=\"%u\">",
                     desc3f03_pti_get_num_units_in_tick(pti));
            if (scale)
                pf_print(opaque, "<HEVC_PICTURE_AND_TIMING_SCALE"
                         " n=\"%u\" k=\"%u\"/>",
                         desc3f03_pti_scale_get_n(scale),
                         desc3f03_pti_scale_get_k(scale));
            pf_print(opaque, "</HEVC_PICTURE_AND_TIMING_INFO>");
        }
        pf_print(opaque, "</HEVC_TIMING_HRD_DESC>");
        break;

    default:
        pf_print(opaque, "    - desc 3f03 HEVC_timing_HRD%s",
                 desc3f03_get_hrd_management_valid_flag(p_desc) ?
                 " hrd_management_valid" : "");
        if (!desc3f03_get_target_schedule_idx_not_present_flag(p_desc))
            pf_print(opaque, "        - schedule_idx=%u",
                     desc3f03_get_target_schedule_idx(p_desc));
        if (pti) {
            pf_print(opaque, "        - picture_and_timing_info"
                     " num_units_in_tick=%u",
                     desc3f03_pti_get_num_units_in_tick(pti));
            if (scale)
                pf_print(opaque, "            - scale n=%u k=%u",
                         desc3f03_pti_scale_get_n(scale),
                         desc3f03_pti_scale_get_k(scale));
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq -0x8(%rbp), %rdi
callq 0x16640
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0xb5ad
movq -0x28(%rbp), %rdi
callq 0x166e0
movq %rax, -0x38(%rbp)
jmp 0xb5b5
xorl %eax, %eax
movq %rax, -0x38(%rbp)
jmp 0xb5b5
movq -0x38(%rbp), %rax
movq %rax, -0x30(%rbp)
movl -0x1c(%rbp), %eax
subl $0x1, %eax
jne 0xb6df
jmp 0xb5cb
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x8(%rbp), %rdi
callq 0x16720
movq -0x48(%rbp), %rdi
movq -0x40(%rbp), %rcx
movzbl %al, %edx
leaq 0x1b1ee(%rip), %rsi     # 0x267e4
movb $0x0, %al
callq *%rcx
movq -0x8(%rbp), %rdi
callq 0x16750
cmpb $0x0, %al
jne 0xb636
movq -0x10(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x8(%rbp), %rdi
callq 0x16780
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rcx
movzbl %al, %edx
leaq 0x1b1e3(%rip), %rsi     # 0x26815
movb $0x0, %al
callq *%rcx
cmpq $0x0, -0x28(%rbp)
je 0xb6c7
movq -0x10(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x28(%rbp), %rdi
callq 0x167b0
movq -0x68(%rbp), %rdi
movq -0x60(%rbp), %rcx
movl %eax, %edx
leaq 0x1b1cf(%rip), %rsi     # 0x2683a
movb $0x0, %al
callq *%rcx
cmpq $0x0, -0x30(%rbp)
je 0xb6b4
movq -0x10(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x30(%rbp), %rdi
callq 0x167e0
movl %eax, -0x74(%rbp)
movq -0x30(%rbp), %rdi
callq 0x16810
movq -0x80(%rbp), %rdi
movl -0x74(%rbp), %edx
movq -0x70(%rbp), %r8
movl %eax, %ecx
leaq 0x1b1c1(%rip), %rsi     # 0x26870
movb $0x0, %al
callq *%r8
movq -0x10(%rbp), %rcx
movq -0x18(%rbp), %rdi
leaq 0x1b1dc(%rip), %rsi     # 0x2689f
movb $0x0, %al
callq *%rcx
movq -0x10(%rbp), %rcx
movq -0x18(%rbp), %rdi
leaq 0x1b1e9(%rip), %rsi     # 0x268bf
movb $0x0, %al
callq *%rcx
jmp 0xb817
movq -0x10(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x8(%rbp), %rdi
callq 0x16720
movq -0x90(%rbp), %rdi
movq -0x88(%rbp), %rcx
movzbl %al, %esi
leaq 0x1f9a9(%rip), %rdx     # 0x2b0bf
leaq 0x1b1dc(%rip), %rax     # 0x268f9
cmpl $0x0, %esi
cmovneq %rax, %rdx
leaq 0x1b1ac(%rip), %rsi     # 0x268d7
movb $0x0, %al
callq *%rcx
movq -0x8(%rbp), %rdi
callq 0x16750
cmpb $0x0, %al
jne 0xb777
movq -0x10(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x8(%rbp), %rdi
callq 0x16780
movq -0xa0(%rbp), %rdi
movq -0x98(%rbp), %rcx
movzbl %al, %edx
leaq 0x1b19c(%rip), %rsi     # 0x2690f
movb $0x0, %al
callq *%rcx
cmpq $0x0, -0x28(%rbp)
je 0xb815
movq -0x10(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x28(%rbp), %rdi
callq 0x167b0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rcx
movl %eax, %edx
leaq 0x1b171(%rip), %rsi     # 0x26929
movb $0x0, %al
callq *%rcx
cmpq $0x0, -0x30(%rbp)
je 0xb813
movq -0x10(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0x30(%rbp), %rdi
callq 0x167e0
movl %eax, -0xbc(%rbp)
movq -0x30(%rbp), %rdi
callq 0x16810
movq -0xc8(%rbp), %rdi
movl -0xbc(%rbp), %edx
movq -0xb8(%rbp), %r8
movl %eax, %ecx
leaq 0x1b152(%rip), %rsi     # 0x26960
movb $0x0, %al
callq *%r8
jmp 0xb815
jmp 0xb817
addq $0xd0, %rsp
popq %rbp
retq