/* This file is autogenerated by tracetool, do not edit. */

#ifndef TRACE_HW_CRYPTO_GENERATED_TRACERS_H
#define TRACE_HW_CRYPTO_GENERATED_TRACERS_H

#include "trace/control.h"

extern TraceEvent _TRACE_XILINX_ASU_ECC_READ_EVENT;
extern TraceEvent _TRACE_XILINX_ASU_ECC_WRITE_EVENT;
extern TraceEvent _TRACE_XILINX_ASU_AES_READ_EVENT;
extern TraceEvent _TRACE_XILINX_ASU_AES_WRITE_EVENT;
extern TraceEvent _TRACE_XILINX_ASU_AES_RAISE_IRQ_EVENT;
extern TraceEvent _TRACE_XILINX_ASU_AES_SEND_EVENT;
extern TraceEvent _TRACE_XILINX_ASU_AES_SEND_MASK_EVENT;
extern TraceEvent _TRACE_XILINX_ASU_AES_RECV_EVENT;
extern TraceEvent _TRACE_XILINX_ASU_AES_DROP_EVENT;
extern TraceEvent _TRACE_XILINX_ASU_AES_PROCESS_BLOCK_EVENT;
extern TraceEvent _TRACE_XILINX_ASU_AES_LOAD_KEY_EVENT;
extern TraceEvent _TRACE_XILINX_ASU_AES_LOAD_IV_EVENT;
extern TraceEvent _TRACE_XILINX_ASU_AES_DECRYPT_KEY_EVENT;
extern TraceEvent _TRACE_XILINX_ASU_KV_READ_EVENT;
extern TraceEvent _TRACE_XILINX_ASU_KV_WRITE_EVENT;
extern TraceEvent _TRACE_XILINX_ASU_KV_RAISE_IRQ_EVENT;
extern TraceEvent _TRACE_XILINX_ASU_KV_CLEAR_KEY_EVENT;
extern TraceEvent _TRACE_XILINX_ASU_KV_LOCK_KEY_EVENT;
extern TraceEvent _TRACE_XILINX_ASU_KV_WRITE_KEY_EVENT;
extern uint16_t _TRACE_XILINX_ASU_ECC_READ_DSTATE;
extern uint16_t _TRACE_XILINX_ASU_ECC_WRITE_DSTATE;
extern uint16_t _TRACE_XILINX_ASU_AES_READ_DSTATE;
extern uint16_t _TRACE_XILINX_ASU_AES_WRITE_DSTATE;
extern uint16_t _TRACE_XILINX_ASU_AES_RAISE_IRQ_DSTATE;
extern uint16_t _TRACE_XILINX_ASU_AES_SEND_DSTATE;
extern uint16_t _TRACE_XILINX_ASU_AES_SEND_MASK_DSTATE;
extern uint16_t _TRACE_XILINX_ASU_AES_RECV_DSTATE;
extern uint16_t _TRACE_XILINX_ASU_AES_DROP_DSTATE;
extern uint16_t _TRACE_XILINX_ASU_AES_PROCESS_BLOCK_DSTATE;
extern uint16_t _TRACE_XILINX_ASU_AES_LOAD_KEY_DSTATE;
extern uint16_t _TRACE_XILINX_ASU_AES_LOAD_IV_DSTATE;
extern uint16_t _TRACE_XILINX_ASU_AES_DECRYPT_KEY_DSTATE;
extern uint16_t _TRACE_XILINX_ASU_KV_READ_DSTATE;
extern uint16_t _TRACE_XILINX_ASU_KV_WRITE_DSTATE;
extern uint16_t _TRACE_XILINX_ASU_KV_RAISE_IRQ_DSTATE;
extern uint16_t _TRACE_XILINX_ASU_KV_CLEAR_KEY_DSTATE;
extern uint16_t _TRACE_XILINX_ASU_KV_LOCK_KEY_DSTATE;
extern uint16_t _TRACE_XILINX_ASU_KV_WRITE_KEY_DSTATE;
#define TRACE_XILINX_ASU_ECC_READ_ENABLED 1
#define TRACE_XILINX_ASU_ECC_WRITE_ENABLED 1
#define TRACE_XILINX_ASU_AES_READ_ENABLED 1
#define TRACE_XILINX_ASU_AES_WRITE_ENABLED 1
#define TRACE_XILINX_ASU_AES_RAISE_IRQ_ENABLED 1
#define TRACE_XILINX_ASU_AES_SEND_ENABLED 1
#define TRACE_XILINX_ASU_AES_SEND_MASK_ENABLED 1
#define TRACE_XILINX_ASU_AES_RECV_ENABLED 1
#define TRACE_XILINX_ASU_AES_DROP_ENABLED 1
#define TRACE_XILINX_ASU_AES_PROCESS_BLOCK_ENABLED 1
#define TRACE_XILINX_ASU_AES_LOAD_KEY_ENABLED 1
#define TRACE_XILINX_ASU_AES_LOAD_IV_ENABLED 1
#define TRACE_XILINX_ASU_AES_DECRYPT_KEY_ENABLED 1
#define TRACE_XILINX_ASU_KV_READ_ENABLED 1
#define TRACE_XILINX_ASU_KV_WRITE_ENABLED 1
#define TRACE_XILINX_ASU_KV_RAISE_IRQ_ENABLED 1
#define TRACE_XILINX_ASU_KV_CLEAR_KEY_ENABLED 1
#define TRACE_XILINX_ASU_KV_LOCK_KEY_ENABLED 1
#define TRACE_XILINX_ASU_KV_WRITE_KEY_ENABLED 1
#include "qemu/log-for-trace.h"
#include "qemu/error-report.h"


#define TRACE_XILINX_ASU_ECC_READ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_ECC_READ) || \
    false)

static inline void _nocheck__trace_xilinx_asu_ecc_read(uint64_t addr, uint64_t data, unsigned int size)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_ECC_READ) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 2 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_ecc_read " "addr 0x%" PRIx64 ", data 0x%" PRIx64 ", size %u" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , addr, data, size);
#line 85 "trace/trace-hw_crypto.h"
        } else {
#line 2 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_ecc_read " "addr 0x%" PRIx64 ", data 0x%" PRIx64 ", size %u" "\n", addr, data, size);
#line 89 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_ecc_read(uint64_t addr, uint64_t data, unsigned int size)
{
    if (true) {
        _nocheck__trace_xilinx_asu_ecc_read(addr, data, size);
    }
}

#define TRACE_XILINX_ASU_ECC_WRITE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_ECC_WRITE) || \
    false)

static inline void _nocheck__trace_xilinx_asu_ecc_write(uint64_t addr, uint64_t data, unsigned int size)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_ECC_WRITE) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 3 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_ecc_write " "addr 0x%" PRIx64 ", data 0x%" PRIx64 ", size %u" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , addr, data, size);
#line 116 "trace/trace-hw_crypto.h"
        } else {
#line 3 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_ecc_write " "addr 0x%" PRIx64 ", data 0x%" PRIx64 ", size %u" "\n", addr, data, size);
#line 120 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_ecc_write(uint64_t addr, uint64_t data, unsigned int size)
{
    if (true) {
        _nocheck__trace_xilinx_asu_ecc_write(addr, data, size);
    }
}

#define TRACE_XILINX_ASU_AES_READ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_AES_READ) || \
    false)

static inline void _nocheck__trace_xilinx_asu_aes_read(uint64_t addr, uint64_t value, unsigned int size)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_AES_READ) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 6 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_aes_read " "addr: 0x%" PRIx64 " value: 0x%" PRIx64 " size: %u" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , addr, value, size);
#line 147 "trace/trace-hw_crypto.h"
        } else {
#line 6 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_aes_read " "addr: 0x%" PRIx64 " value: 0x%" PRIx64 " size: %u" "\n", addr, value, size);
#line 151 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_aes_read(uint64_t addr, uint64_t value, unsigned int size)
{
    if (true) {
        _nocheck__trace_xilinx_asu_aes_read(addr, value, size);
    }
}

#define TRACE_XILINX_ASU_AES_WRITE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_AES_WRITE) || \
    false)

static inline void _nocheck__trace_xilinx_asu_aes_write(uint64_t addr, uint64_t value, unsigned int size)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_AES_WRITE) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 7 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_aes_write " "addr: 0x%" PRIx64 " value: 0x%" PRIx64 " size: %u" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , addr, value, size);
#line 178 "trace/trace-hw_crypto.h"
        } else {
#line 7 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_aes_write " "addr: 0x%" PRIx64 " value: 0x%" PRIx64 " size: %u" "\n", addr, value, size);
#line 182 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_aes_write(uint64_t addr, uint64_t value, unsigned int size)
{
    if (true) {
        _nocheck__trace_xilinx_asu_aes_write(addr, value, size);
    }
}

#define TRACE_XILINX_ASU_AES_RAISE_IRQ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_AES_RAISE_IRQ) || \
    false)

static inline void _nocheck__trace_xilinx_asu_aes_raise_irq(void)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_AES_RAISE_IRQ) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 8 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_aes_raise_irq " "" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     );
#line 209 "trace/trace-hw_crypto.h"
        } else {
#line 8 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_aes_raise_irq " "" "\n");
#line 213 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_aes_raise_irq(void)
{
    if (true) {
        _nocheck__trace_xilinx_asu_aes_raise_irq();
    }
}

#define TRACE_XILINX_ASU_AES_SEND_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_AES_SEND) || \
    false)

static inline void _nocheck__trace_xilinx_asu_aes_send(size_t len, bool eop)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_AES_SEND) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 9 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_aes_send " "size: %zu, eop: %d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , len, eop);
#line 240 "trace/trace-hw_crypto.h"
        } else {
#line 9 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_aes_send " "size: %zu, eop: %d" "\n", len, eop);
#line 244 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_aes_send(size_t len, bool eop)
{
    if (true) {
        _nocheck__trace_xilinx_asu_aes_send(len, eop);
    }
}

#define TRACE_XILINX_ASU_AES_SEND_MASK_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_AES_SEND_MASK) || \
    false)

static inline void _nocheck__trace_xilinx_asu_aes_send_mask(size_t len, bool eop)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_AES_SEND_MASK) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 10 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_aes_send_mask " "size: %zu, eop: %d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , len, eop);
#line 271 "trace/trace-hw_crypto.h"
        } else {
#line 10 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_aes_send_mask " "size: %zu, eop: %d" "\n", len, eop);
#line 275 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_aes_send_mask(size_t len, bool eop)
{
    if (true) {
        _nocheck__trace_xilinx_asu_aes_send_mask(len, eop);
    }
}

#define TRACE_XILINX_ASU_AES_RECV_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_AES_RECV) || \
    false)

static inline void _nocheck__trace_xilinx_asu_aes_recv(size_t len, bool eop)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_AES_RECV) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 11 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_aes_recv " "size: %zu, eop: %d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , len, eop);
#line 302 "trace/trace-hw_crypto.h"
        } else {
#line 11 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_aes_recv " "size: %zu, eop: %d" "\n", len, eop);
#line 306 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_aes_recv(size_t len, bool eop)
{
    if (true) {
        _nocheck__trace_xilinx_asu_aes_recv(len, eop);
    }
}

#define TRACE_XILINX_ASU_AES_DROP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_AES_DROP) || \
    false)

static inline void _nocheck__trace_xilinx_asu_aes_drop(size_t len, bool eop)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_AES_DROP) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 12 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_aes_drop " "size: %zu, eop: %d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , len, eop);
#line 333 "trace/trace-hw_crypto.h"
        } else {
#line 12 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_aes_drop " "size: %zu, eop: %d" "\n", len, eop);
#line 337 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_aes_drop(size_t len, bool eop)
{
    if (true) {
        _nocheck__trace_xilinx_asu_aes_drop(len, eop);
    }
}

#define TRACE_XILINX_ASU_AES_PROCESS_BLOCK_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_AES_PROCESS_BLOCK) || \
    false)

static inline void _nocheck__trace_xilinx_asu_aes_process_block(const char * mode, const char * op)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_AES_PROCESS_BLOCK) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 13 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_aes_process_block " "%s %s" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , mode, op);
#line 364 "trace/trace-hw_crypto.h"
        } else {
#line 13 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_aes_process_block " "%s %s" "\n", mode, op);
#line 368 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_aes_process_block(const char * mode, const char * op)
{
    if (true) {
        _nocheck__trace_xilinx_asu_aes_process_block(mode, op);
    }
}

#define TRACE_XILINX_ASU_AES_LOAD_KEY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_AES_LOAD_KEY) || \
    false)

static inline void _nocheck__trace_xilinx_asu_aes_load_key(size_t len)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_AES_LOAD_KEY) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 14 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_aes_load_key " "size: %zu" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , len);
#line 395 "trace/trace-hw_crypto.h"
        } else {
#line 14 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_aes_load_key " "size: %zu" "\n", len);
#line 399 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_aes_load_key(size_t len)
{
    if (true) {
        _nocheck__trace_xilinx_asu_aes_load_key(len);
    }
}

#define TRACE_XILINX_ASU_AES_LOAD_IV_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_AES_LOAD_IV) || \
    false)

static inline void _nocheck__trace_xilinx_asu_aes_load_iv(void)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_AES_LOAD_IV) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 15 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_aes_load_iv " "" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     );
#line 426 "trace/trace-hw_crypto.h"
        } else {
#line 15 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_aes_load_iv " "" "\n");
#line 430 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_aes_load_iv(void)
{
    if (true) {
        _nocheck__trace_xilinx_asu_aes_load_iv();
    }
}

#define TRACE_XILINX_ASU_AES_DECRYPT_KEY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_AES_DECRYPT_KEY) || \
    false)

static inline void _nocheck__trace_xilinx_asu_aes_decrypt_key(size_t len)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_AES_DECRYPT_KEY) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 16 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_aes_decrypt_key " "size: %zu" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , len);
#line 457 "trace/trace-hw_crypto.h"
        } else {
#line 16 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_aes_decrypt_key " "size: %zu" "\n", len);
#line 461 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_aes_decrypt_key(size_t len)
{
    if (true) {
        _nocheck__trace_xilinx_asu_aes_decrypt_key(len);
    }
}

#define TRACE_XILINX_ASU_KV_READ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_KV_READ) || \
    false)

static inline void _nocheck__trace_xilinx_asu_kv_read(uint64_t addr, uint64_t value, unsigned int size)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_KV_READ) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 19 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_kv_read " "addr: 0x%" PRIx64 " value: 0x%" PRIx64 " size: %u" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , addr, value, size);
#line 488 "trace/trace-hw_crypto.h"
        } else {
#line 19 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_kv_read " "addr: 0x%" PRIx64 " value: 0x%" PRIx64 " size: %u" "\n", addr, value, size);
#line 492 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_kv_read(uint64_t addr, uint64_t value, unsigned int size)
{
    if (true) {
        _nocheck__trace_xilinx_asu_kv_read(addr, value, size);
    }
}

#define TRACE_XILINX_ASU_KV_WRITE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_KV_WRITE) || \
    false)

static inline void _nocheck__trace_xilinx_asu_kv_write(uint64_t addr, uint64_t value, unsigned int size)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_KV_WRITE) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 20 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_kv_write " "addr: 0x%" PRIx64 " value: 0x%" PRIx64 " size: %u" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , addr, value, size);
#line 519 "trace/trace-hw_crypto.h"
        } else {
#line 20 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_kv_write " "addr: 0x%" PRIx64 " value: 0x%" PRIx64 " size: %u" "\n", addr, value, size);
#line 523 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_kv_write(uint64_t addr, uint64_t value, unsigned int size)
{
    if (true) {
        _nocheck__trace_xilinx_asu_kv_write(addr, value, size);
    }
}

#define TRACE_XILINX_ASU_KV_RAISE_IRQ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_KV_RAISE_IRQ) || \
    false)

static inline void _nocheck__trace_xilinx_asu_kv_raise_irq(void)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_KV_RAISE_IRQ) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 21 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_kv_raise_irq " "" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     );
#line 550 "trace/trace-hw_crypto.h"
        } else {
#line 21 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_kv_raise_irq " "" "\n");
#line 554 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_kv_raise_irq(void)
{
    if (true) {
        _nocheck__trace_xilinx_asu_kv_raise_irq();
    }
}

#define TRACE_XILINX_ASU_KV_CLEAR_KEY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_KV_CLEAR_KEY) || \
    false)

static inline void _nocheck__trace_xilinx_asu_kv_clear_key(const char * k)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_KV_CLEAR_KEY) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 22 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_kv_clear_key " "%s" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , k);
#line 581 "trace/trace-hw_crypto.h"
        } else {
#line 22 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_kv_clear_key " "%s" "\n", k);
#line 585 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_kv_clear_key(const char * k)
{
    if (true) {
        _nocheck__trace_xilinx_asu_kv_clear_key(k);
    }
}

#define TRACE_XILINX_ASU_KV_LOCK_KEY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_KV_LOCK_KEY) || \
    false)

static inline void _nocheck__trace_xilinx_asu_kv_lock_key(const char * k)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_KV_LOCK_KEY) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 23 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_kv_lock_key " "%s" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , k);
#line 612 "trace/trace-hw_crypto.h"
        } else {
#line 23 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_kv_lock_key " "%s" "\n", k);
#line 616 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_kv_lock_key(const char * k)
{
    if (true) {
        _nocheck__trace_xilinx_asu_kv_lock_key(k);
    }
}

#define TRACE_XILINX_ASU_KV_WRITE_KEY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XILINX_ASU_KV_WRITE_KEY) || \
    false)

static inline void _nocheck__trace_xilinx_asu_kv_write_key(const char * k)
{
    if (trace_event_get_state(TRACE_XILINX_ASU_KV_WRITE_KEY) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 24 "../git/hw/crypto/trace-events"
            qemu_log("%d@%zu.%06zu:xilinx_asu_kv_write_key " "%s" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , k);
#line 643 "trace/trace-hw_crypto.h"
        } else {
#line 24 "../git/hw/crypto/trace-events"
            qemu_log("xilinx_asu_kv_write_key " "%s" "\n", k);
#line 647 "trace/trace-hw_crypto.h"
        }
    }
}

static inline void trace_xilinx_asu_kv_write_key(const char * k)
{
    if (true) {
        _nocheck__trace_xilinx_asu_kv_write_key(k);
    }
}
#endif /* TRACE_HW_CRYPTO_GENERATED_TRACERS_H */
