// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/./bitstream/scte/35_print.h
// Function: scte35_time_signal_print
static inline void scte35_time_signal_print(const uint8_t *p_scte35,
        f_print pf_print, void *print_opaque, print_type_t i_print_type)
{
    uint64_t i_pts_adjustment = scte35_get_pts_adjustment(p_scte35);
    const uint8_t *p_splice_time = scte35_time_signal_get_splice_time(p_scte35);

    switch (i_print_type) {
    case PRINT_XML:
        if (scte35_splice_time_has_time_specified(p_splice_time))
            pf_print(print_opaque,
                     "<SCTE35 command=\"%" PRIu8 "\" command_str=\"time_signal\" pts_adjustment=\"%" PRIu64 "\" splice_time=\"%" PRIu64 "\">",
                     SCTE35_TIME_SIGNAL_COMMAND, i_pts_adjustment,
                     scte35_splice_time_get_pts_time(p_splice_time));
        else
            pf_print(print_opaque,
                     "<SCTE35 command=\"%" PRIu8 "\" command_str=\"time_signal\" pts_adjustment=\"%" PRIu64 "\" splice_time=\"undefined\">",
                     SCTE35_TIME_SIGNAL_COMMAND, i_pts_adjustment);
        break;
    default:
        if (scte35_splice_time_has_time_specified(p_splice_time))
            pf_print(print_opaque,
                     "new SCTE35 command=%" PRIu8 " command_str=time_signal pts_adjustment=%" PRIu64 " splice_time=%" PRIu64,
                     SCTE35_TIME_SIGNAL_COMMAND, i_pts_adjustment,
                     scte35_splice_time_get_pts_time(p_splice_time));
        else
            pf_print(print_opaque,
                     "new SCTE35 command=%" PRIu8 " command_str=time_signal pts_adjustment=%" PRIu64 " splice_time=undefined",
                     SCTE35_TIME_SIGNAL_COMMAND, i_pts_adjustment);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq -0x8(%rbp), %rdi
callq 0x21450
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rdi
callq 0x20df0
movq %rax, -0x30(%rbp)
movl -0x1c(%rbp), %eax
subl $0x1, %eax
jne 0x2133c
jmp 0x212cb
movq -0x30(%rbp), %rdi
callq 0x20da0
testb $0x1, %al
jne 0x212da
jmp 0x2131d
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x30(%rbp), %rdi
callq 0x21770
movq -0x48(%rbp), %rdi
movq -0x40(%rbp), %rcx
movq -0x38(%rbp), %r9
movq %rax, %r8
leaq 0xac74(%rip), %rsi      # 0x2bf85
movl $0x6, %edx
movb $0x0, %al
callq *%r9
jmp 0x2133a
movq -0x10(%rbp), %r8
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rcx
leaq 0xacac(%rip), %rsi      # 0x2bfdc
movl $0x6, %edx
movb $0x0, %al
callq *%r8
jmp 0x213ad
movq -0x30(%rbp), %rdi
callq 0x20da0
testb $0x1, %al
jne 0x2134b
jmp 0x2138e
movq -0x10(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x30(%rbp), %rdi
callq 0x21770
movq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rcx
movq -0x50(%rbp), %r9
movq %rax, %r8
leaq 0xacb7(%rip), %rsi      # 0x2c039
movl $0x6, %edx
movb $0x0, %al
callq *%r9
jmp 0x213ab
movq -0x10(%rbp), %r8
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rcx
leaq 0xace9(%rip), %rsi      # 0x2c08a
movl $0x6, %edx
movb $0x0, %al
callq *%r8
jmp 0x213ad
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)