static inline void writer_print_string(WriterContext *wctx,

                                       const char *key, const char *val, int opt)

{

    const struct section *section = wctx->section[wctx->level];



    if (opt && !(wctx->writer->flags & WRITER_FLAG_DISPLAY_OPTIONAL_FIELDS))

        return;



    if (section->show_all_entries || av_dict_get(section->entries_to_show, key, NULL, 0)) {

        wctx->writer->print_string(wctx, key, val);

        wctx->nb_item[wctx->level]++;

    }

}

static inline void writer_print_string(WriterContext *wctx,

                                       const char *key, const char *val, int opt)

{

    const struct section *section = wctx->section[wctx->level];



    if (opt && !(wctx->writer->flags & WRITER_FLAG_DISPLAY_OPTIONAL_FIELDS))

        return;



    if (section->show_all_entries || av_dict_get(section->entries_to_show, key, NULL, 0)) {

        wctx->writer->print_string(wctx, key, val);

        wctx->nb_item[wctx->level]++;

    }

}

static inline void FUNC_0(WriterContext *VAR_0,

                                       const char *VAR_1, const char *VAR_2, int VAR_3)

{

    const struct VAR_4 *VAR_4 = VAR_0->VAR_4[VAR_0->level];



    if (VAR_3 && !(VAR_0->writer->flags & WRITER_FLAG_DISPLAY_OPTIONAL_FIELDS))

        return;



    if (VAR_4->show_all_entries || av_dict_get(VAR_4->entries_to_show, VAR_1, NULL, 0)) {

        VAR_0->writer->print_string(VAR_0, VAR_1, VAR_2);

        VAR_0->nb_item[VAR_0->level]++;

    }

}

static inline void FUNC_0(WriterContext *VAR_0,
const char *VAR_1, const char *VAR_2, int VAR_3)
{ const struct VAR_4 *VAR_4 = VAR_0->VAR_4[VAR_0->level]; if (VAR_3 && !(VAR_0->writer->flags & WRITER_FLAG_DISPLAY_OPTIONAL_FIELDS))
return; if (VAR_4->show_all_entries || av_dict_get(VAR_4->entries_to_show, VAR_1, NULL, 0)) { VAR_0->writer->print_string(VAR_0, VAR_1, VAR_2); VAR_0->nb_item[VAR_0->level]++; } }