/// reference counting
#[no_mangle]
pub unsafe extern "C" fn json_object_get(mut jso: *mut json_object) -> *mut json_object {
    if jso.is_null() {
        return jso;
    }
    // Don't overflow the refcounter.
    '_c2rust_label: {
        if (*jso)._ref_count < 4294967295 as uint32_t {
        } else {
            __assert_fail(
                b"jso->_ref_count < UINT32_MAX\0" as *const u8 as *const ::core::ffi::c_char,
                b"json_object.c\0" as *const u8 as *const ::core::ffi::c_char,
                174 as ::core::ffi::c_uint,
                b"struct json_object *json_object_get(struct json_object *)\0" as *const u8
                    as *const ::core::ffi::c_char,
            );
        }
    };
    (*jso)._ref_count = (*jso)._ref_count.wrapping_add(1);
    return jso;
}