extern void __VERIFIER_error() __attribute__ ((__noreturn__)); /* Generated by CIL v. 1.5.1 */ /* print_CIL_Input is false */ struct kernel_symbol { unsigned long value ; char const *name ; }; struct module; typedef signed char __s8; typedef unsigned char __u8; typedef short __s16; typedef unsigned short __u16; typedef int __s32; typedef unsigned int __u32; typedef long long __s64; typedef unsigned long long __u64; typedef signed char s8; typedef unsigned char u8; typedef short s16; typedef unsigned short u16; typedef int s32; typedef unsigned int u32; typedef long long s64; typedef unsigned long long u64; typedef long __kernel_long_t; typedef unsigned long __kernel_ulong_t; typedef int __kernel_pid_t; typedef __kernel_long_t __kernel_suseconds_t; typedef unsigned int __kernel_uid32_t; typedef unsigned int __kernel_gid32_t; typedef __kernel_ulong_t __kernel_size_t; typedef __kernel_long_t __kernel_ssize_t; typedef long long __kernel_loff_t; typedef __kernel_long_t __kernel_time_t; typedef __kernel_long_t __kernel_clock_t; typedef int __kernel_timer_t; typedef int __kernel_clockid_t; typedef __u16 __le16; typedef __u32 __le32; typedef __u32 __kernel_dev_t; typedef __kernel_dev_t dev_t; typedef unsigned short umode_t; typedef __kernel_pid_t pid_t; typedef __kernel_clockid_t clockid_t; typedef _Bool bool; typedef __kernel_uid32_t uid_t; typedef __kernel_gid32_t gid_t; typedef __kernel_loff_t loff_t; typedef __kernel_size_t size_t; typedef __kernel_ssize_t ssize_t; typedef __kernel_time_t time_t; typedef __s32 int32_t; typedef __u32 uint32_t; typedef unsigned long sector_t; typedef unsigned long blkcnt_t; typedef u64 dma_addr_t; typedef unsigned int gfp_t; typedef unsigned int fmode_t; typedef unsigned int oom_flags_t; struct __anonstruct_atomic_t_6 { int counter ; }; typedef struct __anonstruct_atomic_t_6 atomic_t; struct __anonstruct_atomic64_t_7 { long counter ; }; typedef struct __anonstruct_atomic64_t_7 atomic64_t; struct list_head { struct list_head *next ; struct list_head *prev ; }; struct hlist_node; struct hlist_head { struct hlist_node *first ; }; struct hlist_node { struct hlist_node *next ; struct hlist_node **pprev ; }; struct callback_head { struct callback_head *next ; void (*func)(struct callback_head * ) ; }; typedef void (*ctor_fn_t)(void); struct file_operations; struct device; struct completion; struct pt_regs; struct pid; typedef u16 __ticket_t; typedef u32 __ticketpair_t; struct __raw_tickets { __ticket_t head ; __ticket_t tail ; }; union __anonunion_ldv_2043_8 { __ticketpair_t head_tail ; struct __raw_tickets tickets ; }; struct arch_spinlock { union __anonunion_ldv_2043_8 ldv_2043 ; }; typedef struct arch_spinlock arch_spinlock_t; struct __anonstruct_ldv_2050_10 { u32 read ; s32 write ; }; union __anonunion_arch_rwlock_t_9 { s64 lock ; struct __anonstruct_ldv_2050_10 ldv_2050 ; }; typedef union __anonunion_arch_rwlock_t_9 arch_rwlock_t; struct task_struct; struct lockdep_map; struct mm_struct; struct pt_regs { unsigned long r15 ; unsigned long r14 ; unsigned long r13 ; unsigned long r12 ; unsigned long bp ; unsigned long bx ; unsigned long r11 ; unsigned long r10 ; unsigned long r9 ; unsigned long r8 ; unsigned long ax ; unsigned long cx ; unsigned long dx ; unsigned long si ; unsigned long di ; unsigned long orig_ax ; unsigned long ip ; unsigned long cs ; unsigned long flags ; unsigned long sp ; unsigned long ss ; }; struct __anonstruct_ldv_2103_12 { unsigned int a ; unsigned int b ; }; struct __anonstruct_ldv_2118_13 { u16 limit0 ; u16 base0 ; unsigned char base1 ; unsigned char type : 4 ; unsigned char s : 1 ; unsigned char dpl : 2 ; unsigned char p : 1 ; unsigned char limit : 4 ; unsigned char avl : 1 ; unsigned char l : 1 ; unsigned char d : 1 ; unsigned char g : 1 ; unsigned char base2 ; }; union __anonunion_ldv_2119_11 { struct __anonstruct_ldv_2103_12 ldv_2103 ; struct __anonstruct_ldv_2118_13 ldv_2118 ; }; struct desc_struct { union __anonunion_ldv_2119_11 ldv_2119 ; }; typedef unsigned long pgdval_t; typedef unsigned long pgprotval_t; struct pgprot { pgprotval_t pgprot ; }; typedef struct pgprot pgprot_t; struct __anonstruct_pgd_t_15 { pgdval_t pgd ; }; typedef struct __anonstruct_pgd_t_15 pgd_t; struct page; typedef struct page *pgtable_t; struct file; struct seq_file; struct thread_struct; struct cpumask; struct kernel_vm86_regs { struct pt_regs pt ; unsigned short es ; unsigned short __esh ; unsigned short ds ; unsigned short __dsh ; unsigned short fs ; unsigned short __fsh ; unsigned short gs ; unsigned short __gsh ; }; union __anonunion_ldv_2775_18 { struct pt_regs *regs ; struct kernel_vm86_regs *vm86 ; }; struct math_emu_info { long ___orig_eip ; union __anonunion_ldv_2775_18 ldv_2775 ; }; struct bug_entry { int bug_addr_disp ; int file_disp ; unsigned short line ; unsigned short flags ; }; struct cpumask { unsigned long bits[64U] ; }; typedef struct cpumask cpumask_t; typedef struct cpumask *cpumask_var_t; struct static_key; struct exec_domain; struct map_segment; struct exec_domain { char const *name ; void (*handler)(int , struct pt_regs * ) ; unsigned char pers_low ; unsigned char pers_high ; unsigned long *signal_map ; unsigned long *signal_invmap ; struct map_segment *err_map ; struct map_segment *socktype_map ; struct map_segment *sockopt_map ; struct map_segment *af_map ; struct module *module ; struct exec_domain *next ; }; struct i387_fsave_struct { u32 cwd ; u32 swd ; u32 twd ; u32 fip ; u32 fcs ; u32 foo ; u32 fos ; u32 st_space[20U] ; u32 status ; }; struct __anonstruct_ldv_5181_23 { u64 rip ; u64 rdp ; }; struct __anonstruct_ldv_5187_24 { u32 fip ; u32 fcs ; u32 foo ; u32 fos ; }; union __anonunion_ldv_5188_22 { struct __anonstruct_ldv_5181_23 ldv_5181 ; struct __anonstruct_ldv_5187_24 ldv_5187 ; }; union __anonunion_ldv_5197_25 { u32 padding1[12U] ; u32 sw_reserved[12U] ; }; struct i387_fxsave_struct { u16 cwd ; u16 swd ; u16 twd ; u16 fop ; union __anonunion_ldv_5188_22 ldv_5188 ; u32 mxcsr ; u32 mxcsr_mask ; u32 st_space[32U] ; u32 xmm_space[64U] ; u32 padding[12U] ; union __anonunion_ldv_5197_25 ldv_5197 ; }; struct i387_soft_struct { u32 cwd ; u32 swd ; u32 twd ; u32 fip ; u32 fcs ; u32 foo ; u32 fos ; u32 st_space[20U] ; u8 ftop ; u8 changed ; u8 lookahead ; u8 no_update ; u8 rm ; u8 alimit ; struct math_emu_info *info ; u32 entry_eip ; }; struct ymmh_struct { u32 ymmh_space[64U] ; }; struct xsave_hdr_struct { u64 xstate_bv ; u64 reserved1[2U] ; u64 reserved2[5U] ; }; struct xsave_struct { struct i387_fxsave_struct i387 ; struct xsave_hdr_struct xsave_hdr ; struct ymmh_struct ymmh ; }; union thread_xstate { struct i387_fsave_struct fsave ; struct i387_fxsave_struct fxsave ; struct i387_soft_struct soft ; struct xsave_struct xsave ; }; struct fpu { unsigned int last_cpu ; unsigned int has_fpu ; union thread_xstate *state ; }; struct kmem_cache; struct perf_event; struct thread_struct { struct desc_struct tls_array[3U] ; unsigned long sp0 ; unsigned long sp ; unsigned long usersp ; unsigned short es ; unsigned short ds ; unsigned short fsindex ; unsigned short gsindex ; unsigned long fs ; unsigned long gs ; struct perf_event *ptrace_bps[4U] ; unsigned long debugreg6 ; unsigned long ptrace_dr7 ; unsigned long cr2 ; unsigned long trap_nr ; unsigned long error_code ; struct fpu fpu ; unsigned long *io_bitmap_ptr ; unsigned long iopl ; unsigned int io_bitmap_max ; }; struct __anonstruct_mm_segment_t_27 { unsigned long seg ; }; typedef struct __anonstruct_mm_segment_t_27 mm_segment_t; typedef atomic64_t atomic_long_t; struct stack_trace { unsigned int nr_entries ; unsigned int max_entries ; unsigned long *entries ; int skip ; }; struct lockdep_subclass_key { char __one_byte ; } __attribute__((__packed__)) ; struct lock_class_key { struct lockdep_subclass_key subkeys[8U] ; }; struct lock_class { struct list_head hash_entry ; struct list_head lock_entry ; struct lockdep_subclass_key *key ; unsigned int subclass ; unsigned int dep_gen_id ; unsigned long usage_mask ; struct stack_trace usage_traces[13U] ; struct list_head locks_after ; struct list_head locks_before ; unsigned int version ; unsigned long ops ; char const *name ; int name_version ; unsigned long contention_point[4U] ; unsigned long contending_point[4U] ; }; struct lockdep_map { struct lock_class_key *key ; struct lock_class *class_cache[2U] ; char const *name ; int cpu ; unsigned long ip ; }; struct held_lock { u64 prev_chain_key ; unsigned long acquire_ip ; struct lockdep_map *instance ; struct lockdep_map *nest_lock ; u64 waittime_stamp ; u64 holdtime_stamp ; unsigned short class_idx : 13 ; unsigned char irq_context : 2 ; unsigned char trylock : 1 ; unsigned char read : 2 ; unsigned char check : 2 ; unsigned char hardirqs_off : 1 ; unsigned short references : 11 ; }; struct raw_spinlock { arch_spinlock_t raw_lock ; unsigned int magic ; unsigned int owner_cpu ; void *owner ; struct lockdep_map dep_map ; }; typedef struct raw_spinlock raw_spinlock_t; struct __anonstruct_ldv_6013_29 { u8 __padding[24U] ; struct lockdep_map dep_map ; }; union __anonunion_ldv_6014_28 { struct raw_spinlock rlock ; struct __anonstruct_ldv_6013_29 ldv_6013 ; }; struct spinlock { union __anonunion_ldv_6014_28 ldv_6014 ; }; typedef struct spinlock spinlock_t; struct __anonstruct_rwlock_t_30 { arch_rwlock_t raw_lock ; unsigned int magic ; unsigned int owner_cpu ; void *owner ; struct lockdep_map dep_map ; }; typedef struct __anonstruct_rwlock_t_30 rwlock_t; struct mutex { atomic_t count ; spinlock_t wait_lock ; struct list_head wait_list ; struct task_struct *owner ; char const *name ; void *magic ; struct lockdep_map dep_map ; }; struct mutex_waiter { struct list_head list ; struct task_struct *task ; void *magic ; }; struct timespec; struct compat_timespec; struct __anonstruct_futex_32 { u32 *uaddr ; u32 val ; u32 flags ; u32 bitset ; u64 time ; u32 *uaddr2 ; }; struct __anonstruct_nanosleep_33 { clockid_t clockid ; struct timespec *rmtp ; struct compat_timespec *compat_rmtp ; u64 expires ; }; struct pollfd; struct __anonstruct_poll_34 { struct pollfd *ufds ; int nfds ; int has_timeout ; unsigned long tv_sec ; unsigned long tv_nsec ; }; union __anonunion_ldv_6514_31 { struct __anonstruct_futex_32 futex ; struct __anonstruct_nanosleep_33 nanosleep ; struct __anonstruct_poll_34 poll ; }; struct restart_block { long (*fn)(struct restart_block * ) ; union __anonunion_ldv_6514_31 ldv_6514 ; }; struct thread_info { struct task_struct *task ; struct exec_domain *exec_domain ; __u32 flags ; __u32 status ; __u32 cpu ; int preempt_count ; mm_segment_t addr_limit ; struct restart_block restart_block ; void *sysenter_return ; unsigned char sig_on_uaccess_error : 1 ; unsigned char uaccess_err : 1 ; }; struct seqcount { unsigned int sequence ; }; typedef struct seqcount seqcount_t; struct timespec { __kernel_time_t tv_sec ; long tv_nsec ; }; struct timeval { __kernel_time_t tv_sec ; __kernel_suseconds_t tv_usec ; }; struct user_namespace; typedef uid_t kuid_t; typedef gid_t kgid_t; struct kstat { u64 ino ; dev_t dev ; umode_t mode ; unsigned int nlink ; kuid_t uid ; kgid_t gid ; dev_t rdev ; loff_t size ; struct timespec atime ; struct timespec mtime ; struct timespec ctime ; unsigned long blksize ; unsigned long long blocks ; }; struct __wait_queue; typedef struct __wait_queue wait_queue_t; struct __wait_queue { unsigned int flags ; void *private ; int (*func)(wait_queue_t * , unsigned int , int , void * ) ; struct list_head task_list ; }; struct __wait_queue_head { spinlock_t lock ; struct list_head task_list ; }; typedef struct __wait_queue_head wait_queue_head_t; struct __anonstruct_nodemask_t_36 { unsigned long bits[16U] ; }; typedef struct __anonstruct_nodemask_t_36 nodemask_t; struct rw_semaphore; struct rw_semaphore { long count ; raw_spinlock_t wait_lock ; struct list_head wait_list ; struct lockdep_map dep_map ; }; struct completion { unsigned int done ; wait_queue_head_t wait ; }; union ktime { s64 tv64 ; }; typedef union ktime ktime_t; struct tvec_base; struct timer_list { struct list_head entry ; unsigned long expires ; struct tvec_base *base ; void (*function)(unsigned long ) ; unsigned long data ; int slack ; int start_pid ; void *start_site ; char start_comm[16U] ; struct lockdep_map lockdep_map ; }; struct hrtimer; enum hrtimer_restart; struct work_struct; struct work_struct { atomic_long_t data ; struct list_head entry ; void (*func)(struct work_struct * ) ; struct lockdep_map lockdep_map ; }; struct pm_message { int event ; }; typedef struct pm_message pm_message_t; struct dev_pm_ops { int (*prepare)(struct device * ) ; void (*complete)(struct device * ) ; int (*suspend)(struct device * ) ; int (*resume)(struct device * ) ; int (*freeze)(struct device * ) ; int (*thaw)(struct device * ) ; int (*poweroff)(struct device * ) ; int (*restore)(struct device * ) ; int (*suspend_late)(struct device * ) ; int (*resume_early)(struct device * ) ; int (*freeze_late)(struct device * ) ; int (*thaw_early)(struct device * ) ; int (*poweroff_late)(struct device * ) ; int (*restore_early)(struct device * ) ; int (*suspend_noirq)(struct device * ) ; int (*resume_noirq)(struct device * ) ; int (*freeze_noirq)(struct device * ) ; int (*thaw_noirq)(struct device * ) ; int (*poweroff_noirq)(struct device * ) ; int (*restore_noirq)(struct device * ) ; int (*runtime_suspend)(struct device * ) ; int (*runtime_resume)(struct device * ) ; int (*runtime_idle)(struct device * ) ; }; enum rpm_status { RPM_ACTIVE = 0, RPM_RESUMING = 1, RPM_SUSPENDED = 2, RPM_SUSPENDING = 3 } ; enum rpm_request { RPM_REQ_NONE = 0, RPM_REQ_IDLE = 1, RPM_REQ_SUSPEND = 2, RPM_REQ_AUTOSUSPEND = 3, RPM_REQ_RESUME = 4 } ; struct wakeup_source; struct pm_subsys_data { spinlock_t lock ; unsigned int refcount ; struct list_head clock_list ; }; struct dev_pm_qos; struct dev_pm_info { pm_message_t power_state ; unsigned char can_wakeup : 1 ; unsigned char async_suspend : 1 ; bool is_prepared ; bool is_suspended ; bool ignore_children ; bool early_init ; spinlock_t lock ; struct list_head entry ; struct completion completion ; struct wakeup_source *wakeup ; bool wakeup_path ; bool syscore ; struct timer_list suspend_timer ; unsigned long timer_expires ; struct work_struct work ; wait_queue_head_t wait_queue ; atomic_t usage_count ; atomic_t child_count ; unsigned char disable_depth : 3 ; unsigned char idle_notification : 1 ; unsigned char request_pending : 1 ; unsigned char deferred_resume : 1 ; unsigned char run_wake : 1 ; unsigned char runtime_auto : 1 ; unsigned char no_callbacks : 1 ; unsigned char irq_safe : 1 ; unsigned char use_autosuspend : 1 ; unsigned char timer_autosuspends : 1 ; unsigned char memalloc_noio : 1 ; enum rpm_request request ; enum rpm_status runtime_status ; int runtime_error ; int autosuspend_delay ; unsigned long last_busy ; unsigned long active_jiffies ; unsigned long suspended_jiffies ; unsigned long accounting_timestamp ; struct pm_subsys_data *subsys_data ; struct dev_pm_qos *qos ; }; struct dev_pm_domain { struct dev_pm_ops ops ; }; struct __anonstruct_mm_context_t_101 { void *ldt ; int size ; unsigned short ia32_compat ; struct mutex lock ; void *vdso ; }; typedef struct __anonstruct_mm_context_t_101 mm_context_t; struct rb_node { unsigned long __rb_parent_color ; struct rb_node *rb_right ; struct rb_node *rb_left ; }; struct rb_root { struct rb_node *rb_node ; }; struct vm_area_struct; struct device_node; struct nsproxy; struct cred; typedef __u64 Elf64_Addr; typedef __u16 Elf64_Half; typedef __u32 Elf64_Word; typedef __u64 Elf64_Xword; struct elf64_sym { Elf64_Word st_name ; unsigned char st_info ; unsigned char st_other ; Elf64_Half st_shndx ; Elf64_Addr st_value ; Elf64_Xword st_size ; }; typedef struct elf64_sym Elf64_Sym; struct sock; struct kobject; enum kobj_ns_type { KOBJ_NS_TYPE_NONE = 0, KOBJ_NS_TYPE_NET = 1, KOBJ_NS_TYPES = 2 } ; struct kobj_ns_type_operations { enum kobj_ns_type type ; void *(*grab_current_ns)(void) ; void const *(*netlink_ns)(struct sock * ) ; void const *(*initial_ns)(void) ; void (*drop_ns)(void * ) ; }; struct attribute { char const *name ; umode_t mode ; bool ignore_lockdep ; struct lock_class_key *key ; struct lock_class_key skey ; }; struct attribute_group { char const *name ; umode_t (*is_visible)(struct kobject * , struct attribute * , int ) ; struct attribute **attrs ; }; struct bin_attribute { struct attribute attr ; size_t size ; void *private ; ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * , loff_t , size_t ) ; ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * , loff_t , size_t ) ; int (*mmap)(struct file * , struct kobject * , struct bin_attribute * , struct vm_area_struct * ) ; }; struct sysfs_ops { ssize_t (*show)(struct kobject * , struct attribute * , char * ) ; ssize_t (*store)(struct kobject * , struct attribute * , char const * , size_t ) ; void const *(*namespace)(struct kobject * , struct attribute const * ) ; }; struct sysfs_dirent; struct kref { atomic_t refcount ; }; struct kset; struct kobj_type; struct kobject { char const *name ; struct list_head entry ; struct kobject *parent ; struct kset *kset ; struct kobj_type *ktype ; struct sysfs_dirent *sd ; struct kref kref ; unsigned char state_initialized : 1 ; unsigned char state_in_sysfs : 1 ; unsigned char state_add_uevent_sent : 1 ; unsigned char state_remove_uevent_sent : 1 ; unsigned char uevent_suppress : 1 ; }; struct kobj_type { void (*release)(struct kobject * ) ; struct sysfs_ops const *sysfs_ops ; struct attribute **default_attrs ; struct kobj_ns_type_operations const *(*child_ns_type)(struct kobject * ) ; void const *(*namespace)(struct kobject * ) ; }; struct kobj_uevent_env { char *envp[32U] ; int envp_idx ; char buf[2048U] ; int buflen ; }; struct kset_uevent_ops { int (* const filter)(struct kset * , struct kobject * ) ; char const *(* const name)(struct kset * , struct kobject * ) ; int (* const uevent)(struct kset * , struct kobject * , struct kobj_uevent_env * ) ; }; struct kset { struct list_head list ; spinlock_t list_lock ; struct kobject kobj ; struct kset_uevent_ops const *uevent_ops ; }; struct kernel_param; struct kernel_param_ops { int (*set)(char const * , struct kernel_param const * ) ; int (*get)(char * , struct kernel_param const * ) ; void (*free)(void * ) ; }; struct kparam_string; struct kparam_array; union __anonunion_ldv_14374_134 { void *arg ; struct kparam_string const *str ; struct kparam_array const *arr ; }; struct kernel_param { char const *name ; struct kernel_param_ops const *ops ; u16 perm ; s16 level ; union __anonunion_ldv_14374_134 ldv_14374 ; }; struct kparam_string { unsigned int maxlen ; char *string ; }; struct kparam_array { unsigned int max ; unsigned int elemsize ; unsigned int *num ; struct kernel_param_ops const *ops ; void *elem ; }; struct static_key { atomic_t enabled ; }; struct tracepoint; struct tracepoint_func { void *func ; void *data ; }; struct tracepoint { char const *name ; struct static_key key ; void (*regfunc)(void) ; void (*unregfunc)(void) ; struct tracepoint_func *funcs ; }; struct mod_arch_specific { }; struct module_param_attrs; struct module_kobject { struct kobject kobj ; struct module *mod ; struct kobject *drivers_dir ; struct module_param_attrs *mp ; }; struct module_attribute { struct attribute attr ; ssize_t (*show)(struct module_attribute * , struct module_kobject * , char * ) ; ssize_t (*store)(struct module_attribute * , struct module_kobject * , char const * , size_t ) ; void (*setup)(struct module * , char const * ) ; int (*test)(struct module * ) ; void (*free)(struct module * ) ; }; struct exception_table_entry; enum module_state { MODULE_STATE_LIVE = 0, MODULE_STATE_COMING = 1, MODULE_STATE_GOING = 2, MODULE_STATE_UNFORMED = 3 } ; struct module_ref { unsigned long incs ; unsigned long decs ; }; struct module_sect_attrs; struct module_notes_attrs; struct ftrace_event_call; struct module { enum module_state state ; struct list_head list ; char name[56U] ; struct module_kobject mkobj ; struct module_attribute *modinfo_attrs ; char const *version ; char const *srcversion ; struct kobject *holders_dir ; struct kernel_symbol const *syms ; unsigned long const *crcs ; unsigned int num_syms ; struct kernel_param *kp ; unsigned int num_kp ; unsigned int num_gpl_syms ; struct kernel_symbol const *gpl_syms ; unsigned long const *gpl_crcs ; struct kernel_symbol const *unused_syms ; unsigned long const *unused_crcs ; unsigned int num_unused_syms ; unsigned int num_unused_gpl_syms ; struct kernel_symbol const *unused_gpl_syms ; unsigned long const *unused_gpl_crcs ; bool sig_ok ; struct kernel_symbol const *gpl_future_syms ; unsigned long const *gpl_future_crcs ; unsigned int num_gpl_future_syms ; unsigned int num_exentries ; struct exception_table_entry *extable ; int (*init)(void) ; void *module_init ; void *module_core ; unsigned int init_size ; unsigned int core_size ; unsigned int init_text_size ; unsigned int core_text_size ; unsigned int init_ro_size ; unsigned int core_ro_size ; struct mod_arch_specific arch ; unsigned int taints ; unsigned int num_bugs ; struct list_head bug_list ; struct bug_entry *bug_table ; Elf64_Sym *symtab ; Elf64_Sym *core_symtab ; unsigned int num_symtab ; unsigned int core_num_syms ; char *strtab ; char *core_strtab ; struct module_sect_attrs *sect_attrs ; struct module_notes_attrs *notes_attrs ; char *args ; void *percpu ; unsigned int percpu_size ; unsigned int num_tracepoints ; struct tracepoint * const *tracepoints_ptrs ; unsigned int num_trace_bprintk_fmt ; char const **trace_bprintk_fmt_start ; struct ftrace_event_call **trace_events ; unsigned int num_trace_events ; struct list_head source_list ; struct list_head target_list ; struct task_struct *waiter ; void (*exit)(void) ; struct module_ref *refptr ; ctor_fn_t (**ctors)(void) ; unsigned int num_ctors ; }; struct mem_cgroup; struct kmem_cache_cpu { void **freelist ; unsigned long tid ; struct page *page ; struct page *partial ; unsigned int stat[26U] ; }; struct kmem_cache_order_objects { unsigned long x ; }; struct memcg_cache_params; struct kmem_cache_node; struct kmem_cache { struct kmem_cache_cpu *cpu_slab ; unsigned long flags ; unsigned long min_partial ; int size ; int object_size ; int offset ; int cpu_partial ; struct kmem_cache_order_objects oo ; struct kmem_cache_order_objects max ; struct kmem_cache_order_objects min ; gfp_t allocflags ; int refcount ; void (*ctor)(void * ) ; int inuse ; int align ; int reserved ; char const *name ; struct list_head list ; struct kobject kobj ; struct memcg_cache_params *memcg_params ; int max_attr_size ; int remote_node_defrag_ratio ; struct kmem_cache_node *node[1024U] ; }; struct __anonstruct_ldv_15070_136 { struct mem_cgroup *memcg ; struct list_head list ; struct kmem_cache *root_cache ; bool dead ; atomic_t nr_pages ; struct work_struct destroy ; }; union __anonunion_ldv_15071_135 { struct kmem_cache *memcg_caches[0U] ; struct __anonstruct_ldv_15070_136 ldv_15070 ; }; struct memcg_cache_params { bool is_root_cache ; union __anonunion_ldv_15071_135 ldv_15071 ; }; struct klist_node; struct klist_node { void *n_klist ; struct list_head n_node ; struct kref n_ref ; }; struct dma_map_ops; struct dev_archdata { struct dma_map_ops *dma_ops ; void *iommu ; }; struct device_private; struct device_driver; struct driver_private; struct class; struct subsys_private; struct bus_type; struct iommu_ops; struct iommu_group; struct bus_attribute { struct attribute attr ; ssize_t (*show)(struct bus_type * , char * ) ; ssize_t (*store)(struct bus_type * , char const * , size_t ) ; }; struct device_attribute; struct driver_attribute; struct bus_type { char const *name ; char const *dev_name ; struct device *dev_root ; struct bus_attribute *bus_attrs ; struct device_attribute *dev_attrs ; struct driver_attribute *drv_attrs ; int (*match)(struct device * , struct device_driver * ) ; int (*uevent)(struct device * , struct kobj_uevent_env * ) ; int (*probe)(struct device * ) ; int (*remove)(struct device * ) ; void (*shutdown)(struct device * ) ; int (*suspend)(struct device * , pm_message_t ) ; int (*resume)(struct device * ) ; struct dev_pm_ops const *pm ; struct iommu_ops *iommu_ops ; struct subsys_private *p ; struct lock_class_key lock_key ; }; struct device_type; struct of_device_id; struct acpi_device_id; struct device_driver { char const *name ; struct bus_type *bus ; struct module *owner ; char const *mod_name ; bool suppress_bind_attrs ; struct of_device_id const *of_match_table ; struct acpi_device_id const *acpi_match_table ; int (*probe)(struct device * ) ; int (*remove)(struct device * ) ; void (*shutdown)(struct device * ) ; int (*suspend)(struct device * , pm_message_t ) ; int (*resume)(struct device * ) ; struct attribute_group const **groups ; struct dev_pm_ops const *pm ; struct driver_private *p ; }; struct driver_attribute { struct attribute attr ; ssize_t (*show)(struct device_driver * , char * ) ; ssize_t (*store)(struct device_driver * , char const * , size_t ) ; }; struct class_attribute; struct class { char const *name ; struct module *owner ; struct class_attribute *class_attrs ; struct device_attribute *dev_attrs ; struct bin_attribute *dev_bin_attrs ; struct kobject *dev_kobj ; int (*dev_uevent)(struct device * , struct kobj_uevent_env * ) ; char *(*devnode)(struct device * , umode_t * ) ; void (*class_release)(struct class * ) ; void (*dev_release)(struct device * ) ; int (*suspend)(struct device * , pm_message_t ) ; int (*resume)(struct device * ) ; struct kobj_ns_type_operations const *ns_type ; void const *(*namespace)(struct device * ) ; struct dev_pm_ops const *pm ; struct subsys_private *p ; }; struct class_attribute { struct attribute attr ; ssize_t (*show)(struct class * , struct class_attribute * , char * ) ; ssize_t (*store)(struct class * , struct class_attribute * , char const * , size_t ) ; void const *(*namespace)(struct class * , struct class_attribute const * ) ; }; struct device_type { char const *name ; struct attribute_group const **groups ; int (*uevent)(struct device * , struct kobj_uevent_env * ) ; char *(*devnode)(struct device * , umode_t * , kuid_t * , kgid_t * ) ; void (*release)(struct device * ) ; struct dev_pm_ops const *pm ; }; struct device_attribute { struct attribute attr ; ssize_t (*show)(struct device * , struct device_attribute * , char * ) ; ssize_t (*store)(struct device * , struct device_attribute * , char const * , size_t ) ; }; struct device_dma_parameters { unsigned int max_segment_size ; unsigned long segment_boundary_mask ; }; struct acpi_dev_node { void *handle ; }; struct dma_coherent_mem; struct device { struct device *parent ; struct device_private *p ; struct kobject kobj ; char const *init_name ; struct device_type const *type ; struct mutex mutex ; struct bus_type *bus ; struct device_driver *driver ; void *platform_data ; struct dev_pm_info power ; struct dev_pm_domain *pm_domain ; int numa_node ; u64 *dma_mask ; u64 coherent_dma_mask ; struct device_dma_parameters *dma_parms ; struct list_head dma_pools ; struct dma_coherent_mem *dma_mem ; struct dev_archdata archdata ; struct device_node *of_node ; struct acpi_dev_node acpi_node ; dev_t devt ; u32 id ; spinlock_t devres_lock ; struct list_head devres_head ; struct klist_node knode_class ; struct class *class ; struct attribute_group const **groups ; void (*release)(struct device * ) ; struct iommu_group *iommu_group ; }; struct wakeup_source { char const *name ; struct list_head entry ; spinlock_t lock ; struct timer_list timer ; unsigned long timer_expires ; ktime_t total_time ; ktime_t max_time ; ktime_t last_time ; ktime_t start_prevent_time ; ktime_t prevent_sleep_time ; unsigned long event_count ; unsigned long active_count ; unsigned long relax_count ; unsigned long expire_count ; unsigned long wakeup_count ; bool active ; bool autosleep_enabled ; }; struct hlist_bl_node; struct hlist_bl_head { struct hlist_bl_node *first ; }; struct hlist_bl_node { struct hlist_bl_node *next ; struct hlist_bl_node **pprev ; }; struct nameidata; struct path; struct vfsmount; struct __anonstruct_ldv_16161_138 { u32 hash ; u32 len ; }; union __anonunion_ldv_16163_137 { struct __anonstruct_ldv_16161_138 ldv_16161 ; u64 hash_len ; }; struct qstr { union __anonunion_ldv_16163_137 ldv_16163 ; unsigned char const *name ; }; struct inode; struct dentry_operations; struct super_block; union __anonunion_d_u_139 { struct list_head d_child ; struct callback_head d_rcu ; }; struct dentry { unsigned int d_flags ; seqcount_t d_seq ; struct hlist_bl_node d_hash ; struct dentry *d_parent ; struct qstr d_name ; struct inode *d_inode ; unsigned char d_iname[32U] ; unsigned int d_count ; spinlock_t d_lock ; struct dentry_operations const *d_op ; struct super_block *d_sb ; unsigned long d_time ; void *d_fsdata ; struct list_head d_lru ; union __anonunion_d_u_139 d_u ; struct list_head d_subdirs ; struct hlist_node d_alias ; }; struct dentry_operations { int (*d_revalidate)(struct dentry * , unsigned int ) ; int (*d_weak_revalidate)(struct dentry * , unsigned int ) ; int (*d_hash)(struct dentry const * , struct inode const * , struct qstr * ) ; int (*d_compare)(struct dentry const * , struct inode const * , struct dentry const * , struct inode const * , unsigned int , char const * , struct qstr const * ) ; int (*d_delete)(struct dentry const * ) ; void (*d_release)(struct dentry * ) ; void (*d_prune)(struct dentry * ) ; void (*d_iput)(struct dentry * , struct inode * ) ; char *(*d_dname)(struct dentry * , char * , int ) ; struct vfsmount *(*d_automount)(struct path * ) ; int (*d_manage)(struct dentry * , bool ) ; }; struct path { struct vfsmount *mnt ; struct dentry *dentry ; }; struct radix_tree_node; struct radix_tree_root { unsigned int height ; gfp_t gfp_mask ; struct radix_tree_node *rnode ; }; enum pid_type { PIDTYPE_PID = 0, PIDTYPE_PGID = 1, PIDTYPE_SID = 2, PIDTYPE_MAX = 3 } ; struct pid_namespace; struct upid { int nr ; struct pid_namespace *ns ; struct hlist_node pid_chain ; }; struct pid { atomic_t count ; unsigned int level ; struct hlist_head tasks[3U] ; struct callback_head rcu ; struct upid numbers[1U] ; }; struct pid_link { struct hlist_node node ; struct pid *pid ; }; struct kernel_cap_struct { __u32 cap[2U] ; }; typedef struct kernel_cap_struct kernel_cap_t; struct fiemap_extent { __u64 fe_logical ; __u64 fe_physical ; __u64 fe_length ; __u64 fe_reserved64[2U] ; __u32 fe_flags ; __u32 fe_reserved[3U] ; }; struct shrink_control { gfp_t gfp_mask ; unsigned long nr_to_scan ; }; struct shrinker { int (*shrink)(struct shrinker * , struct shrink_control * ) ; int seeks ; long batch ; struct list_head list ; atomic_long_t nr_in_batch ; }; enum migrate_mode { MIGRATE_ASYNC = 0, MIGRATE_SYNC_LIGHT = 1, MIGRATE_SYNC = 2 } ; struct block_device; struct io_context; struct export_operations; struct iovec; struct kiocb; struct pipe_inode_info; struct poll_table_struct; struct kstatfs; struct swap_info_struct; struct iattr { unsigned int ia_valid ; umode_t ia_mode ; kuid_t ia_uid ; kgid_t ia_gid ; loff_t ia_size ; struct timespec ia_atime ; struct timespec ia_mtime ; struct timespec ia_ctime ; struct file *ia_file ; }; struct percpu_counter { raw_spinlock_t lock ; s64 count ; struct list_head list ; s32 *counters ; }; struct fs_disk_quota { __s8 d_version ; __s8 d_flags ; __u16 d_fieldmask ; __u32 d_id ; __u64 d_blk_hardlimit ; __u64 d_blk_softlimit ; __u64 d_ino_hardlimit ; __u64 d_ino_softlimit ; __u64 d_bcount ; __u64 d_icount ; __s32 d_itimer ; __s32 d_btimer ; __u16 d_iwarns ; __u16 d_bwarns ; __s32 d_padding2 ; __u64 d_rtb_hardlimit ; __u64 d_rtb_softlimit ; __u64 d_rtbcount ; __s32 d_rtbtimer ; __u16 d_rtbwarns ; __s16 d_padding3 ; char d_padding4[8U] ; }; struct fs_qfilestat { __u64 qfs_ino ; __u64 qfs_nblks ; __u32 qfs_nextents ; }; typedef struct fs_qfilestat fs_qfilestat_t; struct fs_quota_stat { __s8 qs_version ; __u16 qs_flags ; __s8 qs_pad ; fs_qfilestat_t qs_uquota ; fs_qfilestat_t qs_gquota ; __u32 qs_incoredqs ; __s32 qs_btimelimit ; __s32 qs_itimelimit ; __s32 qs_rtbtimelimit ; __u16 qs_bwarnlimit ; __u16 qs_iwarnlimit ; }; struct dquot; typedef __kernel_uid32_t projid_t; typedef projid_t kprojid_t; struct if_dqinfo { __u64 dqi_bgrace ; __u64 dqi_igrace ; __u32 dqi_flags ; __u32 dqi_valid ; }; enum quota_type { USRQUOTA = 0, GRPQUOTA = 1, PRJQUOTA = 2 } ; typedef long long qsize_t; union __anonunion_ldv_17189_141 { kuid_t uid ; kgid_t gid ; kprojid_t projid ; }; struct kqid { union __anonunion_ldv_17189_141 ldv_17189 ; enum quota_type type ; }; struct mem_dqblk { qsize_t dqb_bhardlimit ; qsize_t dqb_bsoftlimit ; qsize_t dqb_curspace ; qsize_t dqb_rsvspace ; qsize_t dqb_ihardlimit ; qsize_t dqb_isoftlimit ; qsize_t dqb_curinodes ; time_t dqb_btime ; time_t dqb_itime ; }; struct quota_format_type; struct mem_dqinfo { struct quota_format_type *dqi_format ; int dqi_fmt_id ; struct list_head dqi_dirty_list ; unsigned long dqi_flags ; unsigned int dqi_bgrace ; unsigned int dqi_igrace ; qsize_t dqi_maxblimit ; qsize_t dqi_maxilimit ; void *dqi_priv ; }; struct dquot { struct hlist_node dq_hash ; struct list_head dq_inuse ; struct list_head dq_free ; struct list_head dq_dirty ; struct mutex dq_lock ; atomic_t dq_count ; wait_queue_head_t dq_wait_unused ; struct super_block *dq_sb ; struct kqid dq_id ; loff_t dq_off ; unsigned long dq_flags ; struct mem_dqblk dq_dqb ; }; struct quota_format_ops { int (*check_quota_file)(struct super_block * , int ) ; int (*read_file_info)(struct super_block * , int ) ; int (*write_file_info)(struct super_block * , int ) ; int (*free_file_info)(struct super_block * , int ) ; int (*read_dqblk)(struct dquot * ) ; int (*commit_dqblk)(struct dquot * ) ; int (*release_dqblk)(struct dquot * ) ; }; struct dquot_operations { int (*write_dquot)(struct dquot * ) ; struct dquot *(*alloc_dquot)(struct super_block * , int ) ; void (*destroy_dquot)(struct dquot * ) ; int (*acquire_dquot)(struct dquot * ) ; int (*release_dquot)(struct dquot * ) ; int (*mark_dirty)(struct dquot * ) ; int (*write_info)(struct super_block * , int ) ; qsize_t *(*get_reserved_space)(struct inode * ) ; }; struct quotactl_ops { int (*quota_on)(struct super_block * , int , int , struct path * ) ; int (*quota_on_meta)(struct super_block * , int , int ) ; int (*quota_off)(struct super_block * , int ) ; int (*quota_sync)(struct super_block * , int ) ; int (*get_info)(struct super_block * , int , struct if_dqinfo * ) ; int (*set_info)(struct super_block * , int , struct if_dqinfo * ) ; int (*get_dqblk)(struct super_block * , struct kqid , struct fs_disk_quota * ) ; int (*set_dqblk)(struct super_block * , struct kqid , struct fs_disk_quota * ) ; int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ; int (*set_xstate)(struct super_block * , unsigned int , int ) ; }; struct quota_format_type { int qf_fmt_id ; struct quota_format_ops const *qf_ops ; struct module *qf_owner ; struct quota_format_type *qf_next ; }; struct quota_info { unsigned int flags ; struct mutex dqio_mutex ; struct mutex dqonoff_mutex ; struct rw_semaphore dqptr_sem ; struct inode *files[2U] ; struct mem_dqinfo info[2U] ; struct quota_format_ops const *ops[2U] ; }; struct address_space; struct writeback_control; union __anonunion_arg_143 { char *buf ; void *data ; }; struct __anonstruct_read_descriptor_t_142 { size_t written ; size_t count ; union __anonunion_arg_143 arg ; int error ; }; typedef struct __anonstruct_read_descriptor_t_142 read_descriptor_t; struct address_space_operations { int (*writepage)(struct page * , struct writeback_control * ) ; int (*readpage)(struct file * , struct page * ) ; int (*writepages)(struct address_space * , struct writeback_control * ) ; int (*set_page_dirty)(struct page * ) ; int (*readpages)(struct file * , struct address_space * , struct list_head * , unsigned int ) ; int (*write_begin)(struct file * , struct address_space * , loff_t , unsigned int , unsigned int , struct page ** , void ** ) ; int (*write_end)(struct file * , struct address_space * , loff_t , unsigned int , unsigned int , struct page * , void * ) ; sector_t (*bmap)(struct address_space * , sector_t ) ; void (*invalidatepage)(struct page * , unsigned long ) ; int (*releasepage)(struct page * , gfp_t ) ; void (*freepage)(struct page * ) ; ssize_t (*direct_IO)(int , struct kiocb * , struct iovec const * , loff_t , unsigned long ) ; int (*get_xip_mem)(struct address_space * , unsigned long , int , void ** , unsigned long * ) ; int (*migratepage)(struct address_space * , struct page * , struct page * , enum migrate_mode ) ; int (*launder_page)(struct page * ) ; int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long ) ; int (*error_remove_page)(struct address_space * , struct page * ) ; int (*swap_activate)(struct swap_info_struct * , struct file * , sector_t * ) ; void (*swap_deactivate)(struct file * ) ; }; struct backing_dev_info; struct address_space { struct inode *host ; struct radix_tree_root page_tree ; spinlock_t tree_lock ; unsigned int i_mmap_writable ; struct rb_root i_mmap ; struct list_head i_mmap_nonlinear ; struct mutex i_mmap_mutex ; unsigned long nrpages ; unsigned long writeback_index ; struct address_space_operations const *a_ops ; unsigned long flags ; struct backing_dev_info *backing_dev_info ; spinlock_t private_lock ; struct list_head private_list ; void *private_data ; }; struct request_queue; struct hd_struct; struct gendisk; struct block_device { dev_t bd_dev ; int bd_openers ; struct inode *bd_inode ; struct super_block *bd_super ; struct mutex bd_mutex ; struct list_head bd_inodes ; void *bd_claiming ; void *bd_holder ; int bd_holders ; bool bd_write_holder ; struct list_head bd_holder_disks ; struct block_device *bd_contains ; unsigned int bd_block_size ; struct hd_struct *bd_part ; unsigned int bd_part_count ; int bd_invalidated ; struct gendisk *bd_disk ; struct request_queue *bd_queue ; struct list_head bd_list ; unsigned long bd_private ; int bd_fsfreeze_count ; struct mutex bd_fsfreeze_mutex ; }; struct posix_acl; struct inode_operations; union __anonunion_ldv_17625_144 { unsigned int const i_nlink ; unsigned int __i_nlink ; }; union __anonunion_ldv_17645_145 { struct hlist_head i_dentry ; struct callback_head i_rcu ; }; struct file_lock; struct cdev; union __anonunion_ldv_17661_146 { struct pipe_inode_info *i_pipe ; struct block_device *i_bdev ; struct cdev *i_cdev ; }; struct inode { umode_t i_mode ; unsigned short i_opflags ; kuid_t i_uid ; kgid_t i_gid ; unsigned int i_flags ; struct posix_acl *i_acl ; struct posix_acl *i_default_acl ; struct inode_operations const *i_op ; struct super_block *i_sb ; struct address_space *i_mapping ; void *i_security ; unsigned long i_ino ; union __anonunion_ldv_17625_144 ldv_17625 ; dev_t i_rdev ; loff_t i_size ; struct timespec i_atime ; struct timespec i_mtime ; struct timespec i_ctime ; spinlock_t i_lock ; unsigned short i_bytes ; unsigned int i_blkbits ; blkcnt_t i_blocks ; unsigned long i_state ; struct mutex i_mutex ; unsigned long dirtied_when ; struct hlist_node i_hash ; struct list_head i_wb_list ; struct list_head i_lru ; struct list_head i_sb_list ; union __anonunion_ldv_17645_145 ldv_17645 ; u64 i_version ; atomic_t i_count ; atomic_t i_dio_count ; atomic_t i_writecount ; struct file_operations const *i_fop ; struct file_lock *i_flock ; struct address_space i_data ; struct dquot *i_dquot[2U] ; struct list_head i_devices ; union __anonunion_ldv_17661_146 ldv_17661 ; __u32 i_generation ; __u32 i_fsnotify_mask ; struct hlist_head i_fsnotify_marks ; atomic_t i_readcount ; void *i_private ; }; struct fown_struct { rwlock_t lock ; struct pid *pid ; enum pid_type pid_type ; kuid_t uid ; kuid_t euid ; int signum ; }; struct file_ra_state { unsigned long start ; unsigned int size ; unsigned int async_size ; unsigned int ra_pages ; unsigned int mmap_miss ; loff_t prev_pos ; }; union __anonunion_f_u_147 { struct list_head fu_list ; struct callback_head fu_rcuhead ; }; struct file { union __anonunion_f_u_147 f_u ; struct path f_path ; struct inode *f_inode ; struct file_operations const *f_op ; spinlock_t f_lock ; int f_sb_list_cpu ; atomic_long_t f_count ; unsigned int f_flags ; fmode_t f_mode ; loff_t f_pos ; struct fown_struct f_owner ; struct cred const *f_cred ; struct file_ra_state f_ra ; u64 f_version ; void *f_security ; void *private_data ; struct list_head f_ep_links ; struct list_head f_tfile_llink ; struct address_space *f_mapping ; unsigned long f_mnt_write_state ; }; struct files_struct; typedef struct files_struct *fl_owner_t; struct file_lock_operations { void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ; void (*fl_release_private)(struct file_lock * ) ; }; struct lock_manager_operations { int (*lm_compare_owner)(struct file_lock * , struct file_lock * ) ; void (*lm_notify)(struct file_lock * ) ; int (*lm_grant)(struct file_lock * , struct file_lock * , int ) ; void (*lm_break)(struct file_lock * ) ; int (*lm_change)(struct file_lock ** , int ) ; }; struct nlm_lockowner; struct nfs_lock_info { u32 state ; struct nlm_lockowner *owner ; struct list_head list ; }; struct nfs4_lock_state; struct nfs4_lock_info { struct nfs4_lock_state *owner ; }; struct fasync_struct; struct __anonstruct_afs_149 { struct list_head link ; int state ; }; union __anonunion_fl_u_148 { struct nfs_lock_info nfs_fl ; struct nfs4_lock_info nfs4_fl ; struct __anonstruct_afs_149 afs ; }; struct file_lock { struct file_lock *fl_next ; struct list_head fl_link ; struct list_head fl_block ; fl_owner_t fl_owner ; unsigned int fl_flags ; unsigned char fl_type ; unsigned int fl_pid ; struct pid *fl_nspid ; wait_queue_head_t fl_wait ; struct file *fl_file ; loff_t fl_start ; loff_t fl_end ; struct fasync_struct *fl_fasync ; unsigned long fl_break_time ; unsigned long fl_downgrade_time ; struct file_lock_operations const *fl_ops ; struct lock_manager_operations const *fl_lmops ; union __anonunion_fl_u_148 fl_u ; }; struct fasync_struct { spinlock_t fa_lock ; int magic ; int fa_fd ; struct fasync_struct *fa_next ; struct file *fa_file ; struct callback_head fa_rcu ; }; struct sb_writers { struct percpu_counter counter[3U] ; wait_queue_head_t wait ; int frozen ; wait_queue_head_t wait_unfrozen ; struct lockdep_map lock_map[3U] ; }; struct file_system_type; struct super_operations; struct xattr_handler; struct mtd_info; struct super_block { struct list_head s_list ; dev_t s_dev ; unsigned char s_blocksize_bits ; unsigned long s_blocksize ; loff_t s_maxbytes ; struct file_system_type *s_type ; struct super_operations const *s_op ; struct dquot_operations const *dq_op ; struct quotactl_ops const *s_qcop ; struct export_operations const *s_export_op ; unsigned long s_flags ; unsigned long s_magic ; struct dentry *s_root ; struct rw_semaphore s_umount ; int s_count ; atomic_t s_active ; void *s_security ; struct xattr_handler const **s_xattr ; struct list_head s_inodes ; struct hlist_bl_head s_anon ; struct list_head *s_files ; struct list_head s_mounts ; struct list_head s_dentry_lru ; int s_nr_dentry_unused ; spinlock_t s_inode_lru_lock ; struct list_head s_inode_lru ; int s_nr_inodes_unused ; struct block_device *s_bdev ; struct backing_dev_info *s_bdi ; struct mtd_info *s_mtd ; struct hlist_node s_instances ; struct quota_info s_dquot ; struct sb_writers s_writers ; char s_id[32U] ; u8 s_uuid[16U] ; void *s_fs_info ; unsigned int s_max_links ; fmode_t s_mode ; u32 s_time_gran ; struct mutex s_vfs_rename_mutex ; char *s_subtype ; char *s_options ; struct dentry_operations const *s_d_op ; int cleancache_poolid ; struct shrinker s_shrink ; atomic_long_t s_remove_count ; int s_readonly_remount ; }; struct fiemap_extent_info { unsigned int fi_flags ; unsigned int fi_extents_mapped ; unsigned int fi_extents_max ; struct fiemap_extent *fi_extents_start ; }; struct file_operations { struct module *owner ; loff_t (*llseek)(struct file * , loff_t , int ) ; ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ; ssize_t (*write)(struct file * , char const * , size_t , loff_t * ) ; ssize_t (*aio_read)(struct kiocb * , struct iovec const * , unsigned long , loff_t ) ; ssize_t (*aio_write)(struct kiocb * , struct iovec const * , unsigned long , loff_t ) ; int (*readdir)(struct file * , void * , int (*)(void * , char const * , int , loff_t , u64 , unsigned int ) ) ; unsigned int (*poll)(struct file * , struct poll_table_struct * ) ; long (*unlocked_ioctl)(struct file * , unsigned int , unsigned long ) ; long (*compat_ioctl)(struct file * , unsigned int , unsigned long ) ; int (*mmap)(struct file * , struct vm_area_struct * ) ; int (*open)(struct inode * , struct file * ) ; int (*flush)(struct file * , fl_owner_t ) ; int (*release)(struct inode * , struct file * ) ; int (*fsync)(struct file * , loff_t , loff_t , int ) ; int (*aio_fsync)(struct kiocb * , int ) ; int (*fasync)(int , struct file * , int ) ; int (*lock)(struct file * , int , struct file_lock * ) ; ssize_t (*sendpage)(struct file * , struct page * , int , size_t , loff_t * , int ) ; unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long , unsigned long , unsigned long ) ; int (*check_flags)(int ) ; int (*flock)(struct file * , int , struct file_lock * ) ; ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t , unsigned int ) ; ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t , unsigned int ) ; int (*setlease)(struct file * , long , struct file_lock ** ) ; long (*fallocate)(struct file * , int , loff_t , loff_t ) ; int (*show_fdinfo)(struct seq_file * , struct file * ) ; }; struct inode_operations { struct dentry *(*lookup)(struct inode * , struct dentry * , unsigned int ) ; void *(*follow_link)(struct dentry * , struct nameidata * ) ; int (*permission)(struct inode * , int ) ; struct posix_acl *(*get_acl)(struct inode * , int ) ; int (*readlink)(struct dentry * , char * , int ) ; void (*put_link)(struct dentry * , struct nameidata * , void * ) ; int (*create)(struct inode * , struct dentry * , umode_t , bool ) ; int (*link)(struct dentry * , struct inode * , struct dentry * ) ; int (*unlink)(struct inode * , struct dentry * ) ; int (*symlink)(struct inode * , struct dentry * , char const * ) ; int (*mkdir)(struct inode * , struct dentry * , umode_t ) ; int (*rmdir)(struct inode * , struct dentry * ) ; int (*mknod)(struct inode * , struct dentry * , umode_t , dev_t ) ; int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ; int (*setattr)(struct dentry * , struct iattr * ) ; int (*getattr)(struct vfsmount * , struct dentry * , struct kstat * ) ; int (*setxattr)(struct dentry * , char const * , void const * , size_t , int ) ; ssize_t (*getxattr)(struct dentry * , char const * , void * , size_t ) ; ssize_t (*listxattr)(struct dentry * , char * , size_t ) ; int (*removexattr)(struct dentry * , char const * ) ; int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 , u64 ) ; int (*update_time)(struct inode * , struct timespec * , int ) ; int (*atomic_open)(struct inode * , struct dentry * , struct file * , unsigned int , umode_t , int * ) ; }; struct super_operations { struct inode *(*alloc_inode)(struct super_block * ) ; void (*destroy_inode)(struct inode * ) ; void (*dirty_inode)(struct inode * , int ) ; int (*write_inode)(struct inode * , struct writeback_control * ) ; int (*drop_inode)(struct inode * ) ; void (*evict_inode)(struct inode * ) ; void (*put_super)(struct super_block * ) ; int (*sync_fs)(struct super_block * , int ) ; int (*freeze_fs)(struct super_block * ) ; int (*unfreeze_fs)(struct super_block * ) ; int (*statfs)(struct dentry * , struct kstatfs * ) ; int (*remount_fs)(struct super_block * , int * , char * ) ; void (*umount_begin)(struct super_block * ) ; int (*show_options)(struct seq_file * , struct dentry * ) ; int (*show_devname)(struct seq_file * , struct dentry * ) ; int (*show_path)(struct seq_file * , struct dentry * ) ; int (*show_stats)(struct seq_file * , struct dentry * ) ; ssize_t (*quota_read)(struct super_block * , int , char * , size_t , loff_t ) ; ssize_t (*quota_write)(struct super_block * , int , char const * , size_t , loff_t ) ; int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t ) ; int (*nr_cached_objects)(struct super_block * ) ; void (*free_cached_objects)(struct super_block * , int ) ; }; struct file_system_type { char const *name ; int fs_flags ; struct dentry *(*mount)(struct file_system_type * , int , char const * , void * ) ; void (*kill_sb)(struct super_block * ) ; struct module *owner ; struct file_system_type *next ; struct hlist_head fs_supers ; struct lock_class_key s_lock_key ; struct lock_class_key s_umount_key ; struct lock_class_key s_vfs_rename_key ; struct lock_class_key s_writers_key[3U] ; struct lock_class_key i_lock_key ; struct lock_class_key i_mutex_key ; struct lock_class_key i_mutex_dir_key ; }; struct exception_table_entry { int insn ; int fixup ; }; struct pollfd { int fd ; short events ; short revents ; }; struct poll_table_struct { void (*_qproc)(struct file * , wait_queue_head_t * , struct poll_table_struct * ) ; unsigned long _key ; }; typedef struct poll_table_struct poll_table; struct arch_uprobe_task { unsigned long saved_scratch_register ; unsigned int saved_trap_nr ; unsigned int saved_tf ; }; enum uprobe_task_state { UTASK_RUNNING = 0, UTASK_SSTEP = 1, UTASK_SSTEP_ACK = 2, UTASK_SSTEP_TRAPPED = 3 } ; struct return_instance; struct uprobe; struct uprobe_task { enum uprobe_task_state state ; struct arch_uprobe_task autask ; struct return_instance *return_instances ; unsigned int depth ; struct uprobe *active_uprobe ; unsigned long xol_vaddr ; unsigned long vaddr ; }; struct xol_area { wait_queue_head_t wq ; atomic_t slot_count ; unsigned long *bitmap ; struct page *page ; unsigned long vaddr ; }; struct uprobes_state { struct xol_area *xol_area ; }; union __anonunion_ldv_20074_152 { unsigned long index ; void *freelist ; bool pfmemalloc ; }; struct __anonstruct_ldv_20084_156 { unsigned short inuse ; unsigned short objects : 15 ; unsigned char frozen : 1 ; }; union __anonunion_ldv_20086_155 { atomic_t _mapcount ; struct __anonstruct_ldv_20084_156 ldv_20084 ; int units ; }; struct __anonstruct_ldv_20088_154 { union __anonunion_ldv_20086_155 ldv_20086 ; atomic_t _count ; }; union __anonunion_ldv_20089_153 { unsigned long counters ; struct __anonstruct_ldv_20088_154 ldv_20088 ; }; struct __anonstruct_ldv_20090_151 { union __anonunion_ldv_20074_152 ldv_20074 ; union __anonunion_ldv_20089_153 ldv_20089 ; }; struct __anonstruct_ldv_20097_158 { struct page *next ; int pages ; int pobjects ; }; struct slab; union __anonunion_ldv_20101_157 { struct list_head lru ; struct __anonstruct_ldv_20097_158 ldv_20097 ; struct list_head list ; struct slab *slab_page ; }; union __anonunion_ldv_20106_159 { unsigned long private ; struct kmem_cache *slab_cache ; struct page *first_page ; }; struct page { unsigned long flags ; struct address_space *mapping ; struct __anonstruct_ldv_20090_151 ldv_20090 ; union __anonunion_ldv_20101_157 ldv_20101 ; union __anonunion_ldv_20106_159 ldv_20106 ; unsigned long debug_flags ; }; struct page_frag { struct page *page ; __u32 offset ; __u32 size ; }; struct __anonstruct_linear_161 { struct rb_node rb ; unsigned long rb_subtree_last ; }; union __anonunion_shared_160 { struct __anonstruct_linear_161 linear ; struct list_head nonlinear ; }; struct anon_vma; struct vm_operations_struct; struct mempolicy; struct vm_area_struct { unsigned long vm_start ; unsigned long vm_end ; struct vm_area_struct *vm_next ; struct vm_area_struct *vm_prev ; struct rb_node vm_rb ; unsigned long rb_subtree_gap ; struct mm_struct *vm_mm ; pgprot_t vm_page_prot ; unsigned long vm_flags ; union __anonunion_shared_160 shared ; struct list_head anon_vma_chain ; struct anon_vma *anon_vma ; struct vm_operations_struct const *vm_ops ; unsigned long vm_pgoff ; struct file *vm_file ; void *vm_private_data ; struct mempolicy *vm_policy ; }; struct core_thread { struct task_struct *task ; struct core_thread *next ; }; struct core_state { atomic_t nr_threads ; struct core_thread dumper ; struct completion startup ; }; struct mm_rss_stat { atomic_long_t count[3U] ; }; struct linux_binfmt; struct mmu_notifier_mm; struct mm_struct { struct vm_area_struct *mmap ; struct rb_root mm_rb ; struct vm_area_struct *mmap_cache ; unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long , unsigned long , unsigned long ) ; void (*unmap_area)(struct mm_struct * , unsigned long ) ; unsigned long mmap_base ; unsigned long task_size ; unsigned long cached_hole_size ; unsigned long free_area_cache ; unsigned long highest_vm_end ; pgd_t *pgd ; atomic_t mm_users ; atomic_t mm_count ; int map_count ; spinlock_t page_table_lock ; struct rw_semaphore mmap_sem ; struct list_head mmlist ; unsigned long hiwater_rss ; unsigned long hiwater_vm ; unsigned long total_vm ; unsigned long locked_vm ; unsigned long pinned_vm ; unsigned long shared_vm ; unsigned long exec_vm ; unsigned long stack_vm ; unsigned long def_flags ; unsigned long nr_ptes ; unsigned long start_code ; unsigned long end_code ; unsigned long start_data ; unsigned long end_data ; unsigned long start_brk ; unsigned long brk ; unsigned long start_stack ; unsigned long arg_start ; unsigned long arg_end ; unsigned long env_start ; unsigned long env_end ; unsigned long saved_auxv[44U] ; struct mm_rss_stat rss_stat ; struct linux_binfmt *binfmt ; cpumask_var_t cpu_vm_mask_var ; mm_context_t context ; unsigned long flags ; struct core_state *core_state ; spinlock_t ioctx_lock ; struct hlist_head ioctx_list ; struct task_struct *owner ; struct file *exe_file ; struct mmu_notifier_mm *mmu_notifier_mm ; pgtable_t pmd_huge_pte ; struct cpumask cpumask_allocation ; unsigned long numa_next_scan ; unsigned long numa_next_reset ; unsigned long numa_scan_offset ; int numa_scan_seq ; int first_nid ; struct uprobes_state uprobes_state ; }; struct user_struct; struct vm_fault { unsigned int flags ; unsigned long pgoff ; void *virtual_address ; struct page *page ; }; struct vm_operations_struct { void (*open)(struct vm_area_struct * ) ; void (*close)(struct vm_area_struct * ) ; int (*fault)(struct vm_area_struct * , struct vm_fault * ) ; int (*page_mkwrite)(struct vm_area_struct * , struct vm_fault * ) ; int (*access)(struct vm_area_struct * , unsigned long , void * , int , int ) ; int (*set_policy)(struct vm_area_struct * , struct mempolicy * ) ; struct mempolicy *(*get_policy)(struct vm_area_struct * , unsigned long ) ; int (*migrate)(struct vm_area_struct * , nodemask_t const * , nodemask_t const * , unsigned long ) ; int (*remap_pages)(struct vm_area_struct * , unsigned long , unsigned long , unsigned long ) ; }; typedef unsigned long kernel_ulong_t; struct usb_device_id { __u16 match_flags ; __u16 idVendor ; __u16 idProduct ; __u16 bcdDevice_lo ; __u16 bcdDevice_hi ; __u8 bDeviceClass ; __u8 bDeviceSubClass ; __u8 bDeviceProtocol ; __u8 bInterfaceClass ; __u8 bInterfaceSubClass ; __u8 bInterfaceProtocol ; __u8 bInterfaceNumber ; kernel_ulong_t driver_info ; }; struct acpi_device_id { __u8 id[9U] ; kernel_ulong_t driver_data ; }; struct of_device_id { char name[32U] ; char type[32U] ; char compatible[128U] ; void const *data ; }; struct usb_device_descriptor { __u8 bLength ; __u8 bDescriptorType ; __le16 bcdUSB ; __u8 bDeviceClass ; __u8 bDeviceSubClass ; __u8 bDeviceProtocol ; __u8 bMaxPacketSize0 ; __le16 idVendor ; __le16 idProduct ; __le16 bcdDevice ; __u8 iManufacturer ; __u8 iProduct ; __u8 iSerialNumber ; __u8 bNumConfigurations ; }; struct usb_config_descriptor { __u8 bLength ; __u8 bDescriptorType ; __le16 wTotalLength ; __u8 bNumInterfaces ; __u8 bConfigurationValue ; __u8 iConfiguration ; __u8 bmAttributes ; __u8 bMaxPower ; }; struct usb_interface_descriptor { __u8 bLength ; __u8 bDescriptorType ; __u8 bInterfaceNumber ; __u8 bAlternateSetting ; __u8 bNumEndpoints ; __u8 bInterfaceClass ; __u8 bInterfaceSubClass ; __u8 bInterfaceProtocol ; __u8 iInterface ; }; struct usb_endpoint_descriptor { __u8 bLength ; __u8 bDescriptorType ; __u8 bEndpointAddress ; __u8 bmAttributes ; __le16 wMaxPacketSize ; __u8 bInterval ; __u8 bRefresh ; __u8 bSynchAddress ; }; struct usb_ss_ep_comp_descriptor { __u8 bLength ; __u8 bDescriptorType ; __u8 bMaxBurst ; __u8 bmAttributes ; __le16 wBytesPerInterval ; }; struct usb_interface_assoc_descriptor { __u8 bLength ; __u8 bDescriptorType ; __u8 bFirstInterface ; __u8 bInterfaceCount ; __u8 bFunctionClass ; __u8 bFunctionSubClass ; __u8 bFunctionProtocol ; __u8 iFunction ; }; struct usb_bos_descriptor { __u8 bLength ; __u8 bDescriptorType ; __le16 wTotalLength ; __u8 bNumDeviceCaps ; }; struct usb_ext_cap_descriptor { __u8 bLength ; __u8 bDescriptorType ; __u8 bDevCapabilityType ; __le32 bmAttributes ; }; struct usb_ss_cap_descriptor { __u8 bLength ; __u8 bDescriptorType ; __u8 bDevCapabilityType ; __u8 bmAttributes ; __le16 wSpeedSupported ; __u8 bFunctionalitySupport ; __u8 bU1devExitLat ; __le16 bU2DevExitLat ; }; struct usb_ss_container_id_descriptor { __u8 bLength ; __u8 bDescriptorType ; __u8 bDevCapabilityType ; __u8 bReserved ; __u8 ContainerID[16U] ; }; enum usb_device_speed { USB_SPEED_UNKNOWN = 0, USB_SPEED_LOW = 1, USB_SPEED_FULL = 2, USB_SPEED_HIGH = 3, USB_SPEED_WIRELESS = 4, USB_SPEED_SUPER = 5 } ; enum usb_device_state { USB_STATE_NOTATTACHED = 0, USB_STATE_ATTACHED = 1, USB_STATE_POWERED = 2, USB_STATE_RECONNECTING = 3, USB_STATE_UNAUTHENTICATED = 4, USB_STATE_DEFAULT = 5, USB_STATE_ADDRESS = 6, USB_STATE_CONFIGURED = 7, USB_STATE_SUSPENDED = 8 } ; struct timerqueue_node { struct rb_node node ; ktime_t expires ; }; struct timerqueue_head { struct rb_root head ; struct timerqueue_node *next ; }; struct hrtimer_clock_base; struct hrtimer_cpu_base; enum hrtimer_restart { HRTIMER_NORESTART = 0, HRTIMER_RESTART = 1 } ; struct hrtimer { struct timerqueue_node node ; ktime_t _softexpires ; enum hrtimer_restart (*function)(struct hrtimer * ) ; struct hrtimer_clock_base *base ; unsigned long state ; int start_pid ; void *start_site ; char start_comm[16U] ; }; struct hrtimer_clock_base { struct hrtimer_cpu_base *cpu_base ; int index ; clockid_t clockid ; struct timerqueue_head active ; ktime_t resolution ; ktime_t (*get_time)(void) ; ktime_t softirq_time ; ktime_t offset ; }; struct hrtimer_cpu_base { raw_spinlock_t lock ; unsigned int active_bases ; unsigned int clock_was_set ; ktime_t expires_next ; int hres_active ; int hang_detected ; unsigned long nr_events ; unsigned long nr_retries ; unsigned long nr_hangs ; ktime_t max_hang_time ; struct hrtimer_clock_base clock_base[4U] ; }; typedef unsigned long cputime_t; struct sem_undo_list; struct sysv_sem { struct sem_undo_list *undo_list ; }; struct __anonstruct_sigset_t_167 { unsigned long sig[1U] ; }; typedef struct __anonstruct_sigset_t_167 sigset_t; struct siginfo; typedef void __signalfn_t(int ); typedef __signalfn_t *__sighandler_t; typedef void __restorefn_t(void); typedef __restorefn_t *__sigrestore_t; union sigval { int sival_int ; void *sival_ptr ; }; typedef union sigval sigval_t; struct __anonstruct__kill_169 { __kernel_pid_t _pid ; __kernel_uid32_t _uid ; }; struct __anonstruct__timer_170 { __kernel_timer_t _tid ; int _overrun ; char _pad[0U] ; sigval_t _sigval ; int _sys_private ; }; struct __anonstruct__rt_171 { __kernel_pid_t _pid ; __kernel_uid32_t _uid ; sigval_t _sigval ; }; struct __anonstruct__sigchld_172 { __kernel_pid_t _pid ; __kernel_uid32_t _uid ; int _status ; __kernel_clock_t _utime ; __kernel_clock_t _stime ; }; struct __anonstruct__sigfault_173 { void *_addr ; short _addr_lsb ; }; struct __anonstruct__sigpoll_174 { long _band ; int _fd ; }; struct __anonstruct__sigsys_175 { void *_call_addr ; int _syscall ; unsigned int _arch ; }; union __anonunion__sifields_168 { int _pad[28U] ; struct __anonstruct__kill_169 _kill ; struct __anonstruct__timer_170 _timer ; struct __anonstruct__rt_171 _rt ; struct __anonstruct__sigchld_172 _sigchld ; struct __anonstruct__sigfault_173 _sigfault ; struct __anonstruct__sigpoll_174 _sigpoll ; struct __anonstruct__sigsys_175 _sigsys ; }; struct siginfo { int si_signo ; int si_errno ; int si_code ; union __anonunion__sifields_168 _sifields ; }; typedef struct siginfo siginfo_t; struct sigpending { struct list_head list ; sigset_t signal ; }; struct sigaction { __sighandler_t sa_handler ; unsigned long sa_flags ; __sigrestore_t sa_restorer ; sigset_t sa_mask ; }; struct k_sigaction { struct sigaction sa ; }; struct seccomp_filter; struct seccomp { int mode ; struct seccomp_filter *filter ; }; struct plist_head { struct list_head node_list ; }; struct plist_node { int prio ; struct list_head prio_list ; struct list_head node_list ; }; struct rt_mutex_waiter; struct rlimit { unsigned long rlim_cur ; unsigned long rlim_max ; }; struct task_io_accounting { u64 rchar ; u64 wchar ; u64 syscr ; u64 syscw ; u64 read_bytes ; u64 write_bytes ; u64 cancelled_write_bytes ; }; struct latency_record { unsigned long backtrace[12U] ; unsigned int count ; unsigned long time ; unsigned long max ; }; typedef int32_t key_serial_t; typedef uint32_t key_perm_t; struct key; struct signal_struct; struct key_type; struct keyring_list; union __anonunion_ldv_25558_178 { struct list_head graveyard_link ; struct rb_node serial_node ; }; struct key_user; union __anonunion_ldv_25567_179 { time_t expiry ; time_t revoked_at ; }; union __anonunion_type_data_180 { struct list_head link ; unsigned long x[2U] ; void *p[2U] ; int reject_error ; }; union __anonunion_payload_181 { unsigned long value ; void *rcudata ; void *data ; struct keyring_list *subscriptions ; }; struct key { atomic_t usage ; key_serial_t serial ; union __anonunion_ldv_25558_178 ldv_25558 ; struct key_type *type ; struct rw_semaphore sem ; struct key_user *user ; void *security ; union __anonunion_ldv_25567_179 ldv_25567 ; time_t last_used_at ; kuid_t uid ; kgid_t gid ; key_perm_t perm ; unsigned short quotalen ; unsigned short datalen ; unsigned long flags ; char *description ; union __anonunion_type_data_180 type_data ; union __anonunion_payload_181 payload ; }; struct audit_context; struct group_info { atomic_t usage ; int ngroups ; int nblocks ; kgid_t small_block[32U] ; kgid_t *blocks[0U] ; }; struct cred { atomic_t usage ; atomic_t subscribers ; void *put_addr ; unsigned int magic ; kuid_t uid ; kgid_t gid ; kuid_t suid ; kgid_t sgid ; kuid_t euid ; kgid_t egid ; kuid_t fsuid ; kgid_t fsgid ; unsigned int securebits ; kernel_cap_t cap_inheritable ; kernel_cap_t cap_permitted ; kernel_cap_t cap_effective ; kernel_cap_t cap_bset ; unsigned char jit_keyring ; struct key *session_keyring ; struct key *process_keyring ; struct key *thread_keyring ; struct key *request_key_auth ; void *security ; struct user_struct *user ; struct user_namespace *user_ns ; struct group_info *group_info ; struct callback_head rcu ; }; struct llist_node; struct llist_node { struct llist_node *next ; }; struct futex_pi_state; struct robust_list_head; struct bio_list; struct fs_struct; struct perf_event_context; struct blk_plug; struct cfs_rq; struct task_group; struct sighand_struct { atomic_t count ; struct k_sigaction action[64U] ; spinlock_t siglock ; wait_queue_head_t signalfd_wqh ; }; struct pacct_struct { int ac_flag ; long ac_exitcode ; unsigned long ac_mem ; cputime_t ac_utime ; cputime_t ac_stime ; unsigned long ac_minflt ; unsigned long ac_majflt ; }; struct cpu_itimer { cputime_t expires ; cputime_t incr ; u32 error ; u32 incr_error ; }; struct cputime { cputime_t utime ; cputime_t stime ; }; struct task_cputime { cputime_t utime ; cputime_t stime ; unsigned long long sum_exec_runtime ; }; struct thread_group_cputimer { struct task_cputime cputime ; int running ; raw_spinlock_t lock ; }; struct autogroup; struct tty_struct; struct taskstats; struct tty_audit_buf; struct signal_struct { atomic_t sigcnt ; atomic_t live ; int nr_threads ; wait_queue_head_t wait_chldexit ; struct task_struct *curr_target ; struct sigpending shared_pending ; int group_exit_code ; int notify_count ; struct task_struct *group_exit_task ; int group_stop_count ; unsigned int flags ; unsigned char is_child_subreaper : 1 ; unsigned char has_child_subreaper : 1 ; int posix_timer_id ; struct list_head posix_timers ; struct hrtimer real_timer ; struct pid *leader_pid ; ktime_t it_real_incr ; struct cpu_itimer it[2U] ; struct thread_group_cputimer cputimer ; struct task_cputime cputime_expires ; struct list_head cpu_timers[3U] ; struct pid *tty_old_pgrp ; int leader ; struct tty_struct *tty ; struct autogroup *autogroup ; cputime_t utime ; cputime_t stime ; cputime_t cutime ; cputime_t cstime ; cputime_t gtime ; cputime_t cgtime ; struct cputime prev_cputime ; unsigned long nvcsw ; unsigned long nivcsw ; unsigned long cnvcsw ; unsigned long cnivcsw ; unsigned long min_flt ; unsigned long maj_flt ; unsigned long cmin_flt ; unsigned long cmaj_flt ; unsigned long inblock ; unsigned long oublock ; unsigned long cinblock ; unsigned long coublock ; unsigned long maxrss ; unsigned long cmaxrss ; struct task_io_accounting ioac ; unsigned long long sum_sched_runtime ; struct rlimit rlim[16U] ; struct pacct_struct pacct ; struct taskstats *stats ; unsigned int audit_tty ; unsigned int audit_tty_log_passwd ; struct tty_audit_buf *tty_audit_buf ; struct rw_semaphore group_rwsem ; oom_flags_t oom_flags ; short oom_score_adj ; short oom_score_adj_min ; struct mutex cred_guard_mutex ; }; struct user_struct { atomic_t __count ; atomic_t processes ; atomic_t files ; atomic_t sigpending ; atomic_t inotify_watches ; atomic_t inotify_devs ; atomic_t fanotify_listeners ; atomic_long_t epoll_watches ; unsigned long mq_bytes ; unsigned long locked_shm ; struct key *uid_keyring ; struct key *session_keyring ; struct hlist_node uidhash_node ; kuid_t uid ; atomic_long_t locked_vm ; }; struct reclaim_state; struct sched_info { unsigned long pcount ; unsigned long long run_delay ; unsigned long long last_arrival ; unsigned long long last_queued ; }; struct task_delay_info { spinlock_t lock ; unsigned int flags ; struct timespec blkio_start ; struct timespec blkio_end ; u64 blkio_delay ; u64 swapin_delay ; u32 blkio_count ; u32 swapin_count ; struct timespec freepages_start ; struct timespec freepages_end ; u64 freepages_delay ; u32 freepages_count ; }; struct load_weight { unsigned long weight ; unsigned long inv_weight ; }; struct sched_avg { u32 runnable_avg_sum ; u32 runnable_avg_period ; u64 last_runnable_update ; s64 decay_count ; unsigned long load_avg_contrib ; }; struct sched_statistics { u64 wait_start ; u64 wait_max ; u64 wait_count ; u64 wait_sum ; u64 iowait_count ; u64 iowait_sum ; u64 sleep_start ; u64 sleep_max ; s64 sum_sleep_runtime ; u64 block_start ; u64 block_max ; u64 exec_max ; u64 slice_max ; u64 nr_migrations_cold ; u64 nr_failed_migrations_affine ; u64 nr_failed_migrations_running ; u64 nr_failed_migrations_hot ; u64 nr_forced_migrations ; u64 nr_wakeups ; u64 nr_wakeups_sync ; u64 nr_wakeups_migrate ; u64 nr_wakeups_local ; u64 nr_wakeups_remote ; u64 nr_wakeups_affine ; u64 nr_wakeups_affine_attempts ; u64 nr_wakeups_passive ; u64 nr_wakeups_idle ; }; struct sched_entity { struct load_weight load ; struct rb_node run_node ; struct list_head group_node ; unsigned int on_rq ; u64 exec_start ; u64 sum_exec_runtime ; u64 vruntime ; u64 prev_sum_exec_runtime ; u64 nr_migrations ; struct sched_statistics statistics ; struct sched_entity *parent ; struct cfs_rq *cfs_rq ; struct cfs_rq *my_q ; struct sched_avg avg ; }; struct rt_rq; struct sched_rt_entity { struct list_head run_list ; unsigned long timeout ; unsigned long watchdog_stamp ; unsigned int time_slice ; struct sched_rt_entity *back ; struct sched_rt_entity *parent ; struct rt_rq *rt_rq ; struct rt_rq *my_q ; }; struct memcg_batch_info { int do_batch ; struct mem_cgroup *memcg ; unsigned long nr_pages ; unsigned long memsw_nr_pages ; }; struct sched_class; struct css_set; struct compat_robust_list_head; struct task_struct { long volatile state ; void *stack ; atomic_t usage ; unsigned int flags ; unsigned int ptrace ; struct llist_node wake_entry ; int on_cpu ; int on_rq ; int prio ; int static_prio ; int normal_prio ; unsigned int rt_priority ; struct sched_class const *sched_class ; struct sched_entity se ; struct sched_rt_entity rt ; struct task_group *sched_task_group ; struct hlist_head preempt_notifiers ; unsigned char fpu_counter ; unsigned int policy ; int nr_cpus_allowed ; cpumask_t cpus_allowed ; struct sched_info sched_info ; struct list_head tasks ; struct plist_node pushable_tasks ; struct mm_struct *mm ; struct mm_struct *active_mm ; unsigned char brk_randomized : 1 ; int exit_state ; int exit_code ; int exit_signal ; int pdeath_signal ; unsigned int jobctl ; unsigned int personality ; unsigned char did_exec : 1 ; unsigned char in_execve : 1 ; unsigned char in_iowait : 1 ; unsigned char no_new_privs : 1 ; unsigned char sched_reset_on_fork : 1 ; unsigned char sched_contributes_to_load : 1 ; pid_t pid ; pid_t tgid ; unsigned long stack_canary ; struct task_struct *real_parent ; struct task_struct *parent ; struct list_head children ; struct list_head sibling ; struct task_struct *group_leader ; struct list_head ptraced ; struct list_head ptrace_entry ; struct pid_link pids[3U] ; struct list_head thread_group ; struct completion *vfork_done ; int *set_child_tid ; int *clear_child_tid ; cputime_t utime ; cputime_t stime ; cputime_t utimescaled ; cputime_t stimescaled ; cputime_t gtime ; struct cputime prev_cputime ; unsigned long nvcsw ; unsigned long nivcsw ; struct timespec start_time ; struct timespec real_start_time ; unsigned long min_flt ; unsigned long maj_flt ; struct task_cputime cputime_expires ; struct list_head cpu_timers[3U] ; struct cred const *real_cred ; struct cred const *cred ; char comm[16U] ; int link_count ; int total_link_count ; struct sysv_sem sysvsem ; unsigned long last_switch_count ; struct thread_struct thread ; struct fs_struct *fs ; struct files_struct *files ; struct nsproxy *nsproxy ; struct signal_struct *signal ; struct sighand_struct *sighand ; sigset_t blocked ; sigset_t real_blocked ; sigset_t saved_sigmask ; struct sigpending pending ; unsigned long sas_ss_sp ; size_t sas_ss_size ; int (*notifier)(void * ) ; void *notifier_data ; sigset_t *notifier_mask ; struct callback_head *task_works ; struct audit_context *audit_context ; kuid_t loginuid ; unsigned int sessionid ; struct seccomp seccomp ; u32 parent_exec_id ; u32 self_exec_id ; spinlock_t alloc_lock ; raw_spinlock_t pi_lock ; struct plist_head pi_waiters ; struct rt_mutex_waiter *pi_blocked_on ; struct mutex_waiter *blocked_on ; unsigned int irq_events ; unsigned long hardirq_enable_ip ; unsigned long hardirq_disable_ip ; unsigned int hardirq_enable_event ; unsigned int hardirq_disable_event ; int hardirqs_enabled ; int hardirq_context ; unsigned long softirq_disable_ip ; unsigned long softirq_enable_ip ; unsigned int softirq_disable_event ; unsigned int softirq_enable_event ; int softirqs_enabled ; int softirq_context ; u64 curr_chain_key ; int lockdep_depth ; unsigned int lockdep_recursion ; struct held_lock held_locks[48U] ; gfp_t lockdep_reclaim_gfp ; void *journal_info ; struct bio_list *bio_list ; struct blk_plug *plug ; struct reclaim_state *reclaim_state ; struct backing_dev_info *backing_dev_info ; struct io_context *io_context ; unsigned long ptrace_message ; siginfo_t *last_siginfo ; struct task_io_accounting ioac ; u64 acct_rss_mem1 ; u64 acct_vm_mem1 ; cputime_t acct_timexpd ; nodemask_t mems_allowed ; seqcount_t mems_allowed_seq ; int cpuset_mem_spread_rotor ; int cpuset_slab_spread_rotor ; struct css_set *cgroups ; struct list_head cg_list ; struct robust_list_head *robust_list ; struct compat_robust_list_head *compat_robust_list ; struct list_head pi_state_list ; struct futex_pi_state *pi_state_cache ; struct perf_event_context *perf_event_ctxp[2U] ; struct mutex perf_event_mutex ; struct list_head perf_event_list ; struct mempolicy *mempolicy ; short il_next ; short pref_node_fork ; int numa_scan_seq ; int numa_migrate_seq ; unsigned int numa_scan_period ; u64 node_stamp ; struct callback_head numa_work ; struct callback_head rcu ; struct pipe_inode_info *splice_pipe ; struct page_frag task_frag ; struct task_delay_info *delays ; int make_it_fail ; int nr_dirtied ; int nr_dirtied_pause ; unsigned long dirty_paused_when ; int latency_record_count ; struct latency_record latency_record[32U] ; unsigned long timer_slack_ns ; unsigned long default_timer_slack_ns ; unsigned long trace ; unsigned long trace_recursion ; struct memcg_batch_info memcg_batch ; unsigned int memcg_kmem_skip_account ; atomic_t ptrace_bp_refcnt ; struct uprobe_task *utask ; unsigned int sequential_io ; unsigned int sequential_io_avg ; }; struct usb_device; struct wusb_dev; struct ep_device; struct usb_host_endpoint { struct usb_endpoint_descriptor desc ; struct usb_ss_ep_comp_descriptor ss_ep_comp ; struct list_head urb_list ; void *hcpriv ; struct ep_device *ep_dev ; unsigned char *extra ; int extralen ; int enabled ; }; struct usb_host_interface { struct usb_interface_descriptor desc ; int extralen ; unsigned char *extra ; struct usb_host_endpoint *endpoint ; char *string ; }; enum usb_interface_condition { USB_INTERFACE_UNBOUND = 0, USB_INTERFACE_BINDING = 1, USB_INTERFACE_BOUND = 2, USB_INTERFACE_UNBINDING = 3 } ; struct usb_interface { struct usb_host_interface *altsetting ; struct usb_host_interface *cur_altsetting ; unsigned int num_altsetting ; struct usb_interface_assoc_descriptor *intf_assoc ; int minor ; enum usb_interface_condition condition ; unsigned char sysfs_files_created : 1 ; unsigned char ep_devs_created : 1 ; unsigned char unregistering : 1 ; unsigned char needs_remote_wakeup : 1 ; unsigned char needs_altsetting0 : 1 ; unsigned char needs_binding : 1 ; unsigned char reset_running : 1 ; unsigned char resetting_device : 1 ; struct device dev ; struct device *usb_dev ; atomic_t pm_usage_cnt ; struct work_struct reset_ws ; }; struct usb_interface_cache { unsigned int num_altsetting ; struct kref ref ; struct usb_host_interface altsetting[0U] ; }; struct usb_host_config { struct usb_config_descriptor desc ; char *string ; struct usb_interface_assoc_descriptor *intf_assoc[16U] ; struct usb_interface *interface[32U] ; struct usb_interface_cache *intf_cache[32U] ; unsigned char *extra ; int extralen ; }; struct usb_host_bos { struct usb_bos_descriptor *desc ; struct usb_ext_cap_descriptor *ext_cap ; struct usb_ss_cap_descriptor *ss_cap ; struct usb_ss_container_id_descriptor *ss_id ; }; struct usb_devmap { unsigned long devicemap[2U] ; }; struct mon_bus; struct usb_bus { struct device *controller ; int busnum ; char const *bus_name ; u8 uses_dma ; u8 uses_pio_for_control ; u8 otg_port ; unsigned char is_b_host : 1 ; unsigned char b_hnp_enable : 1 ; unsigned char no_stop_on_short : 1 ; unsigned int sg_tablesize ; int devnum_next ; struct usb_devmap devmap ; struct usb_device *root_hub ; struct usb_bus *hs_companion ; struct list_head bus_list ; int bandwidth_allocated ; int bandwidth_int_reqs ; int bandwidth_isoc_reqs ; unsigned int resuming_ports ; struct mon_bus *mon_bus ; int monitored ; }; struct usb_tt; enum usb_device_removable { USB_DEVICE_REMOVABLE_UNKNOWN = 0, USB_DEVICE_REMOVABLE = 1, USB_DEVICE_FIXED = 2 } ; struct usb3_lpm_parameters { unsigned int mel ; unsigned int pel ; unsigned int sel ; int timeout ; }; struct usb_device { int devnum ; char devpath[16U] ; u32 route ; enum usb_device_state state ; enum usb_device_speed speed ; struct usb_tt *tt ; int ttport ; unsigned int toggle[2U] ; struct usb_device *parent ; struct usb_bus *bus ; struct usb_host_endpoint ep0 ; struct device dev ; struct usb_device_descriptor descriptor ; struct usb_host_bos *bos ; struct usb_host_config *config ; struct usb_host_config *actconfig ; struct usb_host_endpoint *ep_in[16U] ; struct usb_host_endpoint *ep_out[16U] ; char **rawdescriptors ; unsigned short bus_mA ; u8 portnum ; u8 level ; unsigned char can_submit : 1 ; unsigned char persist_enabled : 1 ; unsigned char have_langid : 1 ; unsigned char authorized : 1 ; unsigned char authenticated : 1 ; unsigned char wusb : 1 ; unsigned char lpm_capable : 1 ; unsigned char usb2_hw_lpm_capable : 1 ; unsigned char usb2_hw_lpm_enabled : 1 ; unsigned char usb3_lpm_enabled : 1 ; int string_langid ; char *product ; char *manufacturer ; char *serial ; struct list_head filelist ; int maxchild ; u32 quirks ; atomic_t urbnum ; unsigned long active_duration ; unsigned long connect_time ; unsigned char do_remote_wakeup : 1 ; unsigned char reset_resume : 1 ; unsigned char port_is_suspended : 1 ; struct wusb_dev *wusb_dev ; int slot_id ; enum usb_device_removable removable ; struct usb3_lpm_parameters u1_params ; struct usb3_lpm_parameters u2_params ; unsigned int lpm_disable_count ; }; struct usb_iso_packet_descriptor { unsigned int offset ; unsigned int length ; unsigned int actual_length ; int status ; }; struct urb; struct usb_anchor { struct list_head urb_list ; wait_queue_head_t wait ; spinlock_t lock ; unsigned char poisoned : 1 ; }; struct scatterlist; struct urb { struct kref kref ; void *hcpriv ; atomic_t use_count ; atomic_t reject ; int unlinked ; struct list_head urb_list ; struct list_head anchor_list ; struct usb_anchor *anchor ; struct usb_device *dev ; struct usb_host_endpoint *ep ; unsigned int pipe ; unsigned int stream_id ; int status ; unsigned int transfer_flags ; void *transfer_buffer ; dma_addr_t transfer_dma ; struct scatterlist *sg ; int num_mapped_sgs ; int num_sgs ; u32 transfer_buffer_length ; u32 actual_length ; unsigned char *setup_packet ; dma_addr_t setup_dma ; int start_frame ; int number_of_packets ; int interval ; int error_count ; void *context ; void (*complete)(struct urb * ) ; struct usb_iso_packet_descriptor iso_frame_desc[0U] ; }; enum v4l2_buf_type { V4L2_BUF_TYPE_VIDEO_CAPTURE = 1, V4L2_BUF_TYPE_VIDEO_OUTPUT = 2, V4L2_BUF_TYPE_VIDEO_OVERLAY = 3, V4L2_BUF_TYPE_VBI_CAPTURE = 4, V4L2_BUF_TYPE_VBI_OUTPUT = 5, V4L2_BUF_TYPE_SLICED_VBI_CAPTURE = 6, V4L2_BUF_TYPE_SLICED_VBI_OUTPUT = 7, V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY = 8, V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE = 9, V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE = 10, V4L2_BUF_TYPE_PRIVATE = 128 } ; enum v4l2_priority { V4L2_PRIORITY_UNSET = 0, V4L2_PRIORITY_BACKGROUND = 1, V4L2_PRIORITY_INTERACTIVE = 2, V4L2_PRIORITY_RECORD = 3, V4L2_PRIORITY_DEFAULT = 2 } ; struct v4l2_rect { __s32 left ; __s32 top ; __s32 width ; __s32 height ; }; struct v4l2_fract { __u32 numerator ; __u32 denominator ; }; struct v4l2_capability { __u8 driver[16U] ; __u8 card[32U] ; __u8 bus_info[32U] ; __u32 version ; __u32 capabilities ; __u32 device_caps ; __u32 reserved[3U] ; }; struct v4l2_pix_format { __u32 width ; __u32 height ; __u32 pixelformat ; __u32 field ; __u32 bytesperline ; __u32 sizeimage ; __u32 colorspace ; __u32 priv ; }; struct v4l2_fmtdesc { __u32 index ; __u32 type ; __u32 flags ; __u8 description[32U] ; __u32 pixelformat ; __u32 reserved[4U] ; }; struct v4l2_frmsize_discrete { __u32 width ; __u32 height ; }; struct v4l2_frmsize_stepwise { __u32 min_width ; __u32 max_width ; __u32 step_width ; __u32 min_height ; __u32 max_height ; __u32 step_height ; }; union __anonunion_ldv_28362_183 { struct v4l2_frmsize_discrete discrete ; struct v4l2_frmsize_stepwise stepwise ; }; struct v4l2_frmsizeenum { __u32 index ; __u32 pixel_format ; __u32 type ; union __anonunion_ldv_28362_183 ldv_28362 ; __u32 reserved[2U] ; }; struct v4l2_frmival_stepwise { struct v4l2_fract min ; struct v4l2_fract max ; struct v4l2_fract step ; }; union __anonunion_ldv_28381_184 { struct v4l2_fract discrete ; struct v4l2_frmival_stepwise stepwise ; }; struct v4l2_frmivalenum { __u32 index ; __u32 pixel_format ; __u32 width ; __u32 height ; __u32 type ; union __anonunion_ldv_28381_184 ldv_28381 ; __u32 reserved[2U] ; }; struct v4l2_timecode { __u32 type ; __u32 flags ; __u8 frames ; __u8 seconds ; __u8 minutes ; __u8 hours ; __u8 userbits[4U] ; }; struct v4l2_jpegcompression { int quality ; int APPn ; int APP_len ; char APP_data[60U] ; int COM_len ; char COM_data[60U] ; __u32 jpeg_markers ; }; struct v4l2_requestbuffers { __u32 count ; __u32 type ; __u32 memory ; __u32 reserved[2U] ; }; union __anonunion_m_185 { __u32 mem_offset ; unsigned long userptr ; __s32 fd ; }; struct v4l2_plane { __u32 bytesused ; __u32 length ; union __anonunion_m_185 m ; __u32 data_offset ; __u32 reserved[11U] ; }; union __anonunion_m_186 { __u32 offset ; unsigned long userptr ; struct v4l2_plane *planes ; __s32 fd ; }; struct v4l2_buffer { __u32 index ; __u32 type ; __u32 bytesused ; __u32 flags ; __u32 field ; struct timeval timestamp ; struct v4l2_timecode timecode ; __u32 sequence ; __u32 memory ; union __anonunion_m_186 m ; __u32 length ; __u32 reserved2 ; __u32 reserved ; }; struct v4l2_exportbuffer { __u32 type ; __u32 index ; __u32 plane ; __u32 flags ; __s32 fd ; __u32 reserved[11U] ; }; struct v4l2_framebuffer { __u32 capability ; __u32 flags ; void *base ; struct v4l2_pix_format fmt ; }; struct v4l2_clip { struct v4l2_rect c ; struct v4l2_clip *next ; }; struct v4l2_window { struct v4l2_rect w ; __u32 field ; __u32 chromakey ; struct v4l2_clip *clips ; __u32 clipcount ; void *bitmap ; __u8 global_alpha ; }; struct v4l2_captureparm { __u32 capability ; __u32 capturemode ; struct v4l2_fract timeperframe ; __u32 extendedmode ; __u32 readbuffers ; __u32 reserved[4U] ; }; struct v4l2_outputparm { __u32 capability ; __u32 outputmode ; struct v4l2_fract timeperframe ; __u32 extendedmode ; __u32 writebuffers ; __u32 reserved[4U] ; }; struct v4l2_cropcap { __u32 type ; struct v4l2_rect bounds ; struct v4l2_rect defrect ; struct v4l2_fract pixelaspect ; }; struct v4l2_crop { __u32 type ; struct v4l2_rect c ; }; struct v4l2_selection { __u32 type ; __u32 target ; __u32 flags ; struct v4l2_rect r ; __u32 reserved[9U] ; }; typedef __u64 v4l2_std_id; struct v4l2_bt_timings { __u32 width ; __u32 height ; __u32 interlaced ; __u32 polarities ; __u64 pixelclock ; __u32 hfrontporch ; __u32 hsync ; __u32 hbackporch ; __u32 vfrontporch ; __u32 vsync ; __u32 vbackporch ; __u32 il_vfrontporch ; __u32 il_vsync ; __u32 il_vbackporch ; __u32 standards ; __u32 flags ; __u32 reserved[14U] ; }; union __anonunion_ldv_28515_187 { struct v4l2_bt_timings bt ; __u32 reserved[32U] ; }; struct v4l2_dv_timings { __u32 type ; union __anonunion_ldv_28515_187 ldv_28515 ; }; struct v4l2_enum_dv_timings { __u32 index ; __u32 reserved[3U] ; struct v4l2_dv_timings timings ; }; struct v4l2_bt_timings_cap { __u32 min_width ; __u32 max_width ; __u32 min_height ; __u32 max_height ; __u64 min_pixelclock ; __u64 max_pixelclock ; __u32 standards ; __u32 capabilities ; __u32 reserved[16U] ; }; union __anonunion_ldv_28536_188 { struct v4l2_bt_timings_cap bt ; __u32 raw_data[32U] ; }; struct v4l2_dv_timings_cap { __u32 type ; __u32 reserved[3U] ; union __anonunion_ldv_28536_188 ldv_28536 ; }; struct v4l2_input { __u32 index ; __u8 name[32U] ; __u32 type ; __u32 audioset ; __u32 tuner ; v4l2_std_id std ; __u32 status ; __u32 capabilities ; __u32 reserved[3U] ; }; struct v4l2_output { __u32 index ; __u8 name[32U] ; __u32 type ; __u32 audioset ; __u32 modulator ; v4l2_std_id std ; __u32 capabilities ; __u32 reserved[3U] ; }; struct v4l2_control { __u32 id ; __s32 value ; }; union __anonunion_ldv_28567_189 { __s32 value ; __s64 value64 ; char *string ; }; struct v4l2_ext_control { __u32 id ; __u32 size ; __u32 reserved2[1U] ; union __anonunion_ldv_28567_189 ldv_28567 ; }; struct v4l2_ext_controls { __u32 ctrl_class ; __u32 count ; __u32 error_idx ; __u32 reserved[2U] ; struct v4l2_ext_control *controls ; }; struct v4l2_queryctrl { __u32 id ; __u32 type ; __u8 name[32U] ; __s32 minimum ; __s32 maximum ; __s32 step ; __s32 default_value ; __u32 flags ; __u32 reserved[2U] ; }; union __anonunion_ldv_28600_190 { __u8 name[32U] ; __s64 value ; }; struct v4l2_querymenu { __u32 id ; __u32 index ; union __anonunion_ldv_28600_190 ldv_28600 ; __u32 reserved ; }; struct v4l2_tuner { __u32 index ; __u8 name[32U] ; __u32 type ; __u32 capability ; __u32 rangelow ; __u32 rangehigh ; __u32 rxsubchans ; __u32 audmode ; __s32 signal ; __s32 afc ; __u32 reserved[4U] ; }; struct v4l2_modulator { __u32 index ; __u8 name[32U] ; __u32 capability ; __u32 rangelow ; __u32 rangehigh ; __u32 txsubchans ; __u32 reserved[4U] ; }; struct v4l2_frequency { __u32 tuner ; __u32 type ; __u32 frequency ; __u32 reserved[8U] ; }; struct v4l2_frequency_band { __u32 tuner ; __u32 type ; __u32 index ; __u32 capability ; __u32 rangelow ; __u32 rangehigh ; __u32 modulation ; __u32 reserved[9U] ; }; struct v4l2_hw_freq_seek { __u32 tuner ; __u32 type ; __u32 seek_upward ; __u32 wrap_around ; __u32 spacing ; __u32 rangelow ; __u32 rangehigh ; __u32 reserved[5U] ; }; struct v4l2_audio { __u32 index ; __u8 name[32U] ; __u32 capability ; __u32 mode ; __u32 reserved[2U] ; }; struct v4l2_audioout { __u32 index ; __u8 name[32U] ; __u32 capability ; __u32 mode ; __u32 reserved[2U] ; }; struct v4l2_enc_idx_entry { __u64 offset ; __u64 pts ; __u32 length ; __u32 flags ; __u32 reserved[2U] ; }; struct v4l2_enc_idx { __u32 entries ; __u32 entries_cap ; __u32 reserved[4U] ; struct v4l2_enc_idx_entry entry[64U] ; }; struct __anonstruct_raw_192 { __u32 data[8U] ; }; union __anonunion_ldv_28679_191 { struct __anonstruct_raw_192 raw ; }; struct v4l2_encoder_cmd { __u32 cmd ; __u32 flags ; union __anonunion_ldv_28679_191 ldv_28679 ; }; struct __anonstruct_stop_194 { __u64 pts ; }; struct __anonstruct_start_195 { __s32 speed ; __u32 format ; }; struct __anonstruct_raw_196 { __u32 data[16U] ; }; union __anonunion_ldv_28694_193 { struct __anonstruct_stop_194 stop ; struct __anonstruct_start_195 start ; struct __anonstruct_raw_196 raw ; }; struct v4l2_decoder_cmd { __u32 cmd ; __u32 flags ; union __anonunion_ldv_28694_193 ldv_28694 ; }; struct v4l2_vbi_format { __u32 sampling_rate ; __u32 offset ; __u32 samples_per_line ; __u32 sample_format ; __s32 start[2U] ; __u32 count[2U] ; __u32 flags ; __u32 reserved[2U] ; }; struct v4l2_sliced_vbi_format { __u16 service_set ; __u16 service_lines[2U][24U] ; __u32 io_size ; __u32 reserved[2U] ; }; struct v4l2_sliced_vbi_cap { __u16 service_set ; __u16 service_lines[2U][24U] ; __u32 type ; __u32 reserved[3U] ; }; struct v4l2_plane_pix_format { __u32 sizeimage ; __u16 bytesperline ; __u16 reserved[7U] ; }; struct v4l2_pix_format_mplane { __u32 width ; __u32 height ; __u32 pixelformat ; __u32 field ; __u32 colorspace ; struct v4l2_plane_pix_format plane_fmt[8U] ; __u8 num_planes ; __u8 reserved[11U] ; }; union __anonunion_fmt_198 { struct v4l2_pix_format pix ; struct v4l2_pix_format_mplane pix_mp ; struct v4l2_window win ; struct v4l2_vbi_format vbi ; struct v4l2_sliced_vbi_format sliced ; __u8 raw_data[200U] ; }; struct v4l2_format { __u32 type ; union __anonunion_fmt_198 fmt ; }; union __anonunion_parm_199 { struct v4l2_captureparm capture ; struct v4l2_outputparm output ; __u8 raw_data[200U] ; }; struct v4l2_streamparm { __u32 type ; union __anonunion_parm_199 parm ; }; struct v4l2_event_subscription { __u32 type ; __u32 id ; __u32 flags ; __u32 reserved[5U] ; }; union __anonunion_ldv_28803_202 { __u32 addr ; char name[32U] ; }; struct v4l2_dbg_match { __u32 type ; union __anonunion_ldv_28803_202 ldv_28803 ; }; struct v4l2_dbg_register { struct v4l2_dbg_match match ; __u32 size ; __u64 reg ; __u64 val ; }; struct v4l2_dbg_chip_ident { struct v4l2_dbg_match match ; __u32 ident ; __u32 revision ; }; struct v4l2_dbg_chip_info { struct v4l2_dbg_match match ; char name[32U] ; __u32 flags ; __u32 reserved[32U] ; }; struct v4l2_create_buffers { __u32 index ; __u32 count ; __u32 memory ; struct v4l2_format format ; __u32 reserved[8U] ; }; struct cdev { struct kobject kobj ; struct module *owner ; struct file_operations const *ops ; struct list_head list ; dev_t dev ; unsigned int count ; }; struct media_pipeline { }; struct media_pad; struct media_link { struct media_pad *source ; struct media_pad *sink ; struct media_link *reverse ; unsigned long flags ; }; struct media_entity; struct media_pad { struct media_entity *entity ; u16 index ; unsigned long flags ; }; struct media_entity_operations { int (*link_setup)(struct media_entity * , struct media_pad const * , struct media_pad const * , u32 ) ; int (*link_validate)(struct media_link * ) ; }; struct media_device; struct __anonstruct_v4l_208 { u32 major ; u32 minor ; }; struct __anonstruct_fb_209 { u32 major ; u32 minor ; }; struct __anonstruct_alsa_210 { u32 card ; u32 device ; u32 subdevice ; }; union __anonunion_info_207 { struct __anonstruct_v4l_208 v4l ; struct __anonstruct_fb_209 fb ; struct __anonstruct_alsa_210 alsa ; int dvb ; }; struct media_entity { struct list_head list ; struct media_device *parent ; u32 id ; char const *name ; u32 type ; u32 revision ; unsigned long flags ; u32 group_id ; u16 num_pads ; u16 num_links ; u16 num_backlinks ; u16 max_links ; struct media_pad *pads ; struct media_link *links ; struct media_entity_operations const *ops ; int stream_count ; int use_count ; struct media_pipeline *pipe ; union __anonunion_info_207 info ; }; struct video_device; struct v4l2_device; struct v4l2_ctrl_handler; struct v4l2_prio_state { atomic_t prios[4U] ; }; struct v4l2_file_operations { struct module *owner ; ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ; ssize_t (*write)(struct file * , char const * , size_t , loff_t * ) ; unsigned int (*poll)(struct file * , struct poll_table_struct * ) ; long (*ioctl)(struct file * , unsigned int , unsigned long ) ; long (*unlocked_ioctl)(struct file * , unsigned int , unsigned long ) ; long (*compat_ioctl32)(struct file * , unsigned int , unsigned long ) ; unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long , unsigned long , unsigned long ) ; int (*mmap)(struct file * , struct vm_area_struct * ) ; int (*open)(struct file * ) ; int (*release)(struct file * ) ; }; struct vb2_queue; struct v4l2_ioctl_ops; struct video_device { struct media_entity entity ; struct v4l2_file_operations const *fops ; struct device dev ; struct cdev *cdev ; struct device *parent ; struct v4l2_device *v4l2_dev ; struct v4l2_ctrl_handler *ctrl_handler ; struct vb2_queue *queue ; struct v4l2_prio_state *prio ; char name[32U] ; int vfl_type ; int vfl_dir ; int minor ; u16 num ; unsigned long flags ; int index ; spinlock_t fh_lock ; struct list_head fh_list ; int debug ; v4l2_std_id tvnorms ; v4l2_std_id current_norm ; void (*release)(struct video_device * ) ; struct v4l2_ioctl_ops const *ioctl_ops ; unsigned long valid_ioctls[3U] ; unsigned long disable_locking[3U] ; struct mutex *lock ; }; struct v4l2_fh; struct v4l2_ioctl_ops { int (*vidioc_querycap)(struct file * , void * , struct v4l2_capability * ) ; int (*vidioc_g_priority)(struct file * , void * , enum v4l2_priority * ) ; int (*vidioc_s_priority)(struct file * , void * , enum v4l2_priority ) ; int (*vidioc_enum_fmt_vid_cap)(struct file * , void * , struct v4l2_fmtdesc * ) ; int (*vidioc_enum_fmt_vid_overlay)(struct file * , void * , struct v4l2_fmtdesc * ) ; int (*vidioc_enum_fmt_vid_out)(struct file * , void * , struct v4l2_fmtdesc * ) ; int (*vidioc_enum_fmt_vid_cap_mplane)(struct file * , void * , struct v4l2_fmtdesc * ) ; int (*vidioc_enum_fmt_vid_out_mplane)(struct file * , void * , struct v4l2_fmtdesc * ) ; int (*vidioc_g_fmt_vid_cap)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_g_fmt_vid_overlay)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_g_fmt_vid_out)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_g_fmt_vid_out_overlay)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_g_fmt_vbi_cap)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_g_fmt_vbi_out)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_g_fmt_sliced_vbi_cap)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_g_fmt_sliced_vbi_out)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_g_fmt_vid_cap_mplane)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_g_fmt_vid_out_mplane)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_s_fmt_vid_cap)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_s_fmt_vid_overlay)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_s_fmt_vid_out)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_s_fmt_vid_out_overlay)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_s_fmt_vbi_cap)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_s_fmt_vbi_out)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_s_fmt_sliced_vbi_cap)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_s_fmt_sliced_vbi_out)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_s_fmt_vid_cap_mplane)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_s_fmt_vid_out_mplane)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_try_fmt_vid_cap)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_try_fmt_vid_overlay)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_try_fmt_vid_out)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_try_fmt_vid_out_overlay)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_try_fmt_vbi_cap)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_try_fmt_vbi_out)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_try_fmt_sliced_vbi_cap)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_try_fmt_sliced_vbi_out)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_try_fmt_vid_cap_mplane)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_try_fmt_vid_out_mplane)(struct file * , void * , struct v4l2_format * ) ; int (*vidioc_reqbufs)(struct file * , void * , struct v4l2_requestbuffers * ) ; int (*vidioc_querybuf)(struct file * , void * , struct v4l2_buffer * ) ; int (*vidioc_qbuf)(struct file * , void * , struct v4l2_buffer * ) ; int (*vidioc_expbuf)(struct file * , void * , struct v4l2_exportbuffer * ) ; int (*vidioc_dqbuf)(struct file * , void * , struct v4l2_buffer * ) ; int (*vidioc_create_bufs)(struct file * , void * , struct v4l2_create_buffers * ) ; int (*vidioc_prepare_buf)(struct file * , void * , struct v4l2_buffer * ) ; int (*vidioc_overlay)(struct file * , void * , unsigned int ) ; int (*vidioc_g_fbuf)(struct file * , void * , struct v4l2_framebuffer * ) ; int (*vidioc_s_fbuf)(struct file * , void * , struct v4l2_framebuffer const * ) ; int (*vidioc_streamon)(struct file * , void * , enum v4l2_buf_type ) ; int (*vidioc_streamoff)(struct file * , void * , enum v4l2_buf_type ) ; int (*vidioc_g_std)(struct file * , void * , v4l2_std_id * ) ; int (*vidioc_s_std)(struct file * , void * , v4l2_std_id ) ; int (*vidioc_querystd)(struct file * , void * , v4l2_std_id * ) ; int (*vidioc_enum_input)(struct file * , void * , struct v4l2_input * ) ; int (*vidioc_g_input)(struct file * , void * , unsigned int * ) ; int (*vidioc_s_input)(struct file * , void * , unsigned int ) ; int (*vidioc_enum_output)(struct file * , void * , struct v4l2_output * ) ; int (*vidioc_g_output)(struct file * , void * , unsigned int * ) ; int (*vidioc_s_output)(struct file * , void * , unsigned int ) ; int (*vidioc_queryctrl)(struct file * , void * , struct v4l2_queryctrl * ) ; int (*vidioc_g_ctrl)(struct file * , void * , struct v4l2_control * ) ; int (*vidioc_s_ctrl)(struct file * , void * , struct v4l2_control * ) ; int (*vidioc_g_ext_ctrls)(struct file * , void * , struct v4l2_ext_controls * ) ; int (*vidioc_s_ext_ctrls)(struct file * , void * , struct v4l2_ext_controls * ) ; int (*vidioc_try_ext_ctrls)(struct file * , void * , struct v4l2_ext_controls * ) ; int (*vidioc_querymenu)(struct file * , void * , struct v4l2_querymenu * ) ; int (*vidioc_enumaudio)(struct file * , void * , struct v4l2_audio * ) ; int (*vidioc_g_audio)(struct file * , void * , struct v4l2_audio * ) ; int (*vidioc_s_audio)(struct file * , void * , struct v4l2_audio const * ) ; int (*vidioc_enumaudout)(struct file * , void * , struct v4l2_audioout * ) ; int (*vidioc_g_audout)(struct file * , void * , struct v4l2_audioout * ) ; int (*vidioc_s_audout)(struct file * , void * , struct v4l2_audioout const * ) ; int (*vidioc_g_modulator)(struct file * , void * , struct v4l2_modulator * ) ; int (*vidioc_s_modulator)(struct file * , void * , struct v4l2_modulator const * ) ; int (*vidioc_cropcap)(struct file * , void * , struct v4l2_cropcap * ) ; int (*vidioc_g_crop)(struct file * , void * , struct v4l2_crop * ) ; int (*vidioc_s_crop)(struct file * , void * , struct v4l2_crop const * ) ; int (*vidioc_g_selection)(struct file * , void * , struct v4l2_selection * ) ; int (*vidioc_s_selection)(struct file * , void * , struct v4l2_selection * ) ; int (*vidioc_g_jpegcomp)(struct file * , void * , struct v4l2_jpegcompression * ) ; int (*vidioc_s_jpegcomp)(struct file * , void * , struct v4l2_jpegcompression const * ) ; int (*vidioc_g_enc_index)(struct file * , void * , struct v4l2_enc_idx * ) ; int (*vidioc_encoder_cmd)(struct file * , void * , struct v4l2_encoder_cmd * ) ; int (*vidioc_try_encoder_cmd)(struct file * , void * , struct v4l2_encoder_cmd * ) ; int (*vidioc_decoder_cmd)(struct file * , void * , struct v4l2_decoder_cmd * ) ; int (*vidioc_try_decoder_cmd)(struct file * , void * , struct v4l2_decoder_cmd * ) ; int (*vidioc_g_parm)(struct file * , void * , struct v4l2_streamparm * ) ; int (*vidioc_s_parm)(struct file * , void * , struct v4l2_streamparm * ) ; int (*vidioc_g_tuner)(struct file * , void * , struct v4l2_tuner * ) ; int (*vidioc_s_tuner)(struct file * , void * , struct v4l2_tuner const * ) ; int (*vidioc_g_frequency)(struct file * , void * , struct v4l2_frequency * ) ; int (*vidioc_s_frequency)(struct file * , void * , struct v4l2_frequency const * ) ; int (*vidioc_enum_freq_bands)(struct file * , void * , struct v4l2_frequency_band * ) ; int (*vidioc_g_sliced_vbi_cap)(struct file * , void * , struct v4l2_sliced_vbi_cap * ) ; int (*vidioc_log_status)(struct file * , void * ) ; int (*vidioc_s_hw_freq_seek)(struct file * , void * , struct v4l2_hw_freq_seek const * ) ; int (*vidioc_g_register)(struct file * , void * , struct v4l2_dbg_register * ) ; int (*vidioc_s_register)(struct file * , void * , struct v4l2_dbg_register const * ) ; int (*vidioc_g_chip_info)(struct file * , void * , struct v4l2_dbg_chip_info * ) ; int (*vidioc_g_chip_ident)(struct file * , void * , struct v4l2_dbg_chip_ident * ) ; int (*vidioc_enum_framesizes)(struct file * , void * , struct v4l2_frmsizeenum * ) ; int (*vidioc_enum_frameintervals)(struct file * , void * , struct v4l2_frmivalenum * ) ; int (*vidioc_s_dv_timings)(struct file * , void * , struct v4l2_dv_timings * ) ; int (*vidioc_g_dv_timings)(struct file * , void * , struct v4l2_dv_timings * ) ; int (*vidioc_query_dv_timings)(struct file * , void * , struct v4l2_dv_timings * ) ; int (*vidioc_enum_dv_timings)(struct file * , void * , struct v4l2_enum_dv_timings * ) ; int (*vidioc_dv_timings_cap)(struct file * , void * , struct v4l2_dv_timings_cap * ) ; int (*vidioc_subscribe_event)(struct v4l2_fh * , struct v4l2_event_subscription const * ) ; int (*vidioc_unsubscribe_event)(struct v4l2_fh * , struct v4l2_event_subscription const * ) ; long (*vidioc_default)(struct file * , void * , bool , unsigned int , void * ) ; }; struct sn9c102_device; struct sn9c102_sensor; enum sn9c102_bridge { BRIDGE_SN9C101 = 1, BRIDGE_SN9C102 = 2, BRIDGE_SN9C103 = 4, BRIDGE_SN9C105 = 8, BRIDGE_SN9C120 = 16 } ; enum sn9c102_i2c_sysfs_ops { SN9C102_I2C_READ = 1, SN9C102_I2C_WRITE = 2 } ; enum sn9c102_i2c_frequency { SN9C102_I2C_100KHZ = 1, SN9C102_I2C_400KHZ = 2 } ; enum sn9c102_i2c_interface { SN9C102_I2C_2WIRES = 0, SN9C102_I2C_3WIRES = 1 } ; struct sn9c102_sensor { char name[32U] ; char maintainer[64U] ; enum sn9c102_bridge supported_bridge ; enum sn9c102_i2c_sysfs_ops sysfs_ops ; enum sn9c102_i2c_frequency frequency ; enum sn9c102_i2c_interface interface ; u8 i2c_slave_id ; int (*init)(struct sn9c102_device * ) ; struct v4l2_queryctrl qctrl[53U] ; int (*get_ctrl)(struct sn9c102_device * , struct v4l2_control * ) ; int (*set_ctrl)(struct sn9c102_device * , struct v4l2_control const * ) ; struct v4l2_cropcap cropcap ; int (*set_crop)(struct sn9c102_device * , struct v4l2_rect const * ) ; struct v4l2_pix_format pix_format ; int (*set_pix_format)(struct sn9c102_device * , struct v4l2_pix_format const * ) ; struct v4l2_queryctrl _qctrl[53U] ; struct v4l2_rect _rect ; }; enum sn9c102_frame_state { F_UNUSED = 0, F_QUEUED = 1, F_GRABBING = 2, F_DONE = 3, F_ERROR = 4 } ; struct sn9c102_frame_t { void *bufmem ; struct v4l2_buffer buf ; enum sn9c102_frame_state state ; struct list_head frame ; unsigned long vma_use_count ; }; enum sn9c102_dev_state { DEV_INITIALIZED = 1, DEV_DISCONNECTED = 2, DEV_MISCONFIGURED = 4 } ; enum sn9c102_io_method { IO_NONE = 0, IO_READ = 1, IO_MMAP = 2 } ; enum sn9c102_stream_state { STREAM_OFF = 0, STREAM_INTERRUPT = 1, STREAM_ON = 2 } ; typedef char sn9c102_sof_header_t[62U]; struct sn9c102_sof_t { sn9c102_sof_header_t header ; u16 bytesread ; }; struct sn9c102_sysfs_attr { u16 reg ; u16 i2c_reg ; sn9c102_sof_header_t frame_header ; }; struct sn9c102_module_param { u8 force_munmap ; u16 frame_timeout ; }; struct sn9c102_device { struct video_device *v4ldev ; enum sn9c102_bridge bridge ; struct sn9c102_sensor sensor ; struct usb_device *usbdev ; struct urb *urb[2U] ; void *transfer_buffer[2U] ; u8 *control_buffer ; struct sn9c102_frame_t *frame_current ; struct sn9c102_frame_t frame[32U] ; struct list_head inqueue ; struct list_head outqueue ; u32 frame_count ; u32 nbuffers ; u32 nreadbuffers ; enum sn9c102_io_method io ; enum sn9c102_stream_state stream ; struct v4l2_jpegcompression compression ; struct sn9c102_sysfs_attr sysfs ; struct sn9c102_sof_t sof ; u16 reg[384U] ; struct sn9c102_module_param module_param ; struct kref kref ; enum sn9c102_dev_state state ; u8 users ; struct completion probe ; struct mutex open_mutex ; struct mutex fileop_mutex ; spinlock_t queue_lock ; wait_queue_head_t wait_open ; wait_queue_head_t wait_frame ; wait_queue_head_t wait_stream ; }; typedef int ldv_func_ret_type___2; typedef int ldv_func_ret_type___4; typedef int ldv_func_ret_type___7; typedef int ldv_func_ret_type___11; typedef int ldv_func_ret_type___15; typedef int ldv_func_ret_type___20; typedef int ldv_func_ret_type___23; typedef int ldv_func_ret_type___27; typedef int ldv_func_ret_type___32; typedef int ldv_func_ret_type___38; typedef int ldv_func_ret_type___43; typedef int ldv_func_ret_type___45; typedef int ldv_func_ret_type___58; typedef int ldv_func_ret_type___61; typedef int ldv_func_ret_type___69; enum hrtimer_restart; enum hrtimer_restart; enum hrtimer_restart; enum hrtimer_restart; enum hrtimer_restart; enum hrtimer_restart; enum hrtimer_restart; enum hrtimer_restart; enum hrtimer_restart; enum hrtimer_restart; enum hrtimer_restart; enum hrtimer_restart; long ldv__builtin_expect(long exp , long c ) ; extern struct module __this_module ; __inline static int variable_test_bit(int nr , unsigned long const volatile *addr ) { int oldbit ; { __asm__ volatile ("bt %2,%1\n\tsbb %0,%0": "=r" (oldbit): "m" (*((unsigned long *)addr)), "Ir" (nr)); return (oldbit); } } extern void might_fault(void) ; extern unsigned long simple_strtoul(char const * , char ** , unsigned int ) ; extern int sprintf(char * , char const * , ...) ; extern int snprintf(char * , size_t , char const * , ...) ; __inline static void INIT_LIST_HEAD(struct list_head *list ) { { list->next = list; list->prev = list; return; } } extern void __list_add(struct list_head * , struct list_head * , struct list_head * ) ; __inline static void list_add(struct list_head *new , struct list_head *head ) { { __list_add(new, head, head->next); return; } } __inline static void list_add_tail(struct list_head *new , struct list_head *head ) { { __list_add(new, head->prev, head); return; } } extern void __list_del_entry(struct list_head * ) ; extern void list_del(struct list_head * ) ; __inline static void list_move_tail(struct list_head *list , struct list_head *head ) { { __list_del_entry(list); list_add_tail(list, head); return; } } __inline static int list_empty(struct list_head const *head ) { { return ((unsigned long )((struct list_head const *)head->next) == (unsigned long )head); } } extern void __bad_percpu_size(void) ; extern struct task_struct *current_task ; __inline static struct task_struct *get_current(void) { struct task_struct *pfo_ret__ ; { switch (8UL) { case 1UL: __asm__ ("movb %%gs:%P1,%0": "=q" (pfo_ret__): "p" (& current_task)); goto ldv_2869; case 2UL: __asm__ ("movw %%gs:%P1,%0": "=r" (pfo_ret__): "p" (& current_task)); goto ldv_2869; case 4UL: __asm__ ("movl %%gs:%P1,%0": "=r" (pfo_ret__): "p" (& current_task)); goto ldv_2869; case 8UL: __asm__ ("movq %%gs:%P1,%0": "=r" (pfo_ret__): "p" (& current_task)); goto ldv_2869; default: __bad_percpu_size(); } ldv_2869: ; return (pfo_ret__); } } extern void *__memcpy(void * , void const * , size_t ) ; extern void *memset(void * , int , size_t ) ; extern int memcmp(void const * , void const * , size_t ) ; extern char *strcpy(char * , char const * ) ; extern char *strncpy(char * , char const * , __kernel_size_t ) ; extern size_t strlcpy(char * , char const * , size_t ) ; extern void warn_slowpath_fmt(char const * , int const , char const * , ...) ; extern void warn_slowpath_null(char const * , int const ) ; extern void __xadd_wrong_size(void) ; __inline static void atomic_set(atomic_t *v , int i ) { { v->counter = i; return; } } __inline static int atomic_sub_and_test(int i , atomic_t *v ) { unsigned char c ; { __asm__ volatile (".pushsection .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.popsection\n671:\n\tlock; subl %2,%0; sete %1": "+m" (v->counter), "=qm" (c): "ir" (i): "memory"); return ((int )c); } } __inline static int atomic_add_return(int i , atomic_t *v ) { int __ret ; { __ret = i; switch (4UL) { case 1UL: __asm__ volatile (".pushsection .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.popsection\n671:\n\tlock; xaddb %b0, %1\n": "+q" (__ret), "+m" (v->counter): : "memory", "cc"); goto ldv_5527; case 2UL: __asm__ volatile (".pushsection .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.popsection\n671:\n\tlock; xaddw %w0, %1\n": "+r" (__ret), "+m" (v->counter): : "memory", "cc"); goto ldv_5527; case 4UL: __asm__ volatile (".pushsection .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.popsection\n671:\n\tlock; xaddl %0, %1\n": "+r" (__ret), "+m" (v->counter): : "memory", "cc"); goto ldv_5527; case 8UL: __asm__ volatile (".pushsection .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.popsection\n671:\n\tlock; xaddq %q0, %1\n": "+r" (__ret), "+m" (v->counter): : "memory", "cc"); goto ldv_5527; default: __xadd_wrong_size(); } ldv_5527: ; return (__ret + i); } } extern void __mutex_init(struct mutex * , char const * , struct lock_class_key * ) ; extern int mutex_trylock(struct mutex * ) ; int ldv_mutex_trylock_4(struct mutex *ldv_func_arg1 ) ; extern void mutex_unlock(struct mutex * ) ; void ldv_mutex_unlock_2(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_5(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_7(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_8(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_10(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_11(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_12(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_14(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_15(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_16(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_18(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_19(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_20(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_21(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_23(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_24(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_26(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_27(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_28(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_30(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_31(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_32(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_33(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_35(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_36(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_37(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_38(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_39(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_41(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_42(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_44(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_46(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_48(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_49(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_50(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_51(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_52(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_53(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_54(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_55(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_56(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_57(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_58(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_59(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_61(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_62(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_64(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_65(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_66(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_67(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_68(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_69(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_70(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_72(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_73(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_74(struct mutex *ldv_func_arg1 ) ; extern int mutex_lock_interruptible(struct mutex * ) ; int ldv_mutex_lock_interruptible_6(struct mutex *ldv_func_arg1 ) ; int ldv_mutex_lock_interruptible_9(struct mutex *ldv_func_arg1 ) ; int ldv_mutex_lock_interruptible_13(struct mutex *ldv_func_arg1 ) ; int ldv_mutex_lock_interruptible_17(struct mutex *ldv_func_arg1 ) ; int ldv_mutex_lock_interruptible_22(struct mutex *ldv_func_arg1 ) ; int ldv_mutex_lock_interruptible_25(struct mutex *ldv_func_arg1 ) ; int ldv_mutex_lock_interruptible_29(struct mutex *ldv_func_arg1 ) ; int ldv_mutex_lock_interruptible_34(struct mutex *ldv_func_arg1 ) ; int ldv_mutex_lock_interruptible_40(struct mutex *ldv_func_arg1 ) ; int ldv_mutex_lock_interruptible_45(struct mutex *ldv_func_arg1 ) ; int ldv_mutex_lock_interruptible_47(struct mutex *ldv_func_arg1 ) ; int ldv_mutex_lock_interruptible_60(struct mutex *ldv_func_arg1 ) ; int ldv_mutex_lock_interruptible_63(struct mutex *ldv_func_arg1 ) ; int ldv_mutex_lock_interruptible_71(struct mutex *ldv_func_arg1 ) ; extern void mutex_lock(struct mutex * ) ; void ldv_mutex_lock_1(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_3(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_43(struct mutex *ldv_func_arg1 ) ; int ldv_mutex_lock_interruptible_fileop_mutex_of_sn9c102_device(struct mutex *lock ) ; void ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(struct mutex *lock ) ; void ldv_mutex_lock_lock(struct mutex *lock ) ; void ldv_mutex_unlock_lock(struct mutex *lock ) ; void ldv_mutex_lock_mutex_of_device(struct mutex *lock ) ; int ldv_mutex_trylock_mutex_of_device(struct mutex *lock ) ; void ldv_mutex_unlock_mutex_of_device(struct mutex *lock ) ; int ldv_mutex_lock_interruptible_open_mutex_of_sn9c102_device(struct mutex *lock ) ; void ldv_mutex_unlock_open_mutex_of_sn9c102_device(struct mutex *lock ) ; int ldv_mutex_lock_interruptible_sn9c102_sysfs_lock(struct mutex *lock ) ; void ldv_mutex_lock_sn9c102_sysfs_lock(struct mutex *lock ) ; void ldv_mutex_unlock_sn9c102_sysfs_lock(struct mutex *lock ) ; __inline static int test_ti_thread_flag(struct thread_info *ti , int flag ) { int tmp ; { tmp = variable_test_bit(flag, (unsigned long const volatile *)(& ti->flags)); return (tmp); } } extern void __raw_spin_lock_init(raw_spinlock_t * , char const * , struct lock_class_key * ) ; extern void _raw_spin_lock(raw_spinlock_t * ) ; extern unsigned long _raw_spin_lock_irqsave(raw_spinlock_t * ) ; extern void _raw_spin_unlock(raw_spinlock_t * ) ; extern void _raw_spin_unlock_irqrestore(raw_spinlock_t * , unsigned long ) ; __inline static raw_spinlock_t *spinlock_check(spinlock_t *lock ) { { return (& lock->ldv_6014.rlock); } } __inline static void spin_lock(spinlock_t *lock ) { { _raw_spin_lock(& lock->ldv_6014.rlock); return; } } __inline static void spin_unlock(spinlock_t *lock ) { { _raw_spin_unlock(& lock->ldv_6014.rlock); return; } } __inline static void spin_unlock_irqrestore(spinlock_t *lock , unsigned long flags ) { { _raw_spin_unlock_irqrestore(& lock->ldv_6014.rlock, flags); return; } } extern void __init_waitqueue_head(wait_queue_head_t * , char const * , struct lock_class_key * ) ; extern void __wake_up(wait_queue_head_t * , unsigned int , int , void * ) ; extern void prepare_to_wait(wait_queue_head_t * , wait_queue_t * , int ) ; extern void prepare_to_wait_exclusive(wait_queue_head_t * , wait_queue_t * , int ) ; extern void finish_wait(wait_queue_head_t * , wait_queue_t * ) ; extern void abort_exclusive_wait(wait_queue_head_t * , wait_queue_t * , unsigned int , void * ) ; extern int autoremove_wake_function(wait_queue_t * , unsigned int , int , void * ) ; extern void down_read(struct rw_semaphore * ) ; extern int down_read_trylock(struct rw_semaphore * ) ; extern void down_write(struct rw_semaphore * ) ; extern void up_read(struct rw_semaphore * ) ; extern void up_write(struct rw_semaphore * ) ; __inline static void init_completion(struct completion *x ) { struct lock_class_key __key ; { x->done = 0U; __init_waitqueue_head(& x->wait, "&x->wait", & __key); return; } } extern int wait_for_completion_interruptible(struct completion * ) ; extern void complete_all(struct completion * ) ; extern unsigned long msecs_to_jiffies(unsigned int const ) ; extern void *vmalloc_32_user(unsigned long ) ; extern void vfree(void const * ) ; __inline static void kref_init(struct kref *kref ) { { atomic_set(& kref->refcount, 1); return; } } __inline static void kref_get(struct kref *kref ) { bool __warned ; int __ret_warn_once ; int tmp ; int __ret_warn_on ; long tmp___0 ; long tmp___1 ; long tmp___2 ; { tmp = atomic_add_return(1, & kref->refcount); __ret_warn_once = tmp <= 1; tmp___2 = ldv__builtin_expect(__ret_warn_once != 0, 0L); if (tmp___2 != 0L) { __ret_warn_on = ! __warned; tmp___0 = ldv__builtin_expect(__ret_warn_on != 0, 0L); if (tmp___0 != 0L) { warn_slowpath_null("include/linux/kref.h", 46); } else { } tmp___1 = ldv__builtin_expect(__ret_warn_on != 0, 0L); if (tmp___1 != 0L) { __warned = 1; } else { } } else { } ldv__builtin_expect(__ret_warn_once != 0, 0L); return; } } __inline static int kref_sub(struct kref *kref , unsigned int count , void (*release)(struct kref * ) ) { int __ret_warn_on ; long tmp ; int tmp___0 ; { __ret_warn_on = (unsigned long )release == (unsigned long )((void (*)(struct kref * ))0); tmp = ldv__builtin_expect(__ret_warn_on != 0, 0L); if (tmp != 0L) { warn_slowpath_null("include/linux/kref.h", 70); } else { } ldv__builtin_expect(__ret_warn_on != 0, 0L); tmp___0 = atomic_sub_and_test((int )count, & kref->refcount); if (tmp___0 != 0) { (*release)(kref); return (1); } else { } return (0); } } __inline static int kref_put(struct kref *kref , void (*release)(struct kref * ) ) { int tmp ; { tmp = kref_sub(kref, 1U, release); return (tmp); } } __inline static char const *kobject_name(struct kobject const *kobj ) { { return ((char const *)kobj->name); } } extern void kfree(void const * ) ; extern void *__kmalloc(size_t , gfp_t ) ; __inline static void *kmalloc(size_t size , gfp_t flags ) { void *tmp___2 ; { tmp___2 = __kmalloc(size, flags); return (tmp___2); } } __inline static void *kzalloc(size_t size , gfp_t flags ) { void *tmp ; { tmp = kmalloc(size, flags | 32768U); return (tmp); } } extern int device_create_file(struct device * , struct device_attribute const * ) ; extern void device_remove_file(struct device * , struct device_attribute const * ) ; __inline static char const *dev_name(struct device const *dev ) { char const *tmp ; { if ((unsigned long )dev->init_name != (unsigned long )((char const */* const */)0)) { return ((char const *)dev->init_name); } else { } tmp = kobject_name(& dev->kobj); return (tmp); } } extern void *dev_get_drvdata(struct device const * ) ; extern int dev_set_drvdata(struct device * , void * ) ; extern int dev_err(struct device const * , char const * , ...) ; extern int _dev_info(struct device const * , char const * , ...) ; extern void __const_udelay(unsigned long ) ; extern unsigned long _copy_to_user(void * , void const * , unsigned int ) ; extern unsigned long _copy_from_user(void * , void const * , unsigned int ) ; __inline static unsigned long copy_from_user(void *to , void const *from , unsigned long n ) { int sz ; unsigned long tmp ; int __ret_warn_on ; long tmp___0 ; long tmp___1 ; long tmp___2 ; { tmp = __builtin_object_size((void const *)to, 0); sz = (int )tmp; might_fault(); tmp___1 = ldv__builtin_expect(sz == -1, 1L); if (tmp___1 != 0L) { n = _copy_from_user(to, from, (unsigned int )n); } else { tmp___2 = ldv__builtin_expect((unsigned long )sz >= n, 1L); if (tmp___2 != 0L) { n = _copy_from_user(to, from, (unsigned int )n); } else { __ret_warn_on = 1; tmp___0 = ldv__builtin_expect(__ret_warn_on != 0, 0L); if (tmp___0 != 0L) { warn_slowpath_fmt("/work/ldvuser/exper_fp/inst/current/envs/linux-3.10-rc1.tar/linux-3.10-rc1/arch/x86/include/asm/uaccess_64.h", 66, "Buffer overflow detected!\n"); } else { } ldv__builtin_expect(__ret_warn_on != 0, 0L); } } return (n); } } __inline static int copy_to_user(void *dst , void const *src , unsigned int size ) { unsigned long tmp ; { might_fault(); tmp = _copy_to_user(dst, src, size); return ((int )tmp); } } __inline static void poll_wait(struct file *filp , wait_queue_head_t *wait_address , poll_table *p ) { { if (((unsigned long )p != (unsigned long )((poll_table *)0) && (unsigned long )p->_qproc != (unsigned long )((void (*)(struct file * , wait_queue_head_t * , struct poll_table_struct * ))0)) && (unsigned long )wait_address != (unsigned long )((wait_queue_head_t *)0)) { (*(p->_qproc))(filp, wait_address, p); } else { } return; } } extern struct page *vmalloc_to_page(void const * ) ; extern int vm_insert_page(struct vm_area_struct * , unsigned long , struct page * ) ; extern long schedule_timeout(long ) ; extern void schedule(void) ; __inline static int test_tsk_thread_flag(struct task_struct *tsk , int flag ) { int tmp ; { tmp = test_ti_thread_flag((struct thread_info *)tsk->stack, flag); return (tmp); } } __inline static int signal_pending(struct task_struct *p ) { int tmp ; long tmp___0 ; { tmp = test_tsk_thread_flag(p, 2); tmp___0 = ldv__builtin_expect(tmp != 0, 0L); return ((int )tmp___0); } } __inline static void *usb_get_intfdata(struct usb_interface *intf ) { void *tmp ; { tmp = dev_get_drvdata((struct device const *)(& intf->dev)); return (tmp); } } __inline static void usb_set_intfdata(struct usb_interface *intf , void *data ) { { dev_set_drvdata(& intf->dev, data); return; } } __inline static struct usb_device *interface_to_usbdev(struct usb_interface *intf ) { struct device const *__mptr ; { __mptr = (struct device const *)intf->dev.parent; return ((struct usb_device *)__mptr + 0xffffffffffffff78UL); } } extern struct usb_device *usb_get_dev(struct usb_device * ) ; extern void usb_put_dev(struct usb_device * ) ; extern struct usb_device_id const *usb_match_id(struct usb_interface * , struct usb_device_id const * ) ; extern struct usb_interface *usb_ifnum_to_if(struct usb_device const * , unsigned int ) ; extern struct usb_host_interface *usb_altnum_to_altsetting(struct usb_interface const * , unsigned int ) ; __inline static int usb_make_path(struct usb_device *dev , char *buf , size_t size ) { int actual ; { actual = snprintf(buf, size, "usb-%s-%s", (dev->bus)->bus_name, (char *)(& dev->devpath)); return ((int )size > actual ? actual : -1); } } extern struct urb *usb_alloc_urb(int , gfp_t ) ; extern void usb_free_urb(struct urb * ) ; extern int usb_submit_urb(struct urb * , gfp_t ) ; extern void usb_kill_urb(struct urb * ) ; extern int usb_control_msg(struct usb_device * , unsigned int , __u8 , __u8 , __u16 , __u16 , void * , __u16 , int ) ; extern int usb_set_interface(struct usb_device * , int , int ) ; __inline static unsigned int __create_pipe(struct usb_device *dev , unsigned int endpoint ) { { return ((unsigned int )(dev->devnum << 8) | (endpoint << 15)); } } extern int __video_register_device(struct video_device * , int , int , int , struct module * ) ; __inline static int video_register_device(struct video_device *vdev , int type , int nr ) { int tmp ; { tmp = __video_register_device(vdev, type, nr, 1, (vdev->fops)->owner); return (tmp); } } extern void video_unregister_device(struct video_device * ) ; extern struct video_device *video_device_alloc(void) ; extern void video_device_release(struct video_device * ) ; __inline static void *video_get_drvdata(struct video_device *vdev ) { void *tmp ; { tmp = dev_get_drvdata((struct device const *)(& vdev->dev)); return (tmp); } } __inline static void video_set_drvdata(struct video_device *vdev , void *data ) { { dev_set_drvdata(& vdev->dev, data); return; } } extern struct video_device *video_devdata(struct file * ) ; __inline static void *video_drvdata(struct file *file ) { struct video_device *tmp ; void *tmp___0 ; { tmp = video_devdata(file); tmp___0 = video_get_drvdata(tmp); return (tmp___0); } } __inline static char const *video_device_node_name(struct video_device *vdev ) { char const *tmp ; { tmp = dev_name((struct device const *)(& vdev->dev)); return (tmp); } } extern void v4l2_get_timestamp(struct timeval * ) ; extern void v4l_printk_ioctl(char const * , unsigned int ) ; static u8 const SN9C102_Y_QTABLE0[64U] = { 8U, 5U, 5U, 8U, 12U, 20U, 25U, 30U, 6U, 6U, 7U, 9U, 13U, 29U, 30U, 27U, 7U, 6U, 8U, 12U, 20U, 28U, 34U, 28U, 7U, 8U, 11U, 14U, 25U, 43U, 40U, 31U, 9U, 11U, 18U, 28U, 34U, 54U, 51U, 38U, 12U, 17U, 27U, 32U, 40U, 52U, 56U, 46U, 24U, 32U, 39U, 43U, 51U, 60U, 60U, 50U, 36U, 46U, 47U, 49U, 56U, 50U, 51U, 49U}; static u8 const SN9C102_UV_QTABLE0[64U] = { 8U, 9U, 12U, 23U, 49U, 49U, 49U, 49U, 9U, 10U, 13U, 33U, 49U, 49U, 49U, 49U, 12U, 13U, 28U, 49U, 49U, 49U, 49U, 49U, 23U, 33U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U, 49U}; static u8 const SN9C102_Y_QTABLE1[64U] = { 16U, 11U, 10U, 16U, 24U, 40U, 51U, 61U, 12U, 12U, 14U, 19U, 26U, 58U, 60U, 55U, 14U, 13U, 16U, 24U, 40U, 57U, 69U, 56U, 14U, 17U, 22U, 29U, 51U, 87U, 80U, 62U, 18U, 22U, 37U, 56U, 68U, 109U, 103U, 77U, 24U, 35U, 55U, 64U, 81U, 104U, 113U, 92U, 49U, 64U, 78U, 87U, 103U, 121U, 120U, 101U, 72U, 92U, 95U, 98U, 112U, 100U, 103U, 99U}; static u8 const SN9C102_UV_QTABLE1[64U] = { 17U, 18U, 24U, 47U, 99U, 99U, 99U, 99U, 18U, 21U, 26U, 66U, 99U, 99U, 99U, 99U, 24U, 26U, 56U, 99U, 99U, 99U, 99U, 99U, 47U, 66U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U, 99U}; enum sn9c102_bridge sn9c102_get_bridge(struct sn9c102_device *cam ) ; struct sn9c102_sensor *sn9c102_get_sensor(struct sn9c102_device *cam ) ; struct sn9c102_device *sn9c102_match_id(struct sn9c102_device *cam , struct usb_device_id const *id ) ; void sn9c102_attach_sensor(struct sn9c102_device *cam , struct sn9c102_sensor const *sensor ) ; int sn9c102_i2c_try_read(struct sn9c102_device *cam , struct sn9c102_sensor const *sensor , u8 address ) ; int sn9c102_i2c_try_raw_write(struct sn9c102_device *cam , struct sn9c102_sensor const *sensor , u8 n , u8 data0 , u8 data1 , u8 data2 , u8 data3 , u8 data4 , u8 data5 ) ; int sn9c102_i2c_try_raw_read(struct sn9c102_device *cam , struct sn9c102_sensor const *sensor , u8 data0 , u8 data1 , u8 n , u8 *buffer ) ; int sn9c102_i2c_write(struct sn9c102_device *cam , u8 address , u8 value ) ; int sn9c102_i2c_read(struct sn9c102_device *cam , u8 address ) ; int sn9c102_read_reg(struct sn9c102_device *cam , u16 index ) ; int sn9c102_pread_reg(struct sn9c102_device *cam , u16 index ) ; int sn9c102_write_reg(struct sn9c102_device *cam , u8 value , u16 index ) ; int sn9c102_write_regs(struct sn9c102_device *cam , u8 const (*valreg)[2] , int count ) ; int sn9c102_probe_hv7131d(struct sn9c102_device *cam ) ; int sn9c102_probe_hv7131r(struct sn9c102_device *cam ) ; int sn9c102_probe_mi0343(struct sn9c102_device *cam ) ; int sn9c102_probe_mi0360(struct sn9c102_device *cam ) ; int sn9c102_probe_mt9v111(struct sn9c102_device *cam ) ; int sn9c102_probe_ov7630(struct sn9c102_device *cam ) ; int sn9c102_probe_ov7660(struct sn9c102_device *cam ) ; int sn9c102_probe_pas106b(struct sn9c102_device *cam ) ; int sn9c102_probe_pas202bcb(struct sn9c102_device *cam ) ; int sn9c102_probe_tas5110c1b(struct sn9c102_device *cam ) ; int sn9c102_probe_tas5110d(struct sn9c102_device *cam ) ; int sn9c102_probe_tas5130d1b(struct sn9c102_device *cam ) ; static struct mutex sn9c102_sysfs_lock = {{1}, {{{{{0U}}, 3735899821U, 4294967295U, 0xffffffffffffffffUL, {0, {0, 0}, "sn9c102_sysfs_lock.wait_lock", 0, 0UL}}}}, {& sn9c102_sysfs_lock.wait_list, & sn9c102_sysfs_lock.wait_list}, 0, 0, (void *)(& sn9c102_sysfs_lock), {0, {0, 0}, "sn9c102_sysfs_lock", 0, 0UL}}; static struct rw_semaphore sn9c102_dev_lock = {0L, {{{0U}}, 3735899821U, 4294967295U, 0xffffffffffffffffUL, {0, {0, 0}, "sn9c102_dev_lock.wait_lock", 0, 0UL}}, {& sn9c102_dev_lock.wait_list, & sn9c102_dev_lock.wait_list}, {0, {0, 0}, "sn9c102_dev_lock", 0, 0UL}}; struct sn9c102_device *sn9c102_match_id(struct sn9c102_device *cam , struct usb_device_id const *id ) { struct usb_interface *tmp ; struct usb_device_id const *tmp___0 ; { tmp = usb_ifnum_to_if((struct usb_device const *)cam->usbdev, 0U); tmp___0 = usb_match_id(tmp, id); return ((unsigned long )tmp___0 != (unsigned long )((struct usb_device_id const *)0) ? cam : 0); } } void sn9c102_attach_sensor(struct sn9c102_device *cam , struct sn9c102_sensor const *sensor ) { size_t __len ; void *__ret ; { __len = 7472UL; if (__len > 63UL) { __ret = __memcpy((void *)(& cam->sensor), (void const *)sensor, __len); } else { __ret = __builtin_memcpy((void *)(& cam->sensor), (void const *)sensor, __len); } return; } } enum sn9c102_bridge sn9c102_get_bridge(struct sn9c102_device *cam ) { { return (cam->bridge); } } struct sn9c102_sensor *sn9c102_get_sensor(struct sn9c102_device *cam ) { { return (& cam->sensor); } } struct usb_device_id const __mod_usb_device_table ; static short video_nr[64U] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}; static bool force_munmap[64U] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; static unsigned int frame_timeout[64U] = { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U}; static unsigned short debug = 2U; static int (*sn9c102_sensor_table[12U])(struct sn9c102_device * ) = { & sn9c102_probe_hv7131d, & sn9c102_probe_hv7131r, & sn9c102_probe_mi0343, & sn9c102_probe_mi0360, & sn9c102_probe_mt9v111, & sn9c102_probe_pas106b, & sn9c102_probe_pas202bcb, & sn9c102_probe_ov7630, & sn9c102_probe_ov7660, & sn9c102_probe_tas5110c1b, & sn9c102_probe_tas5110d, & sn9c102_probe_tas5130d1b}; static u32 sn9c102_request_buffers(struct sn9c102_device *cam , u32 count , enum sn9c102_io_method io ) { struct v4l2_pix_format *p ; struct v4l2_rect *r ; size_t imagesize ; void *buff ; u32 i ; { p = & cam->sensor.pix_format; r = & cam->sensor.cropcap.bounds; imagesize = (size_t )((unsigned int )cam->module_param.force_munmap != 0U || (unsigned int )io == 1U ? ((p->width * p->height) * p->priv) / 8U : ((__u32 )(r->width * r->height) * p->priv) / 8U); buff = 0; if (count > 32U) { count = 32U; } else { } if ((unsigned int )cam->bridge == 8U || (unsigned int )cam->bridge == 16U) { imagesize = imagesize + 591UL; } else { } cam->nbuffers = count; goto ldv_30354; ldv_30353: buff = vmalloc_32_user((unsigned long )cam->nbuffers * ((imagesize + 4095UL) & 0xfffffffffffff000UL)); if ((unsigned long )buff != (unsigned long )((void *)0)) { goto ldv_30352; } else { } cam->nbuffers = cam->nbuffers - 1U; ldv_30354: ; if (cam->nbuffers != 0U) { goto ldv_30353; } else { } ldv_30352: i = 0U; goto ldv_30356; ldv_30355: cam->frame[i].bufmem = buff + (unsigned long )i * ((imagesize + 4095UL) & 0xfffffffffffff000UL); cam->frame[i].buf.index = i; cam->frame[i].buf.m.offset = ((__u32 )(imagesize + 4095UL) & 4294963200U) * i; cam->frame[i].buf.length = (__u32 )imagesize; cam->frame[i].buf.type = 1U; cam->frame[i].buf.sequence = 0U; cam->frame[i].buf.field = 1U; cam->frame[i].buf.memory = 1U; cam->frame[i].buf.flags = 8192U; i = i + 1U; ldv_30356: ; if (cam->nbuffers > i) { goto ldv_30355; } else { } return (cam->nbuffers); } } static void sn9c102_release_buffers(struct sn9c102_device *cam ) { { if (cam->nbuffers != 0U) { vfree((void const *)cam->frame[0].bufmem); cam->nbuffers = 0U; } else { } cam->frame_current = 0; return; } } static void sn9c102_empty_framequeues(struct sn9c102_device *cam ) { u32 i ; { INIT_LIST_HEAD(& cam->inqueue); INIT_LIST_HEAD(& cam->outqueue); i = 0U; goto ldv_30366; ldv_30365: cam->frame[i].state = 0; cam->frame[i].buf.bytesused = 0U; i = i + 1U; ldv_30366: ; if (i <= 31U) { goto ldv_30365; } else { } return; } } static void sn9c102_requeue_outqueue(struct sn9c102_device *cam ) { struct sn9c102_frame_t *i ; struct list_head const *__mptr ; struct list_head const *__mptr___0 ; { __mptr = (struct list_head const *)cam->outqueue.next; i = (struct sn9c102_frame_t *)__mptr + 0xffffffffffffff98UL; goto ldv_30377; ldv_30376: i->state = 1; list_add(& i->frame, & cam->inqueue); __mptr___0 = (struct list_head const *)i->frame.next; i = (struct sn9c102_frame_t *)__mptr___0 + 0xffffffffffffff98UL; ldv_30377: ; if ((unsigned long )(& i->frame) != (unsigned long )(& cam->outqueue)) { goto ldv_30376; } else { } INIT_LIST_HEAD(& cam->outqueue); return; } } static void sn9c102_queue_unusedframes(struct sn9c102_device *cam ) { unsigned long lock_flags ; u32 i ; raw_spinlock_t *tmp ; { i = 0U; goto ldv_30388; ldv_30387: ; if ((unsigned int )cam->frame[i].state == 0U) { cam->frame[i].state = 1; tmp = spinlock_check(& cam->queue_lock); lock_flags = _raw_spin_lock_irqsave(tmp); list_add_tail(& cam->frame[i].frame, & cam->inqueue); spin_unlock_irqrestore(& cam->queue_lock, lock_flags); } else { } i = i + 1U; ldv_30388: ; if (cam->nbuffers > i) { goto ldv_30387; } else { } return; } } int sn9c102_write_regs(struct sn9c102_device *cam , u8 const (*valreg)[2] , int count ) { struct usb_device *udev ; u8 *buff ; int i ; int res ; u8 index ; unsigned int tmp ; { udev = cam->usbdev; buff = cam->control_buffer; i = 0; goto ldv_30402; ldv_30401: index = (*(valreg + (unsigned long )i))[1]; *buff = (*(valreg + (unsigned long )i))[0]; tmp = __create_pipe(udev, 0U); res = usb_control_msg(udev, tmp | 2147483648U, 8, 65, (int )index, 0, (void *)buff, 1, 300); if (res < 0) { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Failed to write a register (value 0x%02X, index 0x%02X, error %d)\n", "sn9c102_write_regs", 313, (int )*buff, (int )index, res); } else { } return (-1); } else { } cam->reg[(int )index] = (u16 )*buff; i = i + 1; ldv_30402: ; if (i < count) { goto ldv_30401; } else { } return (0); } } int sn9c102_write_reg(struct sn9c102_device *cam , u8 value , u16 index ) { struct usb_device *udev ; u8 *buff ; int res ; unsigned int tmp ; { udev = cam->usbdev; buff = cam->control_buffer; if ((unsigned int )index > 383U) { return (-1); } else { } *buff = value; tmp = __create_pipe(udev, 0U); res = usb_control_msg(udev, tmp | 2147483648U, 8, 65, (int )index, 0, (void *)buff, 1, 300); if (res < 0) { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Failed to write a register (value 0x%02X, index 0x%02X, error %d)\n", "sn9c102_write_reg", 339, (int )value, (int )index, res); } else { } return (-1); } else { } cam->reg[(int )index] = (u16 )value; return (0); } } int sn9c102_read_reg(struct sn9c102_device *cam , u16 index ) { struct usb_device *udev ; u8 *buff ; int res ; unsigned int tmp ; { udev = cam->usbdev; buff = cam->control_buffer; tmp = __create_pipe(udev, 0U); res = usb_control_msg(udev, tmp | 2147483776U, 0, 193, (int )index, 0, (void *)buff, 1, 300); if (res < 0) { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Failed to read a register (index 0x%02X, error %d)\n", "sn9c102_read_reg", 360, (int )index, res); } else { } } else { } return (res >= 0 ? (int )*buff : -1); } } int sn9c102_pread_reg(struct sn9c102_device *cam , u16 index ) { { if ((unsigned int )index > 383U) { return (-1); } else { } return ((int )cam->reg[(int )index]); } } static int sn9c102_i2c_wait(struct sn9c102_device *cam , struct sn9c102_sensor const *sensor ) { int i ; int r ; { i = 1; goto ldv_30436; ldv_30435: r = sn9c102_read_reg(cam, 8); if (r < 0) { return (-5); } else { } if ((r & 4) != 0) { return (0); } else { } if (((unsigned int )sensor->frequency & 2U) != 0U) { __const_udelay(343600UL); } else { __const_udelay(1099520UL); } i = i + 1; ldv_30436: ; if (i <= 5) { goto ldv_30435; } else { } return (-16); } } static int sn9c102_i2c_detect_read_error(struct sn9c102_device *cam , struct sn9c102_sensor const *sensor ) { int r ; int err ; { err = 0; r = sn9c102_read_reg(cam, 8); if (r < 0) { err = err + r; } else { } if ((unsigned int )cam->bridge == 1U || (unsigned int )cam->bridge == 2U) { if ((r & 8) == 0) { err = err + -1; } else { } } else if ((r & 8) != 0) { err = err + -1; } else { } return (err != 0 ? -5 : 0); } } static int sn9c102_i2c_detect_write_error(struct sn9c102_device *cam , struct sn9c102_sensor const *sensor ) { int r ; { r = sn9c102_read_reg(cam, 8); return (r < 0 || (r >= 0 && (r & 8) != 0) ? -5 : 0); } } int sn9c102_i2c_try_raw_read(struct sn9c102_device *cam , struct sn9c102_sensor const *sensor , u8 data0 , u8 data1 , u8 n , u8 *buffer ) { struct usb_device *udev ; u8 *data ; int i ; int err ; int res ; unsigned int tmp ; int tmp___0 ; unsigned int tmp___1 ; int tmp___2 ; unsigned int tmp___3 ; int tmp___4 ; { udev = cam->usbdev; data = cam->control_buffer; i = 0; err = 0; *data = (u8 )((((unsigned int )sensor->interface == 0U ? -128 : 0) | (((unsigned int )sensor->frequency & 2U) != 0U)) | 16); *(data + 1UL) = data0; *(data + 2UL) = data1; *(data + 7UL) = 16U; tmp = __create_pipe(udev, 0U); res = usb_control_msg(udev, tmp | 2147483648U, 8, 65, 8, 0, (void *)data, 8, 300); if (res < 0) { err = err + res; } else { } tmp___0 = sn9c102_i2c_wait(cam, sensor); err = tmp___0 + err; *data = (u8 )(((((unsigned int )sensor->interface == 0U ? -128 : 0) | (((unsigned int )sensor->frequency & 2U) != 0U)) | (int )((signed char )((int )n << 4))) | 2); *(data + 1UL) = data0; *(data + 7UL) = 16U; tmp___1 = __create_pipe(udev, 0U); res = usb_control_msg(udev, tmp___1 | 2147483648U, 8, 65, 8, 0, (void *)data, 8, 300); if (res < 0) { err = err + res; } else { } tmp___2 = sn9c102_i2c_wait(cam, sensor); err = tmp___2 + err; tmp___3 = __create_pipe(udev, 0U); res = usb_control_msg(udev, tmp___3 | 2147483776U, 0, 193, 10, 0, (void *)data, 5, 300); if (res < 0) { err = err + res; } else { } tmp___4 = sn9c102_i2c_detect_read_error(cam, sensor); err = tmp___4 + err; if (err != 0) { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] I2C read failed for %s image sensor\n", "sn9c102_i2c_try_raw_read", 475, (char const *)(& sensor->name)); } else { } return (-1); } else { } if ((unsigned long )buffer != (unsigned long )((u8 *)0)) { i = 0; goto ldv_30464; ldv_30463: *(buffer + ((unsigned long )((int )n - i) + 0xffffffffffffffffUL)) = *(data + (unsigned long )(4 - i)); i = i + 1; ldv_30464: ; if ((int )n > i && i <= 4) { goto ldv_30463; } else { } } else { } return ((int )*(data + 4UL)); } } int sn9c102_i2c_try_raw_write(struct sn9c102_device *cam , struct sn9c102_sensor const *sensor , u8 n , u8 data0 , u8 data1 , u8 data2 , u8 data3 , u8 data4 , u8 data5 ) { struct usb_device *udev ; u8 *data ; int err ; int res ; unsigned int tmp ; int tmp___0 ; int tmp___1 ; { udev = cam->usbdev; data = cam->control_buffer; err = 0; *data = (u8 )((((unsigned int )sensor->interface == 0U ? -128 : 0) | (((unsigned int )sensor->frequency & 2U) != 0U)) | (int )((signed char )(((int )n + -1) << 4))); *(data + 1UL) = data0; *(data + 2UL) = data1; *(data + 3UL) = data2; *(data + 4UL) = data3; *(data + 5UL) = data4; *(data + 6UL) = data5; *(data + 7UL) = 23U; tmp = __create_pipe(udev, 0U); res = usb_control_msg(udev, tmp | 2147483648U, 8, 65, 8, 0, (void *)data, 8, 300); if (res < 0) { err = err + res; } else { } tmp___0 = sn9c102_i2c_wait(cam, sensor); err = tmp___0 + err; tmp___1 = sn9c102_i2c_detect_write_error(cam, sensor); err = tmp___1 + err; if (err != 0) { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] I2C write failed for %s image sensor\n", "sn9c102_i2c_try_raw_write", 516, (char const *)(& sensor->name)); } else { } } else { } return (err != 0 ? -1 : 0); } } int sn9c102_i2c_try_read(struct sn9c102_device *cam , struct sn9c102_sensor const *sensor , u8 address ) { int tmp ; { tmp = sn9c102_i2c_try_raw_read(cam, sensor, (int )sensor->i2c_slave_id, (int )address, 1, 0); return (tmp); } } static int sn9c102_i2c_try_write(struct sn9c102_device *cam , struct sn9c102_sensor const *sensor , u8 address , u8 value ) { int tmp ; { tmp = sn9c102_i2c_try_raw_write(cam, sensor, 3, (int )sensor->i2c_slave_id, (int )address, (int )value, 0, 0, 0); return (tmp); } } int sn9c102_i2c_read(struct sn9c102_device *cam , u8 address ) { int tmp ; { tmp = sn9c102_i2c_try_read(cam, (struct sn9c102_sensor const *)(& cam->sensor), (int )address); return (tmp); } } int sn9c102_i2c_write(struct sn9c102_device *cam , u8 address , u8 value ) { int tmp ; { tmp = sn9c102_i2c_try_write(cam, (struct sn9c102_sensor const *)(& cam->sensor), (int )address, (int )value); return (tmp); } } static size_t sn9c102_sof_length(struct sn9c102_device *cam ) { { switch ((unsigned int )cam->bridge) { case 1U: ; case 2U: ; return (12UL); case 4U: ; return (18UL); case 8U: ; case 16U: ; return (62UL); } return (0UL); } } static void *sn9c102_find_sof_header(struct sn9c102_device *cam , void *mem , size_t len ) { char marker[6U] ; char const *m ; size_t soflen ; size_t i ; size_t j ; size_t b ; long tmp ; long tmp___0 ; { marker[0] = -1; marker[1] = -1; marker[2] = 0; marker[3] = -60; marker[4] = -60; marker[5] = -106; m = (char const *)mem; soflen = 0UL; soflen = sn9c102_sof_length(cam); i = 0UL; goto ldv_30526; ldv_30525: tmp = ldv__builtin_expect((unsigned int )cam->sof.bytesread > 5U, 0L); if (tmp != 0L) { cam->sof.header[(int )cam->sof.bytesread] = *(m + i); cam->sof.bytesread = (u16 )((int )cam->sof.bytesread + 1); if ((size_t )cam->sof.bytesread == soflen) { cam->sof.bytesread = 0U; return (mem + i); } else { } goto ldv_30521; } else { } j = 0UL; b = (size_t )cam->sof.bytesread; goto ldv_30524; ldv_30523: tmp___0 = ldv__builtin_expect(i + j == len, 0L); if (tmp___0 != 0L) { return (0); } else { } if ((int )((signed char )*(m + (i + j))) == (int )((signed char )marker[(int )cam->sof.bytesread])) { cam->sof.header[(int )cam->sof.bytesread] = *(m + (i + j)); cam->sof.bytesread = (u16 )((int )cam->sof.bytesread + 1); if ((unsigned int )cam->sof.bytesread == 6U) { i = (j + i) + 1UL; goto ldv_30522; } else { } } else { cam->sof.bytesread = 0U; goto ldv_30522; } j = j + 1UL; ldv_30524: ; if (j + b <= 5UL) { goto ldv_30523; } else { } ldv_30522: ; ldv_30521: i = i + 1UL; ldv_30526: ; if (i < len) { goto ldv_30525; } else { } return (0); } } static void *sn9c102_find_eof_header(struct sn9c102_device *cam , void *mem , size_t len ) { u8 eof_header[4U][4U] ; size_t i ; size_t j ; int tmp ; { eof_header[0][0] = 0U; eof_header[0][1] = 0U; eof_header[0][2] = 0U; eof_header[0][3] = 0U; eof_header[1][0] = 64U; eof_header[1][1] = 0U; eof_header[1][2] = 0U; eof_header[1][3] = 0U; eof_header[2][0] = 128U; eof_header[2][1] = 0U; eof_header[2][2] = 0U; eof_header[2][3] = 0U; eof_header[3][0] = 192U; eof_header[3][1] = 0U; eof_header[3][2] = 0U; eof_header[3][3] = 0U; if (cam->sensor.pix_format.pixelformat == 808532307U || cam->sensor.pix_format.pixelformat == 1195724874U) { return (0); } else { } i = 0UL; goto ldv_30542; ldv_30541: j = 0UL; goto ldv_30539; ldv_30538: tmp = memcmp((void const *)(mem + i), (void const *)(& eof_header) + j, 4UL); if (tmp == 0) { return (mem + i); } else { } j = j + 1UL; ldv_30539: ; if (j <= 3UL) { goto ldv_30538; } else { } i = i + 1UL; ldv_30542: ; if (len > 3UL && len - 4UL >= i) { goto ldv_30541; } else { } return (0); } } static void sn9c102_write_jpegheader(struct sn9c102_device *cam , struct sn9c102_frame_t *f ) { u8 jpeg_header[589U] ; u8 *pos ; size_t __len ; void *__ret ; size_t __len___0 ; void *__ret___0 ; size_t __len___1 ; void *__ret___1 ; size_t __len___2 ; void *__ret___2 ; size_t __len___3 ; void *__ret___3 ; { jpeg_header[0] = 255U; jpeg_header[1] = 216U; jpeg_header[2] = 255U; jpeg_header[3] = 219U; jpeg_header[4] = 0U; jpeg_header[5] = 132U; jpeg_header[6] = 0U; jpeg_header[7] = 6U; jpeg_header[8] = 4U; jpeg_header[9] = 5U; jpeg_header[10] = 6U; jpeg_header[11] = 5U; jpeg_header[12] = 4U; jpeg_header[13] = 6U; jpeg_header[14] = 6U; jpeg_header[15] = 5U; jpeg_header[16] = 6U; jpeg_header[17] = 7U; jpeg_header[18] = 7U; jpeg_header[19] = 6U; jpeg_header[20] = 8U; jpeg_header[21] = 10U; jpeg_header[22] = 16U; jpeg_header[23] = 10U; jpeg_header[24] = 10U; jpeg_header[25] = 9U; jpeg_header[26] = 9U; jpeg_header[27] = 10U; jpeg_header[28] = 20U; jpeg_header[29] = 14U; jpeg_header[30] = 15U; jpeg_header[31] = 12U; jpeg_header[32] = 16U; jpeg_header[33] = 23U; jpeg_header[34] = 20U; jpeg_header[35] = 24U; jpeg_header[36] = 24U; jpeg_header[37] = 23U; jpeg_header[38] = 20U; jpeg_header[39] = 22U; jpeg_header[40] = 22U; jpeg_header[41] = 26U; jpeg_header[42] = 29U; jpeg_header[43] = 37U; jpeg_header[44] = 31U; jpeg_header[45] = 26U; jpeg_header[46] = 27U; jpeg_header[47] = 35U; jpeg_header[48] = 28U; jpeg_header[49] = 22U; jpeg_header[50] = 22U; jpeg_header[51] = 32U; jpeg_header[52] = 44U; jpeg_header[53] = 32U; jpeg_header[54] = 35U; jpeg_header[55] = 38U; jpeg_header[56] = 39U; jpeg_header[57] = 41U; jpeg_header[58] = 42U; jpeg_header[59] = 41U; jpeg_header[60] = 25U; jpeg_header[61] = 31U; jpeg_header[62] = 45U; jpeg_header[63] = 48U; jpeg_header[64] = 45U; jpeg_header[65] = 40U; jpeg_header[66] = 48U; jpeg_header[67] = 37U; jpeg_header[68] = 40U; jpeg_header[69] = 41U; jpeg_header[70] = 40U; jpeg_header[71] = 1U; jpeg_header[72] = 7U; jpeg_header[73] = 7U; jpeg_header[74] = 7U; jpeg_header[75] = 10U; jpeg_header[76] = 8U; jpeg_header[77] = 10U; jpeg_header[78] = 19U; jpeg_header[79] = 10U; jpeg_header[80] = 10U; jpeg_header[81] = 19U; jpeg_header[82] = 40U; jpeg_header[83] = 26U; jpeg_header[84] = 22U; jpeg_header[85] = 26U; jpeg_header[86] = 40U; jpeg_header[87] = 40U; jpeg_header[88] = 40U; jpeg_header[89] = 40U; jpeg_header[90] = 40U; jpeg_header[91] = 40U; jpeg_header[92] = 40U; jpeg_header[93] = 40U; jpeg_header[94] = 40U; jpeg_header[95] = 40U; jpeg_header[96] = 40U; jpeg_header[97] = 40U; jpeg_header[98] = 40U; jpeg_header[99] = 40U; jpeg_header[100] = 40U; jpeg_header[101] = 40U; jpeg_header[102] = 40U; jpeg_header[103] = 40U; jpeg_header[104] = 40U; jpeg_header[105] = 40U; jpeg_header[106] = 40U; jpeg_header[107] = 40U; jpeg_header[108] = 40U; jpeg_header[109] = 40U; jpeg_header[110] = 40U; jpeg_header[111] = 40U; jpeg_header[112] = 40U; jpeg_header[113] = 40U; jpeg_header[114] = 40U; jpeg_header[115] = 40U; jpeg_header[116] = 40U; jpeg_header[117] = 40U; jpeg_header[118] = 40U; jpeg_header[119] = 40U; jpeg_header[120] = 40U; jpeg_header[121] = 40U; jpeg_header[122] = 40U; jpeg_header[123] = 40U; jpeg_header[124] = 40U; jpeg_header[125] = 40U; jpeg_header[126] = 40U; jpeg_header[127] = 40U; jpeg_header[128] = 40U; jpeg_header[129] = 40U; jpeg_header[130] = 40U; jpeg_header[131] = 40U; jpeg_header[132] = 40U; jpeg_header[133] = 40U; jpeg_header[134] = 40U; jpeg_header[135] = 40U; jpeg_header[136] = 255U; jpeg_header[137] = 196U; jpeg_header[138] = 1U; jpeg_header[139] = 162U; jpeg_header[140] = 0U; jpeg_header[141] = 0U; jpeg_header[142] = 1U; jpeg_header[143] = 5U; jpeg_header[144] = 1U; jpeg_header[145] = 1U; jpeg_header[146] = 1U; jpeg_header[147] = 1U; jpeg_header[148] = 1U; jpeg_header[149] = 1U; jpeg_header[150] = 0U; jpeg_header[151] = 0U; jpeg_header[152] = 0U; jpeg_header[153] = 0U; jpeg_header[154] = 0U; jpeg_header[155] = 0U; jpeg_header[156] = 0U; jpeg_header[157] = 0U; jpeg_header[158] = 1U; jpeg_header[159] = 2U; jpeg_header[160] = 3U; jpeg_header[161] = 4U; jpeg_header[162] = 5U; jpeg_header[163] = 6U; jpeg_header[164] = 7U; jpeg_header[165] = 8U; jpeg_header[166] = 9U; jpeg_header[167] = 10U; jpeg_header[168] = 11U; jpeg_header[169] = 1U; jpeg_header[170] = 0U; jpeg_header[171] = 3U; jpeg_header[172] = 1U; jpeg_header[173] = 1U; jpeg_header[174] = 1U; jpeg_header[175] = 1U; jpeg_header[176] = 1U; jpeg_header[177] = 1U; jpeg_header[178] = 1U; jpeg_header[179] = 1U; jpeg_header[180] = 1U; jpeg_header[181] = 0U; jpeg_header[182] = 0U; jpeg_header[183] = 0U; jpeg_header[184] = 0U; jpeg_header[185] = 0U; jpeg_header[186] = 0U; jpeg_header[187] = 1U; jpeg_header[188] = 2U; jpeg_header[189] = 3U; jpeg_header[190] = 4U; jpeg_header[191] = 5U; jpeg_header[192] = 6U; jpeg_header[193] = 7U; jpeg_header[194] = 8U; jpeg_header[195] = 9U; jpeg_header[196] = 10U; jpeg_header[197] = 11U; jpeg_header[198] = 16U; jpeg_header[199] = 0U; jpeg_header[200] = 2U; jpeg_header[201] = 1U; jpeg_header[202] = 3U; jpeg_header[203] = 3U; jpeg_header[204] = 2U; jpeg_header[205] = 4U; jpeg_header[206] = 3U; jpeg_header[207] = 5U; jpeg_header[208] = 5U; jpeg_header[209] = 4U; jpeg_header[210] = 4U; jpeg_header[211] = 0U; jpeg_header[212] = 0U; jpeg_header[213] = 1U; jpeg_header[214] = 125U; jpeg_header[215] = 1U; jpeg_header[216] = 2U; jpeg_header[217] = 3U; jpeg_header[218] = 0U; jpeg_header[219] = 4U; jpeg_header[220] = 17U; jpeg_header[221] = 5U; jpeg_header[222] = 18U; jpeg_header[223] = 33U; jpeg_header[224] = 49U; jpeg_header[225] = 65U; jpeg_header[226] = 6U; jpeg_header[227] = 19U; jpeg_header[228] = 81U; jpeg_header[229] = 97U; jpeg_header[230] = 7U; jpeg_header[231] = 34U; jpeg_header[232] = 113U; jpeg_header[233] = 20U; jpeg_header[234] = 50U; jpeg_header[235] = 129U; jpeg_header[236] = 145U; jpeg_header[237] = 161U; jpeg_header[238] = 8U; jpeg_header[239] = 35U; jpeg_header[240] = 66U; jpeg_header[241] = 177U; jpeg_header[242] = 193U; jpeg_header[243] = 21U; jpeg_header[244] = 82U; jpeg_header[245] = 209U; jpeg_header[246] = 240U; jpeg_header[247] = 36U; jpeg_header[248] = 51U; jpeg_header[249] = 98U; jpeg_header[250] = 114U; jpeg_header[251] = 130U; jpeg_header[252] = 9U; jpeg_header[253] = 10U; jpeg_header[254] = 22U; jpeg_header[255] = 23U; jpeg_header[256] = 24U; jpeg_header[257] = 25U; jpeg_header[258] = 26U; jpeg_header[259] = 37U; jpeg_header[260] = 38U; jpeg_header[261] = 39U; jpeg_header[262] = 40U; jpeg_header[263] = 41U; jpeg_header[264] = 42U; jpeg_header[265] = 52U; jpeg_header[266] = 53U; jpeg_header[267] = 54U; jpeg_header[268] = 55U; jpeg_header[269] = 56U; jpeg_header[270] = 57U; jpeg_header[271] = 58U; jpeg_header[272] = 67U; jpeg_header[273] = 68U; jpeg_header[274] = 69U; jpeg_header[275] = 70U; jpeg_header[276] = 71U; jpeg_header[277] = 72U; jpeg_header[278] = 73U; jpeg_header[279] = 74U; jpeg_header[280] = 83U; jpeg_header[281] = 84U; jpeg_header[282] = 85U; jpeg_header[283] = 86U; jpeg_header[284] = 87U; jpeg_header[285] = 88U; jpeg_header[286] = 89U; jpeg_header[287] = 90U; jpeg_header[288] = 99U; jpeg_header[289] = 100U; jpeg_header[290] = 101U; jpeg_header[291] = 102U; jpeg_header[292] = 103U; jpeg_header[293] = 104U; jpeg_header[294] = 105U; jpeg_header[295] = 106U; jpeg_header[296] = 115U; jpeg_header[297] = 116U; jpeg_header[298] = 117U; jpeg_header[299] = 118U; jpeg_header[300] = 119U; jpeg_header[301] = 120U; jpeg_header[302] = 121U; jpeg_header[303] = 122U; jpeg_header[304] = 131U; jpeg_header[305] = 132U; jpeg_header[306] = 133U; jpeg_header[307] = 134U; jpeg_header[308] = 135U; jpeg_header[309] = 136U; jpeg_header[310] = 137U; jpeg_header[311] = 138U; jpeg_header[312] = 146U; jpeg_header[313] = 147U; jpeg_header[314] = 148U; jpeg_header[315] = 149U; jpeg_header[316] = 150U; jpeg_header[317] = 151U; jpeg_header[318] = 152U; jpeg_header[319] = 153U; jpeg_header[320] = 154U; jpeg_header[321] = 162U; jpeg_header[322] = 163U; jpeg_header[323] = 164U; jpeg_header[324] = 165U; jpeg_header[325] = 166U; jpeg_header[326] = 167U; jpeg_header[327] = 168U; jpeg_header[328] = 169U; jpeg_header[329] = 170U; jpeg_header[330] = 178U; jpeg_header[331] = 179U; jpeg_header[332] = 180U; jpeg_header[333] = 181U; jpeg_header[334] = 182U; jpeg_header[335] = 183U; jpeg_header[336] = 184U; jpeg_header[337] = 185U; jpeg_header[338] = 186U; jpeg_header[339] = 194U; jpeg_header[340] = 195U; jpeg_header[341] = 196U; jpeg_header[342] = 197U; jpeg_header[343] = 198U; jpeg_header[344] = 199U; jpeg_header[345] = 200U; jpeg_header[346] = 201U; jpeg_header[347] = 202U; jpeg_header[348] = 210U; jpeg_header[349] = 211U; jpeg_header[350] = 212U; jpeg_header[351] = 213U; jpeg_header[352] = 214U; jpeg_header[353] = 215U; jpeg_header[354] = 216U; jpeg_header[355] = 217U; jpeg_header[356] = 218U; jpeg_header[357] = 225U; jpeg_header[358] = 226U; jpeg_header[359] = 227U; jpeg_header[360] = 228U; jpeg_header[361] = 229U; jpeg_header[362] = 230U; jpeg_header[363] = 231U; jpeg_header[364] = 232U; jpeg_header[365] = 233U; jpeg_header[366] = 234U; jpeg_header[367] = 241U; jpeg_header[368] = 242U; jpeg_header[369] = 243U; jpeg_header[370] = 244U; jpeg_header[371] = 245U; jpeg_header[372] = 246U; jpeg_header[373] = 247U; jpeg_header[374] = 248U; jpeg_header[375] = 249U; jpeg_header[376] = 250U; jpeg_header[377] = 17U; jpeg_header[378] = 0U; jpeg_header[379] = 2U; jpeg_header[380] = 1U; jpeg_header[381] = 2U; jpeg_header[382] = 4U; jpeg_header[383] = 4U; jpeg_header[384] = 3U; jpeg_header[385] = 4U; jpeg_header[386] = 7U; jpeg_header[387] = 5U; jpeg_header[388] = 4U; jpeg_header[389] = 4U; jpeg_header[390] = 0U; jpeg_header[391] = 1U; jpeg_header[392] = 2U; jpeg_header[393] = 119U; jpeg_header[394] = 0U; jpeg_header[395] = 1U; jpeg_header[396] = 2U; jpeg_header[397] = 3U; jpeg_header[398] = 17U; jpeg_header[399] = 4U; jpeg_header[400] = 5U; jpeg_header[401] = 33U; jpeg_header[402] = 49U; jpeg_header[403] = 6U; jpeg_header[404] = 18U; jpeg_header[405] = 65U; jpeg_header[406] = 81U; jpeg_header[407] = 7U; jpeg_header[408] = 97U; jpeg_header[409] = 113U; jpeg_header[410] = 19U; jpeg_header[411] = 34U; jpeg_header[412] = 50U; jpeg_header[413] = 129U; jpeg_header[414] = 8U; jpeg_header[415] = 20U; jpeg_header[416] = 66U; jpeg_header[417] = 145U; jpeg_header[418] = 161U; jpeg_header[419] = 177U; jpeg_header[420] = 193U; jpeg_header[421] = 9U; jpeg_header[422] = 35U; jpeg_header[423] = 51U; jpeg_header[424] = 82U; jpeg_header[425] = 240U; jpeg_header[426] = 21U; jpeg_header[427] = 98U; jpeg_header[428] = 114U; jpeg_header[429] = 209U; jpeg_header[430] = 10U; jpeg_header[431] = 22U; jpeg_header[432] = 36U; jpeg_header[433] = 52U; jpeg_header[434] = 225U; jpeg_header[435] = 37U; jpeg_header[436] = 241U; jpeg_header[437] = 23U; jpeg_header[438] = 24U; jpeg_header[439] = 25U; jpeg_header[440] = 26U; jpeg_header[441] = 38U; jpeg_header[442] = 39U; jpeg_header[443] = 40U; jpeg_header[444] = 41U; jpeg_header[445] = 42U; jpeg_header[446] = 53U; jpeg_header[447] = 54U; jpeg_header[448] = 55U; jpeg_header[449] = 56U; jpeg_header[450] = 57U; jpeg_header[451] = 58U; jpeg_header[452] = 67U; jpeg_header[453] = 68U; jpeg_header[454] = 69U; jpeg_header[455] = 70U; jpeg_header[456] = 71U; jpeg_header[457] = 72U; jpeg_header[458] = 73U; jpeg_header[459] = 74U; jpeg_header[460] = 83U; jpeg_header[461] = 84U; jpeg_header[462] = 85U; jpeg_header[463] = 86U; jpeg_header[464] = 87U; jpeg_header[465] = 88U; jpeg_header[466] = 89U; jpeg_header[467] = 90U; jpeg_header[468] = 99U; jpeg_header[469] = 100U; jpeg_header[470] = 101U; jpeg_header[471] = 102U; jpeg_header[472] = 103U; jpeg_header[473] = 104U; jpeg_header[474] = 105U; jpeg_header[475] = 106U; jpeg_header[476] = 115U; jpeg_header[477] = 116U; jpeg_header[478] = 117U; jpeg_header[479] = 118U; jpeg_header[480] = 119U; jpeg_header[481] = 120U; jpeg_header[482] = 121U; jpeg_header[483] = 122U; jpeg_header[484] = 130U; jpeg_header[485] = 131U; jpeg_header[486] = 132U; jpeg_header[487] = 133U; jpeg_header[488] = 134U; jpeg_header[489] = 135U; jpeg_header[490] = 136U; jpeg_header[491] = 137U; jpeg_header[492] = 138U; jpeg_header[493] = 146U; jpeg_header[494] = 147U; jpeg_header[495] = 148U; jpeg_header[496] = 149U; jpeg_header[497] = 150U; jpeg_header[498] = 151U; jpeg_header[499] = 152U; jpeg_header[500] = 153U; jpeg_header[501] = 154U; jpeg_header[502] = 162U; jpeg_header[503] = 163U; jpeg_header[504] = 164U; jpeg_header[505] = 165U; jpeg_header[506] = 166U; jpeg_header[507] = 167U; jpeg_header[508] = 168U; jpeg_header[509] = 169U; jpeg_header[510] = 170U; jpeg_header[511] = 178U; jpeg_header[512] = 179U; jpeg_header[513] = 180U; jpeg_header[514] = 181U; jpeg_header[515] = 182U; jpeg_header[516] = 183U; jpeg_header[517] = 184U; jpeg_header[518] = 185U; jpeg_header[519] = 186U; jpeg_header[520] = 194U; jpeg_header[521] = 195U; jpeg_header[522] = 196U; jpeg_header[523] = 197U; jpeg_header[524] = 198U; jpeg_header[525] = 199U; jpeg_header[526] = 200U; jpeg_header[527] = 201U; jpeg_header[528] = 202U; jpeg_header[529] = 210U; jpeg_header[530] = 211U; jpeg_header[531] = 212U; jpeg_header[532] = 213U; jpeg_header[533] = 214U; jpeg_header[534] = 215U; jpeg_header[535] = 216U; jpeg_header[536] = 217U; jpeg_header[537] = 218U; jpeg_header[538] = 226U; jpeg_header[539] = 227U; jpeg_header[540] = 228U; jpeg_header[541] = 229U; jpeg_header[542] = 230U; jpeg_header[543] = 231U; jpeg_header[544] = 232U; jpeg_header[545] = 233U; jpeg_header[546] = 234U; jpeg_header[547] = 242U; jpeg_header[548] = 243U; jpeg_header[549] = 244U; jpeg_header[550] = 245U; jpeg_header[551] = 246U; jpeg_header[552] = 247U; jpeg_header[553] = 248U; jpeg_header[554] = 249U; jpeg_header[555] = 250U; jpeg_header[556] = 255U; jpeg_header[557] = 192U; jpeg_header[558] = 0U; jpeg_header[559] = 17U; jpeg_header[560] = 8U; jpeg_header[561] = 1U; jpeg_header[562] = 224U; jpeg_header[563] = 2U; jpeg_header[564] = 128U; jpeg_header[565] = 3U; jpeg_header[566] = 1U; jpeg_header[567] = 33U; jpeg_header[568] = 0U; jpeg_header[569] = 2U; jpeg_header[570] = 17U; jpeg_header[571] = 1U; jpeg_header[572] = 3U; jpeg_header[573] = 17U; jpeg_header[574] = 1U; jpeg_header[575] = 255U; jpeg_header[576] = 218U; jpeg_header[577] = 0U; jpeg_header[578] = 12U; jpeg_header[579] = 3U; jpeg_header[580] = 1U; jpeg_header[581] = 0U; jpeg_header[582] = 2U; jpeg_header[583] = 17U; jpeg_header[584] = 3U; jpeg_header[585] = 17U; jpeg_header[586] = 0U; jpeg_header[587] = 63U; jpeg_header[588] = 0U; pos = (u8 *)f->bufmem; __len = 589UL; if (__len > 63UL) { __ret = __memcpy((void *)pos, (void const *)(& jpeg_header), __len); } else { __ret = __builtin_memcpy((void *)pos, (void const *)(& jpeg_header), __len); } *(pos + 6UL) = 0U; *(pos + 71U) = 1U; if (cam->compression.quality == 0) { __len___0 = 64UL; if (__len___0 > 63UL) { __ret___0 = __memcpy((void *)pos + 7U, (void const *)(& SN9C102_Y_QTABLE0), __len___0); } else { __ret___0 = __builtin_memcpy((void *)pos + 7U, (void const *)(& SN9C102_Y_QTABLE0), __len___0); } __len___1 = 64UL; if (__len___1 > 63UL) { __ret___1 = __memcpy((void *)pos + 72U, (void const *)(& SN9C102_UV_QTABLE0), __len___1); } else { __ret___1 = __builtin_memcpy((void *)pos + 72U, (void const *)(& SN9C102_UV_QTABLE0), __len___1); } } else if (cam->compression.quality == 1) { __len___2 = 64UL; if (__len___2 > 63UL) { __ret___2 = __memcpy((void *)pos + 7U, (void const *)(& SN9C102_Y_QTABLE1), __len___2); } else { __ret___2 = __builtin_memcpy((void *)pos + 7U, (void const *)(& SN9C102_Y_QTABLE1), __len___2); } __len___3 = 64UL; if (__len___3 > 63UL) { __ret___3 = __memcpy((void *)pos + 72U, (void const *)(& SN9C102_UV_QTABLE1), __len___3); } else { __ret___3 = __builtin_memcpy((void *)pos + 72U, (void const *)(& SN9C102_UV_QTABLE1), __len___3); } } else { } *(pos + 564UL) = (u8 )cam->sensor.pix_format.width; *(pos + 563UL) = (u8 )(cam->sensor.pix_format.width >> 8); *(pos + 562UL) = (u8 )cam->sensor.pix_format.height; *(pos + 561UL) = (u8 )(cam->sensor.pix_format.height >> 8); *(pos + 567UL) = 33U; f->buf.bytesused = f->buf.bytesused + 589U; return; } } static void sn9c102_urb_complete(struct urb *urb ) { struct sn9c102_device *cam ; struct sn9c102_frame_t **f ; size_t imagesize ; size_t soflen ; u8 i ; int err ; int tmp ; struct list_head const *__mptr ; unsigned int img ; unsigned int len ; unsigned int status ; void *pos ; void *sof ; void *eof ; u32 b ; size_t __len ; void *__ret ; u32 b___0 ; struct list_head const *__mptr___0 ; int tmp___0 ; size_t __len___0 ; void *__ret___0 ; long tmp___1 ; { cam = (struct sn9c102_device *)urb->context; err = 0; if (urb->status == -2) { return; } else { } f = & cam->frame_current; if ((unsigned int )cam->stream == 1U) { cam->stream = 0; if ((unsigned long )*f != (unsigned long )((struct sn9c102_frame_t *)0)) { (*f)->state = 1; } else { } cam->sof.bytesread = 0U; if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Stream interrupted by application\n", "sn9c102_urb_complete", 754); } else { } __wake_up(& cam->wait_stream, 3U, 1, 0); } else { } if (((unsigned int )cam->state & 2U) != 0U) { return; } else { } if (((unsigned int )cam->state & 4U) != 0U) { __wake_up(& cam->wait_frame, 1U, 1, 0); return; } else { } if ((unsigned int )cam->stream == 0U) { goto resubmit_urb; } else { tmp = list_empty((struct list_head const *)(& cam->inqueue)); if (tmp != 0) { goto resubmit_urb; } else { } } if ((unsigned long )*f == (unsigned long )((struct sn9c102_frame_t *)0)) { __mptr = (struct list_head const *)cam->inqueue.next; *f = (struct sn9c102_frame_t *)__mptr + 0xffffffffffffff98UL; } else { } imagesize = (size_t )(((cam->sensor.pix_format.width * cam->sensor.pix_format.height) * cam->sensor.pix_format.priv) / 8U); if (cam->sensor.pix_format.pixelformat == 1195724874U) { imagesize = imagesize + 589UL; } else { } soflen = sn9c102_sof_length(cam); i = 0U; goto ldv_30599; ldv_30598: len = urb->iso_frame_desc[(int )i].actual_length; status = (unsigned int )urb->iso_frame_desc[(int )i].status; pos = urb->transfer_buffer + (unsigned long )urb->iso_frame_desc[(int )i].offset; if (status != 0U) { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Error in isochronous frame\n", "sn9c102_urb_complete", 789); } else { } (*f)->state = 4; cam->sof.bytesread = 0U; goto ldv_30584; } else { } redo: sof = sn9c102_find_sof_header(cam, pos, (size_t )len); tmp___1 = ldv__builtin_expect((unsigned long )sof == (unsigned long )((void *)0), 1L); if (tmp___1 != 0L) { eof = sn9c102_find_eof_header(cam, pos, (size_t )len); if ((unsigned int )(*f)->state == 2U) { end_of_frame: img = len; if ((unsigned long )eof != (unsigned long )((void *)0)) { img = (unsigned long )eof > (unsigned long )pos ? ((unsigned int )((long )eof) - (unsigned int )((long )pos)) + 4294967295U : 0U; } else { } if ((size_t )((*f)->buf.bytesused + img) > imagesize) { b = ((*f)->buf.bytesused + img) - (u32 )imagesize; img = (unsigned int )imagesize - (*f)->buf.bytesused; if ((unsigned long )eof != (unsigned long )((void *)0)) { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Exceeded limit: +%u bytes\n", "sn9c102_urb_complete", 817, b); } else { } } else { } } else { } __len = (size_t )img; __ret = __builtin_memcpy((*f)->bufmem + (unsigned long )(*f)->buf.bytesused, (void const *)pos, __len); if ((*f)->buf.bytesused == 0U) { v4l2_get_timestamp(& (*f)->buf.timestamp); } else { } (*f)->buf.bytesused = (*f)->buf.bytesused + img; if ((size_t )(*f)->buf.bytesused == imagesize || ((cam->sensor.pix_format.pixelformat == 808532307U || cam->sensor.pix_format.pixelformat == 1195724874U) && (unsigned long )eof != (unsigned long )((void *)0))) { b___0 = (*f)->buf.bytesused; (*f)->state = 3; cam->frame_count = cam->frame_count + 1U; (*f)->buf.sequence = cam->frame_count; spin_lock(& cam->queue_lock); list_move_tail(& (*f)->frame, & cam->outqueue); tmp___0 = list_empty((struct list_head const *)(& cam->inqueue)); if (tmp___0 == 0) { __mptr___0 = (struct list_head const *)cam->inqueue.next; *f = (struct sn9c102_frame_t *)__mptr___0 + 0xffffffffffffff98UL; } else { *f = 0; } spin_unlock(& cam->queue_lock); __len___0 = soflen; __ret___0 = __builtin_memcpy((void *)(& cam->sysfs.frame_header), (void const *)(& cam->sof.header), __len___0); if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Video frame captured: %lu bytes\n", "sn9c102_urb_complete", 856, (unsigned long )b___0); } else { } if ((unsigned long )*f == (unsigned long )((struct sn9c102_frame_t *)0)) { goto resubmit_urb; } else { } } else if ((unsigned long )eof != (unsigned long )((void *)0)) { (*f)->state = 4; if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Not expected EOF after %lu bytes of image data\n", "sn9c102_urb_complete", 866, (unsigned long )(*f)->buf.bytesused); } else { } } else { } if ((unsigned long )sof != (unsigned long )((void *)0)) { goto start_of_frame; } else { } } else if ((unsigned long )eof != (unsigned long )((void *)0)) { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] EOF without SOF\n", "sn9c102_urb_complete", 873); } else { } goto ldv_30584; } else { goto ldv_30584; } } else if ((unsigned int )(*f)->state == 1U || (unsigned int )(*f)->state == 4U) { start_of_frame: (*f)->state = 2; (*f)->buf.bytesused = 0U; len = ((unsigned int )((long )pos) - (unsigned int )((long )sof)) + len; pos = sof; if (cam->sensor.pix_format.pixelformat == 1195724874U) { sn9c102_write_jpegheader(cam, *f); } else { } if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] SOF detected: new video frame\n", "sn9c102_urb_complete", 890); } else { } if (len != 0U) { goto redo; } else { } } else if ((unsigned int )(*f)->state == 2U) { eof = sn9c102_find_eof_header(cam, pos, (size_t )len); if ((unsigned long )eof != (unsigned long )((void *)0) && (unsigned long )eof < (unsigned long )sof) { goto end_of_frame; } else if (cam->sensor.pix_format.pixelformat == 808532307U || cam->sensor.pix_format.pixelformat == 1195724874U) { if ((unsigned long )((long )sof - (long )pos) >= soflen) { eof = sof + - soflen; } else { eof = pos; (*f)->buf.bytesused = (*f)->buf.bytesused + (((__u32 )((long )sof) - (__u32 )((long )pos)) - (__u32 )soflen); } goto end_of_frame; } else { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] SOF before expected EOF after %lu bytes of image data\n", "sn9c102_urb_complete", 915, (unsigned long )(*f)->buf.bytesused); } else { } goto start_of_frame; } } else { } ldv_30584: i = (u8 )((int )i + 1); ldv_30599: ; if ((int )i < urb->number_of_packets) { goto ldv_30598; } else { } resubmit_urb: urb->dev = cam->usbdev; err = usb_submit_urb(urb, 32U); if (err < 0 && err != -1) { cam->state = (enum sn9c102_dev_state )((unsigned int )cam->state | 4U); if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "usb_submit_urb() failed\n"); } else { } } else { } __wake_up(& cam->wait_frame, 1U, 1, 0); return; } } static int sn9c102_start_transfer(struct sn9c102_device *cam ) { struct usb_device *udev ; struct urb *urb ; struct usb_host_interface *altsetting ; struct usb_interface *tmp ; struct usb_host_interface *tmp___0 ; unsigned int psz ; s8 i ; s8 j ; int err ; unsigned int tmp___1 ; { udev = cam->usbdev; tmp = usb_ifnum_to_if((struct usb_device const *)udev, 0U); tmp___0 = usb_altnum_to_altsetting((struct usb_interface const *)tmp, 8U); altsetting = tmp___0; psz = (unsigned int const )(altsetting->endpoint)->desc.wMaxPacketSize; err = 0; i = 0; goto ldv_30614; ldv_30613: cam->transfer_buffer[(int )i] = kzalloc((size_t )(psz * 7U), 208U); if ((unsigned long )cam->transfer_buffer[(int )i] == (unsigned long )((void *)0)) { err = -12; if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "Not enough memory\n"); } else { } goto free_buffers; } else { } i = (s8 )((int )i + 1); ldv_30614: ; if ((int )i <= 1) { goto ldv_30613; } else { } i = 0; goto ldv_30621; ldv_30620: urb = usb_alloc_urb(7, 208U); cam->urb[(int )i] = urb; if ((unsigned long )urb == (unsigned long )((struct urb *)0)) { err = -12; if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "usb_alloc_urb() failed\n"); } else { } goto free_urbs; } else { } urb->dev = udev; urb->context = (void *)cam; tmp___1 = __create_pipe(udev, 1U); urb->pipe = tmp___1 | 128U; urb->transfer_flags = 2U; urb->number_of_packets = 7; urb->complete = & sn9c102_urb_complete; urb->transfer_buffer = cam->transfer_buffer[(int )i]; urb->transfer_buffer_length = psz * 7U; urb->interval = 1; j = 0; goto ldv_30618; ldv_30617: urb->iso_frame_desc[(int )j].offset = (unsigned int )j * psz; urb->iso_frame_desc[(int )j].length = psz; j = (s8 )((int )j + 1); ldv_30618: ; if ((int )j <= 6) { goto ldv_30617; } else { } i = (s8 )((int )i + 1); ldv_30621: ; if ((int )i <= 1) { goto ldv_30620; } else { } if (((int )cam->reg[1] & 4) == 0) { err = sn9c102_write_reg(cam, (int )((unsigned int )((u8 )cam->reg[1]) | 4U), 1); if (err != 0) { err = -5; if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "I/O hardware error\n"); } else { } goto free_urbs; } else { } } else { } err = usb_set_interface(udev, 0, 8); if (err != 0) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "usb_set_interface() failed\n"); } else { } goto free_urbs; } else { } cam->frame_current = 0; cam->sof.bytesread = 0U; i = 0; goto ldv_30627; ldv_30626: err = usb_submit_urb(cam->urb[(int )i], 208U); if (err != 0) { j = (s8 )((unsigned int )((unsigned char )i) + 255U); goto ldv_30624; ldv_30623: usb_kill_urb(cam->urb[(int )j]); j = (s8 )((int )j - 1); ldv_30624: ; if ((int )j >= 0) { goto ldv_30623; } else { } if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "usb_submit_urb() failed, error %d\n", err); } else { } goto free_urbs; } else { } i = (s8 )((int )i + 1); ldv_30627: ; if ((int )i <= 1) { goto ldv_30626; } else { } return (0); free_urbs: i = 0; goto ldv_30630; ldv_30629: usb_free_urb(cam->urb[(int )i]); i = (s8 )((int )i + 1); ldv_30630: ; if ((int )i <= 1 && (unsigned long )cam->urb[(int )i] != (unsigned long )((struct urb *)0)) { goto ldv_30629; } else { } free_buffers: i = 0; goto ldv_30633; ldv_30632: kfree((void const *)cam->transfer_buffer[(int )i]); i = (s8 )((int )i + 1); ldv_30633: ; if ((int )i <= 1 && (unsigned long )cam->transfer_buffer[(int )i] != (unsigned long )((void *)0)) { goto ldv_30632; } else { } return (err); } } static int sn9c102_stop_transfer(struct sn9c102_device *cam ) { struct usb_device *udev ; s8 i ; int err ; { udev = cam->usbdev; err = 0; if (((unsigned int )cam->state & 2U) != 0U) { return (0); } else { } i = 1; goto ldv_30642; ldv_30641: usb_kill_urb(cam->urb[(int )i]); usb_free_urb(cam->urb[(int )i]); kfree((void const *)cam->transfer_buffer[(int )i]); i = (s8 )((int )i - 1); ldv_30642: ; if ((int )i >= 0) { goto ldv_30641; } else { } err = usb_set_interface(udev, 0, 0); if (err != 0) { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] usb_set_interface() failed\n", "sn9c102_stop_transfer", 1039); } else { } } else { } return (err); } } static int sn9c102_stream_interrupt(struct sn9c102_device *cam ) { long __ret ; unsigned long tmp ; wait_queue_t __wait ; struct task_struct *tmp___0 ; char const *tmp___1 ; { cam->stream = 1; tmp = msecs_to_jiffies(14U); __ret = (long )tmp; if ((unsigned int )cam->stream != 0U && ((unsigned int )cam->state & 2U) == 0U) { tmp___0 = get_current(); __wait.flags = 0U; __wait.private = (void *)tmp___0; __wait.func = & autoremove_wake_function; __wait.task_list.next = & __wait.task_list; __wait.task_list.prev = & __wait.task_list; ldv_30651: prepare_to_wait(& cam->wait_stream, & __wait, 2); if ((unsigned int )cam->stream == 0U || ((unsigned int )cam->state & 2U) != 0U) { goto ldv_30650; } else { } __ret = schedule_timeout(__ret); if (__ret == 0L) { goto ldv_30650; } else { } goto ldv_30651; ldv_30650: finish_wait(& cam->wait_stream, & __wait); } else { } if (((unsigned int )cam->state & 2U) != 0U) { return (-19); } else if ((unsigned int )cam->stream != 0U) { cam->state = (enum sn9c102_dev_state )((unsigned int )cam->state | 4U); if ((unsigned int )debug != 0U) { tmp___1 = video_device_node_name(cam->v4ldev); dev_err((struct device const *)(& (cam->usbdev)->dev), "URB timeout reached. The camera is misconfigured. To use it, close and open %s again.\n", tmp___1); } else { } return (-5); } else { } return (0); } } static u16 sn9c102_strtou16(char const *buff , size_t len , ssize_t *count ) { char str[7U] ; char *endp ; unsigned long val ; { if (len <= 5UL) { strncpy((char *)(& str), buff, len); str[len] = 0; } else { strncpy((char *)(& str), buff, 6UL); str[6] = 0; } val = simple_strtoul((char const *)(& str), & endp, 0U); *count = 0L; if (val <= 65535UL) { *count = (long )endp - (long )(& str); } else { } if ((*count != 0L && (unsigned long )(*count + 1L) == len) && (int )((signed char )*(buff + (unsigned long )*count)) == 10) { *count = *count + 1L; } else { } return ((u16 )val); } } static ssize_t sn9c102_show_reg(struct device *cd , struct device_attribute *attr , char *buf ) { struct sn9c102_device *cam ; ssize_t count ; int tmp ; struct device const *__mptr ; void *tmp___0 ; int tmp___1 ; { tmp = ldv_mutex_lock_interruptible_6(& sn9c102_sysfs_lock); if (tmp != 0) { return (-512L); } else { } __mptr = (struct device const *)cd; tmp___0 = video_get_drvdata((struct video_device *)__mptr + 0xffffffffffffff78UL); cam = (struct sn9c102_device *)tmp___0; if ((unsigned long )cam == (unsigned long )((struct sn9c102_device *)0)) { ldv_mutex_unlock_7(& sn9c102_sysfs_lock); return (-19L); } else { } tmp___1 = sprintf(buf, "%u\n", (int )cam->sysfs.reg); count = (ssize_t )tmp___1; ldv_mutex_unlock_8(& sn9c102_sysfs_lock); return (count); } } static ssize_t sn9c102_store_reg(struct device *cd , struct device_attribute *attr , char const *buf , size_t len ) { struct sn9c102_device *cam ; u16 index ; ssize_t count ; int tmp ; struct device const *__mptr ; void *tmp___0 ; { tmp = ldv_mutex_lock_interruptible_9(& sn9c102_sysfs_lock); if (tmp != 0) { return (-512L); } else { } __mptr = (struct device const *)cd; tmp___0 = video_get_drvdata((struct video_device *)__mptr + 0xffffffffffffff78UL); cam = (struct sn9c102_device *)tmp___0; if ((unsigned long )cam == (unsigned long )((struct sn9c102_device *)0)) { ldv_mutex_unlock_10(& sn9c102_sysfs_lock); return (-19L); } else { } index = sn9c102_strtou16(buf, len, & count); if ((unsigned int )index > 383U || count == 0L) { ldv_mutex_unlock_11(& sn9c102_sysfs_lock); return (-22L); } else { } cam->sysfs.reg = index; if ((unsigned int )debug > 1U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "Moved SN9C1XX register index to 0x%02X\n", (int )cam->sysfs.reg); } else { } if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Written bytes: %zd\n", "sn9c102_store_reg", 1148, count); } else { } ldv_mutex_unlock_12(& sn9c102_sysfs_lock); return (count); } } static ssize_t sn9c102_show_val(struct device *cd , struct device_attribute *attr , char *buf ) { struct sn9c102_device *cam ; ssize_t count ; int val ; int tmp ; struct device const *__mptr ; void *tmp___0 ; int tmp___1 ; { tmp = ldv_mutex_lock_interruptible_13(& sn9c102_sysfs_lock); if (tmp != 0) { return (-512L); } else { } __mptr = (struct device const *)cd; tmp___0 = video_get_drvdata((struct video_device *)__mptr + 0xffffffffffffff78UL); cam = (struct sn9c102_device *)tmp___0; if ((unsigned long )cam == (unsigned long )((struct sn9c102_device *)0)) { ldv_mutex_unlock_14(& sn9c102_sysfs_lock); return (-19L); } else { } val = sn9c102_read_reg(cam, (int )cam->sysfs.reg); if (val < 0) { ldv_mutex_unlock_15(& sn9c102_sysfs_lock); return (-5L); } else { } tmp___1 = sprintf(buf, "%d\n", val); count = (ssize_t )tmp___1; if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Read bytes: %zd, value: %d\n", "sn9c102_show_val", 1179, count, val); } else { } ldv_mutex_unlock_16(& sn9c102_sysfs_lock); return (count); } } static ssize_t sn9c102_store_val(struct device *cd , struct device_attribute *attr , char const *buf , size_t len ) { struct sn9c102_device *cam ; u16 value ; ssize_t count ; int err ; int tmp ; struct device const *__mptr ; void *tmp___0 ; { tmp = ldv_mutex_lock_interruptible_17(& sn9c102_sysfs_lock); if (tmp != 0) { return (-512L); } else { } __mptr = (struct device const *)cd; tmp___0 = video_get_drvdata((struct video_device *)__mptr + 0xffffffffffffff78UL); cam = (struct sn9c102_device *)tmp___0; if ((unsigned long )cam == (unsigned long )((struct sn9c102_device *)0)) { ldv_mutex_unlock_18(& sn9c102_sysfs_lock); return (-19L); } else { } value = sn9c102_strtou16(buf, len, & count); if (count == 0L) { ldv_mutex_unlock_19(& sn9c102_sysfs_lock); return (-22L); } else { } err = sn9c102_write_reg(cam, (int )((u8 )value), (int )cam->sysfs.reg); if (err != 0) { ldv_mutex_unlock_20(& sn9c102_sysfs_lock); return (-5L); } else { } if ((unsigned int )debug > 1U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "Written SN9C1XX reg. 0x%02X, val. 0x%02X\n", (int )cam->sysfs.reg, (int )value); } else { } if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Written bytes: %zd\n", "sn9c102_store_val", 1219, count); } else { } ldv_mutex_unlock_21(& sn9c102_sysfs_lock); return (count); } } static ssize_t sn9c102_show_i2c_reg(struct device *cd , struct device_attribute *attr , char *buf ) { struct sn9c102_device *cam ; ssize_t count ; int tmp ; struct device const *__mptr ; void *tmp___0 ; int tmp___1 ; { tmp = ldv_mutex_lock_interruptible_22(& sn9c102_sysfs_lock); if (tmp != 0) { return (-512L); } else { } __mptr = (struct device const *)cd; tmp___0 = video_get_drvdata((struct video_device *)__mptr + 0xffffffffffffff78UL); cam = (struct sn9c102_device *)tmp___0; if ((unsigned long )cam == (unsigned long )((struct sn9c102_device *)0)) { ldv_mutex_unlock_23(& sn9c102_sysfs_lock); return (-19L); } else { } tmp___1 = sprintf(buf, "%u\n", (int )cam->sysfs.i2c_reg); count = (ssize_t )tmp___1; if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Read bytes: %zd\n", "sn9c102_show_i2c_reg", 1244, count); } else { } ldv_mutex_unlock_24(& sn9c102_sysfs_lock); return (count); } } static ssize_t sn9c102_store_i2c_reg(struct device *cd , struct device_attribute *attr , char const *buf , size_t len ) { struct sn9c102_device *cam ; u16 index ; ssize_t count ; int tmp ; struct device const *__mptr ; void *tmp___0 ; { tmp = ldv_mutex_lock_interruptible_25(& sn9c102_sysfs_lock); if (tmp != 0) { return (-512L); } else { } __mptr = (struct device const *)cd; tmp___0 = video_get_drvdata((struct video_device *)__mptr + 0xffffffffffffff78UL); cam = (struct sn9c102_device *)tmp___0; if ((unsigned long )cam == (unsigned long )((struct sn9c102_device *)0)) { ldv_mutex_unlock_26(& sn9c102_sysfs_lock); return (-19L); } else { } index = sn9c102_strtou16(buf, len, & count); if (count == 0L) { ldv_mutex_unlock_27(& sn9c102_sysfs_lock); return (-22L); } else { } cam->sysfs.i2c_reg = index; if ((unsigned int )debug > 1U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "Moved sensor register index to 0x%02X\n", (int )cam->sysfs.i2c_reg); } else { } if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Written bytes: %zd\n", "sn9c102_store_i2c_reg", 1278, count); } else { } ldv_mutex_unlock_28(& sn9c102_sysfs_lock); return (count); } } static ssize_t sn9c102_show_i2c_val(struct device *cd , struct device_attribute *attr , char *buf ) { struct sn9c102_device *cam ; ssize_t count ; int val ; int tmp ; struct device const *__mptr ; void *tmp___0 ; int tmp___1 ; { tmp = ldv_mutex_lock_interruptible_29(& sn9c102_sysfs_lock); if (tmp != 0) { return (-512L); } else { } __mptr = (struct device const *)cd; tmp___0 = video_get_drvdata((struct video_device *)__mptr + 0xffffffffffffff78UL); cam = (struct sn9c102_device *)tmp___0; if ((unsigned long )cam == (unsigned long )((struct sn9c102_device *)0)) { ldv_mutex_unlock_30(& sn9c102_sysfs_lock); return (-19L); } else { } if (((unsigned int )cam->sensor.sysfs_ops & 1U) == 0U) { ldv_mutex_unlock_31(& sn9c102_sysfs_lock); return (-38L); } else { } val = sn9c102_i2c_read(cam, (int )((u8 )cam->sysfs.i2c_reg)); if (val < 0) { ldv_mutex_unlock_32(& sn9c102_sysfs_lock); return (-5L); } else { } tmp___1 = sprintf(buf, "%d\n", val); count = (ssize_t )tmp___1; if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Read bytes: %zd, value: %d\n", "sn9c102_show_i2c_val", 1314, count, val); } else { } ldv_mutex_unlock_33(& sn9c102_sysfs_lock); return (count); } } static ssize_t sn9c102_store_i2c_val(struct device *cd , struct device_attribute *attr , char const *buf , size_t len ) { struct sn9c102_device *cam ; u16 value ; ssize_t count ; int err ; int tmp ; struct device const *__mptr ; void *tmp___0 ; { tmp = ldv_mutex_lock_interruptible_34(& sn9c102_sysfs_lock); if (tmp != 0) { return (-512L); } else { } __mptr = (struct device const *)cd; tmp___0 = video_get_drvdata((struct video_device *)__mptr + 0xffffffffffffff78UL); cam = (struct sn9c102_device *)tmp___0; if ((unsigned long )cam == (unsigned long )((struct sn9c102_device *)0)) { ldv_mutex_unlock_35(& sn9c102_sysfs_lock); return (-19L); } else { } if (((unsigned int )cam->sensor.sysfs_ops & 2U) == 0U) { ldv_mutex_unlock_36(& sn9c102_sysfs_lock); return (-38L); } else { } value = sn9c102_strtou16(buf, len, & count); if (count == 0L) { ldv_mutex_unlock_37(& sn9c102_sysfs_lock); return (-22L); } else { } err = sn9c102_i2c_write(cam, (int )((u8 )cam->sysfs.i2c_reg), (int )((u8 )value)); if (err != 0) { ldv_mutex_unlock_38(& sn9c102_sysfs_lock); return (-5L); } else { } if ((unsigned int )debug > 1U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "Written sensor reg. 0x%02X, val. 0x%02X\n", (int )cam->sysfs.i2c_reg, (int )value); } else { } if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Written bytes: %zd\n", "sn9c102_store_i2c_val", 1359, count); } else { } ldv_mutex_unlock_39(& sn9c102_sysfs_lock); return (count); } } static ssize_t sn9c102_store_green(struct device *cd , struct device_attribute *attr , char const *buf , size_t len ) { struct sn9c102_device *cam ; enum sn9c102_bridge bridge ; ssize_t res ; u16 value ; ssize_t count ; int tmp ; struct device const *__mptr ; void *tmp___0 ; { res = 0L; tmp = ldv_mutex_lock_interruptible_40(& sn9c102_sysfs_lock); if (tmp != 0) { return (-512L); } else { } __mptr = (struct device const *)cd; tmp___0 = video_get_drvdata((struct video_device *)__mptr + 0xffffffffffffff78UL); cam = (struct sn9c102_device *)tmp___0; if ((unsigned long )cam == (unsigned long )((struct sn9c102_device *)0)) { ldv_mutex_unlock_41(& sn9c102_sysfs_lock); return (-19L); } else { } bridge = cam->bridge; ldv_mutex_unlock_42(& sn9c102_sysfs_lock); value = sn9c102_strtou16(buf, len, & count); if (count == 0L) { return (-22L); } else { } switch ((unsigned int )bridge) { case 1U: ; case 2U: ; if ((unsigned int )value > 15U) { return (-22L); } else { } res = sn9c102_store_reg(cd, attr, "0x11", 4UL); if (res >= 0L) { res = sn9c102_store_val(cd, attr, buf, len); } else { } goto ldv_30770; case 4U: ; case 8U: ; case 16U: ; if ((unsigned int )value > 127U) { return (-22L); } else { } res = sn9c102_store_reg(cd, attr, "0x07", 4UL); if (res >= 0L) { res = sn9c102_store_val(cd, attr, buf, len); } else { } goto ldv_30770; } ldv_30770: ; return (res); } } static ssize_t sn9c102_store_blue(struct device *cd , struct device_attribute *attr , char const *buf , size_t len ) { ssize_t res ; u16 value ; ssize_t count ; { res = 0L; value = sn9c102_strtou16(buf, len, & count); if (count == 0L || (unsigned int )value > 127U) { return (-22L); } else { } res = sn9c102_store_reg(cd, attr, "0x06", 4UL); if (res >= 0L) { res = sn9c102_store_val(cd, attr, buf, len); } else { } return (res); } } static ssize_t sn9c102_store_red(struct device *cd , struct device_attribute *attr , char const *buf , size_t len ) { ssize_t res ; u16 value ; ssize_t count ; { res = 0L; value = sn9c102_strtou16(buf, len, & count); if (count == 0L || (unsigned int )value > 127U) { return (-22L); } else { } res = sn9c102_store_reg(cd, attr, "0x05", 4UL); if (res >= 0L) { res = sn9c102_store_val(cd, attr, buf, len); } else { } return (res); } } static ssize_t sn9c102_show_frame_header(struct device *cd , struct device_attribute *attr , char *buf ) { struct sn9c102_device *cam ; ssize_t count ; struct device const *__mptr ; void *tmp ; size_t __len ; void *__ret ; { __mptr = (struct device const *)cd; tmp = video_get_drvdata((struct video_device *)__mptr + 0xffffffffffffff78UL); cam = (struct sn9c102_device *)tmp; if ((unsigned long )cam == (unsigned long )((struct sn9c102_device *)0)) { return (-19L); } else { } count = 62L; __len = (size_t )count; __ret = __builtin_memcpy((void *)buf, (void const *)(& cam->sysfs.frame_header), __len); if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Frame header, read bytes: %zd\n", "sn9c102_show_frame_header", 1468, count); } else { } return (count); } } static struct device_attribute dev_attr_reg = {{"reg", 420U, (_Bool)0, 0, {{{(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}}}}, & sn9c102_show_reg, & sn9c102_store_reg}; static struct device_attribute dev_attr_val = {{"val", 420U, (_Bool)0, 0, {{{(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}}}}, & sn9c102_show_val, & sn9c102_store_val}; static struct device_attribute dev_attr_i2c_reg = {{"i2c_reg", 420U, (_Bool)0, 0, {{{(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}}}}, & sn9c102_show_i2c_reg, & sn9c102_store_i2c_reg}; static struct device_attribute dev_attr_i2c_val = {{"i2c_val", 420U, (_Bool)0, 0, {{{(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}}}}, & sn9c102_show_i2c_val, & sn9c102_store_i2c_val}; static struct device_attribute dev_attr_green = {{"green", 128U, (_Bool)0, 0, {{{(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}}}}, 0, & sn9c102_store_green}; static struct device_attribute dev_attr_blue = {{"blue", 128U, (_Bool)0, 0, {{{(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}}}}, 0, & sn9c102_store_blue}; static struct device_attribute dev_attr_red = {{"red", 128U, (_Bool)0, 0, {{{(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}}}}, 0, & sn9c102_store_red}; static struct device_attribute dev_attr_frame_header = {{"frame_header", 292U, (_Bool)0, 0, {{{(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}, {(char)0}}}}, & sn9c102_show_frame_header, 0}; static int sn9c102_create_sysfs(struct sn9c102_device *cam ) { struct device *dev ; int err ; { dev = & (cam->v4ldev)->dev; err = 0; err = device_create_file(dev, (struct device_attribute const *)(& dev_attr_reg)); if (err != 0) { goto err_out; } else { } err = device_create_file(dev, (struct device_attribute const *)(& dev_attr_val)); if (err != 0) { goto err_reg; } else { } err = device_create_file(dev, (struct device_attribute const *)(& dev_attr_frame_header)); if (err != 0) { goto err_val; } else { } if ((unsigned int )cam->sensor.sysfs_ops != 0U) { err = device_create_file(dev, (struct device_attribute const *)(& dev_attr_i2c_reg)); if (err != 0) { goto err_frame_header; } else { } err = device_create_file(dev, (struct device_attribute const *)(& dev_attr_i2c_val)); if (err != 0) { goto err_i2c_reg; } else { } } else { } if ((unsigned int )cam->bridge == 1U || (unsigned int )cam->bridge == 2U) { err = device_create_file(dev, (struct device_attribute const *)(& dev_attr_green)); if (err != 0) { goto err_i2c_val; } else { } } else { err = device_create_file(dev, (struct device_attribute const *)(& dev_attr_blue)); if (err != 0) { goto err_i2c_val; } else { } err = device_create_file(dev, (struct device_attribute const *)(& dev_attr_red)); if (err != 0) { goto err_blue; } else { } } return (0); err_blue: device_remove_file(dev, (struct device_attribute const *)(& dev_attr_blue)); err_i2c_val: ; if ((unsigned int )cam->sensor.sysfs_ops != 0U) { device_remove_file(dev, (struct device_attribute const *)(& dev_attr_i2c_val)); } else { } err_i2c_reg: ; if ((unsigned int )cam->sensor.sysfs_ops != 0U) { device_remove_file(dev, (struct device_attribute const *)(& dev_attr_i2c_reg)); } else { } err_frame_header: device_remove_file(dev, (struct device_attribute const *)(& dev_attr_frame_header)); err_val: device_remove_file(dev, (struct device_attribute const *)(& dev_attr_val)); err_reg: device_remove_file(dev, (struct device_attribute const *)(& dev_attr_reg)); err_out: ; return (err); } } static int sn9c102_set_pix_format(struct sn9c102_device *cam , struct v4l2_pix_format *pix ) { int err ; int tmp ; int tmp___0 ; int tmp___1 ; int tmp___2 ; { err = 0; if (pix->pixelformat == 808532307U || pix->pixelformat == 1195724874U) { switch ((unsigned int )cam->bridge) { case 1U: ; case 2U: ; case 4U: tmp = sn9c102_write_reg(cam, (int )((unsigned int )((u8 )cam->reg[24]) | 128U), 24); err = tmp + err; goto ldv_30833; case 8U: ; case 16U: tmp___0 = sn9c102_write_reg(cam, (int )((u8 )cam->reg[24]) & 127, 24); err = tmp___0 + err; goto ldv_30833; } ldv_30833: ; } else { switch ((unsigned int )cam->bridge) { case 1U: ; case 2U: ; case 4U: tmp___1 = sn9c102_write_reg(cam, (int )((u8 )cam->reg[24]) & 127, 24); err = tmp___1 + err; goto ldv_30839; case 8U: ; case 16U: tmp___2 = sn9c102_write_reg(cam, (int )((unsigned int )((u8 )cam->reg[24]) | 128U), 24); err = tmp___2 + err; goto ldv_30839; } ldv_30839: ; } return (err != 0 ? -5 : 0); } } static int sn9c102_set_compression(struct sn9c102_device *cam , struct v4l2_jpegcompression *compression ) { int i ; int err ; int tmp ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; { err = 0; switch ((unsigned int )cam->bridge) { case 1U: ; case 2U: ; case 4U: ; if (compression->quality == 0) { tmp = sn9c102_write_reg(cam, (int )((unsigned int )((u8 )cam->reg[23]) | 1U), 23); err = tmp + err; } else if (compression->quality == 1) { tmp___0 = sn9c102_write_reg(cam, (int )((u8 )cam->reg[23]) & 254, 23); err = tmp___0 + err; } else { } goto ldv_30851; case 8U: ; case 16U: ; if (compression->quality == 0) { i = 0; goto ldv_30855; ldv_30854: tmp___1 = sn9c102_write_reg(cam, (int )SN9C102_Y_QTABLE1[i], (int )((unsigned int )((u16 )i) + 256U)); err = tmp___1 + err; tmp___2 = sn9c102_write_reg(cam, (int )SN9C102_UV_QTABLE1[i], (int )((unsigned int )((u16 )i) + 320U)); err = tmp___2 + err; i = i + 1; ldv_30855: ; if (i <= 63) { goto ldv_30854; } else { } tmp___3 = sn9c102_write_reg(cam, (int )((u8 )cam->reg[24]) & 191, 24); err = tmp___3 + err; } else if (compression->quality == 1) { i = 0; goto ldv_30858; ldv_30857: tmp___4 = sn9c102_write_reg(cam, (int )SN9C102_Y_QTABLE1[i], (int )((unsigned int )((u16 )i) + 256U)); err = tmp___4 + err; tmp___5 = sn9c102_write_reg(cam, (int )SN9C102_UV_QTABLE1[i], (int )((unsigned int )((u16 )i) + 320U)); err = tmp___5 + err; i = i + 1; ldv_30858: ; if (i <= 63) { goto ldv_30857; } else { } tmp___6 = sn9c102_write_reg(cam, (int )((unsigned int )((u8 )cam->reg[24]) | 64U), 24); err = tmp___6 + err; } else { } goto ldv_30851; } ldv_30851: ; return (err != 0 ? -5 : 0); } } static int sn9c102_set_scale(struct sn9c102_device *cam , u8 scale ) { u8 r ; int err ; int tmp ; { r = 0U; err = 0; if ((unsigned int )scale == 1U) { r = (unsigned int )((u8 )cam->reg[24]) & 207U; } else if ((unsigned int )scale == 2U) { r = (unsigned int )((u8 )cam->reg[24]) & 207U; r = (u8 )((unsigned int )r | 16U); } else if ((unsigned int )scale == 4U) { r = (unsigned int )((u8 )cam->reg[24]) | 32U; } else { } tmp = sn9c102_write_reg(cam, (int )r, 24); err = tmp + err; if (err != 0) { return (-5); } else { } return (0); } } static int sn9c102_set_crop(struct sn9c102_device *cam , struct v4l2_rect *rect ) { struct sn9c102_sensor *s ; u8 h_start ; u8 v_start ; u8 h_size ; u8 v_size ; int err ; int tmp ; int tmp___0 ; int tmp___1 ; int tmp___2 ; { s = & cam->sensor; h_start = (int )((unsigned char )rect->left) - (int )((unsigned char )s->cropcap.bounds.left); v_start = (int )((unsigned char )rect->top) - (int )((unsigned char )s->cropcap.bounds.top); h_size = (unsigned char )(rect->width / 16); v_size = (unsigned char )(rect->height / 16); err = 0; tmp = sn9c102_write_reg(cam, (int )h_start, 18); err = tmp + err; tmp___0 = sn9c102_write_reg(cam, (int )v_start, 19); err = tmp___0 + err; tmp___1 = sn9c102_write_reg(cam, (int )h_size, 21); err = tmp___1 + err; tmp___2 = sn9c102_write_reg(cam, (int )v_size, 22); err = tmp___2 + err; if (err != 0) { return (-5); } else { } return (0); } } static int sn9c102_init(struct sn9c102_device *cam ) { struct sn9c102_sensor *s ; struct v4l2_control ctrl ; struct v4l2_queryctrl *qctrl ; struct v4l2_rect *rect ; u8 i ; int err ; struct lock_class_key __key ; struct lock_class_key __key___0 ; int tmp ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; struct lock_class_key __key___1 ; struct lock_class_key __key___2 ; struct lock_class_key __key___3 ; struct lock_class_key __key___4 ; size_t __len ; void *__ret ; size_t __len___0 ; void *__ret___0 ; { s = & cam->sensor; i = 0U; err = 0; if (((unsigned int )cam->state & 1U) == 0U) { __mutex_init(& cam->open_mutex, "&cam->open_mutex", & __key); __init_waitqueue_head(& cam->wait_open, "&cam->wait_open", & __key___0); qctrl = (struct v4l2_queryctrl *)(& s->qctrl); rect = & s->cropcap.defrect; } else { qctrl = (struct v4l2_queryctrl *)(& s->_qctrl); rect = & s->_rect; } tmp = sn9c102_set_scale(cam, (int )((u8 )((__u32 )rect->width / s->pix_format.width))); err = tmp + err; tmp___0 = sn9c102_set_crop(cam, rect); err = tmp___0 + err; if (err != 0) { return (err); } else { } if ((unsigned long )s->init != (unsigned long )((int (*)(struct sn9c102_device * ))0)) { err = (*(s->init))(cam); if (err != 0) { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Sensor initialization failed\n", "sn9c102_init", 1700); } else { } return (err); } else { } } else { } if (((unsigned int )cam->state & 1U) == 0U) { if (((unsigned int )cam->bridge == 1U || (unsigned int )cam->bridge == 2U) || (unsigned int )cam->bridge == 4U) { if (s->pix_format.pixelformat == 1195724874U) { s->pix_format.pixelformat = 825770306U; } else { } cam->compression.quality = (int )cam->reg[23] & 1 ? 0 : 1; } else { if (s->pix_format.pixelformat == 808532307U) { s->pix_format.pixelformat = 1195724874U; } else { } cam->compression.quality = ((int )cam->reg[24] & 64) == 0; tmp___1 = sn9c102_set_compression(cam, & cam->compression); err = tmp___1 + err; } } else { tmp___2 = sn9c102_set_compression(cam, & cam->compression); err = tmp___2 + err; } tmp___3 = sn9c102_set_pix_format(cam, & s->pix_format); err = tmp___3 + err; if ((unsigned long )s->set_pix_format != (unsigned long )((int (*)(struct sn9c102_device * , struct v4l2_pix_format const * ))0)) { tmp___4 = (*(s->set_pix_format))(cam, (struct v4l2_pix_format const *)(& s->pix_format)); err = tmp___4 + err; } else { } if (err != 0) { return (err); } else { } if (s->pix_format.pixelformat == 808532307U || s->pix_format.pixelformat == 1195724874U) { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Compressed video format is active, quality %d\n", "sn9c102_init", 1731, cam->compression.quality); } else { } } else if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Uncompressed video format is active\n", "sn9c102_init", 1733); } else { } if ((unsigned long )s->set_crop != (unsigned long )((int (*)(struct sn9c102_device * , struct v4l2_rect const * ))0)) { err = (*(s->set_crop))(cam, (struct v4l2_rect const *)rect); if (err != 0) { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] set_crop() failed\n", "sn9c102_init", 1737); } else { } return (err); } else { } } else { } if ((unsigned long )s->set_ctrl != (unsigned long )((int (*)(struct sn9c102_device * , struct v4l2_control const * ))0)) { i = 0U; goto ldv_30891; ldv_30890: ; if (s->qctrl[(int )i].id != 0U && (s->qctrl[(int )i].flags & 1U) == 0U) { ctrl.id = s->qctrl[(int )i].id; ctrl.value = (qctrl + (unsigned long )i)->default_value; err = (*(s->set_ctrl))(cam, (struct v4l2_control const *)(& ctrl)); if (err != 0) { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Set %s control failed\n", "sn9c102_init", 1750, (__u8 *)(& s->qctrl[(int )i].name)); } else { } return (err); } else { } if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Image sensor supports \'%s\' control\n", "sn9c102_init", 1754, (__u8 *)(& s->qctrl[(int )i].name)); } else { } } else { } i = (u8 )((int )i + 1); ldv_30891: ; if ((unsigned int )i <= 52U) { goto ldv_30890; } else { } } else { } if (((unsigned int )cam->state & 1U) == 0U) { __mutex_init(& cam->fileop_mutex, "&cam->fileop_mutex", & __key___1); spinlock_check(& cam->queue_lock); __raw_spin_lock_init(& cam->queue_lock.ldv_6014.rlock, "&(&cam->queue_lock)->rlock", & __key___2); __init_waitqueue_head(& cam->wait_frame, "&cam->wait_frame", & __key___3); __init_waitqueue_head(& cam->wait_stream, "&cam->wait_stream", & __key___4); cam->nreadbuffers = 2U; __len = 3604UL; if (__len > 63UL) { __ret = __memcpy((void *)(& s->_qctrl), (void const *)(& s->qctrl), __len); } else { __ret = __builtin_memcpy((void *)(& s->_qctrl), (void const *)(& s->qctrl), __len); } __len___0 = 16UL; if (__len___0 > 63UL) { __ret___0 = __memcpy((void *)(& s->_rect), (void const *)(& s->cropcap.defrect), __len___0); } else { __ret___0 = __builtin_memcpy((void *)(& s->_rect), (void const *)(& s->cropcap.defrect), __len___0); } cam->state = (enum sn9c102_dev_state )((unsigned int )cam->state | 1U); } else { } if ((unsigned int )debug > 1U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "Initialization succeeded\n"); } else { } return (0); } } static void sn9c102_release_resources(struct kref *kref ) { struct sn9c102_device *cam ; struct kref const *__mptr ; char const *tmp___0 ; { ldv_mutex_lock_43(& sn9c102_sysfs_lock); __mptr = (struct kref const *)kref; cam = (struct sn9c102_device *)__mptr + 0xffffffffffffce40UL; if ((unsigned int )debug > 1U) { tmp___0 = video_device_node_name(cam->v4ldev); _dev_info((struct device const *)(& (cam->usbdev)->dev), "V4L2 device %s deregistered\n", tmp___0); } else { } video_set_drvdata(cam->v4ldev, 0); video_unregister_device(cam->v4ldev); usb_put_dev(cam->usbdev); kfree((void const *)cam->control_buffer); kfree((void const *)cam); ldv_mutex_unlock_44(& sn9c102_sysfs_lock); return; } } static int sn9c102_open(struct file *filp ) { struct sn9c102_device *cam ; int err ; int tmp ; void *tmp___0 ; int tmp___1 ; int tmp___2 ; char const *tmp___4 ; int __ret ; wait_queue_t __wait ; struct task_struct *tmp___6 ; struct task_struct *tmp___7 ; int tmp___8 ; char const *tmp___11 ; { err = 0; tmp = down_read_trylock(& sn9c102_dev_lock); if (tmp == 0) { return (-512); } else { } tmp___0 = video_drvdata(filp); cam = (struct sn9c102_device *)tmp___0; tmp___1 = wait_for_completion_interruptible(& cam->probe); if (tmp___1 != 0) { up_read(& sn9c102_dev_lock); return (-512); } else { } kref_get(& cam->kref); tmp___2 = ldv_mutex_lock_interruptible_45(& cam->open_mutex); if (tmp___2 != 0) { kref_put(& cam->kref, & sn9c102_release_resources); up_read(& sn9c102_dev_lock); return (-512); } else { } if (((unsigned int )cam->state & 2U) != 0U) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "Device not present\n"); } else { } err = -19; goto out; } else { } if ((unsigned int )cam->users != 0U) { if ((unsigned int )debug > 1U) { tmp___4 = video_device_node_name(cam->v4ldev); _dev_info((struct device const *)(& (cam->usbdev)->dev), "Device %s is already in use\n", tmp___4); } else { } if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Simultaneous opens are not supported\n", "sn9c102_open", 1844); } else { } if ((filp->f_flags & 2048U) != 0U || (filp->f_flags & 2048U) != 0U) { err = -11; goto out; } else { } if ((unsigned int )debug > 1U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "A blocking open() has been requested. Wait for the device to be released...\n"); } else { } up_read(& sn9c102_dev_lock); __ret = 0; if (((unsigned int )cam->state & 2U) == 0U && (unsigned int )cam->users != 0U) { tmp___6 = get_current(); __wait.flags = 0U; __wait.private = (void *)tmp___6; __wait.func = & autoremove_wake_function; __wait.task_list.next = & __wait.task_list; __wait.task_list.prev = & __wait.task_list; ldv_30921: prepare_to_wait_exclusive(& cam->wait_open, & __wait, 1); if (((unsigned int )cam->state & 2U) != 0U || (unsigned int )cam->users == 0U) { finish_wait(& cam->wait_open, & __wait); goto ldv_30919; } else { } tmp___7 = get_current(); tmp___8 = signal_pending(tmp___7); if (tmp___8 == 0) { schedule(); goto ldv_30920; } else { } __ret = -512; abort_exclusive_wait(& cam->wait_open, & __wait, 1U, 0); goto ldv_30919; ldv_30920: ; goto ldv_30921; ldv_30919: ; } else { } err = __ret; down_read(& sn9c102_dev_lock); if (err != 0) { goto out; } else { } if (((unsigned int )cam->state & 2U) != 0U) { err = -19; goto out; } else { } } else { } if (((unsigned int )cam->state & 4U) != 0U) { err = sn9c102_init(cam); if (err != 0) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "Initialization failed again. I will retry on next open().\n"); } else { } goto out; } else { } cam->state = (enum sn9c102_dev_state )((unsigned int )cam->state & 4294967291U); } else { } err = sn9c102_start_transfer(cam); if (err != 0) { goto out; } else { } filp->private_data = (void *)cam; cam->users = (u8 )((int )cam->users + 1); cam->io = 0; cam->stream = 0; cam->nbuffers = 0U; cam->frame_count = 0U; sn9c102_empty_framequeues(cam); if ((unsigned int )debug > 2U) { tmp___11 = video_device_node_name(cam->v4ldev); _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Video device %s is open\n", "sn9c102_open", 1896, tmp___11); } else { } out: ldv_mutex_unlock_46(& cam->open_mutex); if (err != 0) { kref_put(& cam->kref, & sn9c102_release_resources); } else { } up_read(& sn9c102_dev_lock); return (err); } } static int sn9c102_release(struct file *filp ) { struct sn9c102_device *cam ; void *tmp ; char const *tmp___2 ; { down_write(& sn9c102_dev_lock); tmp = video_drvdata(filp); cam = (struct sn9c102_device *)tmp; sn9c102_stop_transfer(cam); sn9c102_release_buffers(cam); cam->users = (u8 )((int )cam->users - 1); __wake_up(& cam->wait_open, 1U, 1, 0); if ((unsigned int )debug > 2U) { tmp___2 = video_device_node_name(cam->v4ldev); _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Video device %s closed\n", "sn9c102_release", 1921, tmp___2); } else { } kref_put(& cam->kref, & sn9c102_release_resources); up_write(& sn9c102_dev_lock); return (0); } } static ssize_t sn9c102_read(struct file *filp , char *buf , size_t count , loff_t *f_pos ) { struct sn9c102_device *cam ; void *tmp ; struct sn9c102_frame_t *f ; struct sn9c102_frame_t *i ; unsigned long lock_flags ; long timeout ; int err ; int tmp___0 ; u32 tmp___1 ; int tmp___2 ; int tmp___3 ; int __ret ; wait_queue_t __wait ; struct task_struct *tmp___4 ; int tmp___5 ; struct task_struct *tmp___6 ; int tmp___7 ; int tmp___8 ; long __ret___0 ; unsigned long tmp___9 ; wait_queue_t __wait___0 ; struct task_struct *tmp___10 ; int tmp___11 ; struct task_struct *tmp___12 ; int tmp___13 ; int tmp___14 ; int tmp___15 ; struct list_head const *__mptr ; int tmp___16 ; raw_spinlock_t *tmp___17 ; struct list_head const *__mptr___0 ; struct list_head const *__mptr___1 ; { tmp = video_drvdata(filp); cam = (struct sn9c102_device *)tmp; err = 0; tmp___0 = ldv_mutex_lock_interruptible_47(& cam->fileop_mutex); if (tmp___0 != 0) { return (-512L); } else { } if (((unsigned int )cam->state & 2U) != 0U) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "Device not present\n"); } else { } ldv_mutex_unlock_48(& cam->fileop_mutex); return (-19L); } else { } if (((unsigned int )cam->state & 4U) != 0U) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "The camera is misconfigured. Close and open it again.\n"); } else { } ldv_mutex_unlock_49(& cam->fileop_mutex); return (-5L); } else { } if ((unsigned int )cam->io == 2U) { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Close and open the device again to choose the read method\n", "sn9c102_read", 1958); } else { } ldv_mutex_unlock_50(& cam->fileop_mutex); return (-16L); } else { } if ((unsigned int )cam->io == 0U) { tmp___1 = sn9c102_request_buffers(cam, cam->nreadbuffers, 1); if (tmp___1 == 0U) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "read() failed, not enough memory\n"); } else { } ldv_mutex_unlock_51(& cam->fileop_mutex); return (-12L); } else { } cam->io = 1; cam->stream = 2; } else { } tmp___3 = list_empty((struct list_head const *)(& cam->inqueue)); if (tmp___3 != 0) { tmp___2 = list_empty((struct list_head const *)(& cam->outqueue)); if (tmp___2 == 0) { sn9c102_empty_framequeues(cam); } else { } sn9c102_queue_unusedframes(cam); } else { } if (count == 0UL) { ldv_mutex_unlock_52(& cam->fileop_mutex); return (0L); } else { } tmp___15 = list_empty((struct list_head const *)(& cam->outqueue)); if (tmp___15 != 0) { if ((filp->f_flags & 2048U) != 0U) { ldv_mutex_unlock_53(& cam->fileop_mutex); return (-11L); } else { } if ((unsigned int )cam->module_param.frame_timeout == 0U) { __ret = 0; tmp___8 = list_empty((struct list_head const *)(& cam->outqueue)); if ((tmp___8 != 0 && ((unsigned int )cam->state & 2U) == 0U) && ((unsigned int )cam->state & 4U) == 0U) { tmp___4 = get_current(); __wait.flags = 0U; __wait.private = (void *)tmp___4; __wait.func = & autoremove_wake_function; __wait.task_list.next = & __wait.task_list; __wait.task_list.prev = & __wait.task_list; ldv_30945: prepare_to_wait(& cam->wait_frame, & __wait, 1); tmp___5 = list_empty((struct list_head const *)(& cam->outqueue)); if ((tmp___5 == 0 || ((unsigned int )cam->state & 2U) != 0U) || ((unsigned int )cam->state & 4U) != 0U) { goto ldv_30943; } else { } tmp___6 = get_current(); tmp___7 = signal_pending(tmp___6); if (tmp___7 == 0) { schedule(); goto ldv_30944; } else { } __ret = -512; goto ldv_30943; ldv_30944: ; goto ldv_30945; ldv_30943: finish_wait(& cam->wait_frame, & __wait); } else { } err = __ret; if (err != 0) { ldv_mutex_unlock_54(& cam->fileop_mutex); return ((ssize_t )err); } else { } } else { tmp___9 = msecs_to_jiffies((unsigned int const )((int )cam->module_param.frame_timeout * 1000)); __ret___0 = (long )tmp___9; tmp___14 = list_empty((struct list_head const *)(& cam->outqueue)); if ((tmp___14 != 0 && ((unsigned int )cam->state & 2U) == 0U) && ((unsigned int )cam->state & 4U) == 0U) { tmp___10 = get_current(); __wait___0.flags = 0U; __wait___0.private = (void *)tmp___10; __wait___0.func = & autoremove_wake_function; __wait___0.task_list.next = & __wait___0.task_list; __wait___0.task_list.prev = & __wait___0.task_list; ldv_30951: prepare_to_wait(& cam->wait_frame, & __wait___0, 1); tmp___11 = list_empty((struct list_head const *)(& cam->outqueue)); if ((tmp___11 == 0 || ((unsigned int )cam->state & 2U) != 0U) || ((unsigned int )cam->state & 4U) != 0U) { goto ldv_30949; } else { } tmp___12 = get_current(); tmp___13 = signal_pending(tmp___12); if (tmp___13 == 0) { __ret___0 = schedule_timeout(__ret___0); if (__ret___0 == 0L) { goto ldv_30949; } else { } goto ldv_30950; } else { } __ret___0 = -512L; goto ldv_30949; ldv_30950: ; goto ldv_30951; ldv_30949: finish_wait(& cam->wait_frame, & __wait___0); } else { } timeout = __ret___0; if (timeout < 0L) { ldv_mutex_unlock_55(& cam->fileop_mutex); return (timeout); } else if (timeout == 0L && ((unsigned int )cam->state & 2U) == 0U) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "Video frame timeout elapsed\n"); } else { } ldv_mutex_unlock_56(& cam->fileop_mutex); return (-5L); } else { } } if (((unsigned int )cam->state & 2U) != 0U) { ldv_mutex_unlock_57(& cam->fileop_mutex); return (-19L); } else { } if (((unsigned int )cam->state & 4U) != 0U) { ldv_mutex_unlock_58(& cam->fileop_mutex); return (-5L); } else { } } else { } __mptr = (struct list_head const *)cam->outqueue.prev; f = (struct sn9c102_frame_t *)__mptr + 0xffffffffffffff98UL; if ((size_t )f->buf.bytesused < count) { count = (size_t )f->buf.bytesused; } else { } tmp___16 = copy_to_user((void *)buf, (void const *)f->bufmem, (unsigned int )count); if (tmp___16 != 0) { err = -14; goto exit; } else { } *f_pos = (loff_t )((unsigned long long )*f_pos + (unsigned long long )count); exit: tmp___17 = spinlock_check(& cam->queue_lock); lock_flags = _raw_spin_lock_irqsave(tmp___17); __mptr___0 = (struct list_head const *)cam->outqueue.next; i = (struct sn9c102_frame_t *)__mptr___0 + 0xffffffffffffff98UL; goto ldv_30964; ldv_30963: i->state = 0; __mptr___1 = (struct list_head const *)i->frame.next; i = (struct sn9c102_frame_t *)__mptr___1 + 0xffffffffffffff98UL; ldv_30964: ; if ((unsigned long )(& i->frame) != (unsigned long )(& cam->outqueue)) { goto ldv_30963; } else { } INIT_LIST_HEAD(& cam->outqueue); spin_unlock_irqrestore(& cam->queue_lock, lock_flags); sn9c102_queue_unusedframes(cam); ldv_mutex_unlock_59(& cam->fileop_mutex); return ((ssize_t )count); } } static unsigned int sn9c102_poll(struct file *filp , poll_table *wait ) { struct sn9c102_device *cam ; void *tmp ; struct sn9c102_frame_t *f ; unsigned long lock_flags ; unsigned int mask ; int tmp___0 ; u32 tmp___1 ; raw_spinlock_t *tmp___2 ; struct list_head const *__mptr ; struct list_head const *__mptr___0 ; int tmp___3 ; { tmp = video_drvdata(filp); cam = (struct sn9c102_device *)tmp; mask = 0U; tmp___0 = ldv_mutex_lock_interruptible_60(& cam->fileop_mutex); if (tmp___0 != 0) { return (8U); } else { } if (((unsigned int )cam->state & 2U) != 0U) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "Device not present\n"); } else { } goto error; } else { } if (((unsigned int )cam->state & 4U) != 0U) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "The camera is misconfigured. Close and open it again.\n"); } else { } goto error; } else { } if ((unsigned int )cam->io == 0U) { tmp___1 = sn9c102_request_buffers(cam, cam->nreadbuffers, 1); if (tmp___1 == 0U) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "poll() failed, not enough memory\n"); } else { } goto error; } else { } cam->io = 1; cam->stream = 2; } else { } if ((unsigned int )cam->io == 1U) { tmp___2 = spinlock_check(& cam->queue_lock); lock_flags = _raw_spin_lock_irqsave(tmp___2); __mptr = (struct list_head const *)cam->outqueue.next; f = (struct sn9c102_frame_t *)__mptr + 0xffffffffffffff98UL; goto ldv_30984; ldv_30983: f->state = 0; __mptr___0 = (struct list_head const *)f->frame.next; f = (struct sn9c102_frame_t *)__mptr___0 + 0xffffffffffffff98UL; ldv_30984: ; if ((unsigned long )(& f->frame) != (unsigned long )(& cam->outqueue)) { goto ldv_30983; } else { } INIT_LIST_HEAD(& cam->outqueue); spin_unlock_irqrestore(& cam->queue_lock, lock_flags); sn9c102_queue_unusedframes(cam); } else { } poll_wait(filp, & cam->wait_frame, wait); tmp___3 = list_empty((struct list_head const *)(& cam->outqueue)); if (tmp___3 == 0) { mask = mask | 65U; } else { } ldv_mutex_unlock_61(& cam->fileop_mutex); return (mask); error: ldv_mutex_unlock_62(& cam->fileop_mutex); return (8U); } } static void sn9c102_vm_open(struct vm_area_struct *vma ) { struct sn9c102_frame_t *f ; { f = (struct sn9c102_frame_t *)vma->vm_private_data; f->vma_use_count = f->vma_use_count + 1UL; return; } } static void sn9c102_vm_close(struct vm_area_struct *vma ) { struct sn9c102_frame_t *f ; { f = (struct sn9c102_frame_t *)vma->vm_private_data; f->vma_use_count = f->vma_use_count - 1UL; return; } } static struct vm_operations_struct const sn9c102_vm_ops = {& sn9c102_vm_open, & sn9c102_vm_close, 0, 0, 0, 0, 0, 0, 0}; static int sn9c102_mmap(struct file *filp , struct vm_area_struct *vma ) { struct sn9c102_device *cam ; void *tmp ; unsigned long size ; unsigned long start ; void *pos ; u32 i ; int tmp___0 ; struct page *tmp___1 ; int tmp___2 ; { tmp = video_drvdata(filp); cam = (struct sn9c102_device *)tmp; size = vma->vm_end - vma->vm_start; start = vma->vm_start; tmp___0 = ldv_mutex_lock_interruptible_63(& cam->fileop_mutex); if (tmp___0 != 0) { return (-512); } else { } if (((unsigned int )cam->state & 2U) != 0U) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "Device not present\n"); } else { } ldv_mutex_unlock_64(& cam->fileop_mutex); return (-19); } else { } if (((unsigned int )cam->state & 4U) != 0U) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "The camera is misconfigured. Close and open it again.\n"); } else { } ldv_mutex_unlock_65(& cam->fileop_mutex); return (-5); } else { } if ((vma->vm_flags & 3UL) == 0UL) { ldv_mutex_unlock_66(& cam->fileop_mutex); return (-13); } else { } if ((unsigned int )cam->io != 2U || ((unsigned long )(cam->frame[0].buf.length + 4095U) & 4294963200UL) != size) { ldv_mutex_unlock_67(& cam->fileop_mutex); return (-22); } else { } i = 0U; goto ldv_31007; ldv_31006: ; if ((unsigned long )(cam->frame[i].buf.m.offset >> 12) == vma->vm_pgoff) { goto ldv_31005; } else { } i = i + 1U; ldv_31007: ; if (cam->nbuffers > i) { goto ldv_31006; } else { } ldv_31005: ; if (cam->nbuffers == i) { ldv_mutex_unlock_68(& cam->fileop_mutex); return (-22); } else { } vma->vm_flags = vma->vm_flags | 67387392UL; pos = cam->frame[i].bufmem; goto ldv_31009; ldv_31008: tmp___1 = vmalloc_to_page((void const *)pos); tmp___2 = vm_insert_page(vma, start, tmp___1); if (tmp___2 != 0) { ldv_mutex_unlock_69(& cam->fileop_mutex); return (-11); } else { } start = start + 4096UL; pos = pos + 4096UL; size = size - 4096UL; ldv_31009: ; if (size != 0UL) { goto ldv_31008; } else { } vma->vm_ops = & sn9c102_vm_ops; vma->vm_private_data = (void *)(& cam->frame) + (unsigned long )i; sn9c102_vm_open(vma); ldv_mutex_unlock_70(& cam->fileop_mutex); return (0); } } static int sn9c102_vidioc_querycap(struct sn9c102_device *cam , void *arg ) { struct v4l2_capability cap ; unsigned int tmp ; char const *tmp___0 ; int tmp___1 ; int tmp___2 ; { cap.driver[0] = 's'; cap.driver[1] = 'n'; cap.driver[2] = '9'; cap.driver[3] = 'c'; cap.driver[4] = '1'; cap.driver[5] = '0'; cap.driver[6] = '2'; cap.driver[7] = '\000'; tmp = 8U; while (1) { if (tmp >= 16U) { break; } else { } cap.driver[tmp] = (unsigned char)0; tmp = tmp + 1U; } cap.card[0] = (unsigned char)0; cap.card[1] = (unsigned char)0; cap.card[2] = (unsigned char)0; cap.card[3] = (unsigned char)0; cap.card[4] = (unsigned char)0; cap.card[5] = (unsigned char)0; cap.card[6] = (unsigned char)0; cap.card[7] = (unsigned char)0; cap.card[8] = (unsigned char)0; cap.card[9] = (unsigned char)0; cap.card[10] = (unsigned char)0; cap.card[11] = (unsigned char)0; cap.card[12] = (unsigned char)0; cap.card[13] = (unsigned char)0; cap.card[14] = (unsigned char)0; cap.card[15] = (unsigned char)0; cap.card[16] = (unsigned char)0; cap.card[17] = (unsigned char)0; cap.card[18] = (unsigned char)0; cap.card[19] = (unsigned char)0; cap.card[20] = (unsigned char)0; cap.card[21] = (unsigned char)0; cap.card[22] = (unsigned char)0; cap.card[23] = (unsigned char)0; cap.card[24] = (unsigned char)0; cap.card[25] = (unsigned char)0; cap.card[26] = (unsigned char)0; cap.card[27] = (unsigned char)0; cap.card[28] = (unsigned char)0; cap.card[29] = (unsigned char)0; cap.card[30] = (unsigned char)0; cap.card[31] = (unsigned char)0; cap.bus_info[0] = (unsigned char)0; cap.bus_info[1] = (unsigned char)0; cap.bus_info[2] = (unsigned char)0; cap.bus_info[3] = (unsigned char)0; cap.bus_info[4] = (unsigned char)0; cap.bus_info[5] = (unsigned char)0; cap.bus_info[6] = (unsigned char)0; cap.bus_info[7] = (unsigned char)0; cap.bus_info[8] = (unsigned char)0; cap.bus_info[9] = (unsigned char)0; cap.bus_info[10] = (unsigned char)0; cap.bus_info[11] = (unsigned char)0; cap.bus_info[12] = (unsigned char)0; cap.bus_info[13] = (unsigned char)0; cap.bus_info[14] = (unsigned char)0; cap.bus_info[15] = (unsigned char)0; cap.bus_info[16] = (unsigned char)0; cap.bus_info[17] = (unsigned char)0; cap.bus_info[18] = (unsigned char)0; cap.bus_info[19] = (unsigned char)0; cap.bus_info[20] = (unsigned char)0; cap.bus_info[21] = (unsigned char)0; cap.bus_info[22] = (unsigned char)0; cap.bus_info[23] = (unsigned char)0; cap.bus_info[24] = (unsigned char)0; cap.bus_info[25] = (unsigned char)0; cap.bus_info[26] = (unsigned char)0; cap.bus_info[27] = (unsigned char)0; cap.bus_info[28] = (unsigned char)0; cap.bus_info[29] = (unsigned char)0; cap.bus_info[30] = (unsigned char)0; cap.bus_info[31] = (unsigned char)0; cap.version = 199168U; cap.capabilities = 83886081U; cap.device_caps = 0U; cap.reserved[0] = 0U; cap.reserved[1] = 0U; cap.reserved[2] = 0U; strlcpy((char *)(& cap.card), (char const *)(& (cam->v4ldev)->name), 32UL); tmp___1 = usb_make_path(cam->usbdev, (char *)(& cap.bus_info), 32UL); if (tmp___1 < 0) { tmp___0 = dev_name((struct device const *)(& (cam->usbdev)->dev)); strlcpy((char *)(& cap.bus_info), tmp___0, 32UL); } else { } tmp___2 = copy_to_user(arg, (void const *)(& cap), 104U); if (tmp___2 != 0) { return (-14); } else { } return (0); } } static int sn9c102_vidioc_enuminput(struct sn9c102_device *cam , void *arg ) { struct v4l2_input i ; unsigned long tmp ; int tmp___0 ; { tmp = copy_from_user((void *)(& i), (void const *)arg, 80UL); if (tmp != 0UL) { return (-14); } else { } if (i.index != 0U) { return (-22); } else { } memset((void *)(& i), 0, 80UL); strcpy((char *)(& i.name), "Camera"); i.type = 2U; i.capabilities = 4U; tmp___0 = copy_to_user(arg, (void const *)(& i), 80U); if (tmp___0 != 0) { return (-14); } else { } return (0); } } static int sn9c102_vidioc_g_input(struct sn9c102_device *cam , void *arg ) { int index ; int tmp ; { index = 0; tmp = copy_to_user(arg, (void const *)(& index), 4U); if (tmp != 0) { return (-14); } else { } return (0); } } static int sn9c102_vidioc_s_input(struct sn9c102_device *cam , void *arg ) { int index ; unsigned long tmp ; { tmp = copy_from_user((void *)(& index), (void const *)arg, 4UL); if (tmp != 0UL) { return (-14); } else { } if (index != 0) { return (-22); } else { } return (0); } } static int sn9c102_vidioc_query_ctrl(struct sn9c102_device *cam , void *arg ) { struct sn9c102_sensor *s ; struct v4l2_queryctrl qc ; u8 i ; unsigned long tmp ; size_t __len ; void *__ret ; int tmp___0 ; { s = & cam->sensor; tmp = copy_from_user((void *)(& qc), (void const *)arg, 68UL); if (tmp != 0UL) { return (-14); } else { } i = 0U; goto ldv_31044; ldv_31043: ; if (qc.id != 0U && qc.id == s->qctrl[(int )i].id) { __len = 68UL; if (__len > 63UL) { __ret = __memcpy((void *)(& qc), (void const *)(& s->qctrl) + (unsigned long )i, __len); } else { __ret = __builtin_memcpy((void *)(& qc), (void const *)(& s->qctrl) + (unsigned long )i, __len); } tmp___0 = copy_to_user(arg, (void const *)(& qc), 68U); if (tmp___0 != 0) { return (-14); } else { } return (0); } else { } i = (u8 )((int )i + 1); ldv_31044: ; if ((unsigned int )i <= 52U) { goto ldv_31043; } else { } return (-22); } } static int sn9c102_vidioc_g_ctrl(struct sn9c102_device *cam , void *arg ) { struct sn9c102_sensor *s ; struct v4l2_control ctrl ; int err ; u8 i ; unsigned long tmp ; int tmp___0 ; { s = & cam->sensor; err = 0; if ((unsigned long )s->get_ctrl == (unsigned long )((int (*)(struct sn9c102_device * , struct v4l2_control * ))0) && (unsigned long )s->set_ctrl == (unsigned long )((int (*)(struct sn9c102_device * , struct v4l2_control const * ))0)) { return (-22); } else { } tmp = copy_from_user((void *)(& ctrl), (void const *)arg, 8UL); if (tmp != 0UL) { return (-14); } else { } if ((unsigned long )s->get_ctrl == (unsigned long )((int (*)(struct sn9c102_device * , struct v4l2_control * ))0)) { i = 0U; goto ldv_31058; ldv_31057: ; if (ctrl.id != 0U && ctrl.id == s->qctrl[(int )i].id) { ctrl.value = s->_qctrl[(int )i].default_value; goto exit; } else { } i = (u8 )((int )i + 1); ldv_31058: ; if ((unsigned int )i <= 52U) { goto ldv_31057; } else { } return (-22); } else { err = (*(s->get_ctrl))(cam, & ctrl); } exit: tmp___0 = copy_to_user(arg, (void const *)(& ctrl), 8U); if (tmp___0 != 0) { return (-14); } else { } return (err); } } static int sn9c102_vidioc_s_ctrl(struct sn9c102_device *cam , void *arg ) { struct sn9c102_sensor *s ; struct v4l2_control ctrl ; u8 i ; int err ; unsigned long tmp ; { s = & cam->sensor; err = 0; if ((unsigned long )s->set_ctrl == (unsigned long )((int (*)(struct sn9c102_device * , struct v4l2_control const * ))0)) { return (-22); } else { } tmp = copy_from_user((void *)(& ctrl), (void const *)arg, 8UL); if (tmp != 0UL) { return (-14); } else { } i = 0U; goto ldv_31072; ldv_31071: ; if (ctrl.id == s->qctrl[(int )i].id) { if ((int )s->qctrl[(int )i].flags & 1) { return (-22); } else { } if (ctrl.value < s->qctrl[(int )i].minimum || ctrl.value > s->qctrl[(int )i].maximum) { return (-34); } else { } ctrl.value = ctrl.value - ctrl.value % s->qctrl[(int )i].step; goto ldv_31070; } else { } i = (u8 )((int )i + 1); ldv_31072: ; if ((unsigned int )i <= 52U) { goto ldv_31071; } else { } ldv_31070: ; if ((unsigned int )i == 53U) { return (-22); } else { } err = (*(s->set_ctrl))(cam, (struct v4l2_control const *)(& ctrl)); if (err != 0) { return (err); } else { } s->_qctrl[(int )i].default_value = ctrl.value; return (0); } } static int sn9c102_vidioc_cropcap(struct sn9c102_device *cam , void *arg ) { struct v4l2_cropcap *cc ; int tmp ; { cc = & cam->sensor.cropcap; cc->type = 1U; cc->pixelaspect.numerator = 1U; cc->pixelaspect.denominator = 1U; tmp = copy_to_user(arg, (void const *)cc, 44U); if (tmp != 0) { return (-14); } else { } return (0); } } static int sn9c102_vidioc_g_crop(struct sn9c102_device *cam , void *arg ) { struct sn9c102_sensor *s ; struct v4l2_crop crop ; size_t __len ; void *__ret ; int tmp ; { s = & cam->sensor; crop.type = 1U; crop.c.left = 0; crop.c.top = 0; crop.c.width = 0; crop.c.height = 0; __len = 16UL; if (__len > 63UL) { __ret = __memcpy((void *)(& crop.c), (void const *)(& s->_rect), __len); } else { __ret = __builtin_memcpy((void *)(& crop.c), (void const *)(& s->_rect), __len); } tmp = copy_to_user(arg, (void const *)(& crop), 20U); if (tmp != 0) { return (-14); } else { } return (0); } } static int sn9c102_vidioc_s_crop(struct sn9c102_device *cam , void *arg ) { struct sn9c102_sensor *s ; struct v4l2_crop crop ; struct v4l2_rect *rect ; struct v4l2_rect *bounds ; struct v4l2_pix_format *pix_format ; u8 scale ; enum sn9c102_stream_state stream ; u32 nbuffers ; u32 i ; int err ; unsigned long tmp ; int tmp___0 ; int tmp___1 ; int tmp___2 ; char const *tmp___3 ; size_t __len ; void *__ret ; char const *tmp___6 ; u32 tmp___9 ; { s = & cam->sensor; bounds = & s->cropcap.bounds; pix_format = & s->pix_format; stream = cam->stream; nbuffers = cam->nbuffers; err = 0; tmp = copy_from_user((void *)(& crop), (void const *)arg, 20UL); if (tmp != 0UL) { return (-14); } else { } rect = & crop.c; if (crop.type != 1U) { return (-22); } else { } if ((unsigned int )cam->module_param.force_munmap != 0U) { i = 0U; goto ldv_31105; ldv_31104: ; if (cam->frame[i].vma_use_count != 0UL) { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] VIDIOC_S_CROP failed. Unmap the buffers first.\n", "sn9c102_vidioc_s_crop", 2429); } else { } return (-16); } else { } i = i + 1U; ldv_31105: ; if (cam->nbuffers > i) { goto ldv_31104; } else { } } else { } rect->left = s->_rect.left & 1 ? rect->left | 1 : rect->left & -2; rect->top = s->_rect.top & 1 ? rect->top | 1 : rect->top & -2; if (rect->width <= 15) { rect->width = 16; } else { } if (rect->height <= 15) { rect->height = 16; } else { } if (rect->width > bounds->width) { rect->width = bounds->width; } else { } if (rect->height > bounds->height) { rect->height = bounds->height; } else { } if (rect->left < bounds->left) { rect->left = bounds->left; } else { } if (rect->top < bounds->top) { rect->top = bounds->top; } else { } if (rect->left + rect->width > bounds->left + bounds->width) { rect->left = (bounds->left + bounds->width) - rect->width; } else { } if (rect->top + rect->height > bounds->top + bounds->height) { rect->top = (bounds->top + bounds->height) - rect->height; } else { } rect->width = rect->width & -16; rect->height = rect->height & -16; scale = 1U; if ((unsigned int )cam->stream == 2U) { err = sn9c102_stream_interrupt(cam); if (err != 0) { return (err); } else { } } else { } tmp___0 = copy_to_user(arg, (void const *)(& crop), 20U); if (tmp___0 != 0) { cam->stream = stream; return (-14); } else { } if ((unsigned int )cam->module_param.force_munmap != 0U || (unsigned int )cam->io == 1U) { sn9c102_release_buffers(cam); } else { } err = sn9c102_set_crop(cam, rect); if ((unsigned long )s->set_crop != (unsigned long )((int (*)(struct sn9c102_device * , struct v4l2_rect const * ))0)) { tmp___1 = (*(s->set_crop))(cam, (struct v4l2_rect const *)rect); err = tmp___1 + err; } else { } tmp___2 = sn9c102_set_scale(cam, (int )scale); err = tmp___2 + err; if (err != 0) { cam->state = (enum sn9c102_dev_state )((unsigned int )cam->state | 4U); if ((unsigned int )debug != 0U) { tmp___3 = video_device_node_name(cam->v4ldev); dev_err((struct device const *)(& (cam->usbdev)->dev), "VIDIOC_S_CROP failed because of hardware problems. To use the camera, close and open %s again.\n", tmp___3); } else { } return (-5); } else { } s->pix_format.width = (__u32 )(rect->width / (int )scale); s->pix_format.height = (__u32 )(rect->height / (int )scale); __len = 16UL; if (__len > 63UL) { __ret = __memcpy((void *)(& s->_rect), (void const *)rect, __len); } else { __ret = __builtin_memcpy((void *)(& s->_rect), (void const *)rect, __len); } if ((unsigned int )cam->module_param.force_munmap != 0U || (unsigned int )cam->io == 1U) { tmp___9 = sn9c102_request_buffers(cam, nbuffers, cam->io); if (tmp___9 != nbuffers) { cam->state = (enum sn9c102_dev_state )((unsigned int )cam->state | 4U); if ((unsigned int )debug != 0U) { tmp___6 = video_device_node_name(cam->v4ldev); dev_err((struct device const *)(& (cam->usbdev)->dev), "VIDIOC_S_CROP failed because of not enough memory. To use the camera, close and open %s again.\n", tmp___6); } else { } return (-12); } else { } } else { } if ((unsigned int )cam->io == 1U) { sn9c102_empty_framequeues(cam); } else if ((unsigned int )cam->module_param.force_munmap != 0U) { sn9c102_requeue_outqueue(cam); } else { } cam->stream = stream; return (0); } } static int sn9c102_vidioc_enum_framesizes(struct sn9c102_device *cam , void *arg ) { struct v4l2_frmsizeenum frmsize ; unsigned long tmp ; int tmp___0 ; { tmp = copy_from_user((void *)(& frmsize), (void const *)arg, 44UL); if (tmp != 0UL) { return (-14); } else { } if (frmsize.index != 0U) { return (-22); } else { } switch ((unsigned int )cam->bridge) { case 1U: ; case 2U: ; case 4U: ; if (frmsize.pixel_format != 808532307U && frmsize.pixel_format != 825770306U) { return (-22); } else { } goto ldv_31120; case 8U: ; case 16U: ; if (frmsize.pixel_format != 1195724874U && frmsize.pixel_format != 825770306U) { return (-22); } else { } goto ldv_31120; } ldv_31120: frmsize.type = 3U; frmsize.ldv_28362.stepwise.step_width = 16U; frmsize.ldv_28362.stepwise.min_width = frmsize.ldv_28362.stepwise.step_width; frmsize.ldv_28362.stepwise.step_height = 16U; frmsize.ldv_28362.stepwise.min_height = frmsize.ldv_28362.stepwise.step_height; frmsize.ldv_28362.stepwise.max_width = (__u32 )cam->sensor.cropcap.bounds.width; frmsize.ldv_28362.stepwise.max_height = (__u32 )cam->sensor.cropcap.bounds.height; memset((void *)(& frmsize.reserved), 0, 8UL); tmp___0 = copy_to_user(arg, (void const *)(& frmsize), 44U); if (tmp___0 != 0) { return (-14); } else { } return (0); } } static int sn9c102_vidioc_enum_fmt(struct sn9c102_device *cam , void *arg ) { struct v4l2_fmtdesc fmtd ; unsigned long tmp ; int tmp___0 ; { tmp = copy_from_user((void *)(& fmtd), (void const *)arg, 64UL); if (tmp != 0UL) { return (-14); } else { } if (fmtd.type != 1U) { return (-22); } else { } if (fmtd.index == 0U) { strcpy((char *)(& fmtd.description), "bayer rgb"); fmtd.pixelformat = 825770306U; } else if (fmtd.index == 1U) { switch ((unsigned int )cam->bridge) { case 1U: ; case 2U: ; case 4U: strcpy((char *)(& fmtd.description), "compressed"); fmtd.pixelformat = 808532307U; goto ldv_31131; case 8U: ; case 16U: strcpy((char *)(& fmtd.description), "JPEG"); fmtd.pixelformat = 1195724874U; goto ldv_31131; } ldv_31131: fmtd.flags = 1U; } else { return (-22); } fmtd.type = 1U; memset((void *)(& fmtd.reserved), 0, 16UL); tmp___0 = copy_to_user(arg, (void const *)(& fmtd), 64U); if (tmp___0 != 0) { return (-14); } else { } return (0); } } static int sn9c102_vidioc_g_fmt(struct sn9c102_device *cam , void *arg ) { struct v4l2_format format ; struct v4l2_pix_format *pfmt ; unsigned long tmp ; size_t __len ; void *__ret ; int tmp___0 ; { pfmt = & cam->sensor.pix_format; tmp = copy_from_user((void *)(& format), (void const *)arg, 208UL); if (tmp != 0UL) { return (-14); } else { } if (format.type != 1U) { return (-22); } else { } pfmt->colorspace = pfmt->pixelformat == 1195724874U ? 7U : 8U; pfmt->bytesperline = pfmt->pixelformat != 808532307U && pfmt->pixelformat != 1195724874U ? (pfmt->width * pfmt->priv) / 8U : 0U; pfmt->sizeimage = pfmt->height * ((pfmt->width * pfmt->priv) / 8U); pfmt->field = 1U; __len = 32UL; if (__len > 63UL) { __ret = __memcpy((void *)(& format.fmt.pix), (void const *)pfmt, __len); } else { __ret = __builtin_memcpy((void *)(& format.fmt.pix), (void const *)pfmt, __len); } tmp___0 = copy_to_user(arg, (void const *)(& format), 208U); if (tmp___0 != 0) { return (-14); } else { } return (0); } } static int sn9c102_vidioc_try_s_fmt(struct sn9c102_device *cam , unsigned int cmd , void *arg ) { struct sn9c102_sensor *s ; struct v4l2_format format ; struct v4l2_pix_format *pix ; struct v4l2_pix_format *pfmt ; struct v4l2_rect *bounds ; struct v4l2_rect rect ; u8 scale ; enum sn9c102_stream_state stream ; u32 nbuffers ; u32 i ; int err ; unsigned long tmp ; size_t __len ; void *__ret ; u32 a ; u32 b ; u32 a___0 ; u32 b___0 ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; char const *tmp___7 ; size_t __len___0 ; void *__ret___0 ; size_t __len___1 ; void *__ret___1 ; char const *tmp___10 ; u32 tmp___13 ; { s = & cam->sensor; pfmt = & s->pix_format; bounds = & s->cropcap.bounds; stream = cam->stream; nbuffers = cam->nbuffers; err = 0; tmp = copy_from_user((void *)(& format), (void const *)arg, 208UL); if (tmp != 0UL) { return (-14); } else { } pix = & format.fmt.pix; if (format.type != 1U) { return (-22); } else { } __len = 16UL; if (__len > 63UL) { __ret = __memcpy((void *)(& rect), (void const *)(& s->_rect), __len); } else { __ret = __builtin_memcpy((void *)(& rect), (void const *)(& s->_rect), __len); } a = (u32 )(rect.width * rect.height); b = pix->width * pix->height; scale = b != 0U ? (a / b > 3U ? (a / b <= 15U ? 2U : 4U) : 1U) : 1U; rect.width = (__s32 )((__u32 )scale * pix->width); rect.height = (__s32 )((__u32 )scale * pix->height); if (rect.width <= 15) { rect.width = 16; } else { } if (rect.height <= 15) { rect.height = 16; } else { } if (rect.width > (bounds->left + bounds->width) - rect.left) { rect.width = (bounds->left + bounds->width) - rect.left; } else { } if (rect.height > (bounds->top + bounds->height) - rect.top) { rect.height = (bounds->top + bounds->height) - rect.top; } else { } rect.width = rect.width & -16; rect.height = rect.height & -16; a___0 = (u32 )(rect.width * rect.height); b___0 = pix->width * pix->height; scale = b___0 != 0U ? (a___0 / b___0 > 3U ? (a___0 / b___0 <= 15U ? 2U : 4U) : 1U) : 1U; pix->width = (__u32 )(rect.width / (int )scale); pix->height = (__u32 )(rect.height / (int )scale); switch ((unsigned int )cam->bridge) { case 1U: ; case 2U: ; case 4U: ; if (pix->pixelformat != 808532307U && pix->pixelformat != 825770306U) { pix->pixelformat = pfmt->pixelformat; } else { } goto ldv_31169; case 8U: ; case 16U: ; if (pix->pixelformat != 1195724874U && pix->pixelformat != 825770306U) { pix->pixelformat = pfmt->pixelformat; } else { } goto ldv_31169; } ldv_31169: pix->priv = pfmt->priv; pix->colorspace = pix->pixelformat == 1195724874U ? 7U : 8U; pix->bytesperline = pix->pixelformat != 808532307U && pix->pixelformat != 1195724874U ? (pix->width * pix->priv) / 8U : 0U; pix->sizeimage = pix->height * ((pix->width * pix->priv) / 8U); pix->field = 1U; if (cmd == 3234879040U) { tmp___0 = copy_to_user(arg, (void const *)(& format), 208U); if (tmp___0 != 0) { return (-14); } else { } return (0); } else { } if ((unsigned int )cam->module_param.force_munmap != 0U) { i = 0U; goto ldv_31174; ldv_31173: ; if (cam->frame[i].vma_use_count != 0UL) { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] VIDIOC_S_FMT failed. Unmap the buffers first.\n", "sn9c102_vidioc_try_s_fmt", 2718); } else { } return (-16); } else { } i = i + 1U; ldv_31174: ; if (cam->nbuffers > i) { goto ldv_31173; } else { } } else { } if ((unsigned int )cam->stream == 2U) { err = sn9c102_stream_interrupt(cam); if (err != 0) { return (err); } else { } } else { } tmp___1 = copy_to_user(arg, (void const *)(& format), 208U); if (tmp___1 != 0) { cam->stream = stream; return (-14); } else { } if ((unsigned int )cam->module_param.force_munmap != 0U || (unsigned int )cam->io == 1U) { sn9c102_release_buffers(cam); } else { } tmp___2 = sn9c102_set_pix_format(cam, pix); err = tmp___2 + err; tmp___3 = sn9c102_set_crop(cam, & rect); err = tmp___3 + err; if ((unsigned long )s->set_pix_format != (unsigned long )((int (*)(struct sn9c102_device * , struct v4l2_pix_format const * ))0)) { tmp___4 = (*(s->set_pix_format))(cam, (struct v4l2_pix_format const *)pix); err = tmp___4 + err; } else { } if ((unsigned long )s->set_crop != (unsigned long )((int (*)(struct sn9c102_device * , struct v4l2_rect const * ))0)) { tmp___5 = (*(s->set_crop))(cam, (struct v4l2_rect const *)(& rect)); err = tmp___5 + err; } else { } tmp___6 = sn9c102_set_scale(cam, (int )scale); err = tmp___6 + err; if (err != 0) { cam->state = (enum sn9c102_dev_state )((unsigned int )cam->state | 4U); if ((unsigned int )debug != 0U) { tmp___7 = video_device_node_name(cam->v4ldev); dev_err((struct device const *)(& (cam->usbdev)->dev), "VIDIOC_S_FMT failed because of hardware problems. To use the camera, close and open %s again.\n", tmp___7); } else { } return (-5); } else { } __len___0 = 32UL; if (__len___0 > 63UL) { __ret___0 = __memcpy((void *)pfmt, (void const *)pix, __len___0); } else { __ret___0 = __builtin_memcpy((void *)pfmt, (void const *)pix, __len___0); } __len___1 = 16UL; if (__len___1 > 63UL) { __ret___1 = __memcpy((void *)(& s->_rect), (void const *)(& rect), __len___1); } else { __ret___1 = __builtin_memcpy((void *)(& s->_rect), (void const *)(& rect), __len___1); } if ((unsigned int )cam->module_param.force_munmap != 0U || (unsigned int )cam->io == 1U) { tmp___13 = sn9c102_request_buffers(cam, nbuffers, cam->io); if (tmp___13 != nbuffers) { cam->state = (enum sn9c102_dev_state )((unsigned int )cam->state | 4U); if ((unsigned int )debug != 0U) { tmp___10 = video_device_node_name(cam->v4ldev); dev_err((struct device const *)(& (cam->usbdev)->dev), "VIDIOC_S_FMT failed because of not enough memory. To use the camera, close and open %s again.\n", tmp___10); } else { } return (-12); } else { } } else { } if ((unsigned int )cam->io == 1U) { sn9c102_empty_framequeues(cam); } else if ((unsigned int )cam->module_param.force_munmap != 0U) { sn9c102_requeue_outqueue(cam); } else { } cam->stream = stream; return (0); } } static int sn9c102_vidioc_g_jpegcomp(struct sn9c102_device *cam , void *arg ) { int tmp ; { tmp = copy_to_user(arg, (void const *)(& cam->compression), 140U); if (tmp != 0) { return (-14); } else { } return (0); } } static int sn9c102_vidioc_s_jpegcomp(struct sn9c102_device *cam , void *arg ) { struct v4l2_jpegcompression jc ; enum sn9c102_stream_state stream ; int err ; unsigned long tmp ; int tmp___0 ; char const *tmp___1 ; { stream = cam->stream; err = 0; tmp = copy_from_user((void *)(& jc), (void const *)arg, 140UL); if (tmp != 0UL) { return (-14); } else { } if (jc.quality != 0 && jc.quality != 1) { return (-22); } else { } if ((unsigned int )cam->stream == 2U) { err = sn9c102_stream_interrupt(cam); if (err != 0) { return (err); } else { } } else { } tmp___0 = sn9c102_set_compression(cam, & jc); err = tmp___0 + err; if (err != 0) { cam->state = (enum sn9c102_dev_state )((unsigned int )cam->state | 4U); if ((unsigned int )debug != 0U) { tmp___1 = video_device_node_name(cam->v4ldev); dev_err((struct device const *)(& (cam->usbdev)->dev), "VIDIOC_S_JPEGCOMP failed because of hardware problems. To use the camera, close and open %s again.\n", tmp___1); } else { } return (-5); } else { } cam->compression.quality = jc.quality; cam->stream = stream; return (0); } } static int sn9c102_vidioc_reqbufs(struct sn9c102_device *cam , void *arg ) { struct v4l2_requestbuffers rb ; u32 i ; int err ; unsigned long tmp ; int tmp___0 ; { tmp = copy_from_user((void *)(& rb), (void const *)arg, 20UL); if (tmp != 0UL) { return (-14); } else { } if (rb.type != 1U || rb.memory != 1U) { return (-22); } else { } if ((unsigned int )cam->io == 1U) { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Close and open the device again to choose the mmap I/O method\n", "sn9c102_vidioc_reqbufs", 2833); } else { } return (-16); } else { } i = 0U; goto ldv_31203; ldv_31202: ; if (cam->frame[i].vma_use_count != 0UL) { if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] VIDIOC_REQBUFS failed. Previous buffers are still mapped.\n", "sn9c102_vidioc_reqbufs", 2840); } else { } return (-16); } else { } i = i + 1U; ldv_31203: ; if (cam->nbuffers > i) { goto ldv_31202; } else { } if ((unsigned int )cam->stream == 2U) { err = sn9c102_stream_interrupt(cam); if (err != 0) { return (err); } else { } } else { } sn9c102_empty_framequeues(cam); sn9c102_release_buffers(cam); if (rb.count != 0U) { rb.count = sn9c102_request_buffers(cam, rb.count, 2); } else { } tmp___0 = copy_to_user(arg, (void const *)(& rb), 20U); if (tmp___0 != 0) { sn9c102_release_buffers(cam); cam->io = 0; return (-14); } else { } cam->io = rb.count != 0U ? 2 : 0; return (0); } } static int sn9c102_vidioc_querybuf(struct sn9c102_device *cam , void *arg ) { struct v4l2_buffer b ; unsigned long tmp ; int tmp___0 ; { tmp = copy_from_user((void *)(& b), (void const *)arg, 88UL); if (tmp != 0UL) { return (-14); } else { } if ((b.type != 1U || b.index >= cam->nbuffers) || (unsigned int )cam->io != 2U) { return (-22); } else { } b = cam->frame[b.index].buf; if (cam->frame[b.index].vma_use_count != 0UL) { b.flags = b.flags | 1U; } else { } if ((unsigned int )cam->frame[b.index].state == 3U) { b.flags = b.flags | 4U; } else if ((unsigned int )cam->frame[b.index].state != 0U) { b.flags = b.flags | 2U; } else { } tmp___0 = copy_to_user(arg, (void const *)(& b), 88U); if (tmp___0 != 0) { return (-14); } else { } return (0); } } static int sn9c102_vidioc_qbuf(struct sn9c102_device *cam , void *arg ) { struct v4l2_buffer b ; unsigned long lock_flags ; unsigned long tmp ; raw_spinlock_t *tmp___0 ; { tmp = copy_from_user((void *)(& b), (void const *)arg, 88UL); if (tmp != 0UL) { return (-14); } else { } if ((b.type != 1U || b.index >= cam->nbuffers) || (unsigned int )cam->io != 2U) { return (-22); } else { } if ((unsigned int )cam->frame[b.index].state != 0U) { return (-22); } else { } cam->frame[b.index].state = 1; tmp___0 = spinlock_check(& cam->queue_lock); lock_flags = _raw_spin_lock_irqsave(tmp___0); list_add_tail(& cam->frame[b.index].frame, & cam->inqueue); spin_unlock_irqrestore(& cam->queue_lock, lock_flags); return (0); } } static int sn9c102_vidioc_dqbuf(struct sn9c102_device *cam , struct file *filp , void *arg ) { struct v4l2_buffer b ; struct sn9c102_frame_t *f ; unsigned long lock_flags ; long timeout ; int err ; unsigned long tmp ; int __ret ; wait_queue_t __wait ; struct task_struct *tmp___0 ; int tmp___1 ; struct task_struct *tmp___2 ; int tmp___3 ; int tmp___4 ; long __ret___0 ; unsigned long tmp___5 ; wait_queue_t __wait___0 ; struct task_struct *tmp___6 ; int tmp___7 ; struct task_struct *tmp___8 ; int tmp___9 ; int tmp___10 ; int tmp___11 ; raw_spinlock_t *tmp___12 ; struct list_head const *__mptr ; int tmp___13 ; { err = 0; tmp = copy_from_user((void *)(& b), (void const *)arg, 88UL); if (tmp != 0UL) { return (-14); } else { } if (b.type != 1U || (unsigned int )cam->io != 2U) { return (-22); } else { } tmp___11 = list_empty((struct list_head const *)(& cam->outqueue)); if (tmp___11 != 0) { if ((unsigned int )cam->stream == 0U) { return (-22); } else { } if ((filp->f_flags & 2048U) != 0U) { return (-11); } else { } if ((unsigned int )cam->module_param.frame_timeout == 0U) { __ret = 0; tmp___4 = list_empty((struct list_head const *)(& cam->outqueue)); if ((tmp___4 != 0 && ((unsigned int )cam->state & 2U) == 0U) && ((unsigned int )cam->state & 4U) == 0U) { tmp___0 = get_current(); __wait.flags = 0U; __wait.private = (void *)tmp___0; __wait.func = & autoremove_wake_function; __wait.task_list.next = & __wait.task_list; __wait.task_list.prev = & __wait.task_list; ldv_31233: prepare_to_wait(& cam->wait_frame, & __wait, 1); tmp___1 = list_empty((struct list_head const *)(& cam->outqueue)); if ((tmp___1 == 0 || ((unsigned int )cam->state & 2U) != 0U) || ((unsigned int )cam->state & 4U) != 0U) { goto ldv_31231; } else { } tmp___2 = get_current(); tmp___3 = signal_pending(tmp___2); if (tmp___3 == 0) { schedule(); goto ldv_31232; } else { } __ret = -512; goto ldv_31231; ldv_31232: ; goto ldv_31233; ldv_31231: finish_wait(& cam->wait_frame, & __wait); } else { } err = __ret; if (err != 0) { return (err); } else { } } else { tmp___5 = msecs_to_jiffies(1U); __ret___0 = (long )((unsigned long )((int )cam->module_param.frame_timeout * 1000) * tmp___5); tmp___10 = list_empty((struct list_head const *)(& cam->outqueue)); if ((tmp___10 != 0 && ((unsigned int )cam->state & 2U) == 0U) && ((unsigned int )cam->state & 4U) == 0U) { tmp___6 = get_current(); __wait___0.flags = 0U; __wait___0.private = (void *)tmp___6; __wait___0.func = & autoremove_wake_function; __wait___0.task_list.next = & __wait___0.task_list; __wait___0.task_list.prev = & __wait___0.task_list; ldv_31239: prepare_to_wait(& cam->wait_frame, & __wait___0, 1); tmp___7 = list_empty((struct list_head const *)(& cam->outqueue)); if ((tmp___7 == 0 || ((unsigned int )cam->state & 2U) != 0U) || ((unsigned int )cam->state & 4U) != 0U) { goto ldv_31237; } else { } tmp___8 = get_current(); tmp___9 = signal_pending(tmp___8); if (tmp___9 == 0) { __ret___0 = schedule_timeout(__ret___0); if (__ret___0 == 0L) { goto ldv_31237; } else { } goto ldv_31238; } else { } __ret___0 = -512L; goto ldv_31237; ldv_31238: ; goto ldv_31239; ldv_31237: finish_wait(& cam->wait_frame, & __wait___0); } else { } timeout = __ret___0; if (timeout < 0L) { return ((int )timeout); } else if (timeout == 0L && ((unsigned int )cam->state & 2U) == 0U) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "Video frame timeout elapsed\n"); } else { } return (-5); } else { } } if (((unsigned int )cam->state & 2U) != 0U) { return (-19); } else { } if (((unsigned int )cam->state & 4U) != 0U) { return (-5); } else { } } else { } tmp___12 = spinlock_check(& cam->queue_lock); lock_flags = _raw_spin_lock_irqsave(tmp___12); __mptr = (struct list_head const *)cam->outqueue.next; f = (struct sn9c102_frame_t *)__mptr + 0xffffffffffffff98UL; list_del(cam->outqueue.next); spin_unlock_irqrestore(& cam->queue_lock, lock_flags); f->state = 0; b = f->buf; if (f->vma_use_count != 0UL) { b.flags = b.flags | 1U; } else { } tmp___13 = copy_to_user(arg, (void const *)(& b), 88U); if (tmp___13 != 0) { return (-14); } else { } return (0); } } static int sn9c102_vidioc_streamon(struct sn9c102_device *cam , void *arg ) { int type ; unsigned long tmp ; { tmp = copy_from_user((void *)(& type), (void const *)arg, 4UL); if (tmp != 0UL) { return (-14); } else { } if (type != 1 || (unsigned int )cam->io != 2U) { return (-22); } else { } cam->stream = 2; if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Stream on\n", "sn9c102_vidioc_streamon", 3007); } else { } return (0); } } static int sn9c102_vidioc_streamoff(struct sn9c102_device *cam , void *arg ) { int type ; int err ; unsigned long tmp ; { tmp = copy_from_user((void *)(& type), (void const *)arg, 4UL); if (tmp != 0UL) { return (-14); } else { } if (type != 1 || (unsigned int )cam->io != 2U) { return (-22); } else { } if ((unsigned int )cam->stream == 2U) { err = sn9c102_stream_interrupt(cam); if (err != 0) { return (err); } else { } } else { } sn9c102_empty_framequeues(cam); if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Stream off\n", "sn9c102_vidioc_streamoff", 3030); } else { } return (0); } } static int sn9c102_vidioc_g_parm(struct sn9c102_device *cam , void *arg ) { struct v4l2_streamparm sp ; unsigned long tmp ; int tmp___0 ; { tmp = copy_from_user((void *)(& sp), (void const *)arg, 204UL); if (tmp != 0UL) { return (-14); } else { } if (sp.type != 1U) { return (-22); } else { } sp.parm.capture.extendedmode = 0U; sp.parm.capture.readbuffers = cam->nreadbuffers; tmp___0 = copy_to_user(arg, (void const *)(& sp), 204U); if (tmp___0 != 0) { return (-14); } else { } return (0); } } static int sn9c102_vidioc_s_parm(struct sn9c102_device *cam , void *arg ) { struct v4l2_streamparm sp ; unsigned long tmp ; int tmp___0 ; { tmp = copy_from_user((void *)(& sp), (void const *)arg, 204UL); if (tmp != 0UL) { return (-14); } else { } if (sp.type != 1U) { return (-22); } else { } sp.parm.capture.extendedmode = 0U; if (sp.parm.capture.readbuffers == 0U) { sp.parm.capture.readbuffers = cam->nreadbuffers; } else { } if (sp.parm.capture.readbuffers > 32U) { sp.parm.capture.readbuffers = 32U; } else { } tmp___0 = copy_to_user(arg, (void const *)(& sp), 204U); if (tmp___0 != 0) { return (-14); } else { } cam->nreadbuffers = sp.parm.capture.readbuffers; return (0); } } static int sn9c102_vidioc_enumaudio(struct sn9c102_device *cam , void *arg ) { struct v4l2_audio audio ; unsigned long tmp ; int tmp___0 ; { if ((unsigned int )cam->bridge == 1U || (unsigned int )cam->bridge == 2U) { return (-22); } else { } tmp = copy_from_user((void *)(& audio), (void const *)arg, 52UL); if (tmp != 0UL) { return (-14); } else { } if (audio.index != 0U) { return (-22); } else { } strcpy((char *)(& audio.name), "Microphone"); audio.capability = 0U; audio.mode = 0U; tmp___0 = copy_to_user(arg, (void const *)(& audio), 52U); if (tmp___0 != 0) { return (-14); } else { } return (0); } } static int sn9c102_vidioc_g_audio(struct sn9c102_device *cam , void *arg ) { struct v4l2_audio audio ; unsigned long tmp ; int tmp___0 ; { if ((unsigned int )cam->bridge == 1U || (unsigned int )cam->bridge == 2U) { return (-22); } else { } tmp = copy_from_user((void *)(& audio), (void const *)arg, 52UL); if (tmp != 0UL) { return (-14); } else { } memset((void *)(& audio), 0, 52UL); strcpy((char *)(& audio.name), "Microphone"); tmp___0 = copy_to_user(arg, (void const *)(& audio), 52U); if (tmp___0 != 0) { return (-14); } else { } return (0); } } static int sn9c102_vidioc_s_audio(struct sn9c102_device *cam , void *arg ) { struct v4l2_audio audio ; unsigned long tmp ; { if ((unsigned int )cam->bridge == 1U || (unsigned int )cam->bridge == 2U) { return (-22); } else { } tmp = copy_from_user((void *)(& audio), (void const *)arg, 52UL); if (tmp != 0UL) { return (-14); } else { } if (audio.index != 0U) { return (-22); } else { } return (0); } } static long sn9c102_ioctl_v4l2(struct file *filp , unsigned int cmd , void *arg ) { struct sn9c102_device *cam ; void *tmp ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; int tmp___7 ; int tmp___8 ; int tmp___9 ; int tmp___10 ; int tmp___11 ; int tmp___12 ; int tmp___13 ; int tmp___14 ; int tmp___15 ; int tmp___16 ; int tmp___17 ; int tmp___18 ; int tmp___19 ; int tmp___20 ; int tmp___21 ; int tmp___22 ; int tmp___23 ; int tmp___24 ; int tmp___25 ; int tmp___26 ; { tmp = video_drvdata(filp); cam = (struct sn9c102_device *)tmp; switch (cmd) { case 2154321408U: tmp___0 = sn9c102_vidioc_querycap(cam, arg); return ((long )tmp___0); case 3226490394U: tmp___1 = sn9c102_vidioc_enuminput(cam, arg); return ((long )tmp___1); case 2147767846U: tmp___2 = sn9c102_vidioc_g_input(cam, arg); return ((long )tmp___2); case 3221509671U: tmp___3 = sn9c102_vidioc_s_input(cam, arg); return ((long )tmp___3); case 3225703972U: tmp___4 = sn9c102_vidioc_query_ctrl(cam, arg); return ((long )tmp___4); case 3221771803U: tmp___5 = sn9c102_vidioc_g_ctrl(cam, arg); return ((long )tmp___5); case 3221771804U: tmp___6 = sn9c102_vidioc_s_ctrl(cam, arg); return ((long )tmp___6); case 3224131130U: tmp___7 = sn9c102_vidioc_cropcap(cam, arg); return ((long )tmp___7); case 3222558267U: tmp___8 = sn9c102_vidioc_g_crop(cam, arg); return ((long )tmp___8); case 1075074620U: tmp___9 = sn9c102_vidioc_s_crop(cam, arg); return ((long )tmp___9); case 3224131146U: tmp___10 = sn9c102_vidioc_enum_framesizes(cam, arg); return ((long )tmp___10); case 3225441794U: tmp___11 = sn9c102_vidioc_enum_fmt(cam, arg); return ((long )tmp___11); case 3234878980U: tmp___12 = sn9c102_vidioc_g_fmt(cam, arg); return ((long )tmp___12); case 3234879040U: ; case 3234878981U: tmp___13 = sn9c102_vidioc_try_s_fmt(cam, cmd, arg); return ((long )tmp___13); case 2156680765U: tmp___14 = sn9c102_vidioc_g_jpegcomp(cam, arg); return ((long )tmp___14); case 1082938942U: tmp___15 = sn9c102_vidioc_s_jpegcomp(cam, arg); return ((long )tmp___15); case 3222558216U: tmp___16 = sn9c102_vidioc_reqbufs(cam, arg); return ((long )tmp___16); case 3227014665U: tmp___17 = sn9c102_vidioc_querybuf(cam, arg); return ((long )tmp___17); case 3227014671U: tmp___18 = sn9c102_vidioc_qbuf(cam, arg); return ((long )tmp___18); case 3227014673U: tmp___19 = sn9c102_vidioc_dqbuf(cam, filp, arg); return ((long )tmp___19); case 1074026002U: tmp___20 = sn9c102_vidioc_streamon(cam, arg); return ((long )tmp___20); case 1074026003U: tmp___21 = sn9c102_vidioc_streamoff(cam, arg); return ((long )tmp___21); case 3234616853U: tmp___22 = sn9c102_vidioc_g_parm(cam, arg); return ((long )tmp___22); case 3234616854U: tmp___23 = sn9c102_vidioc_s_parm(cam, arg); return ((long )tmp___23); case 3224655425U: tmp___24 = sn9c102_vidioc_enumaudio(cam, arg); return ((long )tmp___24); case 2150913569U: tmp___25 = sn9c102_vidioc_g_audio(cam, arg); return ((long )tmp___25); case 1077171746U: tmp___26 = sn9c102_vidioc_s_audio(cam, arg); return ((long )tmp___26); default: ; return (-25L); } } } static long sn9c102_ioctl(struct file *filp , unsigned int cmd , unsigned long arg ) { struct sn9c102_device *cam ; void *tmp ; int err ; int tmp___0 ; long tmp___1 ; { tmp = video_drvdata(filp); cam = (struct sn9c102_device *)tmp; err = 0; tmp___0 = ldv_mutex_lock_interruptible_71(& cam->fileop_mutex); if (tmp___0 != 0) { return (-512L); } else { } if (((unsigned int )cam->state & 2U) != 0U) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "Device not present\n"); } else { } ldv_mutex_unlock_72(& cam->fileop_mutex); return (-19L); } else { } if (((unsigned int )cam->state & 4U) != 0U) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "The camera is misconfigured. Close and open it again.\n"); } else { } ldv_mutex_unlock_73(& cam->fileop_mutex); return (-5L); } else { } if ((unsigned int )debug > 2U) { v4l_printk_ioctl("sn9c102", cmd); } else { } tmp___1 = sn9c102_ioctl_v4l2(filp, cmd, (void *)arg); err = (int )tmp___1; ldv_mutex_unlock_74(& cam->fileop_mutex); return ((long )err); } } static struct v4l2_file_operations const sn9c102_fops = {& __this_module, & sn9c102_read, 0, & sn9c102_poll, 0, & sn9c102_ioctl, 0, 0, & sn9c102_mmap, & sn9c102_open, & sn9c102_release}; static int sn9c102_usb_probe(struct usb_interface *intf , struct usb_device_id const *id ) { struct usb_device *udev ; struct usb_device *tmp ; struct sn9c102_device *cam ; unsigned int dev_nr ; unsigned int i ; int err ; int r ; void *tmp___0 ; u8 *tmp___1 ; void *tmp___2 ; struct video_device *tmp___3 ; int tmp___4 ; char const *tmp___6 ; { tmp = interface_to_usbdev(intf); udev = tmp; err = 0; tmp___0 = kzalloc(13520UL, 208U); cam = (struct sn9c102_device *)tmp___0; if ((unsigned long )cam == (unsigned long )((struct sn9c102_device *)0)) { return (-12); } else { } cam->usbdev = udev; tmp___2 = kzalloc(8UL, 208U); tmp___1 = (u8 *)tmp___2; cam->control_buffer = tmp___1; if ((unsigned long )tmp___1 == (unsigned long )((u8 *)0)) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "kzalloc() failed\n"); } else { } err = -12; goto fail; } else { } tmp___3 = video_device_alloc(); cam->v4ldev = tmp___3; if ((unsigned long )tmp___3 == (unsigned long )((struct video_device *)0)) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "video_device_alloc() failed\n"); } else { } err = -12; goto fail; } else { } r = sn9c102_read_reg(cam, 0); if (r < 0 || ((r != 16 && r != 17) && r != 18)) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "Sorry, this is not a SN9C1xx-based camera (vid:pid 0x%04X:0x%04X)\n", (int )id->idVendor, (int )id->idProduct); } else { } err = -19; goto fail; } else { } cam->bridge = (enum sn9c102_bridge )id->driver_info; switch ((unsigned int )cam->bridge) { case 1U: ; case 2U: ; if ((unsigned int )debug > 1U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "SN9C10[12] PC Camera Controller detected (vid:pid 0x%04X:0x%04X)\n", (int )id->idVendor, (int )id->idProduct); } else { } goto ldv_31343; case 4U: ; if ((unsigned int )debug > 1U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "SN9C103 PC Camera Controller detected (vid:pid 0x%04X:0x%04X)\n", (int )id->idVendor, (int )id->idProduct); } else { } goto ldv_31343; case 8U: ; if ((unsigned int )debug > 1U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "SN9C105 PC Camera Controller detected (vid:pid 0x%04X:0x%04X)\n", (int )id->idVendor, (int )id->idProduct); } else { } goto ldv_31343; case 16U: ; if ((unsigned int )debug > 1U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "SN9C120 PC Camera Controller detected (vid:pid 0x%04X:0x%04X)\n", (int )id->idVendor, (int )id->idProduct); } else { } goto ldv_31343; } ldv_31343: i = 0U; goto ldv_31351; ldv_31350: err = (*(sn9c102_sensor_table[i]))(cam); if (err == 0) { goto ldv_31349; } else { } i = i + 1U; ldv_31351: ; if (i <= 11U) { goto ldv_31350; } else { } ldv_31349: ; if (err == 0) { if ((unsigned int )debug > 1U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "%s image sensor detected\n", (char *)(& cam->sensor.name)); } else { } if ((unsigned int )debug > 2U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "[%s:%d] Support for %s maintained by %s\n", "sn9c102_usb_probe", 3355, (char *)(& cam->sensor.name), (char *)(& cam->sensor.maintainer)); } else { } } else { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "No supported image sensor detected for this bridge\n"); } else { } err = -19; goto fail; } if (((unsigned int )cam->bridge & (unsigned int )cam->sensor.supported_bridge) == 0U) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "Bridge not supported\n"); } else { } err = -19; goto fail; } else { } tmp___4 = sn9c102_init(cam); if (tmp___4 != 0) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "Initialization failed. I will retry on open().\n"); } else { } cam->state = (enum sn9c102_dev_state )((unsigned int )cam->state | 4U); } else { } strcpy((char *)(& (cam->v4ldev)->name), "SN9C1xx PC Camera"); (cam->v4ldev)->fops = & sn9c102_fops; (cam->v4ldev)->release = & video_device_release; (cam->v4ldev)->parent = & udev->dev; init_completion(& cam->probe); err = video_register_device(cam->v4ldev, 0, (int )video_nr[dev_nr]); if (err != 0) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "V4L2 device registration failed\n"); } else { } if (err == -23 && (int )video_nr[dev_nr] == -1) { if ((unsigned int )debug != 0U) { dev_err((struct device const *)(& (cam->usbdev)->dev), "Free /dev/videoX node not found\n"); } else { } } else { } video_nr[dev_nr] = -1; dev_nr = dev_nr <= 62U ? dev_nr + 1U : 0U; complete_all(& cam->probe); goto fail; } else { } if ((unsigned int )debug > 1U) { tmp___6 = video_device_node_name(cam->v4ldev); _dev_info((struct device const *)(& (cam->usbdev)->dev), "V4L2 device registered as %s\n", tmp___6); } else { } video_set_drvdata(cam->v4ldev, (void *)cam); cam->module_param.force_munmap = (u8 )force_munmap[dev_nr]; cam->module_param.frame_timeout = (u16 )frame_timeout[dev_nr]; dev_nr = dev_nr <= 62U ? dev_nr + 1U : 0U; err = sn9c102_create_sysfs(cam); if (err == 0) { if ((unsigned int )debug > 1U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "Optional device control through \'sysfs\' interface ready\n"); } else { } } else if ((unsigned int )debug > 1U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "Failed to create optional \'sysfs\' interface for device controlling. Error #%d\n", err); } else { } usb_set_intfdata(intf, (void *)cam); kref_init(& cam->kref); usb_get_dev(cam->usbdev); complete_all(& cam->probe); return (0); fail: ; if ((unsigned long )cam != (unsigned long )((struct sn9c102_device *)0)) { kfree((void const *)cam->control_buffer); if ((unsigned long )cam->v4ldev != (unsigned long )((struct video_device *)0)) { video_device_release(cam->v4ldev); } else { } kfree((void const *)cam); } else { } return (err); } } static void sn9c102_usb_disconnect(struct usb_interface *intf ) { struct sn9c102_device *cam ; void *tmp ; char const *tmp___1 ; { down_write(& sn9c102_dev_lock); tmp = usb_get_intfdata(intf); cam = (struct sn9c102_device *)tmp; if ((unsigned int )debug > 1U) { _dev_info((struct device const *)(& (cam->usbdev)->dev), "Disconnecting %s...\n", (char *)(& (cam->v4ldev)->name)); } else { } if ((unsigned int )cam->users != 0U) { if ((unsigned int )debug > 1U) { tmp___1 = video_device_node_name(cam->v4ldev); _dev_info((struct device const *)(& (cam->usbdev)->dev), "Device %s is open! Deregistration and memory deallocation are deferred.\n", tmp___1); } else { } cam->state = (enum sn9c102_dev_state )((unsigned int )cam->state | 4U); sn9c102_stop_transfer(cam); cam->state = (enum sn9c102_dev_state )((unsigned int )cam->state | 2U); __wake_up(& cam->wait_frame, 1U, 1, 0); __wake_up(& cam->wait_stream, 3U, 1, 0); } else { cam->state = (enum sn9c102_dev_state )((unsigned int )cam->state | 2U); } __wake_up(& cam->wait_open, 1U, 0, 0); kref_put(& cam->kref, & sn9c102_release_resources); up_write(& sn9c102_dev_lock); return; } } void ldv_check_final_state(void) ; extern void ldv_check_return_value(int ) ; extern void ldv_check_return_value_probe(int ) ; void ldv_initialize(void) ; extern void ldv_handler_precall(void) ; extern int __VERIFIER_nondet_int(void) ; int LDV_IN_INTERRUPT ; int main(void) { struct vm_area_struct *var_group1 ; struct file *var_group2 ; int res_sn9c102_open_44 ; unsigned int var_sn9c102_ioctl_79_p1 ; unsigned long var_sn9c102_ioctl_79_p2 ; struct file *var_group3 ; char *var_sn9c102_read_46_p1 ; size_t var_sn9c102_read_46_p2 ; loff_t *var_sn9c102_read_46_p3 ; poll_table *var_sn9c102_poll_47_p1 ; struct vm_area_struct *var_group4 ; struct usb_interface *var_group5 ; struct usb_device_id const *var_sn9c102_usb_probe_80_p1 ; int res_sn9c102_usb_probe_80 ; int ldv_s_sn9c102_vm_ops_vm_operations_struct ; int ldv_s_sn9c102_fops_v4l2_file_operations ; int ldv_s_sn9c102_usb_driver_usb_driver ; int tmp ; int tmp___0 ; { ldv_s_sn9c102_vm_ops_vm_operations_struct = 0; ldv_s_sn9c102_fops_v4l2_file_operations = 0; ldv_s_sn9c102_usb_driver_usb_driver = 0; LDV_IN_INTERRUPT = 1; ldv_initialize(); goto ldv_31421; ldv_31420: tmp = __VERIFIER_nondet_int(); switch (tmp) { case 0: ; if (ldv_s_sn9c102_vm_ops_vm_operations_struct == 0) { ldv_handler_precall(); sn9c102_vm_open(var_group1); ldv_s_sn9c102_vm_ops_vm_operations_struct = ldv_s_sn9c102_vm_ops_vm_operations_struct + 1; } else { } goto ldv_31408; case 1: ; if (ldv_s_sn9c102_vm_ops_vm_operations_struct == 1) { ldv_handler_precall(); sn9c102_vm_close(var_group1); ldv_s_sn9c102_vm_ops_vm_operations_struct = 0; } else { } goto ldv_31408; case 2: ; if (ldv_s_sn9c102_fops_v4l2_file_operations == 0) { ldv_handler_precall(); res_sn9c102_open_44 = sn9c102_open(var_group2); ldv_check_return_value(res_sn9c102_open_44); if (res_sn9c102_open_44 != 0) { goto ldv_module_exit; } else { } ldv_s_sn9c102_fops_v4l2_file_operations = ldv_s_sn9c102_fops_v4l2_file_operations + 1; } else { } goto ldv_31408; case 3: ; if (ldv_s_sn9c102_fops_v4l2_file_operations == 1) { ldv_handler_precall(); sn9c102_release(var_group2); ldv_s_sn9c102_fops_v4l2_file_operations = 0; } else { } goto ldv_31408; case 4: ldv_handler_precall(); sn9c102_ioctl(var_group2, var_sn9c102_ioctl_79_p1, var_sn9c102_ioctl_79_p2); goto ldv_31408; case 5: ldv_handler_precall(); sn9c102_read(var_group3, var_sn9c102_read_46_p1, var_sn9c102_read_46_p2, var_sn9c102_read_46_p3); goto ldv_31408; case 6: ldv_handler_precall(); sn9c102_poll(var_group2, var_sn9c102_poll_47_p1); goto ldv_31408; case 7: ldv_handler_precall(); sn9c102_mmap(var_group3, var_group4); goto ldv_31408; case 8: ; if (ldv_s_sn9c102_usb_driver_usb_driver == 0) { res_sn9c102_usb_probe_80 = sn9c102_usb_probe(var_group5, var_sn9c102_usb_probe_80_p1); ldv_check_return_value(res_sn9c102_usb_probe_80); ldv_check_return_value_probe(res_sn9c102_usb_probe_80); if (res_sn9c102_usb_probe_80 != 0) { goto ldv_module_exit; } else { } ldv_s_sn9c102_usb_driver_usb_driver = ldv_s_sn9c102_usb_driver_usb_driver + 1; } else { } goto ldv_31408; case 9: ; if (ldv_s_sn9c102_usb_driver_usb_driver == 1) { ldv_handler_precall(); sn9c102_usb_disconnect(var_group5); ldv_s_sn9c102_usb_driver_usb_driver = 0; } else { } goto ldv_31408; default: ; goto ldv_31408; } ldv_31408: ; ldv_31421: tmp___0 = __VERIFIER_nondet_int(); if (((tmp___0 != 0 || ldv_s_sn9c102_vm_ops_vm_operations_struct != 0) || ldv_s_sn9c102_fops_v4l2_file_operations != 0) || ldv_s_sn9c102_usb_driver_usb_driver != 0) { goto ldv_31420; } else { } ldv_module_exit: ; ldv_check_final_state(); return 0; } } void ldv_mutex_lock_1(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_lock(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } void ldv_mutex_unlock_2(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_lock_3(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_mutex_of_device(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } int ldv_mutex_trylock_4(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___2 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_trylock(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_trylock_mutex_of_device(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_5(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_mutex_of_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_lock_interruptible_6(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___4 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_lock_interruptible(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_lock_interruptible_sn9c102_sysfs_lock(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_7(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_8(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_lock_interruptible_9(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___7 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_lock_interruptible(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_lock_interruptible_sn9c102_sysfs_lock(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_10(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_11(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_12(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_lock_interruptible_13(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___11 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_lock_interruptible(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_lock_interruptible_sn9c102_sysfs_lock(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_14(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_15(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_16(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_lock_interruptible_17(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___15 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_lock_interruptible(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_lock_interruptible_sn9c102_sysfs_lock(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_18(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_19(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_20(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_21(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_lock_interruptible_22(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___20 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_lock_interruptible(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_lock_interruptible_sn9c102_sysfs_lock(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_23(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_24(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_lock_interruptible_25(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___23 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_lock_interruptible(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_lock_interruptible_sn9c102_sysfs_lock(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_26(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_27(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_28(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_lock_interruptible_29(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___27 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_lock_interruptible(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_lock_interruptible_sn9c102_sysfs_lock(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_30(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_31(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_32(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_33(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_lock_interruptible_34(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___32 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_lock_interruptible(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_lock_interruptible_sn9c102_sysfs_lock(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_35(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_36(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_37(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_38(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_39(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_lock_interruptible_40(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___38 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_lock_interruptible(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_lock_interruptible_sn9c102_sysfs_lock(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_41(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_42(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_lock_43(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } void ldv_mutex_unlock_44(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_sn9c102_sysfs_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_lock_interruptible_45(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___43 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_lock_interruptible(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_lock_interruptible_open_mutex_of_sn9c102_device(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_46(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_open_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_lock_interruptible_47(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___45 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_lock_interruptible(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_lock_interruptible_fileop_mutex_of_sn9c102_device(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_48(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_49(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_50(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_51(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_52(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_53(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_54(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_55(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_56(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_57(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_58(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_59(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_lock_interruptible_60(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___58 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_lock_interruptible(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_lock_interruptible_fileop_mutex_of_sn9c102_device(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_61(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_62(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_lock_interruptible_63(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___61 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_lock_interruptible(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_lock_interruptible_fileop_mutex_of_sn9c102_device(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_64(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_65(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_66(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_67(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_68(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_69(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_70(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_lock_interruptible_71(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___69 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_lock_interruptible(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_lock_interruptible_fileop_mutex_of_sn9c102_device(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_72(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_73(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_unlock_74(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_trylock_152(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_150(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_153(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_149(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_151(struct mutex *ldv_func_arg1 ) ; static int hv7131d_init(struct sn9c102_device *cam ) { int err ; u8 _valreg[6U][2U] ; int tmp ; int tmp___0 ; int tmp___1 ; int tmp___2 ; { _valreg[0][0] = 0U; _valreg[0][1] = 16U; _valreg[1][0] = 0U; _valreg[1][1] = 17U; _valreg[2][0] = 0U; _valreg[2][1] = 20U; _valreg[3][0] = 96U; _valreg[3][1] = 23U; _valreg[4][0] = 14U; _valreg[4][1] = 24U; _valreg[5][0] = 242U; _valreg[5][1] = 25U; tmp = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 6); err = tmp; tmp___0 = sn9c102_i2c_write(cam, 1, 4); err = tmp___0 + err; tmp___1 = sn9c102_i2c_write(cam, 2, 0); err = tmp___1 + err; tmp___2 = sn9c102_i2c_write(cam, 40, 0); err = tmp___2 + err; return (err); } } static int hv7131d_get_ctrl(struct sn9c102_device *cam , struct v4l2_control *ctrl ) { int r1 ; int tmp ; int r2 ; int tmp___0 ; __s32 tmp___1 ; __s32 tmp___2 ; __s32 tmp___3 ; __s32 tmp___4 ; __s32 tmp___5 ; { switch (ctrl->id) { case 9963793U: tmp = sn9c102_i2c_read(cam, 38); r1 = tmp; tmp___0 = sn9c102_i2c_read(cam, 39); r2 = tmp___0; if (r1 < 0 || r2 < 0) { return (-5); } else { } ctrl->value = (r1 << 8) | (r2 & 255); return (0); case 9963790U: tmp___1 = sn9c102_i2c_read(cam, 49); ctrl->value = tmp___1; if (tmp___1 < 0) { return (-5); } else { } ctrl->value = ~ ctrl->value & 63; return (0); case 9963791U: tmp___2 = sn9c102_i2c_read(cam, 51); ctrl->value = tmp___2; if (tmp___2 < 0) { return (-5); } else { } ctrl->value = ~ ctrl->value & 63; return (0); case 134217729U: tmp___3 = sn9c102_i2c_read(cam, 50); ctrl->value = tmp___3; if (tmp___3 < 0) { return (-5); } else { } ctrl->value = ~ ctrl->value & 63; return (0); case 134217730U: tmp___4 = sn9c102_i2c_read(cam, 48); ctrl->value = tmp___4; if (tmp___4 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 63; return (0); case 134217731U: tmp___5 = sn9c102_i2c_read(cam, 52); ctrl->value = tmp___5; if (tmp___5 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 7; return (0); default: ; return (-22); } } } static int hv7131d_set_ctrl(struct sn9c102_device *cam , struct v4l2_control const *ctrl ) { int err ; int tmp ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; { err = 0; switch (ctrl->id) { case 9963793U: tmp = sn9c102_i2c_write(cam, 38, (int )((u8 )(ctrl->value >> 8))); err = tmp + err; tmp___0 = sn9c102_i2c_write(cam, 39, (int )((u8 )ctrl->value)); err = tmp___0 + err; goto ldv_24920; case 9963790U: tmp___1 = sn9c102_i2c_write(cam, 49, (int )(63U - (unsigned int )((u8 )ctrl->value))); err = tmp___1 + err; goto ldv_24920; case 9963791U: tmp___2 = sn9c102_i2c_write(cam, 51, (int )(63U - (unsigned int )((u8 )ctrl->value))); err = tmp___2 + err; goto ldv_24920; case 134217729U: tmp___3 = sn9c102_i2c_write(cam, 50, (int )(63U - (unsigned int )((u8 )ctrl->value))); err = tmp___3 + err; goto ldv_24920; case 134217730U: tmp___4 = sn9c102_i2c_write(cam, 48, (int )((u8 )ctrl->value)); err = tmp___4 + err; goto ldv_24920; case 134217731U: tmp___5 = sn9c102_i2c_write(cam, 52, (int )((u8 )ctrl->value)); err = tmp___5 + err; goto ldv_24920; default: ; return (-22); } ldv_24920: ; return (err != 0 ? -5 : 0); } } static int hv7131d_set_crop(struct sn9c102_device *cam , struct v4l2_rect const *rect ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; int err ; u8 h_start ; u8 v_start ; int tmp___0 ; int tmp___1 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; h_start = (unsigned int )((u8 )((int )((unsigned char )rect->left) - (int )((unsigned char )s->cropcap.bounds.left))) + 2U; v_start = (unsigned int )((u8 )((int )((unsigned char )rect->top) - (int )((unsigned char )s->cropcap.bounds.top))) + 2U; tmp___0 = sn9c102_write_reg(cam, (int )h_start, 18); err = tmp___0 + err; tmp___1 = sn9c102_write_reg(cam, (int )v_start, 19); err = tmp___1 + err; return (err); } } static int hv7131d_set_pix_format(struct sn9c102_device *cam , struct v4l2_pix_format const *pix ) { int err ; int tmp ; int tmp___0 ; { err = 0; if ((unsigned int )pix->pixelformat == 808532307U) { tmp = sn9c102_write_reg(cam, 66, 25); err = tmp + err; } else { tmp___0 = sn9c102_write_reg(cam, 242, 25); err = tmp___0 + err; } return (err); } } static struct sn9c102_sensor const hv7131d = {{'H', 'V', '7', '1', '3', '1', 'D', '\000'}, {'L', 'u', 'c', 'a', ' ', 'R', 'i', 's', 'o', 'l', 'i', 'a', ' ', '<', 'l', 'u', 'c', 'a', '.', 'r', 'i', 's', 'o', 'l', 'i', 'a', '@', 's', 't', 'u', 'd', 'i', 'o', '.', 'u', 'n', 'i', 'b', 'o', '.', 'i', 't', '>', '\000'}, 3, 3, 1, 0, 17U, & hv7131d_init, {{9963793U, 1U, {'e', 'x', 'p', 'o', 's', 'u', 'r', 'e', '\000'}, 592, 65535, 1, 592, 0U, {0U, 0U}}, {9963790U, 1U, {'r', 'e', 'd', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 63, 1, 0, 0U, {0U, 0U}}, {9963791U, 1U, {'b', 'l', 'u', 'e', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 63, 1, 32, 0U, {0U, 0U}}, {134217729U, 1U, {'g', 'r', 'e', 'e', 'n', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 63, 1, 30, 0U, {0U, 0U}}, {134217730U, 1U, {'r', 'e', 's', 'e', 't', ' ', 'l', 'e', 'v', 'e', 'l', '\000'}, 25, 63, 1, 48, 0U, {0U, 0U}}, {134217731U, 1U, {'p', 'i', 'x', 'e', 'l', ' ', 'b', 'i', 'a', 's', ' ', 'v', 'o', 'l', 't', 'a', 'g', 'e', '\000'}, 0, 7, 1, 2, 0U, {0U, 0U}}}, & hv7131d_get_ctrl, & hv7131d_set_ctrl, {0U, {0, 0, 640, 480}, {0, 0, 640, 480}, {0U, 0U}}, & hv7131d_set_crop, {640U, 480U, 825770306U, 0U, 0U, 0U, 0U, 8U}, & hv7131d_set_pix_format, {{0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}}, {0, 0, 0, 0}}; int sn9c102_probe_hv7131d(struct sn9c102_device *cam ) { int r0 ; int r1 ; int err ; u8 _valreg[3U][2U] ; int tmp ; { r0 = 0; r1 = 0; _valreg[0][0] = 1U; _valreg[0][1] = 1U; _valreg[1][0] = 0U; _valreg[1][1] = 1U; _valreg[2][0] = 40U; _valreg[2][1] = 23U; tmp = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 3); err = tmp; r0 = sn9c102_i2c_try_read(cam, & hv7131d, 0); r1 = sn9c102_i2c_try_read(cam, & hv7131d, 1); if ((err != 0 || r0 < 0) || r1 < 0) { return (-5); } else { } if ((r0 != 0 && r0 != 1) || r1 != 4) { return (-19); } else { } sn9c102_attach_sensor(cam, & hv7131d); return (0); } } void ldv_main1_sequence_infinite_withcheck_stateful(void) { int tmp ; int tmp___0 ; { LDV_IN_INTERRUPT = 1; ldv_initialize(); goto ldv_24970; ldv_24969: tmp = __VERIFIER_nondet_int(); switch (tmp) { default: ; goto ldv_24968; } ldv_24968: ; ldv_24970: tmp___0 = __VERIFIER_nondet_int(); if (tmp___0 != 0) { goto ldv_24969; } else { } ldv_check_final_state(); return; } } void ldv_mutex_lock_149(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_lock(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } void ldv_mutex_unlock_150(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_lock_151(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_mutex_of_device(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } int ldv_mutex_trylock_152(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___2 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_trylock(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_trylock_mutex_of_device(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_153(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_mutex_of_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_trylock_162(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_160(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_163(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_159(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_161(struct mutex *ldv_func_arg1 ) ; static int hv7131r_init(struct sn9c102_device *cam ) { int err ; enum sn9c102_bridge tmp ; u8 _valreg[32U][2U] ; int tmp___0 ; u8 _valreg___0[151U][2U] ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; { err = 0; tmp = sn9c102_get_bridge(cam); switch ((unsigned int )tmp) { case 4U: _valreg[0][0] = 0U; _valreg[0][1] = 3U; _valreg[1][0] = 26U; _valreg[1][1] = 4U; _valreg[2][0] = 32U; _valreg[2][1] = 5U; _valreg[3][0] = 32U; _valreg[3][1] = 6U; _valreg[4][0] = 3U; _valreg[4][1] = 16U; _valreg[5][0] = 0U; _valreg[5][1] = 20U; _valreg[6][0] = 96U; _valreg[6][1] = 23U; _valreg[7][0] = 10U; _valreg[7][1] = 24U; _valreg[8][0] = 240U; _valreg[8][1] = 25U; _valreg[9][0] = 29U; _valreg[9][1] = 26U; _valreg[10][0] = 16U; _valreg[10][1] = 27U; _valreg[11][0] = 2U; _valreg[11][1] = 28U; _valreg[12][0] = 3U; _valreg[12][1] = 29U; _valreg[13][0] = 15U; _valreg[13][1] = 30U; _valreg[14][0] = 12U; _valreg[14][1] = 31U; _valreg[15][0] = 0U; _valreg[15][1] = 32U; _valreg[16][0] = 16U; _valreg[16][1] = 33U; _valreg[17][0] = 32U; _valreg[17][1] = 34U; _valreg[18][0] = 48U; _valreg[18][1] = 35U; _valreg[19][0] = 64U; _valreg[19][1] = 36U; _valreg[20][0] = 80U; _valreg[20][1] = 37U; _valreg[21][0] = 96U; _valreg[21][1] = 38U; _valreg[22][0] = 112U; _valreg[22][1] = 39U; _valreg[23][0] = 128U; _valreg[23][1] = 40U; _valreg[24][0] = 144U; _valreg[24][1] = 41U; _valreg[25][0] = 160U; _valreg[25][1] = 42U; _valreg[26][0] = 176U; _valreg[26][1] = 43U; _valreg[27][0] = 192U; _valreg[27][1] = 44U; _valreg[28][0] = 208U; _valreg[28][1] = 45U; _valreg[29][0] = 224U; _valreg[29][1] = 46U; _valreg[30][0] = 240U; _valreg[30][1] = 47U; _valreg[31][0] = 255U; _valreg[31][1] = 48U; tmp___0 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 32); err = tmp___0; goto ldv_24902; case 8U: ; case 16U: _valreg___0[0][0] = 68U; _valreg___0[0][1] = 1U; _valreg___0[1][0] = 64U; _valreg___0[1][1] = 2U; _valreg___0[2][0] = 0U; _valreg___0[2][1] = 3U; _valreg___0[3][0] = 26U; _valreg___0[3][1] = 4U; _valreg___0[4][0] = 68U; _valreg___0[4][1] = 5U; _valreg___0[5][0] = 62U; _valreg___0[5][1] = 6U; _valreg___0[6][0] = 26U; _valreg___0[6][1] = 7U; _valreg___0[7][0] = 3U; _valreg___0[7][1] = 16U; _valreg___0[8][0] = 8U; _valreg___0[8][1] = 20U; _valreg___0[9][0] = 163U; _valreg___0[9][1] = 23U; _valreg___0[10][0] = 75U; _valreg___0[10][1] = 24U; _valreg___0[11][0] = 0U; _valreg___0[11][1] = 25U; _valreg___0[12][0] = 29U; _valreg___0[12][1] = 26U; _valreg___0[13][0] = 16U; _valreg___0[13][1] = 27U; _valreg___0[14][0] = 2U; _valreg___0[14][1] = 28U; _valreg___0[15][0] = 3U; _valreg___0[15][1] = 29U; _valreg___0[16][0] = 15U; _valreg___0[16][1] = 30U; _valreg___0[17][0] = 12U; _valreg___0[17][1] = 31U; _valreg___0[18][0] = 0U; _valreg___0[18][1] = 32U; _valreg___0[19][0] = 41U; _valreg___0[19][1] = 33U; _valreg___0[20][0] = 64U; _valreg___0[20][1] = 34U; _valreg___0[21][0] = 84U; _valreg___0[21][1] = 35U; _valreg___0[22][0] = 102U; _valreg___0[22][1] = 36U; _valreg___0[23][0] = 118U; _valreg___0[23][1] = 37U; _valreg___0[24][0] = 133U; _valreg___0[24][1] = 38U; _valreg___0[25][0] = 148U; _valreg___0[25][1] = 39U; _valreg___0[26][0] = 161U; _valreg___0[26][1] = 40U; _valreg___0[27][0] = 174U; _valreg___0[27][1] = 41U; _valreg___0[28][0] = 187U; _valreg___0[28][1] = 42U; _valreg___0[29][0] = 199U; _valreg___0[29][1] = 43U; _valreg___0[30][0] = 211U; _valreg___0[30][1] = 44U; _valreg___0[31][0] = 222U; _valreg___0[31][1] = 45U; _valreg___0[32][0] = 234U; _valreg___0[32][1] = 46U; _valreg___0[33][0] = 244U; _valreg___0[33][1] = 47U; _valreg___0[34][0] = 255U; _valreg___0[34][1] = 48U; _valreg___0[35][0] = 0U; _valreg___0[35][1] = 63U; _valreg___0[36][0] = 199U; _valreg___0[36][1] = 64U; _valreg___0[37][0] = 1U; _valreg___0[37][1] = 65U; _valreg___0[38][0] = 68U; _valreg___0[38][1] = 66U; _valreg___0[39][0] = 0U; _valreg___0[39][1] = 67U; _valreg___0[40][0] = 68U; _valreg___0[40][1] = 68U; _valreg___0[41][0] = 0U; _valreg___0[41][1] = 69U; _valreg___0[42][0] = 68U; _valreg___0[42][1] = 70U; _valreg___0[43][0] = 0U; _valreg___0[43][1] = 71U; _valreg___0[44][0] = 199U; _valreg___0[44][1] = 72U; _valreg___0[45][0] = 1U; _valreg___0[45][1] = 73U; _valreg___0[46][0] = 199U; _valreg___0[46][1] = 74U; _valreg___0[47][0] = 1U; _valreg___0[47][1] = 75U; _valreg___0[48][0] = 199U; _valreg___0[48][1] = 76U; _valreg___0[49][0] = 1U; _valreg___0[49][1] = 77U; _valreg___0[50][0] = 68U; _valreg___0[50][1] = 78U; _valreg___0[51][0] = 0U; _valreg___0[51][1] = 79U; _valreg___0[52][0] = 68U; _valreg___0[52][1] = 80U; _valreg___0[53][0] = 0U; _valreg___0[53][1] = 81U; _valreg___0[54][0] = 68U; _valreg___0[54][1] = 82U; _valreg___0[55][0] = 0U; _valreg___0[55][1] = 83U; _valreg___0[56][0] = 199U; _valreg___0[56][1] = 84U; _valreg___0[57][0] = 1U; _valreg___0[57][1] = 85U; _valreg___0[58][0] = 199U; _valreg___0[58][1] = 86U; _valreg___0[59][0] = 1U; _valreg___0[59][1] = 87U; _valreg___0[60][0] = 199U; _valreg___0[60][1] = 88U; _valreg___0[61][0] = 1U; _valreg___0[61][1] = 89U; _valreg___0[62][0] = 68U; _valreg___0[62][1] = 90U; _valreg___0[63][0] = 0U; _valreg___0[63][1] = 91U; _valreg___0[64][0] = 68U; _valreg___0[64][1] = 92U; _valreg___0[65][0] = 0U; _valreg___0[65][1] = 93U; _valreg___0[66][0] = 68U; _valreg___0[66][1] = 94U; _valreg___0[67][0] = 0U; _valreg___0[67][1] = 95U; _valreg___0[68][0] = 199U; _valreg___0[68][1] = 96U; _valreg___0[69][0] = 1U; _valreg___0[69][1] = 97U; _valreg___0[70][0] = 199U; _valreg___0[70][1] = 98U; _valreg___0[71][0] = 1U; _valreg___0[71][1] = 99U; _valreg___0[72][0] = 199U; _valreg___0[72][1] = 100U; _valreg___0[73][0] = 1U; _valreg___0[73][1] = 101U; _valreg___0[74][0] = 68U; _valreg___0[74][1] = 102U; _valreg___0[75][0] = 0U; _valreg___0[75][1] = 103U; _valreg___0[76][0] = 68U; _valreg___0[76][1] = 104U; _valreg___0[77][0] = 0U; _valreg___0[77][1] = 105U; _valreg___0[78][0] = 68U; _valreg___0[78][1] = 106U; _valreg___0[79][0] = 0U; _valreg___0[79][1] = 107U; _valreg___0[80][0] = 199U; _valreg___0[80][1] = 108U; _valreg___0[81][0] = 1U; _valreg___0[81][1] = 109U; _valreg___0[82][0] = 199U; _valreg___0[82][1] = 110U; _valreg___0[83][0] = 1U; _valreg___0[83][1] = 111U; _valreg___0[84][0] = 199U; _valreg___0[84][1] = 112U; _valreg___0[85][0] = 1U; _valreg___0[85][1] = 113U; _valreg___0[86][0] = 68U; _valreg___0[86][1] = 114U; _valreg___0[87][0] = 0U; _valreg___0[87][1] = 115U; _valreg___0[88][0] = 68U; _valreg___0[88][1] = 116U; _valreg___0[89][0] = 0U; _valreg___0[89][1] = 117U; _valreg___0[90][0] = 68U; _valreg___0[90][1] = 118U; _valreg___0[91][0] = 0U; _valreg___0[91][1] = 119U; _valreg___0[92][0] = 199U; _valreg___0[92][1] = 120U; _valreg___0[93][0] = 1U; _valreg___0[93][1] = 121U; _valreg___0[94][0] = 199U; _valreg___0[94][1] = 122U; _valreg___0[95][0] = 1U; _valreg___0[95][1] = 123U; _valreg___0[96][0] = 199U; _valreg___0[96][1] = 124U; _valreg___0[97][0] = 1U; _valreg___0[97][1] = 125U; _valreg___0[98][0] = 68U; _valreg___0[98][1] = 126U; _valreg___0[99][0] = 0U; _valreg___0[99][1] = 127U; _valreg___0[100][0] = 20U; _valreg___0[100][1] = 132U; _valreg___0[101][0] = 0U; _valreg___0[101][1] = 133U; _valreg___0[102][0] = 39U; _valreg___0[102][1] = 134U; _valreg___0[103][0] = 0U; _valreg___0[103][1] = 135U; _valreg___0[104][0] = 7U; _valreg___0[104][1] = 136U; _valreg___0[105][0] = 0U; _valreg___0[105][1] = 137U; _valreg___0[106][0] = 236U; _valreg___0[106][1] = 138U; _valreg___0[107][0] = 15U; _valreg___0[107][1] = 139U; _valreg___0[108][0] = 216U; _valreg___0[108][1] = 140U; _valreg___0[109][0] = 15U; _valreg___0[109][1] = 141U; _valreg___0[110][0] = 61U; _valreg___0[110][1] = 142U; _valreg___0[111][0] = 0U; _valreg___0[111][1] = 143U; _valreg___0[112][0] = 61U; _valreg___0[112][1] = 144U; _valreg___0[113][0] = 0U; _valreg___0[113][1] = 145U; _valreg___0[114][0] = 205U; _valreg___0[114][1] = 146U; _valreg___0[115][0] = 15U; _valreg___0[115][1] = 147U; _valreg___0[116][0] = 247U; _valreg___0[116][1] = 148U; _valreg___0[117][0] = 15U; _valreg___0[117][1] = 149U; _valreg___0[118][0] = 12U; _valreg___0[118][1] = 150U; _valreg___0[119][0] = 0U; _valreg___0[119][1] = 151U; _valreg___0[120][0] = 0U; _valreg___0[120][1] = 152U; _valreg___0[121][0] = 102U; _valreg___0[121][1] = 153U; _valreg___0[122][0] = 5U; _valreg___0[122][1] = 154U; _valreg___0[123][0] = 0U; _valreg___0[123][1] = 155U; _valreg___0[124][0] = 4U; _valreg___0[124][1] = 156U; _valreg___0[125][0] = 0U; _valreg___0[125][1] = 157U; _valreg___0[126][0] = 8U; _valreg___0[126][1] = 158U; _valreg___0[127][0] = 0U; _valreg___0[127][1] = 159U; _valreg___0[128][0] = 45U; _valreg___0[128][1] = 192U; _valreg___0[129][0] = 45U; _valreg___0[129][1] = 193U; _valreg___0[130][0] = 58U; _valreg___0[130][1] = 194U; _valreg___0[131][0] = 5U; _valreg___0[131][1] = 195U; _valreg___0[132][0] = 4U; _valreg___0[132][1] = 196U; _valreg___0[133][0] = 63U; _valreg___0[133][1] = 197U; _valreg___0[134][0] = 0U; _valreg___0[134][1] = 198U; _valreg___0[135][0] = 0U; _valreg___0[135][1] = 199U; _valreg___0[136][0] = 80U; _valreg___0[136][1] = 200U; _valreg___0[137][0] = 60U; _valreg___0[137][1] = 201U; _valreg___0[138][0] = 40U; _valreg___0[138][1] = 202U; _valreg___0[139][0] = 216U; _valreg___0[139][1] = 203U; _valreg___0[140][0] = 20U; _valreg___0[140][1] = 204U; _valreg___0[141][0] = 236U; _valreg___0[141][1] = 205U; _valreg___0[142][0] = 50U; _valreg___0[142][1] = 206U; _valreg___0[143][0] = 221U; _valreg___0[143][1] = 207U; _valreg___0[144][0] = 50U; _valreg___0[144][1] = 208U; _valreg___0[145][0] = 221U; _valreg___0[145][1] = 209U; _valreg___0[146][0] = 106U; _valreg___0[146][1] = 210U; _valreg___0[147][0] = 80U; _valreg___0[147][1] = 211U; _valreg___0[148][0] = 0U; _valreg___0[148][1] = 212U; _valreg___0[149][0] = 0U; _valreg___0[149][1] = 213U; _valreg___0[150][0] = 0U; _valreg___0[150][1] = 214U; tmp___1 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg___0), 151); err = tmp___1; goto ldv_24902; default: ; goto ldv_24902; } ldv_24902: tmp___2 = sn9c102_i2c_write(cam, 32, 0); err = tmp___2 + err; tmp___3 = sn9c102_i2c_write(cam, 33, 214); err = tmp___3 + err; tmp___4 = sn9c102_i2c_write(cam, 37, 6); err = tmp___4 + err; return (err); } } static int hv7131r_get_ctrl(struct sn9c102_device *cam , struct v4l2_control *ctrl ) { __s32 tmp ; __s32 tmp___0 ; __s32 tmp___1 ; __s32 tmp___2 ; __s32 tmp___3 ; { switch (ctrl->id) { case 9963795U: tmp = sn9c102_i2c_read(cam, 48); ctrl->value = tmp; if (tmp < 0) { return (-5); } else { } return (0); case 9963790U: tmp___0 = sn9c102_i2c_read(cam, 49); ctrl->value = tmp___0; if (tmp___0 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 63; return (0); case 9963791U: tmp___1 = sn9c102_i2c_read(cam, 51); ctrl->value = tmp___1; if (tmp___1 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 63; return (0); case 134217729U: tmp___2 = sn9c102_i2c_read(cam, 50); ctrl->value = tmp___2; if (tmp___2 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 63; return (0); case 9963787U: tmp___3 = sn9c102_i2c_read(cam, 1); ctrl->value = tmp___3; if (tmp___3 < 0) { return (-5); } else { } ctrl->value = (ctrl->value & 8) != 0; return (0); default: ; return (-22); } } } static int hv7131r_set_ctrl(struct sn9c102_device *cam , struct v4l2_control const *ctrl ) { int err ; int tmp ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int r ; int tmp___3 ; int tmp___4 ; { err = 0; switch (ctrl->id) { case 9963795U: tmp = sn9c102_i2c_write(cam, 48, (int )((u8 )ctrl->value)); err = tmp + err; goto ldv_24926; case 9963790U: tmp___0 = sn9c102_i2c_write(cam, 49, (int )((u8 )ctrl->value)); err = tmp___0 + err; goto ldv_24926; case 9963791U: tmp___1 = sn9c102_i2c_write(cam, 51, (int )((u8 )ctrl->value)); err = tmp___1 + err; goto ldv_24926; case 134217729U: tmp___2 = sn9c102_i2c_write(cam, 50, (int )((u8 )ctrl->value)); err = tmp___2 + err; goto ldv_24926; case 9963787U: tmp___3 = sn9c102_i2c_read(cam, 1); r = tmp___3; if (r < 0) { return (-5); } else { } tmp___4 = sn9c102_i2c_write(cam, 1, (int )((u8 )((int )((signed char )(ctrl->value << 3)) | ((int )((signed char )r) & -9)))); err = tmp___4 + err; goto ldv_24926; default: ; return (-22); } ldv_24926: ; return (err != 0 ? -5 : 0); } } static int hv7131r_set_crop(struct sn9c102_device *cam , struct v4l2_rect const *rect ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; int err ; u8 h_start ; u8 v_start ; int tmp___0 ; int tmp___1 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; h_start = (unsigned int )((u8 )((int )((unsigned char )rect->left) - (int )((unsigned char )s->cropcap.bounds.left))) + 1U; v_start = (unsigned int )((u8 )((int )((unsigned char )rect->top) - (int )((unsigned char )s->cropcap.bounds.top))) + 1U; tmp___0 = sn9c102_write_reg(cam, (int )h_start, 18); err = tmp___0 + err; tmp___1 = sn9c102_write_reg(cam, (int )v_start, 19); err = tmp___1 + err; return (err); } } static int hv7131r_set_pix_format(struct sn9c102_device *cam , struct v4l2_pix_format const *pix ) { int err ; enum sn9c102_bridge tmp ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; int tmp___7 ; { err = 0; tmp = sn9c102_get_bridge(cam); switch ((unsigned int )tmp) { case 4U: ; if ((unsigned int )pix->pixelformat == 825770306U) { tmp___0 = sn9c102_write_reg(cam, 160, 25); err = tmp___0 + err; tmp___1 = sn9c102_i2c_write(cam, 1, 4); err = tmp___1 + err; } else { tmp___2 = sn9c102_write_reg(cam, 48, 25); err = tmp___2 + err; tmp___3 = sn9c102_i2c_write(cam, 1, 4); err = tmp___3 + err; } goto ldv_24947; case 8U: ; case 16U: ; if ((unsigned int )pix->pixelformat == 825770306U) { tmp___4 = sn9c102_write_reg(cam, 165, 23); err = tmp___4 + err; tmp___5 = sn9c102_i2c_write(cam, 1, 36); err = tmp___5 + err; } else { tmp___6 = sn9c102_write_reg(cam, 163, 23); err = tmp___6 + err; tmp___7 = sn9c102_i2c_write(cam, 1, 4); err = tmp___7 + err; } goto ldv_24947; default: ; goto ldv_24947; } ldv_24947: ; return (err); } } static struct sn9c102_sensor const hv7131r = {{'H', 'V', '7', '1', '3', '1', 'R', '\000'}, {'L', 'u', 'c', 'a', ' ', 'R', 'i', 's', 'o', 'l', 'i', 'a', ' ', '<', 'l', 'u', 'c', 'a', '.', 'r', 'i', 's', 'o', 'l', 'i', 'a', '@', 's', 't', 'u', 'd', 'i', 'o', '.', 'u', 'n', 'i', 'b', 'o', '.', 'i', 't', '>', '\000'}, 28, 3, 1, 0, 17U, & hv7131r_init, {{9963795U, 1U, {'g', 'l', 'o', 'b', 'a', 'l', ' ', 'g', 'a', 'i', 'n', '\000'}, 0, 255, 1, 64, 0U, {0U, 0U}}, {9963790U, 1U, {'r', 'e', 'd', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 63, 1, 8, 0U, {0U, 0U}}, {9963791U, 1U, {'b', 'l', 'u', 'e', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 63, 1, 26, 0U, {0U, 0U}}, {134217729U, 1U, {'g', 'r', 'e', 'e', 'n', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 63, 1, 47, 0U, {0U, 0U}}, {9963787U, 2U, {'a', 'u', 't', 'o', ' ', 'b', 'l', 'a', 'c', 'k', ' ', 'l', 'e', 'v', 'e', 'l', ' ', 'c', 'o', 'm', 'p', 'e', 'n', 's', 'a', 't', 'i', 'o', 'n', '\000'}, 0, 1, 1, 0, 0U, {0U, 0U}}}, & hv7131r_get_ctrl, & hv7131r_set_ctrl, {0U, {0, 0, 640, 480}, {0, 0, 640, 480}, {0U, 0U}}, & hv7131r_set_crop, {640U, 480U, 825770306U, 0U, 0U, 0U, 0U, 8U}, & hv7131r_set_pix_format, {{0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}}, {0, 0, 0, 0}}; int sn9c102_probe_hv7131r(struct sn9c102_device *cam ) { int devid ; int err ; u8 _valreg[6U][2U] ; int tmp ; { _valreg[0][0] = 9U; _valreg[0][1] = 1U; _valreg[1][0] = 68U; _valreg[1][1] = 2U; _valreg[2][0] = 52U; _valreg[2][1] = 1U; _valreg[3][0] = 32U; _valreg[3][1] = 23U; _valreg[4][0] = 52U; _valreg[4][1] = 1U; _valreg[5][0] = 70U; _valreg[5][1] = 1U; tmp = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 6); err = tmp; devid = sn9c102_i2c_try_read(cam, & hv7131r, 0); if (err != 0 || devid < 0) { return (-5); } else { } if (devid != 2) { return (-19); } else { } sn9c102_attach_sensor(cam, & hv7131r); return (0); } } void ldv_main2_sequence_infinite_withcheck_stateful(void) { int tmp ; int tmp___0 ; { LDV_IN_INTERRUPT = 1; ldv_initialize(); goto ldv_24980; ldv_24979: tmp = __VERIFIER_nondet_int(); switch (tmp) { default: ; goto ldv_24978; } ldv_24978: ; ldv_24980: tmp___0 = __VERIFIER_nondet_int(); if (tmp___0 != 0) { goto ldv_24979; } else { } ldv_check_final_state(); return; } } void ldv_mutex_lock_159(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_lock(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } void ldv_mutex_unlock_160(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_lock_161(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_mutex_of_device(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } int ldv_mutex_trylock_162(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___2 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_trylock(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_trylock_mutex_of_device(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_163(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_mutex_of_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_trylock_172(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_170(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_173(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_169(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_171(struct mutex *ldv_func_arg1 ) ; static int mi0343_init(struct sn9c102_device *cam ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; int err ; u8 _valreg[7U][2U] ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; int tmp___7 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; _valreg[0][0] = 0U; _valreg[0][1] = 16U; _valreg[1][0] = 0U; _valreg[1][1] = 17U; _valreg[2][0] = 10U; _valreg[2][1] = 20U; _valreg[3][0] = 64U; _valreg[3][1] = 1U; _valreg[4][0] = 32U; _valreg[4][1] = 23U; _valreg[5][0] = 7U; _valreg[5][1] = 24U; _valreg[6][0] = 160U; _valreg[6][1] = 25U; tmp___0 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 7); err = tmp___0; tmp___1 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 13, 0, 1, 0, 0); err = tmp___1 + err; tmp___2 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 13, 0, 0, 0, 0); err = tmp___2 + err; tmp___3 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 3, 1, 225, 0, 0); err = tmp___3 + err; tmp___4 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 4, 2, 129, 0, 0); err = tmp___4 + err; tmp___5 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 5, 0, 23, 0, 0); err = tmp___5 + err; tmp___6 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 6, 0, 17, 0, 0); err = tmp___6 + err; tmp___7 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 98, 4, 154, 0, 0); err = tmp___7 + err; return (err); } } static int mi0343_get_ctrl(struct sn9c102_device *cam , struct v4l2_control *ctrl ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; u8 data[2U] ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; { tmp = sn9c102_get_sensor(cam); s = tmp; switch (ctrl->id) { case 9963793U: tmp___0 = sn9c102_i2c_try_raw_read(cam, (struct sn9c102_sensor const *)s, (int )s->i2c_slave_id, 9, 2, (u8 *)(& data)); if (tmp___0 < 0) { return (-5); } else { } ctrl->value = (__s32 )data[0]; return (0); case 9963795U: tmp___1 = sn9c102_i2c_try_raw_read(cam, (struct sn9c102_sensor const *)s, (int )s->i2c_slave_id, 53, 2, (u8 *)(& data)); if (tmp___1 < 0) { return (-5); } else { } goto ldv_24910; case 9963796U: tmp___2 = sn9c102_i2c_try_raw_read(cam, (struct sn9c102_sensor const *)s, (int )s->i2c_slave_id, 32, 2, (u8 *)(& data)); if (tmp___2 < 0) { return (-5); } else { } ctrl->value = ((int )data[1] & 32) != 0; return (0); case 9963797U: tmp___3 = sn9c102_i2c_try_raw_read(cam, (struct sn9c102_sensor const *)s, (int )s->i2c_slave_id, 32, 2, (u8 *)(& data)); if (tmp___3 < 0) { return (-5); } else { } ctrl->value = (int )((signed char )data[1]) < 0; return (0); case 9963790U: tmp___4 = sn9c102_i2c_try_raw_read(cam, (struct sn9c102_sensor const *)s, (int )s->i2c_slave_id, 45, 2, (u8 *)(& data)); if (tmp___4 < 0) { return (-5); } else { } goto ldv_24910; case 9963791U: tmp___5 = sn9c102_i2c_try_raw_read(cam, (struct sn9c102_sensor const *)s, (int )s->i2c_slave_id, 44, 2, (u8 *)(& data)); if (tmp___5 < 0) { return (-5); } else { } goto ldv_24910; case 134217729U: tmp___6 = sn9c102_i2c_try_raw_read(cam, (struct sn9c102_sensor const *)s, (int )s->i2c_slave_id, 46, 2, (u8 *)(& data)); if (tmp___6 < 0) { return (-5); } else { } goto ldv_24910; default: ; return (-22); } ldv_24910: ; switch (ctrl->id) { case 9963795U: ; case 9963790U: ; case 9963791U: ; case 134217729U: ctrl->value = (int )data[1] | ((int )data[0] << 8); if (ctrl->value > 15 && ctrl->value <= 63) { ctrl->value = ctrl->value + -16; } else if (ctrl->value > 95 && ctrl->value <= 127) { ctrl->value = ctrl->value + -96; } else if (ctrl->value > 223 && ctrl->value <= 255) { ctrl->value = ctrl->value + -224; } else { } } return (0); } } static int mi0343_set_ctrl(struct sn9c102_device *cam , struct v4l2_control const *ctrl ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; u16 reg ; int err ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; int tmp___7 ; { tmp = sn9c102_get_sensor(cam); s = tmp; reg = 0U; err = 0; switch (ctrl->id) { case 9963795U: ; case 9963790U: ; case 9963791U: ; case 134217729U: ; if ((int )ctrl->value <= 47) { reg = (unsigned int )((u16 )ctrl->value) + 16U; } else if ((int )ctrl->value <= 78) { reg = (unsigned int )((u16 )ctrl->value) + 49U; } else { reg = (unsigned int )((u16 )ctrl->value) + 146U; } goto ldv_24932; } ldv_24932: ; switch (ctrl->id) { case 9963793U: tmp___0 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 9, (int )((u8 )ctrl->value), 0, 0, 0); err = tmp___0 + err; goto ldv_24934; case 9963795U: tmp___1 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 53, (int )((u8 )((int )reg >> 8)), (int )((u8 )reg), 0, 0); err = tmp___1 + err; goto ldv_24934; case 9963796U: tmp___2 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 32, (int )ctrl->value != 0 ? 64 : 0, (int )ctrl->value != 0 ? 32 : 0, 0, 0); err = tmp___2 + err; goto ldv_24934; case 9963797U: tmp___3 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 32, (int )ctrl->value != 0 ? 128 : 0, (int )ctrl->value != 0 ? 128 : 0, 0, 0); err = tmp___3 + err; goto ldv_24934; case 9963790U: tmp___4 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 45, (int )((u8 )((int )reg >> 8)), (int )((u8 )reg), 0, 0); err = tmp___4 + err; goto ldv_24934; case 9963791U: tmp___5 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 44, (int )((u8 )((int )reg >> 8)), (int )((u8 )reg), 0, 0); err = tmp___5 + err; goto ldv_24934; case 134217729U: tmp___6 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 43, (int )((u8 )((int )reg >> 8)), (int )((u8 )reg), 0, 0); err = tmp___6 + err; tmp___7 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 46, (int )((u8 )((int )reg >> 8)), (int )((u8 )reg), 0, 0); err = tmp___7 + err; goto ldv_24934; default: ; return (-22); } ldv_24934: ; return (err != 0 ? -5 : 0); } } static int mi0343_set_crop(struct sn9c102_device *cam , struct v4l2_rect const *rect ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; int err ; u8 h_start ; u8 v_start ; int tmp___0 ; int tmp___1 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; h_start = (u8 )((int )((unsigned char )rect->left) - (int )((unsigned char )s->cropcap.bounds.left)); v_start = (unsigned int )((u8 )((int )((unsigned char )rect->top) - (int )((unsigned char )s->cropcap.bounds.top))) + 2U; tmp___0 = sn9c102_write_reg(cam, (int )h_start, 18); err = tmp___0 + err; tmp___1 = sn9c102_write_reg(cam, (int )v_start, 19); err = tmp___1 + err; return (err); } } static int mi0343_set_pix_format(struct sn9c102_device *cam , struct v4l2_pix_format const *pix ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; int err ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; if ((unsigned int )pix->pixelformat == 808532307U) { tmp___0 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 10, 0, 3, 0, 0); err = tmp___0 + err; tmp___1 = sn9c102_write_reg(cam, 32, 25); err = tmp___1 + err; } else { tmp___2 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 10, 0, 5, 0, 0); err = tmp___2 + err; tmp___3 = sn9c102_write_reg(cam, 160, 25); err = tmp___3 + err; } return (err); } } static struct sn9c102_sensor const mi0343 = {{'M', 'I', '-', '0', '3', '4', '3', '\000'}, {'L', 'u', 'c', 'a', ' ', 'R', 'i', 's', 'o', 'l', 'i', 'a', ' ', '<', 'l', 'u', 'c', 'a', '.', 'r', 'i', 's', 'o', 'l', 'i', 'a', '@', 's', 't', 'u', 'd', 'i', 'o', '.', 'u', 'n', 'i', 'b', 'o', '.', 'i', 't', '>', '\000'}, 3, 0, 1, 0, 93U, & mi0343_init, {{9963793U, 1U, {'e', 'x', 'p', 'o', 's', 'u', 'r', 'e', '\000'}, 0, 15, 1, 6, 0U, {0U, 0U}}, {9963795U, 1U, {'g', 'l', 'o', 'b', 'a', 'l', ' ', 'g', 'a', 'i', 'n', '\000'}, 0, 109, 1, 0, 0U, {0U, 0U}}, {9963796U, 2U, {'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', ' ', 'm', 'i', 'r', 'r', 'o', 'r', '\000'}, 0, 1, 1, 0, 0U, {0U, 0U}}, {9963797U, 2U, {'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', ' ', 'm', 'i', 'r', 'r', 'o', 'r', '\000'}, 0, 1, 1, 0, 0U, {0U, 0U}}, {9963790U, 1U, {'r', 'e', 'd', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 109, 1, 0, 0U, {0U, 0U}}, {9963791U, 1U, {'b', 'l', 'u', 'e', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 109, 1, 0, 0U, {0U, 0U}}, {134217729U, 1U, {'g', 'r', 'e', 'e', 'n', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 109, 1, 0, 0U, {0U, 0U}}}, & mi0343_get_ctrl, & mi0343_set_ctrl, {0U, {0, 0, 640, 480}, {0, 0, 640, 480}, {0U, 0U}}, & mi0343_set_crop, {640U, 480U, 825770306U, 0U, 0U, 0U, 0U, 8U}, & mi0343_set_pix_format, {{0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}}, {0, 0, 0, 0}}; int sn9c102_probe_mi0343(struct sn9c102_device *cam ) { u8 data[2U] ; u8 _valreg[3U][2U] ; int tmp ; int tmp___0 ; { _valreg[0][0] = 1U; _valreg[0][1] = 1U; _valreg[1][0] = 0U; _valreg[1][1] = 1U; _valreg[2][0] = 40U; _valreg[2][1] = 23U; tmp = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 3); if (tmp != 0) { return (-5); } else { } tmp___0 = sn9c102_i2c_try_raw_read(cam, & mi0343, (int )mi0343.i2c_slave_id, 0, 2, (u8 *)(& data)); if (tmp___0 < 0) { return (-5); } else { } if ((unsigned int )data[1] != 66U || (unsigned int )data[0] != 227U) { return (-19); } else { } sn9c102_attach_sensor(cam, & mi0343); return (0); } } void ldv_main3_sequence_infinite_withcheck_stateful(void) { int tmp ; int tmp___0 ; { LDV_IN_INTERRUPT = 1; ldv_initialize(); goto ldv_24984; ldv_24983: tmp = __VERIFIER_nondet_int(); switch (tmp) { default: ; goto ldv_24982; } ldv_24982: ; ldv_24984: tmp___0 = __VERIFIER_nondet_int(); if (tmp___0 != 0) { goto ldv_24983; } else { } ldv_check_final_state(); return; } } void ldv_mutex_lock_169(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_lock(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } void ldv_mutex_unlock_170(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_lock_171(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_mutex_of_device(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } int ldv_mutex_trylock_172(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___2 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_trylock(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_trylock_mutex_of_device(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_173(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_mutex_of_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_trylock_182(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_180(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_183(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_179(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_181(struct mutex *ldv_func_arg1 ) ; static int mi0360_init(struct sn9c102_device *cam ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; int err ; enum sn9c102_bridge tmp___0 ; u8 _valreg[28U][2U] ; int tmp___1 ; u8 _valreg___0[151U][2U] ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; int tmp___7 ; int tmp___8 ; int tmp___9 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; tmp___0 = sn9c102_get_bridge(cam); switch ((unsigned int )tmp___0) { case 4U: _valreg[0][0] = 0U; _valreg[0][1] = 16U; _valreg[1][0] = 0U; _valreg[1][1] = 17U; _valreg[2][0] = 10U; _valreg[2][1] = 20U; _valreg[3][0] = 64U; _valreg[3][1] = 1U; _valreg[4][0] = 32U; _valreg[4][1] = 23U; _valreg[5][0] = 7U; _valreg[5][1] = 24U; _valreg[6][0] = 160U; _valreg[6][1] = 25U; _valreg[7][0] = 2U; _valreg[7][1] = 28U; _valreg[8][0] = 3U; _valreg[8][1] = 29U; _valreg[9][0] = 15U; _valreg[9][1] = 30U; _valreg[10][0] = 12U; _valreg[10][1] = 31U; _valreg[11][0] = 0U; _valreg[11][1] = 32U; _valreg[12][0] = 16U; _valreg[12][1] = 33U; _valreg[13][0] = 32U; _valreg[13][1] = 34U; _valreg[14][0] = 48U; _valreg[14][1] = 35U; _valreg[15][0] = 64U; _valreg[15][1] = 36U; _valreg[16][0] = 80U; _valreg[16][1] = 37U; _valreg[17][0] = 96U; _valreg[17][1] = 38U; _valreg[18][0] = 112U; _valreg[18][1] = 39U; _valreg[19][0] = 128U; _valreg[19][1] = 40U; _valreg[20][0] = 144U; _valreg[20][1] = 41U; _valreg[21][0] = 160U; _valreg[21][1] = 42U; _valreg[22][0] = 176U; _valreg[22][1] = 43U; _valreg[23][0] = 192U; _valreg[23][1] = 44U; _valreg[24][0] = 208U; _valreg[24][1] = 45U; _valreg[25][0] = 224U; _valreg[25][1] = 46U; _valreg[26][0] = 240U; _valreg[26][1] = 47U; _valreg[27][0] = 255U; _valreg[27][1] = 48U; tmp___1 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 28); err = tmp___1; goto ldv_24903; case 8U: ; case 16U: _valreg___0[0][0] = 68U; _valreg___0[0][1] = 1U; _valreg___0[1][0] = 64U; _valreg___0[1][1] = 2U; _valreg___0[2][0] = 0U; _valreg___0[2][1] = 3U; _valreg___0[3][0] = 26U; _valreg___0[3][1] = 4U; _valreg___0[4][0] = 80U; _valreg___0[4][1] = 5U; _valreg___0[5][0] = 32U; _valreg___0[5][1] = 6U; _valreg___0[6][0] = 16U; _valreg___0[6][1] = 7U; _valreg___0[7][0] = 3U; _valreg___0[7][1] = 16U; _valreg___0[8][0] = 8U; _valreg___0[8][1] = 20U; _valreg___0[9][0] = 162U; _valreg___0[9][1] = 23U; _valreg___0[10][0] = 71U; _valreg___0[10][1] = 24U; _valreg___0[11][0] = 0U; _valreg___0[11][1] = 25U; _valreg___0[12][0] = 29U; _valreg___0[12][1] = 26U; _valreg___0[13][0] = 16U; _valreg___0[13][1] = 27U; _valreg___0[14][0] = 2U; _valreg___0[14][1] = 28U; _valreg___0[15][0] = 3U; _valreg___0[15][1] = 29U; _valreg___0[16][0] = 15U; _valreg___0[16][1] = 30U; _valreg___0[17][0] = 12U; _valreg___0[17][1] = 31U; _valreg___0[18][0] = 0U; _valreg___0[18][1] = 32U; _valreg___0[19][0] = 41U; _valreg___0[19][1] = 33U; _valreg___0[20][0] = 64U; _valreg___0[20][1] = 34U; _valreg___0[21][0] = 84U; _valreg___0[21][1] = 35U; _valreg___0[22][0] = 102U; _valreg___0[22][1] = 36U; _valreg___0[23][0] = 118U; _valreg___0[23][1] = 37U; _valreg___0[24][0] = 133U; _valreg___0[24][1] = 38U; _valreg___0[25][0] = 148U; _valreg___0[25][1] = 39U; _valreg___0[26][0] = 161U; _valreg___0[26][1] = 40U; _valreg___0[27][0] = 174U; _valreg___0[27][1] = 41U; _valreg___0[28][0] = 187U; _valreg___0[28][1] = 42U; _valreg___0[29][0] = 199U; _valreg___0[29][1] = 43U; _valreg___0[30][0] = 211U; _valreg___0[30][1] = 44U; _valreg___0[31][0] = 222U; _valreg___0[31][1] = 45U; _valreg___0[32][0] = 234U; _valreg___0[32][1] = 46U; _valreg___0[33][0] = 244U; _valreg___0[33][1] = 47U; _valreg___0[34][0] = 255U; _valreg___0[34][1] = 48U; _valreg___0[35][0] = 0U; _valreg___0[35][1] = 63U; _valreg___0[36][0] = 199U; _valreg___0[36][1] = 64U; _valreg___0[37][0] = 1U; _valreg___0[37][1] = 65U; _valreg___0[38][0] = 68U; _valreg___0[38][1] = 66U; _valreg___0[39][0] = 0U; _valreg___0[39][1] = 67U; _valreg___0[40][0] = 68U; _valreg___0[40][1] = 68U; _valreg___0[41][0] = 0U; _valreg___0[41][1] = 69U; _valreg___0[42][0] = 68U; _valreg___0[42][1] = 70U; _valreg___0[43][0] = 0U; _valreg___0[43][1] = 71U; _valreg___0[44][0] = 199U; _valreg___0[44][1] = 72U; _valreg___0[45][0] = 1U; _valreg___0[45][1] = 73U; _valreg___0[46][0] = 199U; _valreg___0[46][1] = 74U; _valreg___0[47][0] = 1U; _valreg___0[47][1] = 75U; _valreg___0[48][0] = 199U; _valreg___0[48][1] = 76U; _valreg___0[49][0] = 1U; _valreg___0[49][1] = 77U; _valreg___0[50][0] = 68U; _valreg___0[50][1] = 78U; _valreg___0[51][0] = 0U; _valreg___0[51][1] = 79U; _valreg___0[52][0] = 68U; _valreg___0[52][1] = 80U; _valreg___0[53][0] = 0U; _valreg___0[53][1] = 81U; _valreg___0[54][0] = 68U; _valreg___0[54][1] = 82U; _valreg___0[55][0] = 0U; _valreg___0[55][1] = 83U; _valreg___0[56][0] = 199U; _valreg___0[56][1] = 84U; _valreg___0[57][0] = 1U; _valreg___0[57][1] = 85U; _valreg___0[58][0] = 199U; _valreg___0[58][1] = 86U; _valreg___0[59][0] = 1U; _valreg___0[59][1] = 87U; _valreg___0[60][0] = 199U; _valreg___0[60][1] = 88U; _valreg___0[61][0] = 1U; _valreg___0[61][1] = 89U; _valreg___0[62][0] = 68U; _valreg___0[62][1] = 90U; _valreg___0[63][0] = 0U; _valreg___0[63][1] = 91U; _valreg___0[64][0] = 68U; _valreg___0[64][1] = 92U; _valreg___0[65][0] = 0U; _valreg___0[65][1] = 93U; _valreg___0[66][0] = 68U; _valreg___0[66][1] = 94U; _valreg___0[67][0] = 0U; _valreg___0[67][1] = 95U; _valreg___0[68][0] = 199U; _valreg___0[68][1] = 96U; _valreg___0[69][0] = 1U; _valreg___0[69][1] = 97U; _valreg___0[70][0] = 199U; _valreg___0[70][1] = 98U; _valreg___0[71][0] = 1U; _valreg___0[71][1] = 99U; _valreg___0[72][0] = 199U; _valreg___0[72][1] = 100U; _valreg___0[73][0] = 1U; _valreg___0[73][1] = 101U; _valreg___0[74][0] = 68U; _valreg___0[74][1] = 102U; _valreg___0[75][0] = 0U; _valreg___0[75][1] = 103U; _valreg___0[76][0] = 68U; _valreg___0[76][1] = 104U; _valreg___0[77][0] = 0U; _valreg___0[77][1] = 105U; _valreg___0[78][0] = 68U; _valreg___0[78][1] = 106U; _valreg___0[79][0] = 0U; _valreg___0[79][1] = 107U; _valreg___0[80][0] = 199U; _valreg___0[80][1] = 108U; _valreg___0[81][0] = 1U; _valreg___0[81][1] = 109U; _valreg___0[82][0] = 199U; _valreg___0[82][1] = 110U; _valreg___0[83][0] = 1U; _valreg___0[83][1] = 111U; _valreg___0[84][0] = 199U; _valreg___0[84][1] = 112U; _valreg___0[85][0] = 1U; _valreg___0[85][1] = 113U; _valreg___0[86][0] = 68U; _valreg___0[86][1] = 114U; _valreg___0[87][0] = 0U; _valreg___0[87][1] = 115U; _valreg___0[88][0] = 68U; _valreg___0[88][1] = 116U; _valreg___0[89][0] = 0U; _valreg___0[89][1] = 117U; _valreg___0[90][0] = 68U; _valreg___0[90][1] = 118U; _valreg___0[91][0] = 0U; _valreg___0[91][1] = 119U; _valreg___0[92][0] = 199U; _valreg___0[92][1] = 120U; _valreg___0[93][0] = 1U; _valreg___0[93][1] = 121U; _valreg___0[94][0] = 199U; _valreg___0[94][1] = 122U; _valreg___0[95][0] = 1U; _valreg___0[95][1] = 123U; _valreg___0[96][0] = 199U; _valreg___0[96][1] = 124U; _valreg___0[97][0] = 1U; _valreg___0[97][1] = 125U; _valreg___0[98][0] = 68U; _valreg___0[98][1] = 126U; _valreg___0[99][0] = 0U; _valreg___0[99][1] = 127U; _valreg___0[100][0] = 20U; _valreg___0[100][1] = 132U; _valreg___0[101][0] = 0U; _valreg___0[101][1] = 133U; _valreg___0[102][0] = 39U; _valreg___0[102][1] = 134U; _valreg___0[103][0] = 0U; _valreg___0[103][1] = 135U; _valreg___0[104][0] = 7U; _valreg___0[104][1] = 136U; _valreg___0[105][0] = 0U; _valreg___0[105][1] = 137U; _valreg___0[106][0] = 236U; _valreg___0[106][1] = 138U; _valreg___0[107][0] = 15U; _valreg___0[107][1] = 139U; _valreg___0[108][0] = 216U; _valreg___0[108][1] = 140U; _valreg___0[109][0] = 15U; _valreg___0[109][1] = 141U; _valreg___0[110][0] = 61U; _valreg___0[110][1] = 142U; _valreg___0[111][0] = 0U; _valreg___0[111][1] = 143U; _valreg___0[112][0] = 61U; _valreg___0[112][1] = 144U; _valreg___0[113][0] = 0U; _valreg___0[113][1] = 145U; _valreg___0[114][0] = 205U; _valreg___0[114][1] = 146U; _valreg___0[115][0] = 15U; _valreg___0[115][1] = 147U; _valreg___0[116][0] = 247U; _valreg___0[116][1] = 148U; _valreg___0[117][0] = 15U; _valreg___0[117][1] = 149U; _valreg___0[118][0] = 12U; _valreg___0[118][1] = 150U; _valreg___0[119][0] = 0U; _valreg___0[119][1] = 151U; _valreg___0[120][0] = 0U; _valreg___0[120][1] = 152U; _valreg___0[121][0] = 102U; _valreg___0[121][1] = 153U; _valreg___0[122][0] = 5U; _valreg___0[122][1] = 154U; _valreg___0[123][0] = 0U; _valreg___0[123][1] = 155U; _valreg___0[124][0] = 4U; _valreg___0[124][1] = 156U; _valreg___0[125][0] = 0U; _valreg___0[125][1] = 157U; _valreg___0[126][0] = 8U; _valreg___0[126][1] = 158U; _valreg___0[127][0] = 0U; _valreg___0[127][1] = 159U; _valreg___0[128][0] = 45U; _valreg___0[128][1] = 192U; _valreg___0[129][0] = 45U; _valreg___0[129][1] = 193U; _valreg___0[130][0] = 58U; _valreg___0[130][1] = 194U; _valreg___0[131][0] = 5U; _valreg___0[131][1] = 195U; _valreg___0[132][0] = 4U; _valreg___0[132][1] = 196U; _valreg___0[133][0] = 63U; _valreg___0[133][1] = 197U; _valreg___0[134][0] = 0U; _valreg___0[134][1] = 198U; _valreg___0[135][0] = 0U; _valreg___0[135][1] = 199U; _valreg___0[136][0] = 80U; _valreg___0[136][1] = 200U; _valreg___0[137][0] = 60U; _valreg___0[137][1] = 201U; _valreg___0[138][0] = 40U; _valreg___0[138][1] = 202U; _valreg___0[139][0] = 216U; _valreg___0[139][1] = 203U; _valreg___0[140][0] = 20U; _valreg___0[140][1] = 204U; _valreg___0[141][0] = 236U; _valreg___0[141][1] = 205U; _valreg___0[142][0] = 50U; _valreg___0[142][1] = 206U; _valreg___0[143][0] = 221U; _valreg___0[143][1] = 207U; _valreg___0[144][0] = 50U; _valreg___0[144][1] = 208U; _valreg___0[145][0] = 221U; _valreg___0[145][1] = 209U; _valreg___0[146][0] = 106U; _valreg___0[146][1] = 210U; _valreg___0[147][0] = 80U; _valreg___0[147][1] = 211U; _valreg___0[148][0] = 0U; _valreg___0[148][1] = 212U; _valreg___0[149][0] = 0U; _valreg___0[149][1] = 213U; _valreg___0[150][0] = 0U; _valreg___0[150][1] = 214U; tmp___2 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg___0), 151); err = tmp___2; goto ldv_24903; default: ; goto ldv_24903; } ldv_24903: tmp___3 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 13, 0, 1, 0, 0); err = tmp___3 + err; tmp___4 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 13, 0, 0, 0, 0); err = tmp___4 + err; tmp___5 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 3, 1, 225, 0, 0); err = tmp___5 + err; tmp___6 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 4, 2, 129, 0, 0); err = tmp___6 + err; tmp___7 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 5, 0, 23, 0, 0); err = tmp___7 + err; tmp___8 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 6, 0, 17, 0, 0); err = tmp___8 + err; tmp___9 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 98, 4, 154, 0, 0); err = tmp___9 + err; return (err); } } static int mi0360_get_ctrl(struct sn9c102_device *cam , struct v4l2_control *ctrl ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; u8 data[2U] ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; { tmp = sn9c102_get_sensor(cam); s = tmp; switch (ctrl->id) { case 9963793U: tmp___0 = sn9c102_i2c_try_raw_read(cam, (struct sn9c102_sensor const *)s, (int )s->i2c_slave_id, 9, 2, (u8 *)(& data)); if (tmp___0 < 0) { return (-5); } else { } ctrl->value = (__s32 )data[0]; return (0); case 9963795U: tmp___1 = sn9c102_i2c_try_raw_read(cam, (struct sn9c102_sensor const *)s, (int )s->i2c_slave_id, 53, 2, (u8 *)(& data)); if (tmp___1 < 0) { return (-5); } else { } ctrl->value = (__s32 )data[1]; return (0); case 9963790U: tmp___2 = sn9c102_i2c_try_raw_read(cam, (struct sn9c102_sensor const *)s, (int )s->i2c_slave_id, 44, 2, (u8 *)(& data)); if (tmp___2 < 0) { return (-5); } else { } ctrl->value = (__s32 )data[1]; return (0); case 9963791U: tmp___3 = sn9c102_i2c_try_raw_read(cam, (struct sn9c102_sensor const *)s, (int )s->i2c_slave_id, 45, 2, (u8 *)(& data)); if (tmp___3 < 0) { return (-5); } else { } ctrl->value = (__s32 )data[1]; return (0); case 134217729U: tmp___4 = sn9c102_i2c_try_raw_read(cam, (struct sn9c102_sensor const *)s, (int )s->i2c_slave_id, 46, 2, (u8 *)(& data)); if (tmp___4 < 0) { return (-5); } else { } ctrl->value = (__s32 )data[1]; return (0); case 9963796U: tmp___5 = sn9c102_i2c_try_raw_read(cam, (struct sn9c102_sensor const *)s, (int )s->i2c_slave_id, 32, 2, (u8 *)(& data)); if (tmp___5 < 0) { return (-5); } else { } ctrl->value = ((int )data[1] & 32) != 0; return (0); case 9963797U: tmp___6 = sn9c102_i2c_try_raw_read(cam, (struct sn9c102_sensor const *)s, (int )s->i2c_slave_id, 32, 2, (u8 *)(& data)); if (tmp___6 < 0) { return (-5); } else { } ctrl->value = (int )((signed char )data[1]) < 0; return (0); default: ; return (-22); } return (0); } } static int mi0360_set_ctrl(struct sn9c102_device *cam , struct v4l2_control const *ctrl ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; int err ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; int tmp___7 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; switch (ctrl->id) { case 9963793U: tmp___0 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 9, (int )((u8 )ctrl->value), 0, 0, 0); err = tmp___0 + err; goto ldv_24932; case 9963795U: tmp___1 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 53, 3, (int )((u8 )ctrl->value), 0, 0); err = tmp___1 + err; goto ldv_24932; case 9963790U: tmp___2 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 44, 3, (int )((u8 )ctrl->value), 0, 0); err = tmp___2 + err; goto ldv_24932; case 9963791U: tmp___3 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 45, 3, (int )((u8 )ctrl->value), 0, 0); err = tmp___3 + err; goto ldv_24932; case 134217729U: tmp___4 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 43, 3, (int )((u8 )ctrl->value), 0, 0); err = tmp___4 + err; tmp___5 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 46, 3, (int )((u8 )ctrl->value), 0, 0); err = tmp___5 + err; goto ldv_24932; case 9963796U: tmp___6 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 32, (int )ctrl->value != 0 ? 64 : 0, (int )ctrl->value != 0 ? 32 : 0, 0, 0); err = tmp___6 + err; goto ldv_24932; case 9963797U: tmp___7 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 32, (int )ctrl->value != 0 ? 128 : 0, (int )ctrl->value != 0 ? 128 : 0, 0, 0); err = tmp___7 + err; goto ldv_24932; default: ; return (-22); } ldv_24932: ; return (err != 0 ? -5 : 0); } } static int mi0360_set_crop(struct sn9c102_device *cam , struct v4l2_rect const *rect ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; int err ; u8 h_start ; u8 v_start ; enum sn9c102_bridge tmp___0 ; int tmp___1 ; int tmp___2 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; h_start = 0U; v_start = (unsigned int )((u8 )((int )((unsigned char )rect->top) - (int )((unsigned char )s->cropcap.bounds.top))) + 1U; tmp___0 = sn9c102_get_bridge(cam); switch ((unsigned int )tmp___0) { case 4U: h_start = (u8 )((int )((unsigned char )rect->left) - (int )((unsigned char )s->cropcap.bounds.left)); goto ldv_24949; case 8U: ; case 16U: h_start = (unsigned int )((u8 )((int )((unsigned char )rect->left) - (int )((unsigned char )s->cropcap.bounds.left))) + 1U; goto ldv_24949; default: ; goto ldv_24949; } ldv_24949: tmp___1 = sn9c102_write_reg(cam, (int )h_start, 18); err = tmp___1 + err; tmp___2 = sn9c102_write_reg(cam, (int )v_start, 19); err = tmp___2 + err; return (err); } } static int mi0360_set_pix_format(struct sn9c102_device *cam , struct v4l2_pix_format const *pix ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; int err ; int tmp___0 ; int tmp___1 ; int tmp___2 ; enum sn9c102_bridge tmp___3 ; enum sn9c102_bridge tmp___4 ; int tmp___5 ; int tmp___6 ; int tmp___7 ; enum sn9c102_bridge tmp___8 ; enum sn9c102_bridge tmp___9 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; if ((unsigned int )pix->pixelformat == 825770306U) { tmp___0 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 10, 0, 5, 0, 0); err = tmp___0 + err; tmp___1 = sn9c102_write_reg(cam, 96, 25); err = tmp___1 + err; tmp___3 = sn9c102_get_bridge(cam); if ((unsigned int )tmp___3 == 8U) { tmp___2 = sn9c102_write_reg(cam, 166, 23); err = tmp___2 + err; } else { tmp___4 = sn9c102_get_bridge(cam); if ((unsigned int )tmp___4 == 16U) { tmp___2 = sn9c102_write_reg(cam, 166, 23); err = tmp___2 + err; } else { } } } else { tmp___5 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 10, 0, 2, 0, 0); err = tmp___5 + err; tmp___6 = sn9c102_write_reg(cam, 32, 25); err = tmp___6 + err; tmp___8 = sn9c102_get_bridge(cam); if ((unsigned int )tmp___8 == 8U) { tmp___7 = sn9c102_write_reg(cam, 162, 23); err = tmp___7 + err; } else { tmp___9 = sn9c102_get_bridge(cam); if ((unsigned int )tmp___9 == 16U) { tmp___7 = sn9c102_write_reg(cam, 162, 23); err = tmp___7 + err; } else { } } } return (err); } } static struct sn9c102_sensor const mi0360 = {{'M', 'I', '-', '0', '3', '6', '0', '\000'}, {'L', 'u', 'c', 'a', ' ', 'R', 'i', 's', 'o', 'l', 'i', 'a', ' ', '<', 'l', 'u', 'c', 'a', '.', 'r', 'i', 's', 'o', 'l', 'i', 'a', '@', 's', 't', 'u', 'd', 'i', 'o', '.', 'u', 'n', 'i', 'b', 'o', '.', 'i', 't', '>', '\000'}, 28, 0, 1, 0, 93U, & mi0360_init, {{9963793U, 1U, {'e', 'x', 'p', 'o', 's', 'u', 'r', 'e', '\000'}, 0, 15, 1, 5, 0U, {0U, 0U}}, {9963795U, 1U, {'g', 'l', 'o', 'b', 'a', 'l', ' ', 'g', 'a', 'i', 'n', '\000'}, 0, 127, 1, 37, 0U, {0U, 0U}}, {9963796U, 2U, {'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', ' ', 'm', 'i', 'r', 'r', 'o', 'r', '\000'}, 0, 1, 1, 0, 0U, {0U, 0U}}, {9963797U, 2U, {'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', ' ', 'm', 'i', 'r', 'r', 'o', 'r', '\000'}, 0, 1, 1, 0, 0U, {0U, 0U}}, {9963791U, 1U, {'b', 'l', 'u', 'e', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 127, 1, 15, 0U, {0U, 0U}}, {9963790U, 1U, {'r', 'e', 'd', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 127, 1, 50, 0U, {0U, 0U}}, {134217729U, 1U, {'g', 'r', 'e', 'e', 'n', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 127, 1, 37, 0U, {0U, 0U}}}, & mi0360_get_ctrl, & mi0360_set_ctrl, {0U, {0, 0, 640, 480}, {0, 0, 640, 480}, {0U, 0U}}, & mi0360_set_crop, {640U, 480U, 825770306U, 0U, 0U, 0U, 0U, 8U}, & mi0360_set_pix_format, {{0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}}, {0, 0, 0, 0}}; int sn9c102_probe_mi0360(struct sn9c102_device *cam ) { u8 data[2U] ; enum sn9c102_bridge tmp ; u8 _valreg[3U][2U] ; int tmp___0 ; u8 _valreg___0[5U][2U] ; int tmp___1 ; int tmp___2 ; { tmp = sn9c102_get_bridge(cam); switch ((unsigned int )tmp) { case 4U: _valreg[0][0] = 1U; _valreg[0][1] = 1U; _valreg[1][0] = 0U; _valreg[1][1] = 1U; _valreg[2][0] = 40U; _valreg[2][1] = 23U; tmp___0 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 3); if (tmp___0 != 0) { return (-5); } else { } goto ldv_24969; case 8U: ; case 16U: _valreg___0[0][0] = 1U; _valreg___0[0][1] = 241U; _valreg___0[1][0] = 0U; _valreg___0[1][1] = 241U; _valreg___0[2][0] = 1U; _valreg___0[2][1] = 1U; _valreg___0[3][0] = 0U; _valreg___0[3][1] = 1U; _valreg___0[4][0] = 40U; _valreg___0[4][1] = 23U; tmp___1 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg___0), 5); if (tmp___1 != 0) { return (-5); } else { } goto ldv_24969; default: ; goto ldv_24969; } ldv_24969: tmp___2 = sn9c102_i2c_try_raw_read(cam, & mi0360, (int )mi0360.i2c_slave_id, 0, 2, (u8 *)(& data)); if (tmp___2 < 0) { return (-5); } else { } if ((unsigned int )data[0] != 130U || (unsigned int )data[1] != 67U) { return (-19); } else { } sn9c102_attach_sensor(cam, & mi0360); return (0); } } void ldv_main4_sequence_infinite_withcheck_stateful(void) { int tmp ; int tmp___0 ; { LDV_IN_INTERRUPT = 1; ldv_initialize(); goto ldv_24996; ldv_24995: tmp = __VERIFIER_nondet_int(); switch (tmp) { default: ; goto ldv_24994; } ldv_24994: ; ldv_24996: tmp___0 = __VERIFIER_nondet_int(); if (tmp___0 != 0) { goto ldv_24995; } else { } ldv_check_final_state(); return; } } void ldv_mutex_lock_179(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_lock(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } void ldv_mutex_unlock_180(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_lock_181(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_mutex_of_device(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } int ldv_mutex_trylock_182(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___2 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_trylock(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_trylock_mutex_of_device(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_183(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_mutex_of_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_trylock_192(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_190(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_193(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_189(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_191(struct mutex *ldv_func_arg1 ) ; static int mt9v111_init(struct sn9c102_device *cam ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; int err ; u8 _valreg[95U][2U] ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; int tmp___7 ; int tmp___8 ; int tmp___9 ; int tmp___10 ; int tmp___11 ; int tmp___12 ; int tmp___13 ; int tmp___14 ; int tmp___15 ; int tmp___16 ; int tmp___17 ; int tmp___18 ; int tmp___19 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; _valreg[0][0] = 68U; _valreg[0][1] = 1U; _valreg[1][0] = 64U; _valreg[1][1] = 2U; _valreg[2][0] = 0U; _valreg[2][1] = 3U; _valreg[3][0] = 26U; _valreg[3][1] = 4U; _valreg[4][0] = 31U; _valreg[4][1] = 5U; _valreg[5][0] = 32U; _valreg[5][1] = 6U; _valreg[6][0] = 31U; _valreg[6][1] = 7U; _valreg[7][0] = 129U; _valreg[7][1] = 8U; _valreg[8][0] = 92U; _valreg[8][1] = 9U; _valreg[9][0] = 0U; _valreg[9][1] = 10U; _valreg[10][0] = 0U; _valreg[10][1] = 11U; _valreg[11][0] = 0U; _valreg[11][1] = 12U; _valreg[12][0] = 0U; _valreg[12][1] = 13U; _valreg[13][0] = 0U; _valreg[13][1] = 14U; _valreg[14][0] = 0U; _valreg[14][1] = 15U; _valreg[15][0] = 3U; _valreg[15][1] = 16U; _valreg[16][0] = 0U; _valreg[16][1] = 17U; _valreg[17][0] = 0U; _valreg[17][1] = 18U; _valreg[18][0] = 2U; _valreg[18][1] = 19U; _valreg[19][0] = 20U; _valreg[19][1] = 20U; _valreg[20][0] = 40U; _valreg[20][1] = 21U; _valreg[21][0] = 30U; _valreg[21][1] = 22U; _valreg[22][0] = 226U; _valreg[22][1] = 23U; _valreg[23][0] = 6U; _valreg[23][1] = 24U; _valreg[24][0] = 0U; _valreg[24][1] = 25U; _valreg[25][0] = 0U; _valreg[25][1] = 26U; _valreg[26][0] = 0U; _valreg[26][1] = 27U; _valreg[27][0] = 8U; _valreg[27][1] = 32U; _valreg[28][0] = 57U; _valreg[28][1] = 33U; _valreg[29][0] = 81U; _valreg[29][1] = 34U; _valreg[30][0] = 99U; _valreg[30][1] = 35U; _valreg[31][0] = 115U; _valreg[31][1] = 36U; _valreg[32][0] = 130U; _valreg[32][1] = 37U; _valreg[33][0] = 143U; _valreg[33][1] = 38U; _valreg[34][0] = 155U; _valreg[34][1] = 39U; _valreg[35][0] = 167U; _valreg[35][1] = 40U; _valreg[36][0] = 177U; _valreg[36][1] = 41U; _valreg[37][0] = 188U; _valreg[37][1] = 42U; _valreg[38][0] = 198U; _valreg[38][1] = 43U; _valreg[39][0] = 207U; _valreg[39][1] = 44U; _valreg[40][0] = 216U; _valreg[40][1] = 45U; _valreg[41][0] = 225U; _valreg[41][1] = 46U; _valreg[42][0] = 234U; _valreg[42][1] = 47U; _valreg[43][0] = 242U; _valreg[43][1] = 48U; _valreg[44][0] = 19U; _valreg[44][1] = 132U; _valreg[45][0] = 0U; _valreg[45][1] = 133U; _valreg[46][0] = 37U; _valreg[46][1] = 134U; _valreg[47][0] = 0U; _valreg[47][1] = 135U; _valreg[48][0] = 7U; _valreg[48][1] = 136U; _valreg[49][0] = 0U; _valreg[49][1] = 137U; _valreg[50][0] = 238U; _valreg[50][1] = 138U; _valreg[51][0] = 15U; _valreg[51][1] = 139U; _valreg[52][0] = 229U; _valreg[52][1] = 140U; _valreg[53][0] = 15U; _valreg[53][1] = 141U; _valreg[54][0] = 46U; _valreg[54][1] = 142U; _valreg[55][0] = 0U; _valreg[55][1] = 143U; _valreg[56][0] = 48U; _valreg[56][1] = 144U; _valreg[57][0] = 0U; _valreg[57][1] = 145U; _valreg[58][0] = 212U; _valreg[58][1] = 146U; _valreg[59][0] = 15U; _valreg[59][1] = 147U; _valreg[60][0] = 252U; _valreg[60][1] = 148U; _valreg[61][0] = 15U; _valreg[61][1] = 149U; _valreg[62][0] = 20U; _valreg[62][1] = 150U; _valreg[63][0] = 0U; _valreg[63][1] = 151U; _valreg[64][0] = 0U; _valreg[64][1] = 152U; _valreg[65][0] = 96U; _valreg[65][1] = 153U; _valreg[66][0] = 7U; _valreg[66][1] = 154U; _valreg[67][0] = 64U; _valreg[67][1] = 155U; _valreg[68][0] = 32U; _valreg[68][1] = 156U; _valreg[69][0] = 0U; _valreg[69][1] = 157U; _valreg[70][0] = 0U; _valreg[70][1] = 158U; _valreg[71][0] = 0U; _valreg[71][1] = 159U; _valreg[72][0] = 45U; _valreg[72][1] = 192U; _valreg[73][0] = 45U; _valreg[73][1] = 193U; _valreg[74][0] = 58U; _valreg[74][1] = 194U; _valreg[75][0] = 5U; _valreg[75][1] = 195U; _valreg[76][0] = 4U; _valreg[76][1] = 196U; _valreg[77][0] = 63U; _valreg[77][1] = 197U; _valreg[78][0] = 0U; _valreg[78][1] = 198U; _valreg[79][0] = 0U; _valreg[79][1] = 199U; _valreg[80][0] = 80U; _valreg[80][1] = 200U; _valreg[81][0] = 60U; _valreg[81][1] = 201U; _valreg[82][0] = 40U; _valreg[82][1] = 202U; _valreg[83][0] = 216U; _valreg[83][1] = 203U; _valreg[84][0] = 20U; _valreg[84][1] = 204U; _valreg[85][0] = 236U; _valreg[85][1] = 205U; _valreg[86][0] = 50U; _valreg[86][1] = 206U; _valreg[87][0] = 221U; _valreg[87][1] = 207U; _valreg[88][0] = 45U; _valreg[88][1] = 208U; _valreg[89][0] = 221U; _valreg[89][1] = 209U; _valreg[90][0] = 106U; _valreg[90][1] = 210U; _valreg[91][0] = 80U; _valreg[91][1] = 211U; _valreg[92][0] = 96U; _valreg[92][1] = 212U; _valreg[93][0] = 0U; _valreg[93][1] = 213U; _valreg[94][0] = 0U; _valreg[94][1] = 214U; tmp___0 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 95); err = tmp___0; tmp___1 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 1, 0, 1, 0, 0); err = tmp___1 + err; tmp___2 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 13, 0, 1, 0, 0); err = tmp___2 + err; tmp___3 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 13, 0, 0, 0, 0); err = tmp___3 + err; tmp___4 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 8, 4, 128, 0, 0); err = tmp___4 + err; tmp___5 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 1, 0, 4, 0, 0); err = tmp___5 + err; tmp___6 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 8, 0, 8, 0, 0); err = tmp___6 + err; tmp___7 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 2, 0, 22, 0, 0); err = tmp___7 + err; tmp___8 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 3, 1, 231, 0, 0); err = tmp___8 + err; tmp___9 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 4, 2, 135, 0, 0); err = tmp___9 + err; tmp___10 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 6, 0, 64, 0, 0); err = tmp___10 + err; tmp___11 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 5, 0, 9, 0, 0); err = tmp___11 + err; tmp___12 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 7, 48, 2, 0, 0); err = tmp___12 + err; tmp___13 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 12, 0, 0, 0, 0); err = tmp___13 + err; tmp___14 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 18, 0, 176, 0, 0); err = tmp___14 + err; tmp___15 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 19, 0, 124, 0, 0); err = tmp___15 + err; tmp___16 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 30, 0, 0, 0, 0); err = tmp___16 + err; tmp___17 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 32, 0, 0, 0, 0); err = tmp___17 + err; tmp___18 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 32, 0, 0, 0, 0); err = tmp___18 + err; tmp___19 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 1, 0, 4, 0, 0); err = tmp___19 + err; return (err); } } static int mt9v111_get_ctrl(struct sn9c102_device *cam , struct v4l2_control *ctrl ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; u8 data[2U] ; int err ; int tmp___0 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; switch (ctrl->id) { case 9963797U: tmp___0 = sn9c102_i2c_try_raw_read(cam, (struct sn9c102_sensor const *)s, (int )s->i2c_slave_id, 32, 2, (u8 *)(& data)); if (tmp___0 < 0) { return (-5); } else { } ctrl->value = (int )((signed char )data[1]) < 0; return (0); default: ; return (-22); } return (err != 0 ? -5 : 0); } } static int mt9v111_set_ctrl(struct sn9c102_device *cam , struct v4l2_control const *ctrl ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; int err ; int tmp___0 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; switch (ctrl->id) { case 9963797U: tmp___0 = sn9c102_i2c_try_raw_write(cam, (struct sn9c102_sensor const *)s, 4, (int )s->i2c_slave_id, 32, (int )ctrl->value != 0 ? 128 : 0, (int )ctrl->value != 0 ? 128 : 0, 0, 0); err = tmp___0 + err; goto ldv_24918; default: ; return (-22); } ldv_24918: ; return (err != 0 ? -5 : 0); } } static int mt9v111_set_crop(struct sn9c102_device *cam , struct v4l2_rect const *rect ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; int err ; u8 v_start ; int tmp___0 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; v_start = (unsigned int )((u8 )((int )((unsigned char )rect->top) - (int )((unsigned char )s->cropcap.bounds.top))) + 2U; tmp___0 = sn9c102_write_reg(cam, (int )v_start, 19); err = tmp___0 + err; return (err); } } static int mt9v111_set_pix_format(struct sn9c102_device *cam , struct v4l2_pix_format const *pix ) { int err ; int tmp ; int tmp___0 ; { err = 0; if ((unsigned int )pix->pixelformat == 825770306U) { tmp = sn9c102_write_reg(cam, 180, 23); err = tmp + err; } else { tmp___0 = sn9c102_write_reg(cam, 226, 23); err = tmp___0 + err; } return (err); } } static struct sn9c102_sensor const mt9v111 = {{'M', 'T', '9', 'V', '1', '1', '1', '\000'}, {'L', 'u', 'c', 'a', ' ', 'R', 'i', 's', 'o', 'l', 'i', 'a', ' ', '<', 'l', 'u', 'c', 'a', '.', 'r', 'i', 's', 'o', 'l', 'i', 'a', '@', 's', 't', 'u', 'd', 'i', 'o', '.', 'u', 'n', 'i', 'b', 'o', '.', 'i', 't', '>', '\000'}, 24, 0, 1, 0, 92U, & mt9v111_init, {{9963797U, 2U, {'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', ' ', 'm', 'i', 'r', 'r', 'o', 'r', '\000'}, 0, 1, 1, 0, 0U, {0U, 0U}}}, & mt9v111_get_ctrl, & mt9v111_set_ctrl, {0U, {0, 0, 640, 480}, {0, 0, 640, 480}, {0U, 0U}}, & mt9v111_set_crop, {640U, 480U, 825770306U, 0U, 0U, 0U, 0U, 8U}, & mt9v111_set_pix_format, {{0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}}, {0, 0, 0, 0}}; int sn9c102_probe_mt9v111(struct sn9c102_device *cam ) { u8 data[2U] ; int err ; u8 _valreg[6U][2U] ; int tmp ; int tmp___0 ; int tmp___1 ; { err = 0; _valreg[0][0] = 1U; _valreg[0][1] = 241U; _valreg[1][0] = 0U; _valreg[1][1] = 241U; _valreg[2][0] = 41U; _valreg[2][1] = 1U; _valreg[3][0] = 66U; _valreg[3][1] = 23U; _valreg[4][0] = 98U; _valreg[4][1] = 23U; _valreg[5][0] = 8U; _valreg[5][1] = 1U; tmp = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 6); err = tmp + err; tmp___0 = sn9c102_i2c_try_raw_write(cam, & mt9v111, 4, (int )mt9v111.i2c_slave_id, 1, 0, 4, 0, 0); err = tmp___0 + err; if (err != 0) { return (-5); } else { tmp___1 = sn9c102_i2c_try_raw_read(cam, & mt9v111, (int )mt9v111.i2c_slave_id, 54, 2, (u8 *)(& data)); if (tmp___1 < 0) { return (-5); } else { } } if ((unsigned int )data[0] != 130U || (unsigned int )data[1] != 58U) { return (-19); } else { } sn9c102_attach_sensor(cam, & mt9v111); return (0); } } void ldv_main5_sequence_infinite_withcheck_stateful(void) { int tmp ; int tmp___0 ; { LDV_IN_INTERRUPT = 1; ldv_initialize(); goto ldv_24961; ldv_24960: tmp = __VERIFIER_nondet_int(); switch (tmp) { default: ; goto ldv_24959; } ldv_24959: ; ldv_24961: tmp___0 = __VERIFIER_nondet_int(); if (tmp___0 != 0) { goto ldv_24960; } else { } ldv_check_final_state(); return; } } void ldv_mutex_lock_189(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_lock(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } void ldv_mutex_unlock_190(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_lock_191(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_mutex_of_device(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } int ldv_mutex_trylock_192(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___2 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_trylock(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_trylock_mutex_of_device(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_193(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_mutex_of_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_trylock_202(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_200(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_203(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_199(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_201(struct mutex *ldv_func_arg1 ) ; static int ov7630_init(struct sn9c102_device *cam ) { int err ; enum sn9c102_bridge tmp ; u8 _valreg[4U][2U] ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; int tmp___7 ; int tmp___8 ; int tmp___9 ; int tmp___10 ; int tmp___11 ; int tmp___12 ; int tmp___13 ; int tmp___14 ; int tmp___15 ; int tmp___16 ; int tmp___17 ; int tmp___18 ; int tmp___19 ; int tmp___20 ; int tmp___21 ; int tmp___22 ; int tmp___23 ; int tmp___24 ; int tmp___25 ; int tmp___26 ; int tmp___27 ; int tmp___28 ; u8 _valreg___0[34U][2U] ; int tmp___29 ; int tmp___30 ; int tmp___31 ; int tmp___32 ; int tmp___33 ; int tmp___34 ; int tmp___35 ; int tmp___36 ; int tmp___37 ; int tmp___38 ; int tmp___39 ; int tmp___40 ; int tmp___41 ; int tmp___42 ; int tmp___43 ; int tmp___44 ; int tmp___45 ; int tmp___46 ; int tmp___47 ; int tmp___48 ; int tmp___49 ; int tmp___50 ; int tmp___51 ; int tmp___52 ; u8 _valreg___1[147U][2U] ; int tmp___53 ; int tmp___54 ; int tmp___55 ; int tmp___56 ; int tmp___57 ; int tmp___58 ; int tmp___59 ; int tmp___60 ; int tmp___61 ; int tmp___62 ; int tmp___63 ; int tmp___64 ; int tmp___65 ; int tmp___66 ; int tmp___67 ; int tmp___68 ; int tmp___69 ; int tmp___70 ; int tmp___71 ; int tmp___72 ; int tmp___73 ; int tmp___74 ; int tmp___75 ; int tmp___76 ; int tmp___77 ; int tmp___78 ; int tmp___79 ; int tmp___80 ; int tmp___81 ; int tmp___82 ; int tmp___83 ; int tmp___84 ; int tmp___85 ; int tmp___86 ; int tmp___87 ; int tmp___88 ; int tmp___89 ; int tmp___90 ; int tmp___91 ; int tmp___92 ; int tmp___93 ; int tmp___94 ; int tmp___95 ; int tmp___96 ; int tmp___97 ; int tmp___98 ; int tmp___99 ; int tmp___100 ; int tmp___101 ; int tmp___102 ; int tmp___103 ; int tmp___104 ; int tmp___105 ; int tmp___106 ; int tmp___107 ; int tmp___108 ; int tmp___109 ; int tmp___110 ; int tmp___111 ; int tmp___112 ; int tmp___113 ; int tmp___114 ; { err = 0; tmp = sn9c102_get_bridge(cam); switch ((unsigned int )tmp) { case 1U: ; case 2U: _valreg[0][0] = 0U; _valreg[0][1] = 20U; _valreg[1][0] = 96U; _valreg[1][1] = 23U; _valreg[2][0] = 15U; _valreg[2][1] = 24U; _valreg[3][0] = 80U; _valreg[3][1] = 25U; tmp___0 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 4); err = tmp___0; tmp___1 = sn9c102_i2c_write(cam, 18, 141); err = tmp___1 + err; tmp___2 = sn9c102_i2c_write(cam, 18, 13); err = tmp___2 + err; tmp___3 = sn9c102_i2c_write(cam, 17, 0); err = tmp___3 + err; tmp___4 = sn9c102_i2c_write(cam, 21, 53); err = tmp___4 + err; tmp___5 = sn9c102_i2c_write(cam, 22, 3); err = tmp___5 + err; tmp___6 = sn9c102_i2c_write(cam, 23, 28); err = tmp___6 + err; tmp___7 = sn9c102_i2c_write(cam, 24, 189); err = tmp___7 + err; tmp___8 = sn9c102_i2c_write(cam, 25, 6); err = tmp___8 + err; tmp___9 = sn9c102_i2c_write(cam, 26, 246); err = tmp___9 + err; tmp___10 = sn9c102_i2c_write(cam, 27, 4); err = tmp___10 + err; tmp___11 = sn9c102_i2c_write(cam, 32, 68); err = tmp___11 + err; tmp___12 = sn9c102_i2c_write(cam, 35, 238); err = tmp___12 + err; tmp___13 = sn9c102_i2c_write(cam, 38, 160); err = tmp___13 + err; tmp___14 = sn9c102_i2c_write(cam, 39, 154); err = tmp___14 + err; tmp___15 = sn9c102_i2c_write(cam, 40, 32); err = tmp___15 + err; tmp___16 = sn9c102_i2c_write(cam, 41, 48); err = tmp___16 + err; tmp___17 = sn9c102_i2c_write(cam, 47, 61); err = tmp___17 + err; tmp___18 = sn9c102_i2c_write(cam, 48, 36); err = tmp___18 + err; tmp___19 = sn9c102_i2c_write(cam, 50, 134); err = tmp___19 + err; tmp___20 = sn9c102_i2c_write(cam, 96, 169); err = tmp___20 + err; tmp___21 = sn9c102_i2c_write(cam, 97, 66); err = tmp___21 + err; tmp___22 = sn9c102_i2c_write(cam, 101, 0); err = tmp___22 + err; tmp___23 = sn9c102_i2c_write(cam, 105, 56); err = tmp___23 + err; tmp___24 = sn9c102_i2c_write(cam, 111, 136); err = tmp___24 + err; tmp___25 = sn9c102_i2c_write(cam, 112, 11); err = tmp___25 + err; tmp___26 = sn9c102_i2c_write(cam, 113, 0); err = tmp___26 + err; tmp___27 = sn9c102_i2c_write(cam, 116, 33); err = tmp___27 + err; tmp___28 = sn9c102_i2c_write(cam, 125, 247); err = tmp___28 + err; goto ldv_24903; case 4U: _valreg___0[0][0] = 0U; _valreg___0[0][1] = 2U; _valreg___0[1][0] = 0U; _valreg___0[1][1] = 3U; _valreg___0[2][0] = 26U; _valreg___0[2][1] = 4U; _valreg___0[3][0] = 32U; _valreg___0[3][1] = 5U; _valreg___0[4][0] = 32U; _valreg___0[4][1] = 6U; _valreg___0[5][0] = 32U; _valreg___0[5][1] = 7U; _valreg___0[6][0] = 3U; _valreg___0[6][1] = 16U; _valreg___0[7][0] = 10U; _valreg___0[7][1] = 20U; _valreg___0[8][0] = 96U; _valreg___0[8][1] = 23U; _valreg___0[9][0] = 15U; _valreg___0[9][1] = 24U; _valreg___0[10][0] = 80U; _valreg___0[10][1] = 25U; _valreg___0[11][0] = 29U; _valreg___0[11][1] = 26U; _valreg___0[12][0] = 16U; _valreg___0[12][1] = 27U; _valreg___0[13][0] = 2U; _valreg___0[13][1] = 28U; _valreg___0[14][0] = 3U; _valreg___0[14][1] = 29U; _valreg___0[15][0] = 15U; _valreg___0[15][1] = 30U; _valreg___0[16][0] = 12U; _valreg___0[16][1] = 31U; _valreg___0[17][0] = 0U; _valreg___0[17][1] = 32U; _valreg___0[18][0] = 16U; _valreg___0[18][1] = 33U; _valreg___0[19][0] = 32U; _valreg___0[19][1] = 34U; _valreg___0[20][0] = 48U; _valreg___0[20][1] = 35U; _valreg___0[21][0] = 64U; _valreg___0[21][1] = 36U; _valreg___0[22][0] = 80U; _valreg___0[22][1] = 37U; _valreg___0[23][0] = 96U; _valreg___0[23][1] = 38U; _valreg___0[24][0] = 112U; _valreg___0[24][1] = 39U; _valreg___0[25][0] = 128U; _valreg___0[25][1] = 40U; _valreg___0[26][0] = 144U; _valreg___0[26][1] = 41U; _valreg___0[27][0] = 160U; _valreg___0[27][1] = 42U; _valreg___0[28][0] = 176U; _valreg___0[28][1] = 43U; _valreg___0[29][0] = 192U; _valreg___0[29][1] = 44U; _valreg___0[30][0] = 208U; _valreg___0[30][1] = 45U; _valreg___0[31][0] = 224U; _valreg___0[31][1] = 46U; _valreg___0[32][0] = 240U; _valreg___0[32][1] = 47U; _valreg___0[33][0] = 255U; _valreg___0[33][1] = 48U; tmp___29 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg___0), 34); err = tmp___29; tmp___30 = sn9c102_i2c_write(cam, 18, 141); err = tmp___30 + err; tmp___31 = sn9c102_i2c_write(cam, 18, 13); err = tmp___31 + err; tmp___32 = sn9c102_i2c_write(cam, 21, 52); err = tmp___32 + err; tmp___33 = sn9c102_i2c_write(cam, 17, 1); err = tmp___33 + err; tmp___34 = sn9c102_i2c_write(cam, 27, 4); err = tmp___34 + err; tmp___35 = sn9c102_i2c_write(cam, 32, 68); err = tmp___35 + err; tmp___36 = sn9c102_i2c_write(cam, 35, 238); err = tmp___36 + err; tmp___37 = sn9c102_i2c_write(cam, 38, 160); err = tmp___37 + err; tmp___38 = sn9c102_i2c_write(cam, 39, 154); err = tmp___38 + err; tmp___39 = sn9c102_i2c_write(cam, 40, 32); err = tmp___39 + err; tmp___40 = sn9c102_i2c_write(cam, 41, 48); err = tmp___40 + err; tmp___41 = sn9c102_i2c_write(cam, 47, 61); err = tmp___41 + err; tmp___42 = sn9c102_i2c_write(cam, 48, 36); err = tmp___42 + err; tmp___43 = sn9c102_i2c_write(cam, 50, 134); err = tmp___43 + err; tmp___44 = sn9c102_i2c_write(cam, 96, 169); err = tmp___44 + err; tmp___45 = sn9c102_i2c_write(cam, 97, 66); err = tmp___45 + err; tmp___46 = sn9c102_i2c_write(cam, 101, 0); err = tmp___46 + err; tmp___47 = sn9c102_i2c_write(cam, 105, 56); err = tmp___47 + err; tmp___48 = sn9c102_i2c_write(cam, 111, 136); err = tmp___48 + err; tmp___49 = sn9c102_i2c_write(cam, 112, 11); err = tmp___49 + err; tmp___50 = sn9c102_i2c_write(cam, 113, 0); err = tmp___50 + err; tmp___51 = sn9c102_i2c_write(cam, 116, 33); err = tmp___51 + err; tmp___52 = sn9c102_i2c_write(cam, 125, 247); err = tmp___52 + err; goto ldv_24903; case 8U: ; case 16U: _valreg___1[0][0] = 64U; _valreg___1[0][1] = 2U; _valreg___1[1][0] = 0U; _valreg___1[1][1] = 3U; _valreg___1[2][0] = 26U; _valreg___1[2][1] = 4U; _valreg___1[3][0] = 3U; _valreg___1[3][1] = 16U; _valreg___1[4][0] = 10U; _valreg___1[4][1] = 20U; _valreg___1[5][0] = 226U; _valreg___1[5][1] = 23U; _valreg___1[6][0] = 11U; _valreg___1[6][1] = 24U; _valreg___1[7][0] = 0U; _valreg___1[7][1] = 25U; _valreg___1[8][0] = 29U; _valreg___1[8][1] = 26U; _valreg___1[9][0] = 16U; _valreg___1[9][1] = 27U; _valreg___1[10][0] = 2U; _valreg___1[10][1] = 28U; _valreg___1[11][0] = 3U; _valreg___1[11][1] = 29U; _valreg___1[12][0] = 15U; _valreg___1[12][1] = 30U; _valreg___1[13][0] = 12U; _valreg___1[13][1] = 31U; _valreg___1[14][0] = 0U; _valreg___1[14][1] = 32U; _valreg___1[15][0] = 36U; _valreg___1[15][1] = 33U; _valreg___1[16][0] = 59U; _valreg___1[16][1] = 34U; _valreg___1[17][0] = 71U; _valreg___1[17][1] = 35U; _valreg___1[18][0] = 96U; _valreg___1[18][1] = 36U; _valreg___1[19][0] = 113U; _valreg___1[19][1] = 37U; _valreg___1[20][0] = 128U; _valreg___1[20][1] = 38U; _valreg___1[21][0] = 143U; _valreg___1[21][1] = 39U; _valreg___1[22][0] = 157U; _valreg___1[22][1] = 40U; _valreg___1[23][0] = 170U; _valreg___1[23][1] = 41U; _valreg___1[24][0] = 184U; _valreg___1[24][1] = 42U; _valreg___1[25][0] = 196U; _valreg___1[25][1] = 43U; _valreg___1[26][0] = 209U; _valreg___1[26][1] = 44U; _valreg___1[27][0] = 221U; _valreg___1[27][1] = 45U; _valreg___1[28][0] = 232U; _valreg___1[28][1] = 46U; _valreg___1[29][0] = 244U; _valreg___1[29][1] = 47U; _valreg___1[30][0] = 255U; _valreg___1[30][1] = 48U; _valreg___1[31][0] = 0U; _valreg___1[31][1] = 63U; _valreg___1[32][0] = 199U; _valreg___1[32][1] = 64U; _valreg___1[33][0] = 1U; _valreg___1[33][1] = 65U; _valreg___1[34][0] = 68U; _valreg___1[34][1] = 66U; _valreg___1[35][0] = 0U; _valreg___1[35][1] = 67U; _valreg___1[36][0] = 68U; _valreg___1[36][1] = 68U; _valreg___1[37][0] = 0U; _valreg___1[37][1] = 69U; _valreg___1[38][0] = 68U; _valreg___1[38][1] = 70U; _valreg___1[39][0] = 0U; _valreg___1[39][1] = 71U; _valreg___1[40][0] = 199U; _valreg___1[40][1] = 72U; _valreg___1[41][0] = 1U; _valreg___1[41][1] = 73U; _valreg___1[42][0] = 199U; _valreg___1[42][1] = 74U; _valreg___1[43][0] = 1U; _valreg___1[43][1] = 75U; _valreg___1[44][0] = 199U; _valreg___1[44][1] = 76U; _valreg___1[45][0] = 1U; _valreg___1[45][1] = 77U; _valreg___1[46][0] = 68U; _valreg___1[46][1] = 78U; _valreg___1[47][0] = 0U; _valreg___1[47][1] = 79U; _valreg___1[48][0] = 68U; _valreg___1[48][1] = 80U; _valreg___1[49][0] = 0U; _valreg___1[49][1] = 81U; _valreg___1[50][0] = 68U; _valreg___1[50][1] = 82U; _valreg___1[51][0] = 0U; _valreg___1[51][1] = 83U; _valreg___1[52][0] = 199U; _valreg___1[52][1] = 84U; _valreg___1[53][0] = 1U; _valreg___1[53][1] = 85U; _valreg___1[54][0] = 199U; _valreg___1[54][1] = 86U; _valreg___1[55][0] = 1U; _valreg___1[55][1] = 87U; _valreg___1[56][0] = 199U; _valreg___1[56][1] = 88U; _valreg___1[57][0] = 1U; _valreg___1[57][1] = 89U; _valreg___1[58][0] = 68U; _valreg___1[58][1] = 90U; _valreg___1[59][0] = 0U; _valreg___1[59][1] = 91U; _valreg___1[60][0] = 68U; _valreg___1[60][1] = 92U; _valreg___1[61][0] = 0U; _valreg___1[61][1] = 93U; _valreg___1[62][0] = 68U; _valreg___1[62][1] = 94U; _valreg___1[63][0] = 0U; _valreg___1[63][1] = 95U; _valreg___1[64][0] = 199U; _valreg___1[64][1] = 96U; _valreg___1[65][0] = 1U; _valreg___1[65][1] = 97U; _valreg___1[66][0] = 199U; _valreg___1[66][1] = 98U; _valreg___1[67][0] = 1U; _valreg___1[67][1] = 99U; _valreg___1[68][0] = 199U; _valreg___1[68][1] = 100U; _valreg___1[69][0] = 1U; _valreg___1[69][1] = 101U; _valreg___1[70][0] = 68U; _valreg___1[70][1] = 102U; _valreg___1[71][0] = 0U; _valreg___1[71][1] = 103U; _valreg___1[72][0] = 68U; _valreg___1[72][1] = 104U; _valreg___1[73][0] = 0U; _valreg___1[73][1] = 105U; _valreg___1[74][0] = 68U; _valreg___1[74][1] = 106U; _valreg___1[75][0] = 0U; _valreg___1[75][1] = 107U; _valreg___1[76][0] = 199U; _valreg___1[76][1] = 108U; _valreg___1[77][0] = 1U; _valreg___1[77][1] = 109U; _valreg___1[78][0] = 199U; _valreg___1[78][1] = 110U; _valreg___1[79][0] = 1U; _valreg___1[79][1] = 111U; _valreg___1[80][0] = 199U; _valreg___1[80][1] = 112U; _valreg___1[81][0] = 1U; _valreg___1[81][1] = 113U; _valreg___1[82][0] = 68U; _valreg___1[82][1] = 114U; _valreg___1[83][0] = 0U; _valreg___1[83][1] = 115U; _valreg___1[84][0] = 68U; _valreg___1[84][1] = 116U; _valreg___1[85][0] = 0U; _valreg___1[85][1] = 117U; _valreg___1[86][0] = 68U; _valreg___1[86][1] = 118U; _valreg___1[87][0] = 0U; _valreg___1[87][1] = 119U; _valreg___1[88][0] = 199U; _valreg___1[88][1] = 120U; _valreg___1[89][0] = 1U; _valreg___1[89][1] = 121U; _valreg___1[90][0] = 199U; _valreg___1[90][1] = 122U; _valreg___1[91][0] = 1U; _valreg___1[91][1] = 123U; _valreg___1[92][0] = 199U; _valreg___1[92][1] = 124U; _valreg___1[93][0] = 1U; _valreg___1[93][1] = 125U; _valreg___1[94][0] = 68U; _valreg___1[94][1] = 126U; _valreg___1[95][0] = 0U; _valreg___1[95][1] = 127U; _valreg___1[96][0] = 23U; _valreg___1[96][1] = 132U; _valreg___1[97][0] = 0U; _valreg___1[97][1] = 133U; _valreg___1[98][0] = 46U; _valreg___1[98][1] = 134U; _valreg___1[99][0] = 0U; _valreg___1[99][1] = 135U; _valreg___1[100][0] = 9U; _valreg___1[100][1] = 136U; _valreg___1[101][0] = 0U; _valreg___1[101][1] = 137U; _valreg___1[102][0] = 232U; _valreg___1[102][1] = 138U; _valreg___1[103][0] = 15U; _valreg___1[103][1] = 139U; _valreg___1[104][0] = 218U; _valreg___1[104][1] = 140U; _valreg___1[105][0] = 15U; _valreg___1[105][1] = 141U; _valreg___1[106][0] = 64U; _valreg___1[106][1] = 142U; _valreg___1[107][0] = 0U; _valreg___1[107][1] = 143U; _valreg___1[108][0] = 55U; _valreg___1[108][1] = 144U; _valreg___1[109][0] = 0U; _valreg___1[109][1] = 145U; _valreg___1[110][0] = 207U; _valreg___1[110][1] = 146U; _valreg___1[111][0] = 15U; _valreg___1[111][1] = 147U; _valreg___1[112][0] = 250U; _valreg___1[112][1] = 148U; _valreg___1[113][0] = 15U; _valreg___1[113][1] = 149U; _valreg___1[114][0] = 0U; _valreg___1[114][1] = 150U; _valreg___1[115][0] = 0U; _valreg___1[115][1] = 151U; _valreg___1[116][0] = 0U; _valreg___1[116][1] = 152U; _valreg___1[117][0] = 102U; _valreg___1[117][1] = 153U; _valreg___1[118][0] = 0U; _valreg___1[118][1] = 154U; _valreg___1[119][0] = 64U; _valreg___1[119][1] = 155U; _valreg___1[120][0] = 32U; _valreg___1[120][1] = 156U; _valreg___1[121][0] = 0U; _valreg___1[121][1] = 157U; _valreg___1[122][0] = 0U; _valreg___1[122][1] = 158U; _valreg___1[123][0] = 0U; _valreg___1[123][1] = 159U; _valreg___1[124][0] = 45U; _valreg___1[124][1] = 192U; _valreg___1[125][0] = 45U; _valreg___1[125][1] = 193U; _valreg___1[126][0] = 58U; _valreg___1[126][1] = 194U; _valreg___1[127][0] = 0U; _valreg___1[127][1] = 195U; _valreg___1[128][0] = 4U; _valreg___1[128][1] = 196U; _valreg___1[129][0] = 63U; _valreg___1[129][1] = 197U; _valreg___1[130][0] = 0U; _valreg___1[130][1] = 198U; _valreg___1[131][0] = 0U; _valreg___1[131][1] = 199U; _valreg___1[132][0] = 80U; _valreg___1[132][1] = 200U; _valreg___1[133][0] = 60U; _valreg___1[133][1] = 201U; _valreg___1[134][0] = 40U; _valreg___1[134][1] = 202U; _valreg___1[135][0] = 216U; _valreg___1[135][1] = 203U; _valreg___1[136][0] = 20U; _valreg___1[136][1] = 204U; _valreg___1[137][0] = 236U; _valreg___1[137][1] = 205U; _valreg___1[138][0] = 50U; _valreg___1[138][1] = 206U; _valreg___1[139][0] = 221U; _valreg___1[139][1] = 207U; _valreg___1[140][0] = 50U; _valreg___1[140][1] = 208U; _valreg___1[141][0] = 221U; _valreg___1[141][1] = 209U; _valreg___1[142][0] = 106U; _valreg___1[142][1] = 210U; _valreg___1[143][0] = 80U; _valreg___1[143][1] = 211U; _valreg___1[144][0] = 96U; _valreg___1[144][1] = 212U; _valreg___1[145][0] = 0U; _valreg___1[145][1] = 213U; _valreg___1[146][0] = 0U; _valreg___1[146][1] = 214U; tmp___53 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg___1), 147); err = tmp___53; tmp___54 = sn9c102_i2c_write(cam, 18, 128); err = tmp___54 + err; tmp___55 = sn9c102_i2c_write(cam, 18, 72); err = tmp___55 + err; tmp___56 = sn9c102_i2c_write(cam, 1, 128); err = tmp___56 + err; tmp___57 = sn9c102_i2c_write(cam, 2, 128); err = tmp___57 + err; tmp___58 = sn9c102_i2c_write(cam, 3, 128); err = tmp___58 + err; tmp___59 = sn9c102_i2c_write(cam, 4, 16); err = tmp___59 + err; tmp___60 = sn9c102_i2c_write(cam, 5, 32); err = tmp___60 + err; tmp___61 = sn9c102_i2c_write(cam, 6, 128); err = tmp___61 + err; tmp___62 = sn9c102_i2c_write(cam, 17, 0); err = tmp___62 + err; tmp___63 = sn9c102_i2c_write(cam, 12, 32); err = tmp___63 + err; tmp___64 = sn9c102_i2c_write(cam, 13, 32); err = tmp___64 + err; tmp___65 = sn9c102_i2c_write(cam, 21, 128); err = tmp___65 + err; tmp___66 = sn9c102_i2c_write(cam, 22, 3); err = tmp___66 + err; tmp___67 = sn9c102_i2c_write(cam, 23, 27); err = tmp___67 + err; tmp___68 = sn9c102_i2c_write(cam, 24, 189); err = tmp___68 + err; tmp___69 = sn9c102_i2c_write(cam, 25, 5); err = tmp___69 + err; tmp___70 = sn9c102_i2c_write(cam, 26, 246); err = tmp___70 + err; tmp___71 = sn9c102_i2c_write(cam, 27, 4); err = tmp___71 + err; tmp___72 = sn9c102_i2c_write(cam, 33, 27); err = tmp___72 + err; tmp___73 = sn9c102_i2c_write(cam, 34, 0); err = tmp___73 + err; tmp___74 = sn9c102_i2c_write(cam, 35, 222); err = tmp___74 + err; tmp___75 = sn9c102_i2c_write(cam, 36, 16); err = tmp___75 + err; tmp___76 = sn9c102_i2c_write(cam, 37, 138); err = tmp___76 + err; tmp___77 = sn9c102_i2c_write(cam, 38, 160); err = tmp___77 + err; tmp___78 = sn9c102_i2c_write(cam, 39, 202); err = tmp___78 + err; tmp___79 = sn9c102_i2c_write(cam, 40, 162); err = tmp___79 + err; tmp___80 = sn9c102_i2c_write(cam, 41, 116); err = tmp___80 + err; tmp___81 = sn9c102_i2c_write(cam, 42, 136); err = tmp___81 + err; tmp___82 = sn9c102_i2c_write(cam, 43, 52); err = tmp___82 + err; tmp___83 = sn9c102_i2c_write(cam, 44, 136); err = tmp___83 + err; tmp___84 = sn9c102_i2c_write(cam, 46, 0); err = tmp___84 + err; tmp___85 = sn9c102_i2c_write(cam, 47, 0); err = tmp___85 + err; tmp___86 = sn9c102_i2c_write(cam, 48, 0); err = tmp___86 + err; tmp___87 = sn9c102_i2c_write(cam, 50, 194); err = tmp___87 + err; tmp___88 = sn9c102_i2c_write(cam, 51, 8); err = tmp___88 + err; tmp___89 = sn9c102_i2c_write(cam, 76, 64); err = tmp___89 + err; tmp___90 = sn9c102_i2c_write(cam, 77, 243); err = tmp___90 + err; tmp___91 = sn9c102_i2c_write(cam, 96, 5); err = tmp___91 + err; tmp___92 = sn9c102_i2c_write(cam, 97, 64); err = tmp___92 + err; tmp___93 = sn9c102_i2c_write(cam, 98, 18); err = tmp___93 + err; tmp___94 = sn9c102_i2c_write(cam, 99, 87); err = tmp___94 + err; tmp___95 = sn9c102_i2c_write(cam, 100, 115); err = tmp___95 + err; tmp___96 = sn9c102_i2c_write(cam, 101, 0); err = tmp___96 + err; tmp___97 = sn9c102_i2c_write(cam, 102, 85); err = tmp___97 + err; tmp___98 = sn9c102_i2c_write(cam, 103, 1); err = tmp___98 + err; tmp___99 = sn9c102_i2c_write(cam, 104, 172); err = tmp___99 + err; tmp___100 = sn9c102_i2c_write(cam, 105, 56); err = tmp___100 + err; tmp___101 = sn9c102_i2c_write(cam, 111, 31); err = tmp___101 + err; tmp___102 = sn9c102_i2c_write(cam, 112, 1); err = tmp___102 + err; tmp___103 = sn9c102_i2c_write(cam, 113, 0); err = tmp___103 + err; tmp___104 = sn9c102_i2c_write(cam, 114, 16); err = tmp___104 + err; tmp___105 = sn9c102_i2c_write(cam, 115, 80); err = tmp___105 + err; tmp___106 = sn9c102_i2c_write(cam, 116, 32); err = tmp___106 + err; tmp___107 = sn9c102_i2c_write(cam, 118, 1); err = tmp___107 + err; tmp___108 = sn9c102_i2c_write(cam, 119, 243); err = tmp___108 + err; tmp___109 = sn9c102_i2c_write(cam, 120, 144); err = tmp___109 + err; tmp___110 = sn9c102_i2c_write(cam, 121, 152); err = tmp___110 + err; tmp___111 = sn9c102_i2c_write(cam, 122, 152); err = tmp___111 + err; tmp___112 = sn9c102_i2c_write(cam, 123, 0); err = tmp___112 + err; tmp___113 = sn9c102_i2c_write(cam, 124, 56); err = tmp___113 + err; tmp___114 = sn9c102_i2c_write(cam, 125, 255); err = tmp___114 + err; goto ldv_24903; default: ; goto ldv_24903; } ldv_24903: ; return (err); } } static int ov7630_get_ctrl(struct sn9c102_device *cam , struct v4l2_control *ctrl ) { enum sn9c102_bridge bridge ; enum sn9c102_bridge tmp ; int err ; __s32 tmp___0 ; __s32 tmp___1 ; __s32 tmp___2 ; __s32 tmp___3 ; __s32 tmp___4 ; __s32 tmp___5 ; __s32 tmp___6 ; __s32 tmp___7 ; { tmp = sn9c102_get_bridge(cam); bridge = tmp; err = 0; switch (ctrl->id) { case 9963793U: tmp___0 = sn9c102_i2c_read(cam, 16); ctrl->value = tmp___0; if (tmp___0 < 0) { return (-5); } else { } goto ldv_24923; case 9963790U: ; if ((unsigned int )bridge == 8U || (unsigned int )bridge == 16U) { ctrl->value = sn9c102_pread_reg(cam, 5); } else { ctrl->value = sn9c102_pread_reg(cam, 7); } goto ldv_24923; case 9963791U: ctrl->value = sn9c102_pread_reg(cam, 6); goto ldv_24923; case 134217729U: ; if ((unsigned int )bridge == 8U || (unsigned int )bridge == 16U) { ctrl->value = sn9c102_pread_reg(cam, 7); } else { ctrl->value = sn9c102_pread_reg(cam, 5); } goto ldv_24923; case 9963795U: tmp___1 = sn9c102_i2c_read(cam, 0); ctrl->value = tmp___1; if (tmp___1 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 63; goto ldv_24923; case 9963789U: tmp___2 = sn9c102_i2c_read(cam, 12); ctrl->value = tmp___2; if (tmp___2 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 63; goto ldv_24923; case 9963792U: tmp___3 = sn9c102_i2c_read(cam, 13); ctrl->value = tmp___3; if (tmp___3 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 63; goto ldv_24923; case 9963794U: tmp___4 = sn9c102_i2c_read(cam, 19); ctrl->value = tmp___4; if (tmp___4 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 1; goto ldv_24923; case 9963797U: tmp___5 = sn9c102_i2c_read(cam, 117); ctrl->value = tmp___5; if (tmp___5 < 0) { return (-5); } else { } ctrl->value = (ctrl->value & 128) != 0; goto ldv_24923; case 134217732U: tmp___6 = sn9c102_i2c_read(cam, 20); ctrl->value = tmp___6; if (tmp___6 < 0) { return (-5); } else { } ctrl->value = (ctrl->value & 2) != 0; goto ldv_24923; case 134217733U: tmp___7 = sn9c102_i2c_read(cam, 45); ctrl->value = tmp___7; if (tmp___7 < 0) { return (-5); } else { } ctrl->value = (ctrl->value & 2) != 0; goto ldv_24923; default: ; return (-22); } ldv_24923: ; return (err != 0 ? -5 : 0); } } static int ov7630_set_ctrl(struct sn9c102_device *cam , struct v4l2_control const *ctrl ) { enum sn9c102_bridge bridge ; enum sn9c102_bridge tmp ; int err ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; int tmp___7 ; int tmp___8 ; int tmp___9 ; int tmp___10 ; int tmp___11 ; int tmp___12 ; { tmp = sn9c102_get_bridge(cam); bridge = tmp; err = 0; switch (ctrl->id) { case 9963793U: tmp___0 = sn9c102_i2c_write(cam, 16, (int )((u8 )ctrl->value)); err = tmp___0 + err; goto ldv_24942; case 9963790U: ; if ((unsigned int )bridge == 8U || (unsigned int )bridge == 16U) { tmp___1 = sn9c102_write_reg(cam, (int )((u8 )ctrl->value), 5); err = tmp___1 + err; } else { tmp___2 = sn9c102_write_reg(cam, (int )((u8 )ctrl->value), 7); err = tmp___2 + err; } goto ldv_24942; case 9963791U: tmp___3 = sn9c102_write_reg(cam, (int )((u8 )ctrl->value), 6); err = tmp___3 + err; goto ldv_24942; case 134217729U: ; if ((unsigned int )bridge == 8U || (unsigned int )bridge == 16U) { tmp___4 = sn9c102_write_reg(cam, (int )((u8 )ctrl->value), 7); err = tmp___4 + err; } else { tmp___5 = sn9c102_write_reg(cam, (int )((u8 )ctrl->value), 5); err = tmp___5 + err; } goto ldv_24942; case 9963795U: tmp___6 = sn9c102_i2c_write(cam, 0, (int )((u8 )ctrl->value)); err = tmp___6 + err; goto ldv_24942; case 9963789U: tmp___7 = sn9c102_i2c_write(cam, 12, (int )((u8 )ctrl->value)); err = tmp___7 + err; goto ldv_24942; case 9963792U: tmp___8 = sn9c102_i2c_write(cam, 13, (int )((u8 )ctrl->value)); err = tmp___8 + err; goto ldv_24942; case 9963794U: tmp___9 = sn9c102_i2c_write(cam, 19, (int )((u8 )((int )((signed char )ctrl->value) | (int )((signed char )(ctrl->value << 1))))); err = tmp___9 + err; goto ldv_24942; case 9963797U: tmp___10 = sn9c102_i2c_write(cam, 117, (int )((u8 )((int )((signed char )(ctrl->value << 7)) | 14))); err = tmp___10 + err; goto ldv_24942; case 134217732U: tmp___11 = sn9c102_i2c_write(cam, 20, (int )((u8 )ctrl->value) << 2U); err = tmp___11 + err; goto ldv_24942; case 134217733U: tmp___12 = sn9c102_i2c_write(cam, 45, (int )((u8 )ctrl->value) << 2U); err = tmp___12 + err; goto ldv_24942; default: ; return (-22); } ldv_24942: ; return (err != 0 ? -5 : 0); } } static int ov7630_set_crop(struct sn9c102_device *cam , struct v4l2_rect const *rect ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; int err ; u8 h_start ; u8 v_start ; enum sn9c102_bridge tmp___0 ; int tmp___1 ; int tmp___2 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; h_start = 0U; v_start = (unsigned int )((u8 )((int )((unsigned char )rect->top) - (int )((unsigned char )s->cropcap.bounds.top))) + 1U; tmp___0 = sn9c102_get_bridge(cam); switch ((unsigned int )tmp___0) { case 1U: ; case 2U: ; case 4U: h_start = (unsigned int )((u8 )((int )((unsigned char )rect->left) - (int )((unsigned char )s->cropcap.bounds.left))) + 1U; goto ldv_24965; case 8U: ; case 16U: h_start = (unsigned int )((u8 )((int )((unsigned char )rect->left) - (int )((unsigned char )s->cropcap.bounds.left))) + 4U; goto ldv_24965; default: ; goto ldv_24965; } ldv_24965: tmp___1 = sn9c102_write_reg(cam, (int )h_start, 18); err = tmp___1 + err; tmp___2 = sn9c102_write_reg(cam, (int )v_start, 19); err = tmp___2 + err; return (err); } } static int ov7630_set_pix_format(struct sn9c102_device *cam , struct v4l2_pix_format const *pix ) { int err ; enum sn9c102_bridge tmp ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; { err = 0; tmp = sn9c102_get_bridge(cam); switch ((unsigned int )tmp) { case 1U: ; case 2U: ; case 4U: ; if ((unsigned int )pix->pixelformat == 825770306U) { tmp___0 = sn9c102_write_reg(cam, 80, 25); err = tmp___0 + err; } else { tmp___1 = sn9c102_write_reg(cam, 32, 25); err = tmp___1 + err; } goto ldv_24977; case 8U: ; case 16U: ; if ((unsigned int )pix->pixelformat == 825770306U) { tmp___2 = sn9c102_write_reg(cam, 229, 23); err = tmp___2 + err; tmp___3 = sn9c102_i2c_write(cam, 17, 4); err = tmp___3 + err; } else { tmp___4 = sn9c102_write_reg(cam, 226, 23); err = tmp___4 + err; tmp___5 = sn9c102_i2c_write(cam, 17, 2); err = tmp___5 + err; } goto ldv_24977; default: ; goto ldv_24977; } ldv_24977: ; return (err); } } static struct sn9c102_sensor const ov7630 = {{'O', 'V', '7', '6', '3', '0', '\000'}, {'L', 'u', 'c', 'a', ' ', 'R', 'i', 's', 'o', 'l', 'i', 'a', ' ', '<', 'l', 'u', 'c', 'a', '.', 'r', 'i', 's', 'o', 'l', 'i', 'a', '@', 's', 't', 'u', 'd', 'i', 'o', '.', 'u', 'n', 'i', 'b', 'o', '.', 'i', 't', '>', '\000'}, 31, 3, 1, 0, 33U, & ov7630_init, {{9963795U, 1U, {'g', 'l', 'o', 'b', 'a', 'l', ' ', 'g', 'a', 'i', 'n', '\000'}, 0, 63, 1, 20, 0U, {0U, 0U}}, {9963793U, 1U, {'e', 'x', 'p', 'o', 's', 'u', 'r', 'e', '\000'}, 0, 255, 1, 96, 0U, {0U, 0U}}, {9963792U, 1U, {'w', 'h', 'i', 't', 'e', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', ' ', 'b', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', ':', ' ', 'r', 'e', 'd', '\000'}, 0, 63, 1, 32, 0U, {0U, 0U}}, {9963789U, 1U, {'w', 'h', 'i', 't', 'e', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', ' ', 'b', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', ':', ' ', 'b', 'l', 'u', 'e', '\000'}, 0, 63, 1, 32, 0U, {0U, 0U}}, {9963790U, 1U, {'r', 'e', 'd', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 127, 1, 32, 0U, {0U, 0U}}, {9963791U, 1U, {'b', 'l', 'u', 'e', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 127, 1, 32, 0U, {0U, 0U}}, {9963794U, 2U, {'a', 'u', 't', 'o', ' ', 'a', 'd', 'j', 'u', 's', 't', '\000'}, 0, 1, 1, 0, 0U, {0U, 0U}}, {9963797U, 2U, {'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', ' ', 'f', 'l', 'i', 'p', '\000'}, 0, 1, 1, 1, 0U, {0U, 0U}}, {134217729U, 1U, {'g', 'r', 'e', 'e', 'n', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 127, 1, 32, 0U, {0U, 0U}}, {134217733U, 2U, {'b', 'a', 'n', 'd', ' ', 'f', 'i', 'l', 't', 'e', 'r', '\000'}, 0, 1, 1, 0, 0U, {0U, 0U}}, {134217732U, 2U, {'r', 'g', 'b', ' ', 'g', 'a', 'm', 'm', 'a', '\000'}, 0, 1, 1, 0, 0U, {0U, 0U}}}, & ov7630_get_ctrl, & ov7630_set_ctrl, {0U, {0, 0, 640, 480}, {0, 0, 640, 480}, {0U, 0U}}, & ov7630_set_crop, {640U, 480U, 808532307U, 0U, 0U, 0U, 0U, 8U}, & ov7630_set_pix_format, {{0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}}, {0, 0, 0, 0}}; int sn9c102_probe_ov7630(struct sn9c102_device *cam ) { int pid ; int ver ; int err ; enum sn9c102_bridge tmp ; u8 _valreg[3U][2U] ; int tmp___0 ; u8 _valreg___0[4U][2U] ; int tmp___1 ; u8 _valreg___1[2U][2U] ; int tmp___2 ; u8 _valreg___2[6U][2U] ; int tmp___3 ; { err = 0; tmp = sn9c102_get_bridge(cam); switch ((unsigned int )tmp) { case 1U: ; case 2U: _valreg[0][0] = 1U; _valreg[0][1] = 1U; _valreg[1][0] = 0U; _valreg[1][1] = 1U; _valreg[2][0] = 40U; _valreg[2][1] = 23U; tmp___0 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 3); err = tmp___0; goto ldv_24994; case 4U: _valreg___0[0][0] = 9U; _valreg___0[0][1] = 1U; _valreg___0[1][0] = 66U; _valreg___0[1][1] = 1U; _valreg___0[2][0] = 40U; _valreg___0[2][1] = 23U; _valreg___0[3][0] = 68U; _valreg___0[3][1] = 2U; tmp___1 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg___0), 4); err = tmp___1; pid = sn9c102_i2c_try_read(cam, & ov7630, 10); if (err != 0 || pid < 0) { _valreg___1[0][0] = 1U; _valreg___1[0][1] = 1U; _valreg___1[1][0] = 0U; _valreg___1[1][1] = 1U; tmp___2 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg___1), 2); err = tmp___2 + err; } else { } goto ldv_24994; case 8U: ; case 16U: _valreg___2[0][0] = 1U; _valreg___2[0][1] = 241U; _valreg___2[1][0] = 0U; _valreg___2[1][1] = 241U; _valreg___2[2][0] = 41U; _valreg___2[2][1] = 1U; _valreg___2[3][0] = 116U; _valreg___2[3][1] = 2U; _valreg___2[4][0] = 14U; _valreg___2[4][1] = 1U; _valreg___2[5][0] = 68U; _valreg___2[5][1] = 1U; tmp___3 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg___2), 6); err = tmp___3; goto ldv_24994; default: ; goto ldv_24994; } ldv_24994: pid = sn9c102_i2c_try_read(cam, & ov7630, 10); ver = sn9c102_i2c_try_read(cam, & ov7630, 11); if ((err != 0 || pid < 0) || ver < 0) { return (-5); } else { } if (pid != 118 || ver != 49) { return (-19); } else { } sn9c102_attach_sensor(cam, & ov7630); return (0); } } void ldv_main6_sequence_infinite_withcheck_stateful(void) { int tmp ; int tmp___0 ; { LDV_IN_INTERRUPT = 1; ldv_initialize(); goto ldv_25030; ldv_25029: tmp = __VERIFIER_nondet_int(); switch (tmp) { default: ; goto ldv_25028; } ldv_25028: ; ldv_25030: tmp___0 = __VERIFIER_nondet_int(); if (tmp___0 != 0) { goto ldv_25029; } else { } ldv_check_final_state(); return; } } void ldv_mutex_lock_199(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_lock(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } void ldv_mutex_unlock_200(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_lock_201(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_mutex_of_device(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } int ldv_mutex_trylock_202(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___2 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_trylock(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_trylock_mutex_of_device(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_203(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_mutex_of_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_trylock_212(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_210(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_213(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_209(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_211(struct mutex *ldv_func_arg1 ) ; static int ov7660_init(struct sn9c102_device *cam ) { int err ; u8 _valreg[147U][2U] ; int tmp ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; int tmp___7 ; int tmp___8 ; int tmp___9 ; int tmp___10 ; int tmp___11 ; int tmp___12 ; int tmp___13 ; int tmp___14 ; int tmp___15 ; int tmp___16 ; int tmp___17 ; int tmp___18 ; int tmp___19 ; int tmp___20 ; int tmp___21 ; int tmp___22 ; int tmp___23 ; int tmp___24 ; int tmp___25 ; int tmp___26 ; int tmp___27 ; int tmp___28 ; int tmp___29 ; int tmp___30 ; int tmp___31 ; int tmp___32 ; int tmp___33 ; int tmp___34 ; int tmp___35 ; int tmp___36 ; int tmp___37 ; int tmp___38 ; int tmp___39 ; int tmp___40 ; int tmp___41 ; int tmp___42 ; int tmp___43 ; int tmp___44 ; int tmp___45 ; int tmp___46 ; int tmp___47 ; int tmp___48 ; int tmp___49 ; int tmp___50 ; int tmp___51 ; int tmp___52 ; int tmp___53 ; int tmp___54 ; int tmp___55 ; int tmp___56 ; int tmp___57 ; int tmp___58 ; int tmp___59 ; int tmp___60 ; int tmp___61 ; int tmp___62 ; int tmp___63 ; int tmp___64 ; int tmp___65 ; int tmp___66 ; int tmp___67 ; int tmp___68 ; int tmp___69 ; int tmp___70 ; int tmp___71 ; int tmp___72 ; int tmp___73 ; int tmp___74 ; int tmp___75 ; int tmp___76 ; int tmp___77 ; int tmp___78 ; int tmp___79 ; int tmp___80 ; int tmp___81 ; int tmp___82 ; int tmp___83 ; int tmp___84 ; int tmp___85 ; int tmp___86 ; int tmp___87 ; int tmp___88 ; int tmp___89 ; int tmp___90 ; int tmp___91 ; int tmp___92 ; int tmp___93 ; int tmp___94 ; int tmp___95 ; int tmp___96 ; int tmp___97 ; int tmp___98 ; int tmp___99 ; int tmp___100 ; int tmp___101 ; int tmp___102 ; int tmp___103 ; int tmp___104 ; int tmp___105 ; int tmp___106 ; int tmp___107 ; int tmp___108 ; int tmp___109 ; int tmp___110 ; int tmp___111 ; int tmp___112 ; int tmp___113 ; int tmp___114 ; int tmp___115 ; int tmp___116 ; int tmp___117 ; int tmp___118 ; int tmp___119 ; int tmp___120 ; int tmp___121 ; int tmp___122 ; int tmp___123 ; int tmp___124 ; int tmp___125 ; int tmp___126 ; int tmp___127 ; int tmp___128 ; int tmp___129 ; int tmp___130 ; int tmp___131 ; int tmp___132 ; int tmp___133 ; int tmp___134 ; int tmp___135 ; int tmp___136 ; int tmp___137 ; int tmp___138 ; int tmp___139 ; int tmp___140 ; int tmp___141 ; int tmp___142 ; int tmp___143 ; int tmp___144 ; int tmp___145 ; int tmp___146 ; int tmp___147 ; int tmp___148 ; int tmp___149 ; int tmp___150 ; int tmp___151 ; int tmp___152 ; int tmp___153 ; int tmp___154 ; int tmp___155 ; int tmp___156 ; int tmp___157 ; int tmp___158 ; int tmp___159 ; int tmp___160 ; int tmp___161 ; int tmp___162 ; int tmp___163 ; { err = 0; _valreg[0][0] = 64U; _valreg[0][1] = 2U; _valreg[1][0] = 0U; _valreg[1][1] = 3U; _valreg[2][0] = 26U; _valreg[2][1] = 4U; _valreg[3][0] = 3U; _valreg[3][1] = 16U; _valreg[4][0] = 8U; _valreg[4][1] = 20U; _valreg[5][0] = 32U; _valreg[5][1] = 23U; _valreg[6][0] = 139U; _valreg[6][1] = 24U; _valreg[7][0] = 0U; _valreg[7][1] = 25U; _valreg[8][0] = 29U; _valreg[8][1] = 26U; _valreg[9][0] = 16U; _valreg[9][1] = 27U; _valreg[10][0] = 2U; _valreg[10][1] = 28U; _valreg[11][0] = 3U; _valreg[11][1] = 29U; _valreg[12][0] = 15U; _valreg[12][1] = 30U; _valreg[13][0] = 12U; _valreg[13][1] = 31U; _valreg[14][0] = 0U; _valreg[14][1] = 32U; _valreg[15][0] = 41U; _valreg[15][1] = 33U; _valreg[16][0] = 64U; _valreg[16][1] = 34U; _valreg[17][0] = 84U; _valreg[17][1] = 35U; _valreg[18][0] = 102U; _valreg[18][1] = 36U; _valreg[19][0] = 118U; _valreg[19][1] = 37U; _valreg[20][0] = 133U; _valreg[20][1] = 38U; _valreg[21][0] = 148U; _valreg[21][1] = 39U; _valreg[22][0] = 161U; _valreg[22][1] = 40U; _valreg[23][0] = 174U; _valreg[23][1] = 41U; _valreg[24][0] = 187U; _valreg[24][1] = 42U; _valreg[25][0] = 199U; _valreg[25][1] = 43U; _valreg[26][0] = 211U; _valreg[26][1] = 44U; _valreg[27][0] = 222U; _valreg[27][1] = 45U; _valreg[28][0] = 234U; _valreg[28][1] = 46U; _valreg[29][0] = 244U; _valreg[29][1] = 47U; _valreg[30][0] = 255U; _valreg[30][1] = 48U; _valreg[31][0] = 0U; _valreg[31][1] = 63U; _valreg[32][0] = 199U; _valreg[32][1] = 64U; _valreg[33][0] = 1U; _valreg[33][1] = 65U; _valreg[34][0] = 68U; _valreg[34][1] = 66U; _valreg[35][0] = 0U; _valreg[35][1] = 67U; _valreg[36][0] = 68U; _valreg[36][1] = 68U; _valreg[37][0] = 0U; _valreg[37][1] = 69U; _valreg[38][0] = 68U; _valreg[38][1] = 70U; _valreg[39][0] = 0U; _valreg[39][1] = 71U; _valreg[40][0] = 199U; _valreg[40][1] = 72U; _valreg[41][0] = 1U; _valreg[41][1] = 73U; _valreg[42][0] = 199U; _valreg[42][1] = 74U; _valreg[43][0] = 1U; _valreg[43][1] = 75U; _valreg[44][0] = 199U; _valreg[44][1] = 76U; _valreg[45][0] = 1U; _valreg[45][1] = 77U; _valreg[46][0] = 68U; _valreg[46][1] = 78U; _valreg[47][0] = 0U; _valreg[47][1] = 79U; _valreg[48][0] = 68U; _valreg[48][1] = 80U; _valreg[49][0] = 0U; _valreg[49][1] = 81U; _valreg[50][0] = 68U; _valreg[50][1] = 82U; _valreg[51][0] = 0U; _valreg[51][1] = 83U; _valreg[52][0] = 199U; _valreg[52][1] = 84U; _valreg[53][0] = 1U; _valreg[53][1] = 85U; _valreg[54][0] = 199U; _valreg[54][1] = 86U; _valreg[55][0] = 1U; _valreg[55][1] = 87U; _valreg[56][0] = 199U; _valreg[56][1] = 88U; _valreg[57][0] = 1U; _valreg[57][1] = 89U; _valreg[58][0] = 68U; _valreg[58][1] = 90U; _valreg[59][0] = 0U; _valreg[59][1] = 91U; _valreg[60][0] = 68U; _valreg[60][1] = 92U; _valreg[61][0] = 0U; _valreg[61][1] = 93U; _valreg[62][0] = 68U; _valreg[62][1] = 94U; _valreg[63][0] = 0U; _valreg[63][1] = 95U; _valreg[64][0] = 199U; _valreg[64][1] = 96U; _valreg[65][0] = 1U; _valreg[65][1] = 97U; _valreg[66][0] = 199U; _valreg[66][1] = 98U; _valreg[67][0] = 1U; _valreg[67][1] = 99U; _valreg[68][0] = 199U; _valreg[68][1] = 100U; _valreg[69][0] = 1U; _valreg[69][1] = 101U; _valreg[70][0] = 68U; _valreg[70][1] = 102U; _valreg[71][0] = 0U; _valreg[71][1] = 103U; _valreg[72][0] = 68U; _valreg[72][1] = 104U; _valreg[73][0] = 0U; _valreg[73][1] = 105U; _valreg[74][0] = 68U; _valreg[74][1] = 106U; _valreg[75][0] = 0U; _valreg[75][1] = 107U; _valreg[76][0] = 199U; _valreg[76][1] = 108U; _valreg[77][0] = 1U; _valreg[77][1] = 109U; _valreg[78][0] = 199U; _valreg[78][1] = 110U; _valreg[79][0] = 1U; _valreg[79][1] = 111U; _valreg[80][0] = 199U; _valreg[80][1] = 112U; _valreg[81][0] = 1U; _valreg[81][1] = 113U; _valreg[82][0] = 68U; _valreg[82][1] = 114U; _valreg[83][0] = 0U; _valreg[83][1] = 115U; _valreg[84][0] = 68U; _valreg[84][1] = 116U; _valreg[85][0] = 0U; _valreg[85][1] = 117U; _valreg[86][0] = 68U; _valreg[86][1] = 118U; _valreg[87][0] = 0U; _valreg[87][1] = 119U; _valreg[88][0] = 199U; _valreg[88][1] = 120U; _valreg[89][0] = 1U; _valreg[89][1] = 121U; _valreg[90][0] = 199U; _valreg[90][1] = 122U; _valreg[91][0] = 1U; _valreg[91][1] = 123U; _valreg[92][0] = 199U; _valreg[92][1] = 124U; _valreg[93][0] = 1U; _valreg[93][1] = 125U; _valreg[94][0] = 68U; _valreg[94][1] = 126U; _valreg[95][0] = 0U; _valreg[95][1] = 127U; _valreg[96][0] = 20U; _valreg[96][1] = 132U; _valreg[97][0] = 0U; _valreg[97][1] = 133U; _valreg[98][0] = 39U; _valreg[98][1] = 134U; _valreg[99][0] = 0U; _valreg[99][1] = 135U; _valreg[100][0] = 7U; _valreg[100][1] = 136U; _valreg[101][0] = 0U; _valreg[101][1] = 137U; _valreg[102][0] = 236U; _valreg[102][1] = 138U; _valreg[103][0] = 15U; _valreg[103][1] = 139U; _valreg[104][0] = 216U; _valreg[104][1] = 140U; _valreg[105][0] = 15U; _valreg[105][1] = 141U; _valreg[106][0] = 61U; _valreg[106][1] = 142U; _valreg[107][0] = 0U; _valreg[107][1] = 143U; _valreg[108][0] = 61U; _valreg[108][1] = 144U; _valreg[109][0] = 0U; _valreg[109][1] = 145U; _valreg[110][0] = 205U; _valreg[110][1] = 146U; _valreg[111][0] = 15U; _valreg[111][1] = 147U; _valreg[112][0] = 247U; _valreg[112][1] = 148U; _valreg[113][0] = 15U; _valreg[113][1] = 149U; _valreg[114][0] = 12U; _valreg[114][1] = 150U; _valreg[115][0] = 0U; _valreg[115][1] = 151U; _valreg[116][0] = 0U; _valreg[116][1] = 152U; _valreg[117][0] = 102U; _valreg[117][1] = 153U; _valreg[118][0] = 5U; _valreg[118][1] = 154U; _valreg[119][0] = 0U; _valreg[119][1] = 155U; _valreg[120][0] = 4U; _valreg[120][1] = 156U; _valreg[121][0] = 0U; _valreg[121][1] = 157U; _valreg[122][0] = 8U; _valreg[122][1] = 158U; _valreg[123][0] = 0U; _valreg[123][1] = 159U; _valreg[124][0] = 45U; _valreg[124][1] = 192U; _valreg[125][0] = 45U; _valreg[125][1] = 193U; _valreg[126][0] = 58U; _valreg[126][1] = 194U; _valreg[127][0] = 5U; _valreg[127][1] = 195U; _valreg[128][0] = 4U; _valreg[128][1] = 196U; _valreg[129][0] = 63U; _valreg[129][1] = 197U; _valreg[130][0] = 0U; _valreg[130][1] = 198U; _valreg[131][0] = 0U; _valreg[131][1] = 199U; _valreg[132][0] = 80U; _valreg[132][1] = 200U; _valreg[133][0] = 60U; _valreg[133][1] = 201U; _valreg[134][0] = 40U; _valreg[134][1] = 202U; _valreg[135][0] = 216U; _valreg[135][1] = 203U; _valreg[136][0] = 20U; _valreg[136][1] = 204U; _valreg[137][0] = 236U; _valreg[137][1] = 205U; _valreg[138][0] = 50U; _valreg[138][1] = 206U; _valreg[139][0] = 221U; _valreg[139][1] = 207U; _valreg[140][0] = 50U; _valreg[140][1] = 208U; _valreg[141][0] = 221U; _valreg[141][1] = 209U; _valreg[142][0] = 106U; _valreg[142][1] = 210U; _valreg[143][0] = 80U; _valreg[143][1] = 211U; _valreg[144][0] = 0U; _valreg[144][1] = 212U; _valreg[145][0] = 0U; _valreg[145][1] = 213U; _valreg[146][0] = 0U; _valreg[146][1] = 214U; tmp = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 147); err = tmp; tmp___0 = sn9c102_i2c_write(cam, 18, 128); err = tmp___0 + err; tmp___1 = sn9c102_i2c_write(cam, 17, 9); err = tmp___1 + err; tmp___2 = sn9c102_i2c_write(cam, 0, 10); err = tmp___2 + err; tmp___3 = sn9c102_i2c_write(cam, 1, 128); err = tmp___3 + err; tmp___4 = sn9c102_i2c_write(cam, 2, 128); err = tmp___4 + err; tmp___5 = sn9c102_i2c_write(cam, 3, 0); err = tmp___5 + err; tmp___6 = sn9c102_i2c_write(cam, 4, 0); err = tmp___6 + err; tmp___7 = sn9c102_i2c_write(cam, 5, 8); err = tmp___7 + err; tmp___8 = sn9c102_i2c_write(cam, 6, 11); err = tmp___8 + err; tmp___9 = sn9c102_i2c_write(cam, 7, 0); err = tmp___9 + err; tmp___10 = sn9c102_i2c_write(cam, 8, 28); err = tmp___10 + err; tmp___11 = sn9c102_i2c_write(cam, 9, 1); err = tmp___11 + err; tmp___12 = sn9c102_i2c_write(cam, 10, 118); err = tmp___12 + err; tmp___13 = sn9c102_i2c_write(cam, 11, 96); err = tmp___13 + err; tmp___14 = sn9c102_i2c_write(cam, 12, 0); err = tmp___14 + err; tmp___15 = sn9c102_i2c_write(cam, 13, 8); err = tmp___15 + err; tmp___16 = sn9c102_i2c_write(cam, 14, 4); err = tmp___16 + err; tmp___17 = sn9c102_i2c_write(cam, 15, 111); err = tmp___17 + err; tmp___18 = sn9c102_i2c_write(cam, 16, 32); err = tmp___18 + err; tmp___19 = sn9c102_i2c_write(cam, 17, 3); err = tmp___19 + err; tmp___20 = sn9c102_i2c_write(cam, 18, 5); err = tmp___20 + err; tmp___21 = sn9c102_i2c_write(cam, 19, 199); err = tmp___21 + err; tmp___22 = sn9c102_i2c_write(cam, 20, 44); err = tmp___22 + err; tmp___23 = sn9c102_i2c_write(cam, 21, 0); err = tmp___23 + err; tmp___24 = sn9c102_i2c_write(cam, 22, 2); err = tmp___24 + err; tmp___25 = sn9c102_i2c_write(cam, 23, 16); err = tmp___25 + err; tmp___26 = sn9c102_i2c_write(cam, 24, 96); err = tmp___26 + err; tmp___27 = sn9c102_i2c_write(cam, 25, 2); err = tmp___27 + err; tmp___28 = sn9c102_i2c_write(cam, 26, 123); err = tmp___28 + err; tmp___29 = sn9c102_i2c_write(cam, 27, 2); err = tmp___29 + err; tmp___30 = sn9c102_i2c_write(cam, 28, 127); err = tmp___30 + err; tmp___31 = sn9c102_i2c_write(cam, 29, 162); err = tmp___31 + err; tmp___32 = sn9c102_i2c_write(cam, 30, 1); err = tmp___32 + err; tmp___33 = sn9c102_i2c_write(cam, 31, 14); err = tmp___33 + err; tmp___34 = sn9c102_i2c_write(cam, 32, 5); err = tmp___34 + err; tmp___35 = sn9c102_i2c_write(cam, 33, 5); err = tmp___35 + err; tmp___36 = sn9c102_i2c_write(cam, 34, 5); err = tmp___36 + err; tmp___37 = sn9c102_i2c_write(cam, 35, 5); err = tmp___37 + err; tmp___38 = sn9c102_i2c_write(cam, 36, 104); err = tmp___38 + err; tmp___39 = sn9c102_i2c_write(cam, 37, 88); err = tmp___39 + err; tmp___40 = sn9c102_i2c_write(cam, 38, 212); err = tmp___40 + err; tmp___41 = sn9c102_i2c_write(cam, 39, 128); err = tmp___41 + err; tmp___42 = sn9c102_i2c_write(cam, 40, 128); err = tmp___42 + err; tmp___43 = sn9c102_i2c_write(cam, 41, 48); err = tmp___43 + err; tmp___44 = sn9c102_i2c_write(cam, 42, 0); err = tmp___44 + err; tmp___45 = sn9c102_i2c_write(cam, 43, 0); err = tmp___45 + err; tmp___46 = sn9c102_i2c_write(cam, 44, 128); err = tmp___46 + err; tmp___47 = sn9c102_i2c_write(cam, 45, 0); err = tmp___47 + err; tmp___48 = sn9c102_i2c_write(cam, 46, 0); err = tmp___48 + err; tmp___49 = sn9c102_i2c_write(cam, 47, 14); err = tmp___49 + err; tmp___50 = sn9c102_i2c_write(cam, 48, 8); err = tmp___50 + err; tmp___51 = sn9c102_i2c_write(cam, 49, 48); err = tmp___51 + err; tmp___52 = sn9c102_i2c_write(cam, 50, 180); err = tmp___52 + err; tmp___53 = sn9c102_i2c_write(cam, 51, 0); err = tmp___53 + err; tmp___54 = sn9c102_i2c_write(cam, 52, 7); err = tmp___54 + err; tmp___55 = sn9c102_i2c_write(cam, 53, 132); err = tmp___55 + err; tmp___56 = sn9c102_i2c_write(cam, 54, 0); err = tmp___56 + err; tmp___57 = sn9c102_i2c_write(cam, 55, 12); err = tmp___57 + err; tmp___58 = sn9c102_i2c_write(cam, 56, 2); err = tmp___58 + err; tmp___59 = sn9c102_i2c_write(cam, 57, 67); err = tmp___59 + err; tmp___60 = sn9c102_i2c_write(cam, 58, 0); err = tmp___60 + err; tmp___61 = sn9c102_i2c_write(cam, 59, 10); err = tmp___61 + err; tmp___62 = sn9c102_i2c_write(cam, 60, 108); err = tmp___62 + err; tmp___63 = sn9c102_i2c_write(cam, 61, 153); err = tmp___63 + err; tmp___64 = sn9c102_i2c_write(cam, 62, 14); err = tmp___64 + err; tmp___65 = sn9c102_i2c_write(cam, 63, 65); err = tmp___65 + err; tmp___66 = sn9c102_i2c_write(cam, 64, 193); err = tmp___66 + err; tmp___67 = sn9c102_i2c_write(cam, 65, 34); err = tmp___67 + err; tmp___68 = sn9c102_i2c_write(cam, 66, 8); err = tmp___68 + err; tmp___69 = sn9c102_i2c_write(cam, 67, 240); err = tmp___69 + err; tmp___70 = sn9c102_i2c_write(cam, 68, 16); err = tmp___70 + err; tmp___71 = sn9c102_i2c_write(cam, 69, 120); err = tmp___71 + err; tmp___72 = sn9c102_i2c_write(cam, 70, 168); err = tmp___72 + err; tmp___73 = sn9c102_i2c_write(cam, 71, 96); err = tmp___73 + err; tmp___74 = sn9c102_i2c_write(cam, 72, 128); err = tmp___74 + err; tmp___75 = sn9c102_i2c_write(cam, 73, 0); err = tmp___75 + err; tmp___76 = sn9c102_i2c_write(cam, 74, 0); err = tmp___76 + err; tmp___77 = sn9c102_i2c_write(cam, 75, 0); err = tmp___77 + err; tmp___78 = sn9c102_i2c_write(cam, 76, 0); err = tmp___78 + err; tmp___79 = sn9c102_i2c_write(cam, 77, 0); err = tmp___79 + err; tmp___80 = sn9c102_i2c_write(cam, 78, 0); err = tmp___80 + err; tmp___81 = sn9c102_i2c_write(cam, 79, 70); err = tmp___81 + err; tmp___82 = sn9c102_i2c_write(cam, 80, 54); err = tmp___82 + err; tmp___83 = sn9c102_i2c_write(cam, 81, 15); err = tmp___83 + err; tmp___84 = sn9c102_i2c_write(cam, 82, 23); err = tmp___84 + err; tmp___85 = sn9c102_i2c_write(cam, 83, 127); err = tmp___85 + err; tmp___86 = sn9c102_i2c_write(cam, 84, 150); err = tmp___86 + err; tmp___87 = sn9c102_i2c_write(cam, 85, 64); err = tmp___87 + err; tmp___88 = sn9c102_i2c_write(cam, 86, 64); err = tmp___88 + err; tmp___89 = sn9c102_i2c_write(cam, 87, 64); err = tmp___89 + err; tmp___90 = sn9c102_i2c_write(cam, 88, 15); err = tmp___90 + err; tmp___91 = sn9c102_i2c_write(cam, 89, 186); err = tmp___91 + err; tmp___92 = sn9c102_i2c_write(cam, 90, 154); err = tmp___92 + err; tmp___93 = sn9c102_i2c_write(cam, 91, 34); err = tmp___93 + err; tmp___94 = sn9c102_i2c_write(cam, 92, 185); err = tmp___94 + err; tmp___95 = sn9c102_i2c_write(cam, 93, 155); err = tmp___95 + err; tmp___96 = sn9c102_i2c_write(cam, 94, 16); err = tmp___96 + err; tmp___97 = sn9c102_i2c_write(cam, 95, 240); err = tmp___97 + err; tmp___98 = sn9c102_i2c_write(cam, 96, 5); err = tmp___98 + err; tmp___99 = sn9c102_i2c_write(cam, 97, 96); err = tmp___99 + err; tmp___100 = sn9c102_i2c_write(cam, 98, 0); err = tmp___100 + err; tmp___101 = sn9c102_i2c_write(cam, 99, 0); err = tmp___101 + err; tmp___102 = sn9c102_i2c_write(cam, 100, 80); err = tmp___102 + err; tmp___103 = sn9c102_i2c_write(cam, 101, 48); err = tmp___103 + err; tmp___104 = sn9c102_i2c_write(cam, 102, 0); err = tmp___104 + err; tmp___105 = sn9c102_i2c_write(cam, 103, 128); err = tmp___105 + err; tmp___106 = sn9c102_i2c_write(cam, 104, 122); err = tmp___106 + err; tmp___107 = sn9c102_i2c_write(cam, 105, 144); err = tmp___107 + err; tmp___108 = sn9c102_i2c_write(cam, 106, 128); err = tmp___108 + err; tmp___109 = sn9c102_i2c_write(cam, 107, 10); err = tmp___109 + err; tmp___110 = sn9c102_i2c_write(cam, 108, 48); err = tmp___110 + err; tmp___111 = sn9c102_i2c_write(cam, 109, 72); err = tmp___111 + err; tmp___112 = sn9c102_i2c_write(cam, 110, 128); err = tmp___112 + err; tmp___113 = sn9c102_i2c_write(cam, 111, 116); err = tmp___113 + err; tmp___114 = sn9c102_i2c_write(cam, 112, 100); err = tmp___114 + err; tmp___115 = sn9c102_i2c_write(cam, 113, 96); err = tmp___115 + err; tmp___116 = sn9c102_i2c_write(cam, 114, 92); err = tmp___116 + err; tmp___117 = sn9c102_i2c_write(cam, 115, 88); err = tmp___117 + err; tmp___118 = sn9c102_i2c_write(cam, 116, 84); err = tmp___118 + err; tmp___119 = sn9c102_i2c_write(cam, 117, 76); err = tmp___119 + err; tmp___120 = sn9c102_i2c_write(cam, 118, 64); err = tmp___120 + err; tmp___121 = sn9c102_i2c_write(cam, 119, 56); err = tmp___121 + err; tmp___122 = sn9c102_i2c_write(cam, 120, 52); err = tmp___122 + err; tmp___123 = sn9c102_i2c_write(cam, 121, 48); err = tmp___123 + err; tmp___124 = sn9c102_i2c_write(cam, 122, 47); err = tmp___124 + err; tmp___125 = sn9c102_i2c_write(cam, 123, 43); err = tmp___125 + err; tmp___126 = sn9c102_i2c_write(cam, 124, 3); err = tmp___126 + err; tmp___127 = sn9c102_i2c_write(cam, 125, 7); err = tmp___127 + err; tmp___128 = sn9c102_i2c_write(cam, 126, 23); err = tmp___128 + err; tmp___129 = sn9c102_i2c_write(cam, 127, 52); err = tmp___129 + err; tmp___130 = sn9c102_i2c_write(cam, 128, 65); err = tmp___130 + err; tmp___131 = sn9c102_i2c_write(cam, 129, 77); err = tmp___131 + err; tmp___132 = sn9c102_i2c_write(cam, 130, 88); err = tmp___132 + err; tmp___133 = sn9c102_i2c_write(cam, 131, 99); err = tmp___133 + err; tmp___134 = sn9c102_i2c_write(cam, 132, 110); err = tmp___134 + err; tmp___135 = sn9c102_i2c_write(cam, 133, 119); err = tmp___135 + err; tmp___136 = sn9c102_i2c_write(cam, 134, 135); err = tmp___136 + err; tmp___137 = sn9c102_i2c_write(cam, 135, 149); err = tmp___137 + err; tmp___138 = sn9c102_i2c_write(cam, 136, 175); err = tmp___138 + err; tmp___139 = sn9c102_i2c_write(cam, 137, 199); err = tmp___139 + err; tmp___140 = sn9c102_i2c_write(cam, 138, 223); err = tmp___140 + err; tmp___141 = sn9c102_i2c_write(cam, 139, 153); err = tmp___141 + err; tmp___142 = sn9c102_i2c_write(cam, 140, 153); err = tmp___142 + err; tmp___143 = sn9c102_i2c_write(cam, 141, 207); err = tmp___143 + err; tmp___144 = sn9c102_i2c_write(cam, 142, 32); err = tmp___144 + err; tmp___145 = sn9c102_i2c_write(cam, 143, 38); err = tmp___145 + err; tmp___146 = sn9c102_i2c_write(cam, 144, 16); err = tmp___146 + err; tmp___147 = sn9c102_i2c_write(cam, 145, 12); err = tmp___147 + err; tmp___148 = sn9c102_i2c_write(cam, 146, 37); err = tmp___148 + err; tmp___149 = sn9c102_i2c_write(cam, 147, 0); err = tmp___149 + err; tmp___150 = sn9c102_i2c_write(cam, 148, 80); err = tmp___150 + err; tmp___151 = sn9c102_i2c_write(cam, 149, 80); err = tmp___151 + err; tmp___152 = sn9c102_i2c_write(cam, 150, 0); err = tmp___152 + err; tmp___153 = sn9c102_i2c_write(cam, 151, 1); err = tmp___153 + err; tmp___154 = sn9c102_i2c_write(cam, 152, 16); err = tmp___154 + err; tmp___155 = sn9c102_i2c_write(cam, 153, 64); err = tmp___155 + err; tmp___156 = sn9c102_i2c_write(cam, 154, 64); err = tmp___156 + err; tmp___157 = sn9c102_i2c_write(cam, 155, 32); err = tmp___157 + err; tmp___158 = sn9c102_i2c_write(cam, 156, 0); err = tmp___158 + err; tmp___159 = sn9c102_i2c_write(cam, 157, 153); err = tmp___159 + err; tmp___160 = sn9c102_i2c_write(cam, 158, 127); err = tmp___160 + err; tmp___161 = sn9c102_i2c_write(cam, 159, 0); err = tmp___161 + err; tmp___162 = sn9c102_i2c_write(cam, 160, 0); err = tmp___162 + err; tmp___163 = sn9c102_i2c_write(cam, 161, 0); err = tmp___163 + err; return (err); } } static int ov7660_get_ctrl(struct sn9c102_device *cam , struct v4l2_control *ctrl ) { int err ; __s32 tmp ; __s32 tmp___0 ; __s32 tmp___1 ; __s32 tmp___2 ; __s32 tmp___3 ; __s32 tmp___4 ; __s32 tmp___5 ; __s32 tmp___6 ; { err = 0; switch (ctrl->id) { case 9963793U: tmp = sn9c102_i2c_read(cam, 16); ctrl->value = tmp; if (tmp < 0) { return (-5); } else { } goto ldv_24907; case 9963789U: tmp___0 = sn9c102_read_reg(cam, 2); ctrl->value = tmp___0; if (tmp___0 < 0) { return (-5); } else { } ctrl->value = (ctrl->value & 4) != 0; goto ldv_24907; case 9963790U: tmp___1 = sn9c102_read_reg(cam, 5); ctrl->value = tmp___1; if (tmp___1 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 127; goto ldv_24907; case 9963791U: tmp___2 = sn9c102_read_reg(cam, 6); ctrl->value = tmp___2; if (tmp___2 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 127; goto ldv_24907; case 134217729U: tmp___3 = sn9c102_read_reg(cam, 7); ctrl->value = tmp___3; if (tmp___3 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 127; goto ldv_24907; case 134217733U: tmp___4 = sn9c102_i2c_read(cam, 59); ctrl->value = tmp___4; if (tmp___4 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 8; goto ldv_24907; case 9963795U: tmp___5 = sn9c102_i2c_read(cam, 0); ctrl->value = tmp___5; if (tmp___5 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 31; goto ldv_24907; case 9963794U: tmp___6 = sn9c102_i2c_read(cam, 19); ctrl->value = tmp___6; if (tmp___6 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 1; goto ldv_24907; default: ; return (-22); } ldv_24907: ; return (err != 0 ? -5 : 0); } } static int ov7660_set_ctrl(struct sn9c102_device *cam , struct v4l2_control const *ctrl ) { int err ; int tmp ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; { err = 0; switch (ctrl->id) { case 9963793U: tmp = sn9c102_i2c_write(cam, 16, (int )((u8 )ctrl->value)); err = tmp + err; goto ldv_24922; case 9963789U: tmp___0 = sn9c102_write_reg(cam, (int )((u8 )((int )((signed char )(ctrl->value << 2)) | 67)), 2); err = tmp___0 + err; goto ldv_24922; case 9963790U: tmp___1 = sn9c102_write_reg(cam, (int )((u8 )ctrl->value), 5); err = tmp___1 + err; goto ldv_24922; case 9963791U: tmp___2 = sn9c102_write_reg(cam, (int )((u8 )ctrl->value), 6); err = tmp___2 + err; goto ldv_24922; case 134217729U: tmp___3 = sn9c102_write_reg(cam, (int )((u8 )ctrl->value), 7); err = tmp___3 + err; goto ldv_24922; case 134217733U: tmp___4 = sn9c102_i2c_write(cam, (int )((u8 )ctrl->value) << 3U, 59); err = tmp___4 + err; goto ldv_24922; case 9963795U: tmp___5 = sn9c102_i2c_write(cam, 0, (int )((unsigned int )((u8 )ctrl->value) + 96U)); err = tmp___5 + err; goto ldv_24922; case 9963794U: tmp___6 = sn9c102_i2c_write(cam, 19, (int )((u8 )((int )((signed char )((unsigned int )((unsigned char )ctrl->value) * 7U)) | -64))); err = tmp___6 + err; goto ldv_24922; default: ; return (-22); } ldv_24922: ; return (err != 0 ? -5 : 0); } } static int ov7660_set_crop(struct sn9c102_device *cam , struct v4l2_rect const *rect ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; int err ; u8 h_start ; u8 v_start ; int tmp___0 ; int tmp___1 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; h_start = (unsigned int )((u8 )((int )((unsigned char )rect->left) - (int )((unsigned char )s->cropcap.bounds.left))) + 1U; v_start = (unsigned int )((u8 )((int )((unsigned char )rect->top) - (int )((unsigned char )s->cropcap.bounds.top))) + 1U; tmp___0 = sn9c102_write_reg(cam, (int )h_start, 18); err = tmp___0 + err; tmp___1 = sn9c102_write_reg(cam, (int )v_start, 19); err = tmp___1 + err; return (err); } } static int ov7660_set_pix_format(struct sn9c102_device *cam , struct v4l2_pix_format const *pix ) { int r0 ; int err ; int tmp ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; { err = 0; r0 = sn9c102_pread_reg(cam, 1); if ((unsigned int )pix->pixelformat == 1195724874U) { tmp = sn9c102_write_reg(cam, (int )((u8 )((int )((signed char )r0) | 64)), 1); err = tmp + err; tmp___0 = sn9c102_write_reg(cam, 162, 23); err = tmp___0 + err; tmp___1 = sn9c102_i2c_write(cam, 17, 0); err = tmp___1 + err; } else { tmp___2 = sn9c102_write_reg(cam, (int )((u8 )((int )((signed char )r0) | 64)), 1); err = tmp___2 + err; tmp___3 = sn9c102_write_reg(cam, 162, 23); err = tmp___3 + err; tmp___4 = sn9c102_i2c_write(cam, 17, 13); err = tmp___4 + err; } return (err); } } static struct sn9c102_sensor const ov7660 = {{'O', 'V', '7', '6', '6', '0', '\000'}, {'L', 'u', 'c', 'a', ' ', 'R', 'i', 's', 'o', 'l', 'i', 'a', ' ', '<', 'l', 'u', 'c', 'a', '.', 'r', 'i', 's', 'o', 'l', 'i', 'a', '@', 's', 't', 'u', 'd', 'i', 'o', '.', 'u', 'n', 'i', 'b', 'o', '.', 'i', 't', '>', '\000'}, 24, 3, 1, 0, 33U, & ov7660_init, {{9963795U, 1U, {'g', 'l', 'o', 'b', 'a', 'l', ' ', 'g', 'a', 'i', 'n', '\000'}, 0, 31, 1, 9, 0U, {0U, 0U}}, {9963793U, 1U, {'e', 'x', 'p', 'o', 's', 'u', 'r', 'e', '\000'}, 0, 255, 1, 39, 0U, {0U, 0U}}, {9963789U, 2U, {'n', 'i', 'g', 'h', 't', ' ', 'm', 'o', 'd', 'e', '\000'}, 0, 1, 1, 0, 0U, {0U, 0U}}, {9963790U, 1U, {'r', 'e', 'd', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 127, 1, 20, 0U, {0U, 0U}}, {9963791U, 1U, {'b', 'l', 'u', 'e', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 127, 1, 20, 0U, {0U, 0U}}, {9963794U, 2U, {'a', 'u', 't', 'o', ' ', 'a', 'd', 'j', 'u', 's', 't', '\000'}, 0, 1, 1, 1, 0U, {0U, 0U}}, {134217729U, 1U, {'g', 'r', 'e', 'e', 'n', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 127, 1, 20, 0U, {0U, 0U}}, {134217733U, 2U, {'b', 'a', 'n', 'd', ' ', 'f', 'i', 'l', 't', 'e', 'r', '\000'}, 0, 1, 1, 0, 0U, {0U, 0U}}}, & ov7660_get_ctrl, & ov7660_set_ctrl, {0U, {0, 0, 640, 480}, {0, 0, 640, 480}, {0U, 0U}}, & ov7660_set_crop, {640U, 480U, 1195724874U, 0U, 0U, 0U, 0U, 8U}, & ov7660_set_pix_format, {{0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}}, {0, 0, 0, 0}}; int sn9c102_probe_ov7660(struct sn9c102_device *cam ) { int pid ; int ver ; int err ; u8 _valreg[5U][2U] ; int tmp ; { _valreg[0][0] = 1U; _valreg[0][1] = 241U; _valreg[1][0] = 0U; _valreg[1][1] = 241U; _valreg[2][0] = 1U; _valreg[2][1] = 1U; _valreg[3][0] = 0U; _valreg[3][1] = 1U; _valreg[4][0] = 40U; _valreg[4][1] = 23U; tmp = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 5); err = tmp; pid = sn9c102_i2c_try_read(cam, & ov7660, 10); ver = sn9c102_i2c_try_read(cam, & ov7660, 11); if ((err != 0 || pid < 0) || ver < 0) { return (-5); } else { } if (pid != 118 || ver != 96) { return (-19); } else { } sn9c102_attach_sensor(cam, & ov7660); return (0); } } void ldv_main7_sequence_infinite_withcheck_stateful(void) { int tmp ; int tmp___0 ; { LDV_IN_INTERRUPT = 1; ldv_initialize(); goto ldv_24975; ldv_24974: tmp = __VERIFIER_nondet_int(); switch (tmp) { default: ; goto ldv_24973; } ldv_24973: ; ldv_24975: tmp___0 = __VERIFIER_nondet_int(); if (tmp___0 != 0) { goto ldv_24974; } else { } ldv_check_final_state(); return; } } void ldv_mutex_lock_209(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_lock(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } void ldv_mutex_unlock_210(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_lock_211(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_mutex_of_device(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } int ldv_mutex_trylock_212(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___2 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_trylock(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_trylock_mutex_of_device(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_213(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_mutex_of_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_trylock_222(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_220(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_223(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_219(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_221(struct mutex *ldv_func_arg1 ) ; extern void msleep(unsigned int ) ; static int pas106b_init(struct sn9c102_device *cam ) { int err ; u8 _valreg[6U][2U] ; int tmp ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; int tmp___7 ; int tmp___8 ; { err = 0; _valreg[0][0] = 0U; _valreg[0][1] = 16U; _valreg[1][0] = 0U; _valreg[1][1] = 17U; _valreg[2][0] = 0U; _valreg[2][1] = 20U; _valreg[3][0] = 32U; _valreg[3][1] = 23U; _valreg[4][0] = 32U; _valreg[4][1] = 25U; _valreg[5][0] = 9U; _valreg[5][1] = 24U; tmp = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 6); err = tmp; tmp___0 = sn9c102_i2c_write(cam, 2, 12); err = tmp___0 + err; tmp___1 = sn9c102_i2c_write(cam, 5, 90); err = tmp___1 + err; tmp___2 = sn9c102_i2c_write(cam, 6, 136); err = tmp___2 + err; tmp___3 = sn9c102_i2c_write(cam, 7, 128); err = tmp___3 + err; tmp___4 = sn9c102_i2c_write(cam, 16, 6); err = tmp___4 + err; tmp___5 = sn9c102_i2c_write(cam, 17, 6); err = tmp___5 + err; tmp___6 = sn9c102_i2c_write(cam, 18, 0); err = tmp___6 + err; tmp___7 = sn9c102_i2c_write(cam, 20, 2); err = tmp___7 + err; tmp___8 = sn9c102_i2c_write(cam, 19, 1); err = tmp___8 + err; msleep(400U); return (err); } } static int pas106b_get_ctrl(struct sn9c102_device *cam , struct v4l2_control *ctrl ) { int r1 ; int tmp ; int r2 ; int tmp___0 ; __s32 tmp___1 ; __s32 tmp___2 ; __s32 tmp___3 ; __s32 tmp___4 ; __s32 tmp___5 ; __s32 tmp___6 ; { switch (ctrl->id) { case 9963793U: tmp = sn9c102_i2c_read(cam, 3); r1 = tmp; tmp___0 = sn9c102_i2c_read(cam, 4); r2 = tmp___0; if (r1 < 0 || r2 < 0) { return (-5); } else { } ctrl->value = (r1 << 4) | (r2 & 15); return (0); case 9963790U: tmp___1 = sn9c102_i2c_read(cam, 12); ctrl->value = tmp___1; if (tmp___1 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 31; return (0); case 9963791U: tmp___2 = sn9c102_i2c_read(cam, 9); ctrl->value = tmp___2; if (tmp___2 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 31; return (0); case 9963795U: tmp___3 = sn9c102_i2c_read(cam, 14); ctrl->value = tmp___3; if (tmp___3 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 31; return (0); case 9963777U: tmp___4 = sn9c102_i2c_read(cam, 15); ctrl->value = tmp___4; if (tmp___4 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 7; return (0); case 134217729U: tmp___5 = sn9c102_i2c_read(cam, 10); ctrl->value = tmp___5; if (tmp___5 < 0) { return (-5); } else { } ctrl->value = (ctrl->value & 31) << 1; return (0); case 134217728U: tmp___6 = sn9c102_i2c_read(cam, 8); ctrl->value = tmp___6; if (tmp___6 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 248; return (0); default: ; return (-22); } } } static int pas106b_set_ctrl(struct sn9c102_device *cam , struct v4l2_control const *ctrl ) { int err ; int tmp ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; int tmp___7 ; int tmp___8 ; { err = 0; switch (ctrl->id) { case 9963793U: tmp = sn9c102_i2c_write(cam, 3, (int )((u8 )(ctrl->value >> 4))); err = tmp + err; tmp___0 = sn9c102_i2c_write(cam, 4, (int )((u8 )ctrl->value) & 15); err = tmp___0 + err; goto ldv_24921; case 9963790U: tmp___1 = sn9c102_i2c_write(cam, 12, (int )((u8 )ctrl->value)); err = tmp___1 + err; goto ldv_24921; case 9963791U: tmp___2 = sn9c102_i2c_write(cam, 9, (int )((u8 )ctrl->value)); err = tmp___2 + err; goto ldv_24921; case 9963795U: tmp___3 = sn9c102_i2c_write(cam, 14, (int )((u8 )ctrl->value)); err = tmp___3 + err; goto ldv_24921; case 9963777U: tmp___4 = sn9c102_i2c_write(cam, 15, (int )((u8 )ctrl->value)); err = tmp___4 + err; goto ldv_24921; case 134217729U: tmp___5 = sn9c102_i2c_write(cam, 10, (int )((u8 )(ctrl->value >> 1))); err = tmp___5 + err; tmp___6 = sn9c102_i2c_write(cam, 11, (int )((u8 )(ctrl->value >> 1))); err = tmp___6 + err; goto ldv_24921; case 134217728U: tmp___7 = sn9c102_i2c_write(cam, 8, (int )((u8 )ctrl->value) << 3U); err = tmp___7 + err; goto ldv_24921; default: ; return (-22); } ldv_24921: tmp___8 = sn9c102_i2c_write(cam, 19, 1); err = tmp___8 + err; return (err != 0 ? -5 : 0); } } static int pas106b_set_crop(struct sn9c102_device *cam , struct v4l2_rect const *rect ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; int err ; u8 h_start ; u8 v_start ; int tmp___0 ; int tmp___1 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; h_start = (unsigned int )((u8 )((int )((unsigned char )rect->left) - (int )((unsigned char )s->cropcap.bounds.left))) + 4U; v_start = (unsigned int )((u8 )((int )((unsigned char )rect->top) - (int )((unsigned char )s->cropcap.bounds.top))) + 3U; tmp___0 = sn9c102_write_reg(cam, (int )h_start, 18); err = tmp___0 + err; tmp___1 = sn9c102_write_reg(cam, (int )v_start, 19); err = tmp___1 + err; return (err); } } static int pas106b_set_pix_format(struct sn9c102_device *cam , struct v4l2_pix_format const *pix ) { int err ; int tmp ; int tmp___0 ; { err = 0; if ((unsigned int )pix->pixelformat == 808532307U) { tmp = sn9c102_write_reg(cam, 44, 23); err = tmp + err; } else { tmp___0 = sn9c102_write_reg(cam, 32, 23); err = tmp___0 + err; } return (err); } } static struct sn9c102_sensor const pas106b = {{'P', 'A', 'S', '1', '0', '6', 'B', '\000'}, {'L', 'u', 'c', 'a', ' ', 'R', 'i', 's', 'o', 'l', 'i', 'a', ' ', '<', 'l', 'u', 'c', 'a', '.', 'r', 'i', 's', 'o', 'l', 'i', 'a', '@', 's', 't', 'u', 'd', 'i', 'o', '.', 'u', 'n', 'i', 'b', 'o', '.', 'i', 't', '>', '\000'}, 3, 3, 3, 0, 64U, & pas106b_init, {{9963793U, 1U, {'e', 'x', 'p', 'o', 's', 'u', 'r', 'e', '\000'}, 293, 4095, 1, 320, 0U, {0U, 0U}}, {9963795U, 1U, {'g', 'l', 'o', 'b', 'a', 'l', ' ', 'g', 'a', 'i', 'n', '\000'}, 0, 31, 1, 13, 0U, {0U, 0U}}, {9963777U, 1U, {'c', 'o', 'n', 't', 'r', 'a', 's', 't', '\000'}, 0, 7, 1, 0, 0U, {0U, 0U}}, {9963790U, 1U, {'r', 'e', 'd', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 31, 1, 4, 0U, {0U, 0U}}, {9963791U, 1U, {'b', 'l', 'u', 'e', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 31, 1, 6, 0U, {0U, 0U}}, {134217729U, 1U, {'g', 'r', 'e', 'e', 'n', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 62, 2, 2, 0U, {0U, 0U}}, {134217728U, 1U, {'D', 'A', 'C', ' ', 'm', 'a', 'g', 'n', 'i', 't', 'u', 'd', 'e', '\000'}, 0, 31, 1, 1, 0U, {0U, 0U}}}, & pas106b_get_ctrl, & pas106b_set_ctrl, {0U, {0, 0, 352, 288}, {0, 0, 352, 288}, {0U, 0U}}, & pas106b_set_crop, {352U, 288U, 825770306U, 0U, 0U, 0U, 0U, 8U}, & pas106b_set_pix_format, {{0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}}, {0, 0, 0, 0}}; int sn9c102_probe_pas106b(struct sn9c102_device *cam ) { int r0 ; int r1 ; unsigned int pid ; u8 _valreg[3U][2U] ; int tmp ; { r0 = 0; r1 = 0; pid = 0U; _valreg[0][0] = 1U; _valreg[0][1] = 1U; _valreg[1][0] = 0U; _valreg[1][1] = 1U; _valreg[2][0] = 40U; _valreg[2][1] = 23U; tmp = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 3); if (tmp != 0) { return (-5); } else { } r0 = sn9c102_i2c_try_read(cam, & pas106b, 0); r1 = sn9c102_i2c_try_read(cam, & pas106b, 1); if (r0 < 0 || r1 < 0) { return (-5); } else { } pid = (unsigned int )((r0 << 11) | ((r1 & 240) >> 4)); if (pid != 7U) { return (-19); } else { } sn9c102_attach_sensor(cam, & pas106b); return (0); } } void ldv_main8_sequence_infinite_withcheck_stateful(void) { int tmp ; int tmp___0 ; { LDV_IN_INTERRUPT = 1; ldv_initialize(); goto ldv_24972; ldv_24971: tmp = __VERIFIER_nondet_int(); switch (tmp) { default: ; goto ldv_24970; } ldv_24970: ; ldv_24972: tmp___0 = __VERIFIER_nondet_int(); if (tmp___0 != 0) { goto ldv_24971; } else { } ldv_check_final_state(); return; } } void ldv_mutex_lock_219(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_lock(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } void ldv_mutex_unlock_220(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_lock_221(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_mutex_of_device(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } int ldv_mutex_trylock_222(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___2 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_trylock(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_trylock_mutex_of_device(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_223(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_mutex_of_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_trylock_232(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_230(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_233(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_229(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_231(struct mutex *ldv_func_arg1 ) ; static int pas202bcb_init(struct sn9c102_device *cam ) { int err ; enum sn9c102_bridge tmp ; u8 _valreg[6U][2U] ; int tmp___0 ; u8 _valreg___0[33U][2U] ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; int tmp___7 ; int tmp___8 ; int tmp___9 ; int tmp___10 ; { err = 0; tmp = sn9c102_get_bridge(cam); switch ((unsigned int )tmp) { case 1U: ; case 2U: _valreg[0][0] = 0U; _valreg[0][1] = 16U; _valreg[1][0] = 0U; _valreg[1][1] = 17U; _valreg[2][0] = 0U; _valreg[2][1] = 20U; _valreg[3][0] = 32U; _valreg[3][1] = 23U; _valreg[4][0] = 48U; _valreg[4][1] = 25U; _valreg[5][0] = 9U; _valreg[5][1] = 24U; tmp___0 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 6); err = tmp___0; goto ldv_24903; case 4U: _valreg___0[0][0] = 0U; _valreg___0[0][1] = 2U; _valreg___0[1][0] = 0U; _valreg___0[1][1] = 3U; _valreg___0[2][0] = 26U; _valreg___0[2][1] = 4U; _valreg___0[3][0] = 32U; _valreg___0[3][1] = 5U; _valreg___0[4][0] = 32U; _valreg___0[4][1] = 6U; _valreg___0[5][0] = 32U; _valreg___0[5][1] = 7U; _valreg___0[6][0] = 0U; _valreg___0[6][1] = 16U; _valreg___0[7][0] = 0U; _valreg___0[7][1] = 17U; _valreg___0[8][0] = 0U; _valreg___0[8][1] = 20U; _valreg___0[9][0] = 32U; _valreg___0[9][1] = 23U; _valreg___0[10][0] = 48U; _valreg___0[10][1] = 25U; _valreg___0[11][0] = 9U; _valreg___0[11][1] = 24U; _valreg___0[12][0] = 2U; _valreg___0[12][1] = 28U; _valreg___0[13][0] = 3U; _valreg___0[13][1] = 29U; _valreg___0[14][0] = 15U; _valreg___0[14][1] = 30U; _valreg___0[15][0] = 12U; _valreg___0[15][1] = 31U; _valreg___0[16][0] = 0U; _valreg___0[16][1] = 32U; _valreg___0[17][0] = 16U; _valreg___0[17][1] = 33U; _valreg___0[18][0] = 32U; _valreg___0[18][1] = 34U; _valreg___0[19][0] = 48U; _valreg___0[19][1] = 35U; _valreg___0[20][0] = 64U; _valreg___0[20][1] = 36U; _valreg___0[21][0] = 80U; _valreg___0[21][1] = 37U; _valreg___0[22][0] = 96U; _valreg___0[22][1] = 38U; _valreg___0[23][0] = 112U; _valreg___0[23][1] = 39U; _valreg___0[24][0] = 128U; _valreg___0[24][1] = 40U; _valreg___0[25][0] = 144U; _valreg___0[25][1] = 41U; _valreg___0[26][0] = 160U; _valreg___0[26][1] = 42U; _valreg___0[27][0] = 176U; _valreg___0[27][1] = 43U; _valreg___0[28][0] = 192U; _valreg___0[28][1] = 44U; _valreg___0[29][0] = 208U; _valreg___0[29][1] = 45U; _valreg___0[30][0] = 224U; _valreg___0[30][1] = 46U; _valreg___0[31][0] = 240U; _valreg___0[31][1] = 47U; _valreg___0[32][0] = 255U; _valreg___0[32][1] = 48U; tmp___1 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg___0), 33); err = tmp___1; goto ldv_24903; default: ; goto ldv_24903; } ldv_24903: tmp___2 = sn9c102_i2c_write(cam, 2, 20); err = tmp___2 + err; tmp___3 = sn9c102_i2c_write(cam, 3, 64); err = tmp___3 + err; tmp___4 = sn9c102_i2c_write(cam, 13, 44); err = tmp___4 + err; tmp___5 = sn9c102_i2c_write(cam, 14, 1); err = tmp___5 + err; tmp___6 = sn9c102_i2c_write(cam, 15, 169); err = tmp___6 + err; tmp___7 = sn9c102_i2c_write(cam, 16, 8); err = tmp___7 + err; tmp___8 = sn9c102_i2c_write(cam, 19, 99); err = tmp___8 + err; tmp___9 = sn9c102_i2c_write(cam, 21, 112); err = tmp___9 + err; tmp___10 = sn9c102_i2c_write(cam, 17, 1); err = tmp___10 + err; msleep(400U); return (err); } } static int pas202bcb_get_ctrl(struct sn9c102_device *cam , struct v4l2_control *ctrl ) { int r1 ; int tmp ; int r2 ; int tmp___0 ; __s32 tmp___1 ; __s32 tmp___2 ; __s32 tmp___3 ; __s32 tmp___4 ; __s32 tmp___5 ; { switch (ctrl->id) { case 9963793U: tmp = sn9c102_i2c_read(cam, 4); r1 = tmp; tmp___0 = sn9c102_i2c_read(cam, 5); r2 = tmp___0; if (r1 < 0 || r2 < 0) { return (-5); } else { } ctrl->value = (r1 << 6) | (r2 & 63); return (0); case 9963790U: tmp___1 = sn9c102_i2c_read(cam, 9); ctrl->value = tmp___1; if (tmp___1 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 15; return (0); case 9963791U: tmp___2 = sn9c102_i2c_read(cam, 7); ctrl->value = tmp___2; if (tmp___2 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 15; return (0); case 9963795U: tmp___3 = sn9c102_i2c_read(cam, 16); ctrl->value = tmp___3; if (tmp___3 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 31; return (0); case 134217729U: tmp___4 = sn9c102_i2c_read(cam, 8); ctrl->value = tmp___4; if (tmp___4 < 0) { return (-5); } else { } ctrl->value = ctrl->value & 15; return (0); case 134217728U: tmp___5 = sn9c102_i2c_read(cam, 12); ctrl->value = tmp___5; if (tmp___5 < 0) { return (-5); } else { } return (0); default: ; return (-22); } } } static int pas202bcb_set_pix_format(struct sn9c102_device *cam , struct v4l2_pix_format const *pix ) { int err ; int tmp ; int tmp___0 ; { err = 0; if ((unsigned int )pix->pixelformat == 808532307U) { tmp = sn9c102_write_reg(cam, 40, 23); err = tmp + err; } else { tmp___0 = sn9c102_write_reg(cam, 32, 23); err = tmp___0 + err; } return (err); } } static int pas202bcb_set_ctrl(struct sn9c102_device *cam , struct v4l2_control const *ctrl ) { int err ; int tmp ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; int tmp___6 ; { err = 0; switch (ctrl->id) { case 9963793U: tmp = sn9c102_i2c_write(cam, 4, (int )((u8 )(ctrl->value >> 6))); err = tmp + err; tmp___0 = sn9c102_i2c_write(cam, 5, (int )((u8 )ctrl->value) & 63); err = tmp___0 + err; goto ldv_24934; case 9963790U: tmp___1 = sn9c102_i2c_write(cam, 9, (int )((u8 )ctrl->value)); err = tmp___1 + err; goto ldv_24934; case 9963791U: tmp___2 = sn9c102_i2c_write(cam, 7, (int )((u8 )ctrl->value)); err = tmp___2 + err; goto ldv_24934; case 9963795U: tmp___3 = sn9c102_i2c_write(cam, 16, (int )((u8 )ctrl->value)); err = tmp___3 + err; goto ldv_24934; case 134217729U: tmp___4 = sn9c102_i2c_write(cam, 8, (int )((u8 )ctrl->value)); err = tmp___4 + err; goto ldv_24934; case 134217728U: tmp___5 = sn9c102_i2c_write(cam, 12, (int )((u8 )ctrl->value)); err = tmp___5 + err; goto ldv_24934; default: ; return (-22); } ldv_24934: tmp___6 = sn9c102_i2c_write(cam, 17, 1); err = tmp___6 + err; return (err != 0 ? -5 : 0); } } static int pas202bcb_set_crop(struct sn9c102_device *cam , struct v4l2_rect const *rect ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; int err ; u8 h_start ; u8 v_start ; enum sn9c102_bridge tmp___0 ; int tmp___1 ; int tmp___2 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; h_start = 0U; v_start = (unsigned int )((u8 )((int )((unsigned char )rect->top) - (int )((unsigned char )s->cropcap.bounds.top))) + 3U; tmp___0 = sn9c102_get_bridge(cam); switch ((unsigned int )tmp___0) { case 1U: ; case 2U: h_start = (unsigned int )((u8 )((int )((unsigned char )rect->left) - (int )((unsigned char )s->cropcap.bounds.left))) + 4U; goto ldv_24951; case 4U: h_start = (unsigned int )((u8 )((int )((unsigned char )rect->left) - (int )((unsigned char )s->cropcap.bounds.left))) + 3U; goto ldv_24951; default: ; goto ldv_24951; } ldv_24951: tmp___1 = sn9c102_write_reg(cam, (int )h_start, 18); err = tmp___1 + err; tmp___2 = sn9c102_write_reg(cam, (int )v_start, 19); err = tmp___2 + err; return (err); } } static struct sn9c102_sensor const pas202bcb = {{'P', 'A', 'S', '2', '0', '2', 'B', 'C', 'B', '\000'}, {'L', 'u', 'c', 'a', ' ', 'R', 'i', 's', 'o', 'l', 'i', 'a', ' ', '<', 'l', 'u', 'c', 'a', '.', 'r', 'i', 's', 'o', 'l', 'i', 'a', '@', 's', 't', 'u', 'd', 'i', 'o', '.', 'u', 'n', 'i', 'b', 'o', '.', 'i', 't', '>', '\000'}, 7, 3, 3, 0, 64U, & pas202bcb_init, {{9963793U, 1U, {'e', 'x', 'p', 'o', 's', 'u', 'r', 'e', '\000'}, 485, 16383, 1, 485, 0U, {0U, 0U}}, {9963795U, 1U, {'g', 'l', 'o', 'b', 'a', 'l', ' ', 'g', 'a', 'i', 'n', '\000'}, 0, 31, 1, 11, 0U, {0U, 0U}}, {9963790U, 1U, {'r', 'e', 'd', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 15, 1, 0, 0U, {0U, 0U}}, {9963791U, 1U, {'b', 'l', 'u', 'e', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 15, 1, 5, 0U, {0U, 0U}}, {134217729U, 1U, {'g', 'r', 'e', 'e', 'n', ' ', 'b', 'a', 'l', 'a', 'n', 'c', 'e', '\000'}, 0, 15, 1, 0, 0U, {0U, 0U}}, {134217728U, 1U, {'D', 'A', 'C', ' ', 'm', 'a', 'g', 'n', 'i', 't', 'u', 'd', 'e', '\000'}, 0, 255, 1, 4, 0U, {0U, 0U}}}, & pas202bcb_get_ctrl, & pas202bcb_set_ctrl, {0U, {0, 0, 640, 480}, {0, 0, 640, 480}, {0U, 0U}}, & pas202bcb_set_crop, {640U, 480U, 825770306U, 0U, 0U, 0U, 0U, 8U}, & pas202bcb_set_pix_format, {{0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}}, {0, 0, 0, 0}}; int sn9c102_probe_pas202bcb(struct sn9c102_device *cam ) { int r0 ; int r1 ; int err ; unsigned int pid ; enum sn9c102_bridge tmp ; u8 _valreg[3U][2U] ; int tmp___0 ; u8 _valreg___0[4U][2U] ; int tmp___1 ; { r0 = 0; r1 = 0; err = 0; pid = 0U; tmp = sn9c102_get_bridge(cam); switch ((unsigned int )tmp) { case 1U: ; case 2U: _valreg[0][0] = 1U; _valreg[0][1] = 1U; _valreg[1][0] = 64U; _valreg[1][1] = 1U; _valreg[2][0] = 40U; _valreg[2][1] = 23U; tmp___0 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 3); err = tmp___0; goto ldv_24968; case 4U: _valreg___0[0][0] = 9U; _valreg___0[0][1] = 1U; _valreg___0[1][0] = 68U; _valreg___0[1][1] = 1U; _valreg___0[2][0] = 68U; _valreg___0[2][1] = 2U; _valreg___0[3][0] = 41U; _valreg___0[3][1] = 23U; tmp___1 = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg___0), 4); err = tmp___1; goto ldv_24968; default: ; goto ldv_24968; } ldv_24968: r0 = sn9c102_i2c_try_read(cam, & pas202bcb, 0); r1 = sn9c102_i2c_try_read(cam, & pas202bcb, 1); if ((err != 0 || r0 < 0) || r1 < 0) { return (-5); } else { } pid = (unsigned int )((r0 << 4) | ((r1 & 240) >> 4)); if (pid != 23U) { return (-19); } else { } sn9c102_attach_sensor(cam, & pas202bcb); return (0); } } void ldv_main9_sequence_infinite_withcheck_stateful(void) { int tmp ; int tmp___0 ; { LDV_IN_INTERRUPT = 1; ldv_initialize(); goto ldv_24994; ldv_24993: tmp = __VERIFIER_nondet_int(); switch (tmp) { default: ; goto ldv_24992; } ldv_24992: ; ldv_24994: tmp___0 = __VERIFIER_nondet_int(); if (tmp___0 != 0) { goto ldv_24993; } else { } ldv_check_final_state(); return; } } void ldv_mutex_lock_229(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_lock(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } void ldv_mutex_unlock_230(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_lock_231(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_mutex_of_device(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } int ldv_mutex_trylock_232(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___2 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_trylock(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_trylock_mutex_of_device(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_233(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_mutex_of_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_trylock_242(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_240(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_243(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_239(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_241(struct mutex *ldv_func_arg1 ) ; static int tas5110c1b_init(struct sn9c102_device *cam ) { int err ; u8 _valreg[8U][2U] ; int tmp ; int tmp___0 ; { err = 0; _valreg[0][0] = 1U; _valreg[0][1] = 1U; _valreg[1][0] = 68U; _valreg[1][1] = 1U; _valreg[2][0] = 0U; _valreg[2][1] = 16U; _valreg[3][0] = 0U; _valreg[3][1] = 17U; _valreg[4][0] = 10U; _valreg[4][1] = 20U; _valreg[5][0] = 96U; _valreg[5][1] = 23U; _valreg[6][0] = 6U; _valreg[6][1] = 24U; _valreg[7][0] = 251U; _valreg[7][1] = 25U; tmp = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 8); err = tmp; tmp___0 = sn9c102_i2c_write(cam, 192, 128); err = tmp___0 + err; return (err); } } static int tas5110c1b_set_ctrl(struct sn9c102_device *cam , struct v4l2_control const *ctrl ) { int err ; int tmp ; { err = 0; switch (ctrl->id) { case 9963795U: tmp = sn9c102_i2c_write(cam, 32, (int )(246U - (unsigned int )((u8 )ctrl->value))); err = tmp + err; goto ldv_24907; default: ; return (-22); } ldv_24907: ; return (err != 0 ? -5 : 0); } } static int tas5110c1b_set_crop(struct sn9c102_device *cam , struct v4l2_rect const *rect ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; int err ; u8 h_start ; u8 v_start ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; h_start = (unsigned int )((u8 )((int )((unsigned char )rect->left) - (int )((unsigned char )s->cropcap.bounds.left))) + 69U; v_start = (unsigned int )((u8 )((int )((unsigned char )rect->top) - (int )((unsigned char )s->cropcap.bounds.top))) + 9U; tmp___0 = sn9c102_write_reg(cam, (int )h_start, 18); err = tmp___0 + err; tmp___1 = sn9c102_write_reg(cam, (int )v_start, 19); err = tmp___1 + err; tmp___2 = sn9c102_write_reg(cam, 20, 26); err = tmp___2 + err; tmp___3 = sn9c102_write_reg(cam, 10, 27); err = tmp___3 + err; tmp___4 = sn9c102_pread_reg(cam, 25); tmp___5 = sn9c102_write_reg(cam, (int )((u8 )tmp___4), 25); err = tmp___5 + err; return (err); } } static int tas5110c1b_set_pix_format(struct sn9c102_device *cam , struct v4l2_pix_format const *pix ) { int err ; int tmp ; int tmp___0 ; { err = 0; if ((unsigned int )pix->pixelformat == 808532307U) { tmp = sn9c102_write_reg(cam, 43, 25); err = tmp + err; } else { tmp___0 = sn9c102_write_reg(cam, 251, 25); err = tmp___0 + err; } return (err); } } static struct sn9c102_sensor const tas5110c1b = {{'T', 'A', 'S', '5', '1', '1', '0', 'C', '1', 'B', '\000'}, {'L', 'u', 'c', 'a', ' ', 'R', 'i', 's', 'o', 'l', 'i', 'a', ' ', '<', 'l', 'u', 'c', 'a', '.', 'r', 'i', 's', 'o', 'l', 'i', 'a', '@', 's', 't', 'u', 'd', 'i', 'o', '.', 'u', 'n', 'i', 'b', 'o', '.', 'i', 't', '>', '\000'}, 3, 2, 1, 1, (unsigned char)0, & tas5110c1b_init, {{9963795U, 1U, {'g', 'l', 'o', 'b', 'a', 'l', ' ', 'g', 'a', 'i', 'n', '\000'}, 0, 246, 1, 64, 0U, {0U, 0U}}}, 0, & tas5110c1b_set_ctrl, {0U, {0, 0, 352, 288}, {0, 0, 352, 288}, {0U, 0U}}, & tas5110c1b_set_crop, {352U, 288U, 825770306U, 0U, 0U, 0U, 0U, 8U}, & tas5110c1b_set_pix_format, {{0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}}, {0, 0, 0, 0}}; int sn9c102_probe_tas5110c1b(struct sn9c102_device *cam ) { struct usb_device_id tas5110c1b_id_table[4U] ; unsigned int tmp ; struct sn9c102_device *tmp___0 ; { tas5110c1b_id_table[0].match_flags = 3U; tas5110c1b_id_table[0].idVendor = 3141U; tas5110c1b_id_table[0].idProduct = 24577U; tas5110c1b_id_table[0].bcdDevice_lo = (unsigned short)0; tas5110c1b_id_table[0].bcdDevice_hi = (unsigned short)0; tas5110c1b_id_table[0].bDeviceClass = (unsigned char)0; tas5110c1b_id_table[0].bDeviceSubClass = (unsigned char)0; tas5110c1b_id_table[0].bDeviceProtocol = (unsigned char)0; tas5110c1b_id_table[0].bInterfaceClass = (unsigned char)0; tas5110c1b_id_table[0].bInterfaceSubClass = (unsigned char)0; tas5110c1b_id_table[0].bInterfaceProtocol = (unsigned char)0; tas5110c1b_id_table[0].bInterfaceNumber = (unsigned char)0; tas5110c1b_id_table[0].driver_info = 0UL; tas5110c1b_id_table[1].match_flags = 3U; tas5110c1b_id_table[1].idVendor = 3141U; tas5110c1b_id_table[1].idProduct = 24581U; tas5110c1b_id_table[1].bcdDevice_lo = (unsigned short)0; tas5110c1b_id_table[1].bcdDevice_hi = (unsigned short)0; tas5110c1b_id_table[1].bDeviceClass = (unsigned char)0; tas5110c1b_id_table[1].bDeviceSubClass = (unsigned char)0; tas5110c1b_id_table[1].bDeviceProtocol = (unsigned char)0; tas5110c1b_id_table[1].bInterfaceClass = (unsigned char)0; tas5110c1b_id_table[1].bInterfaceSubClass = (unsigned char)0; tas5110c1b_id_table[1].bInterfaceProtocol = (unsigned char)0; tas5110c1b_id_table[1].bInterfaceNumber = (unsigned char)0; tas5110c1b_id_table[1].driver_info = 0UL; tas5110c1b_id_table[2].match_flags = 3U; tas5110c1b_id_table[2].idVendor = 3141U; tas5110c1b_id_table[2].idProduct = 24747U; tas5110c1b_id_table[2].bcdDevice_lo = (unsigned short)0; tas5110c1b_id_table[2].bcdDevice_hi = (unsigned short)0; tas5110c1b_id_table[2].bDeviceClass = (unsigned char)0; tas5110c1b_id_table[2].bDeviceSubClass = (unsigned char)0; tas5110c1b_id_table[2].bDeviceProtocol = (unsigned char)0; tas5110c1b_id_table[2].bInterfaceClass = (unsigned char)0; tas5110c1b_id_table[2].bInterfaceSubClass = (unsigned char)0; tas5110c1b_id_table[2].bInterfaceProtocol = (unsigned char)0; tas5110c1b_id_table[2].bInterfaceNumber = (unsigned char)0; tas5110c1b_id_table[2].driver_info = 0UL; tmp = 3U; while (1) { if (tmp >= 4U) { break; } else { } tas5110c1b_id_table[tmp].match_flags = (unsigned short)0; tas5110c1b_id_table[tmp].idVendor = (unsigned short)0; tas5110c1b_id_table[tmp].idProduct = (unsigned short)0; tas5110c1b_id_table[tmp].bcdDevice_lo = (unsigned short)0; tas5110c1b_id_table[tmp].bcdDevice_hi = (unsigned short)0; tas5110c1b_id_table[tmp].bDeviceClass = (unsigned char)0; tas5110c1b_id_table[tmp].bDeviceSubClass = (unsigned char)0; tas5110c1b_id_table[tmp].bDeviceProtocol = (unsigned char)0; tas5110c1b_id_table[tmp].bInterfaceClass = (unsigned char)0; tas5110c1b_id_table[tmp].bInterfaceSubClass = (unsigned char)0; tas5110c1b_id_table[tmp].bInterfaceProtocol = (unsigned char)0; tas5110c1b_id_table[tmp].bInterfaceNumber = (unsigned char)0; tas5110c1b_id_table[tmp].driver_info = 0UL; tmp = tmp + 1U; } tmp___0 = sn9c102_match_id(cam, (struct usb_device_id const *)(& tas5110c1b_id_table)); if ((unsigned long )tmp___0 == (unsigned long )((struct sn9c102_device *)0)) { return (-19); } else { } sn9c102_attach_sensor(cam, & tas5110c1b); return (0); } } void ldv_main10_sequence_infinite_withcheck_stateful(void) { int tmp ; int tmp___0 ; { LDV_IN_INTERRUPT = 1; ldv_initialize(); goto ldv_24946; ldv_24945: tmp = __VERIFIER_nondet_int(); switch (tmp) { default: ; goto ldv_24944; } ldv_24944: ; ldv_24946: tmp___0 = __VERIFIER_nondet_int(); if (tmp___0 != 0) { goto ldv_24945; } else { } ldv_check_final_state(); return; } } void ldv_mutex_lock_239(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_lock(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } void ldv_mutex_unlock_240(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_lock_241(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_mutex_of_device(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } int ldv_mutex_trylock_242(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___2 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_trylock(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_trylock_mutex_of_device(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_243(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_mutex_of_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_trylock_252(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_250(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_253(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_249(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_251(struct mutex *ldv_func_arg1 ) ; static int tas5110d_init(struct sn9c102_device *cam ) { int err ; u8 _valreg[6U][2U] ; int tmp ; int tmp___0 ; { _valreg[0][0] = 1U; _valreg[0][1] = 1U; _valreg[1][0] = 4U; _valreg[1][1] = 1U; _valreg[2][0] = 10U; _valreg[2][1] = 20U; _valreg[3][0] = 96U; _valreg[3][1] = 23U; _valreg[4][0] = 6U; _valreg[4][1] = 24U; _valreg[5][0] = 251U; _valreg[5][1] = 25U; tmp = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 6); err = tmp; tmp___0 = sn9c102_i2c_write(cam, 154, 202); err = tmp___0 + err; return (err); } } static int tas5110d_set_crop(struct sn9c102_device *cam , struct v4l2_rect const *rect ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; int err ; u8 h_start ; u8 v_start ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; { tmp = sn9c102_get_sensor(cam); s = tmp; err = 0; h_start = (unsigned int )((u8 )((int )((unsigned char )rect->left) - (int )((unsigned char )s->cropcap.bounds.left))) + 69U; v_start = (unsigned int )((u8 )((int )((unsigned char )rect->top) - (int )((unsigned char )s->cropcap.bounds.top))) + 9U; tmp___0 = sn9c102_write_reg(cam, (int )h_start, 18); err = tmp___0 + err; tmp___1 = sn9c102_write_reg(cam, (int )v_start, 19); err = tmp___1 + err; tmp___2 = sn9c102_write_reg(cam, 20, 26); err = tmp___2 + err; tmp___3 = sn9c102_write_reg(cam, 10, 27); err = tmp___3 + err; return (err); } } static int tas5110d_set_pix_format(struct sn9c102_device *cam , struct v4l2_pix_format const *pix ) { int err ; int tmp ; int tmp___0 ; { err = 0; if ((unsigned int )pix->pixelformat == 808532307U) { tmp = sn9c102_write_reg(cam, 59, 25); err = tmp + err; } else { tmp___0 = sn9c102_write_reg(cam, 251, 25); err = tmp___0 + err; } return (err); } } static struct sn9c102_sensor const tas5110d = {{'T', 'A', 'S', '5', '1', '1', '0', 'D', '\000'}, {'L', 'u', 'c', 'a', ' ', 'R', 'i', 's', 'o', 'l', 'i', 'a', ' ', '<', 'l', 'u', 'c', 'a', '.', 'r', 'i', 's', 'o', 'l', 'i', 'a', '@', 's', 't', 'u', 'd', 'i', 'o', '.', 'u', 'n', 'i', 'b', 'o', '.', 'i', 't', '>', '\000'}, 3, 2, 1, 0, 97U, & tas5110d_init, {{0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}}, 0, 0, {0U, {0, 0, 352, 288}, {0, 0, 352, 288}, {0U, 0U}}, & tas5110d_set_crop, {352U, 288U, 825770306U, 0U, 0U, 0U, 0U, 8U}, & tas5110d_set_pix_format, {{0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}}, {0, 0, 0, 0}}; int sn9c102_probe_tas5110d(struct sn9c102_device *cam ) { struct usb_device_id tas5110d_id_table[2U] ; unsigned int tmp ; struct sn9c102_device *tmp___0 ; { tas5110d_id_table[0].match_flags = 3U; tas5110d_id_table[0].idVendor = 3141U; tas5110d_id_table[0].idProduct = 24583U; tas5110d_id_table[0].bcdDevice_lo = (unsigned short)0; tas5110d_id_table[0].bcdDevice_hi = (unsigned short)0; tas5110d_id_table[0].bDeviceClass = (unsigned char)0; tas5110d_id_table[0].bDeviceSubClass = (unsigned char)0; tas5110d_id_table[0].bDeviceProtocol = (unsigned char)0; tas5110d_id_table[0].bInterfaceClass = (unsigned char)0; tas5110d_id_table[0].bInterfaceSubClass = (unsigned char)0; tas5110d_id_table[0].bInterfaceProtocol = (unsigned char)0; tas5110d_id_table[0].bInterfaceNumber = (unsigned char)0; tas5110d_id_table[0].driver_info = 0UL; tmp = 1U; while (1) { if (tmp >= 2U) { break; } else { } tas5110d_id_table[tmp].match_flags = (unsigned short)0; tas5110d_id_table[tmp].idVendor = (unsigned short)0; tas5110d_id_table[tmp].idProduct = (unsigned short)0; tas5110d_id_table[tmp].bcdDevice_lo = (unsigned short)0; tas5110d_id_table[tmp].bcdDevice_hi = (unsigned short)0; tas5110d_id_table[tmp].bDeviceClass = (unsigned char)0; tas5110d_id_table[tmp].bDeviceSubClass = (unsigned char)0; tas5110d_id_table[tmp].bDeviceProtocol = (unsigned char)0; tas5110d_id_table[tmp].bInterfaceClass = (unsigned char)0; tas5110d_id_table[tmp].bInterfaceSubClass = (unsigned char)0; tas5110d_id_table[tmp].bInterfaceProtocol = (unsigned char)0; tas5110d_id_table[tmp].bInterfaceNumber = (unsigned char)0; tas5110d_id_table[tmp].driver_info = 0UL; tmp = tmp + 1U; } tmp___0 = sn9c102_match_id(cam, (struct usb_device_id const *)(& tas5110d_id_table)); if ((unsigned long )tmp___0 == (unsigned long )((struct sn9c102_device *)0)) { return (-19); } else { } sn9c102_attach_sensor(cam, & tas5110d); return (0); } } void ldv_main11_sequence_infinite_withcheck_stateful(void) { int tmp ; int tmp___0 ; { LDV_IN_INTERRUPT = 1; ldv_initialize(); goto ldv_24938; ldv_24937: tmp = __VERIFIER_nondet_int(); switch (tmp) { default: ; goto ldv_24936; } ldv_24936: ; ldv_24938: tmp___0 = __VERIFIER_nondet_int(); if (tmp___0 != 0) { goto ldv_24937; } else { } ldv_check_final_state(); return; } } void ldv_mutex_lock_249(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_lock(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } void ldv_mutex_unlock_250(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_lock_251(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_mutex_of_device(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } int ldv_mutex_trylock_252(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___2 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_trylock(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_trylock_mutex_of_device(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_253(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_mutex_of_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } int ldv_mutex_trylock_262(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_260(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_unlock_263(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_259(struct mutex *ldv_func_arg1 ) ; void ldv_mutex_lock_261(struct mutex *ldv_func_arg1 ) ; static int tas5130d1b_init(struct sn9c102_device *cam ) { int err ; u8 _valreg[8U][2U] ; int tmp ; { _valreg[0][0] = 1U; _valreg[0][1] = 1U; _valreg[1][0] = 32U; _valreg[1][1] = 23U; _valreg[2][0] = 4U; _valreg[2][1] = 1U; _valreg[3][0] = 1U; _valreg[3][1] = 16U; _valreg[4][0] = 0U; _valreg[4][1] = 17U; _valreg[5][0] = 0U; _valreg[5][1] = 20U; _valreg[6][0] = 96U; _valreg[6][1] = 23U; _valreg[7][0] = 7U; _valreg[7][1] = 24U; tmp = sn9c102_write_regs(cam, (u8 const (*)[2])(& _valreg), 8); err = tmp; return (err); } } static int tas5130d1b_set_ctrl(struct sn9c102_device *cam , struct v4l2_control const *ctrl ) { int err ; int tmp ; int tmp___0 ; { err = 0; switch (ctrl->id) { case 9963795U: tmp = sn9c102_i2c_write(cam, 32, (int )(246U - (unsigned int )((u8 )ctrl->value))); err = tmp + err; goto ldv_24907; case 9963793U: tmp___0 = sn9c102_i2c_write(cam, 64, (int )(71U - (unsigned int )((u8 )ctrl->value))); err = tmp___0 + err; goto ldv_24907; default: ; return (-22); } ldv_24907: ; return (err != 0 ? -5 : 0); } } static int tas5130d1b_set_crop(struct sn9c102_device *cam , struct v4l2_rect const *rect ) { struct sn9c102_sensor *s ; struct sn9c102_sensor *tmp ; u8 h_start ; u8 v_start ; int err ; int tmp___0 ; int tmp___1 ; int tmp___2 ; int tmp___3 ; int tmp___4 ; int tmp___5 ; { tmp = sn9c102_get_sensor(cam); s = tmp; h_start = (unsigned int )((u8 )((int )((unsigned char )rect->left) - (int )((unsigned char )s->cropcap.bounds.left))) + 104U; v_start = (unsigned int )((u8 )((int )((unsigned char )rect->top) - (int )((unsigned char )s->cropcap.bounds.top))) + 12U; err = 0; tmp___0 = sn9c102_write_reg(cam, (int )h_start, 18); err = tmp___0 + err; tmp___1 = sn9c102_write_reg(cam, (int )v_start, 19); err = tmp___1 + err; tmp___2 = sn9c102_write_reg(cam, 31, 26); err = tmp___2 + err; tmp___3 = sn9c102_write_reg(cam, 26, 27); err = tmp___3 + err; tmp___4 = sn9c102_pread_reg(cam, 25); tmp___5 = sn9c102_write_reg(cam, (int )((u8 )tmp___4), 25); err = tmp___5 + err; return (err); } } static int tas5130d1b_set_pix_format(struct sn9c102_device *cam , struct v4l2_pix_format const *pix ) { int err ; int tmp ; int tmp___0 ; { err = 0; if ((unsigned int )pix->pixelformat == 808532307U) { tmp = sn9c102_write_reg(cam, 99, 25); err = tmp + err; } else { tmp___0 = sn9c102_write_reg(cam, 243, 25); err = tmp___0 + err; } return (err); } } static struct sn9c102_sensor const tas5130d1b = {{'T', 'A', 'S', '5', '1', '3', '0', 'D', '1', 'B', '\000'}, {'L', 'u', 'c', 'a', ' ', 'R', 'i', 's', 'o', 'l', 'i', 'a', ' ', '<', 'l', 'u', 'c', 'a', '.', 'r', 'i', 's', 'o', 'l', 'i', 'a', '@', 's', 't', 'u', 'd', 'i', 'o', '.', 'u', 'n', 'i', 'b', 'o', '.', 'i', 't', '>', '\000'}, 3, 2, 1, 1, (unsigned char)0, & tas5130d1b_init, {{9963795U, 1U, {'g', 'l', 'o', 'b', 'a', 'l', ' ', 'g', 'a', 'i', 'n', '\000'}, 0, 246, 2, 0, 0U, {0U, 0U}}, {9963793U, 1U, {'e', 'x', 'p', 'o', 's', 'u', 'r', 'e', '\000'}, 0, 71, 1, 0, 0U, {0U, 0U}}}, 0, & tas5130d1b_set_ctrl, {0U, {0, 0, 640, 480}, {0, 0, 640, 480}, {0U, 0U}}, & tas5130d1b_set_crop, {640U, 480U, 825770306U, 0U, 0U, 0U, 0U, 8U}, & tas5130d1b_set_pix_format, {{0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}, {0U, 0U, {(unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}, 0, 0, 0, 0, 0U, {0U, 0U}}}, {0, 0, 0, 0}}; int sn9c102_probe_tas5130d1b(struct sn9c102_device *cam ) { struct usb_device_id tas5130d1b_id_table[4U] ; unsigned int tmp ; struct sn9c102_device *tmp___0 ; { tas5130d1b_id_table[0].match_flags = 3U; tas5130d1b_id_table[0].idVendor = 3141U; tas5130d1b_id_table[0].idProduct = 24612U; tas5130d1b_id_table[0].bcdDevice_lo = (unsigned short)0; tas5130d1b_id_table[0].bcdDevice_hi = (unsigned short)0; tas5130d1b_id_table[0].bDeviceClass = (unsigned char)0; tas5130d1b_id_table[0].bDeviceSubClass = (unsigned char)0; tas5130d1b_id_table[0].bDeviceProtocol = (unsigned char)0; tas5130d1b_id_table[0].bInterfaceClass = (unsigned char)0; tas5130d1b_id_table[0].bInterfaceSubClass = (unsigned char)0; tas5130d1b_id_table[0].bInterfaceProtocol = (unsigned char)0; tas5130d1b_id_table[0].bInterfaceNumber = (unsigned char)0; tas5130d1b_id_table[0].driver_info = 0UL; tas5130d1b_id_table[1].match_flags = 3U; tas5130d1b_id_table[1].idVendor = 3141U; tas5130d1b_id_table[1].idProduct = 24613U; tas5130d1b_id_table[1].bcdDevice_lo = (unsigned short)0; tas5130d1b_id_table[1].bcdDevice_hi = (unsigned short)0; tas5130d1b_id_table[1].bDeviceClass = (unsigned char)0; tas5130d1b_id_table[1].bDeviceSubClass = (unsigned char)0; tas5130d1b_id_table[1].bDeviceProtocol = (unsigned char)0; tas5130d1b_id_table[1].bInterfaceClass = (unsigned char)0; tas5130d1b_id_table[1].bInterfaceSubClass = (unsigned char)0; tas5130d1b_id_table[1].bInterfaceProtocol = (unsigned char)0; tas5130d1b_id_table[1].bInterfaceNumber = (unsigned char)0; tas5130d1b_id_table[1].driver_info = 0UL; tas5130d1b_id_table[2].match_flags = 3U; tas5130d1b_id_table[2].idVendor = 3141U; tas5130d1b_id_table[2].idProduct = 24746U; tas5130d1b_id_table[2].bcdDevice_lo = (unsigned short)0; tas5130d1b_id_table[2].bcdDevice_hi = (unsigned short)0; tas5130d1b_id_table[2].bDeviceClass = (unsigned char)0; tas5130d1b_id_table[2].bDeviceSubClass = (unsigned char)0; tas5130d1b_id_table[2].bDeviceProtocol = (unsigned char)0; tas5130d1b_id_table[2].bInterfaceClass = (unsigned char)0; tas5130d1b_id_table[2].bInterfaceSubClass = (unsigned char)0; tas5130d1b_id_table[2].bInterfaceProtocol = (unsigned char)0; tas5130d1b_id_table[2].bInterfaceNumber = (unsigned char)0; tas5130d1b_id_table[2].driver_info = 0UL; tmp = 3U; while (1) { if (tmp >= 4U) { break; } else { } tas5130d1b_id_table[tmp].match_flags = (unsigned short)0; tas5130d1b_id_table[tmp].idVendor = (unsigned short)0; tas5130d1b_id_table[tmp].idProduct = (unsigned short)0; tas5130d1b_id_table[tmp].bcdDevice_lo = (unsigned short)0; tas5130d1b_id_table[tmp].bcdDevice_hi = (unsigned short)0; tas5130d1b_id_table[tmp].bDeviceClass = (unsigned char)0; tas5130d1b_id_table[tmp].bDeviceSubClass = (unsigned char)0; tas5130d1b_id_table[tmp].bDeviceProtocol = (unsigned char)0; tas5130d1b_id_table[tmp].bInterfaceClass = (unsigned char)0; tas5130d1b_id_table[tmp].bInterfaceSubClass = (unsigned char)0; tas5130d1b_id_table[tmp].bInterfaceProtocol = (unsigned char)0; tas5130d1b_id_table[tmp].bInterfaceNumber = (unsigned char)0; tas5130d1b_id_table[tmp].driver_info = 0UL; tmp = tmp + 1U; } tmp___0 = sn9c102_match_id(cam, (struct usb_device_id const *)(& tas5130d1b_id_table)); if ((unsigned long )tmp___0 == (unsigned long )((struct sn9c102_device *)0)) { return (-19); } else { } sn9c102_attach_sensor(cam, & tas5130d1b); return (0); } } void ldv_main12_sequence_infinite_withcheck_stateful(void) { int tmp ; int tmp___0 ; { LDV_IN_INTERRUPT = 1; ldv_initialize(); goto ldv_24947; ldv_24946: tmp = __VERIFIER_nondet_int(); switch (tmp) { default: ; goto ldv_24945; } ldv_24945: ; ldv_24947: tmp___0 = __VERIFIER_nondet_int(); if (tmp___0 != 0) { goto ldv_24946; } else { } ldv_check_final_state(); return; } } void ldv_mutex_lock_259(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_lock(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } void ldv_mutex_unlock_260(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_lock(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } void ldv_mutex_lock_261(struct mutex *ldv_func_arg1 ) { { ldv_mutex_lock_mutex_of_device(ldv_func_arg1); mutex_lock(ldv_func_arg1); return; } } int ldv_mutex_trylock_262(struct mutex *ldv_func_arg1 ) { ldv_func_ret_type___2 ldv_func_res ; int tmp ; int tmp___0 ; { tmp = mutex_trylock(ldv_func_arg1); ldv_func_res = tmp; tmp___0 = ldv_mutex_trylock_mutex_of_device(ldv_func_arg1); return (tmp___0); return (ldv_func_res); } } void ldv_mutex_unlock_263(struct mutex *ldv_func_arg1 ) { { ldv_mutex_unlock_mutex_of_device(ldv_func_arg1); mutex_unlock(ldv_func_arg1); return; } } __inline static void ldv_error(void) __attribute__((__no_instrument_function__)) ; __inline static void ldv_error(void) { { ERROR: __VERIFIER_error(); } } extern int __VERIFIER_nondet_int(void) ; long ldv__builtin_expect(long exp , long c ) { { return (exp); } } static int ldv_mutex_fileop_mutex_of_sn9c102_device ; int ldv_mutex_lock_interruptible_fileop_mutex_of_sn9c102_device(struct mutex *lock ) { int nondetermined ; { if (ldv_mutex_fileop_mutex_of_sn9c102_device == 1) { } else { ldv_error(); } nondetermined = __VERIFIER_nondet_int(); if (nondetermined) { ldv_mutex_fileop_mutex_of_sn9c102_device = 2; return (0); } else { return (-4); } } } int ldv_mutex_lock_killable_fileop_mutex_of_sn9c102_device(struct mutex *lock ) { int nondetermined ; { if (ldv_mutex_fileop_mutex_of_sn9c102_device == 1) { } else { ldv_error(); } nondetermined = __VERIFIER_nondet_int(); if (nondetermined) { ldv_mutex_fileop_mutex_of_sn9c102_device = 2; return (0); } else { return (-4); } } } void ldv_mutex_lock_fileop_mutex_of_sn9c102_device(struct mutex *lock ) { { if (ldv_mutex_fileop_mutex_of_sn9c102_device == 1) { } else { ldv_error(); } ldv_mutex_fileop_mutex_of_sn9c102_device = 2; return; } } int ldv_mutex_trylock_fileop_mutex_of_sn9c102_device(struct mutex *lock ) { int is_mutex_held_by_another_thread ; { if (ldv_mutex_fileop_mutex_of_sn9c102_device == 1) { } else { ldv_error(); } is_mutex_held_by_another_thread = __VERIFIER_nondet_int(); if (is_mutex_held_by_another_thread) { return (0); } else { ldv_mutex_fileop_mutex_of_sn9c102_device = 2; return (1); } } } int ldv_atomic_dec_and_mutex_lock_fileop_mutex_of_sn9c102_device(atomic_t *cnt , struct mutex *lock ) { int atomic_value_after_dec ; { if (ldv_mutex_fileop_mutex_of_sn9c102_device == 1) { } else { ldv_error(); } atomic_value_after_dec = __VERIFIER_nondet_int(); if (atomic_value_after_dec == 0) { ldv_mutex_fileop_mutex_of_sn9c102_device = 2; return (1); } else { } return (0); } } int ldv_mutex_is_locked_fileop_mutex_of_sn9c102_device(struct mutex *lock ) { int nondetermined ; { if (ldv_mutex_fileop_mutex_of_sn9c102_device == 1) { nondetermined = __VERIFIER_nondet_int(); if (nondetermined) { return (0); } else { return (1); } } else { return (1); } } } void ldv_mutex_unlock_fileop_mutex_of_sn9c102_device(struct mutex *lock ) { { if (ldv_mutex_fileop_mutex_of_sn9c102_device == 2) { } else { ldv_error(); } ldv_mutex_fileop_mutex_of_sn9c102_device = 1; return; } } static int ldv_mutex_lock ; int ldv_mutex_lock_interruptible_lock(struct mutex *lock ) { int nondetermined ; { if (ldv_mutex_lock == 1) { } else { ldv_error(); } nondetermined = __VERIFIER_nondet_int(); if (nondetermined) { ldv_mutex_lock = 2; return (0); } else { return (-4); } } } int ldv_mutex_lock_killable_lock(struct mutex *lock ) { int nondetermined ; { if (ldv_mutex_lock == 1) { } else { ldv_error(); } nondetermined = __VERIFIER_nondet_int(); if (nondetermined) { ldv_mutex_lock = 2; return (0); } else { return (-4); } } } void ldv_mutex_lock_lock(struct mutex *lock ) { { if (ldv_mutex_lock == 1) { } else { ldv_error(); } ldv_mutex_lock = 2; return; } } int ldv_mutex_trylock_lock(struct mutex *lock ) { int is_mutex_held_by_another_thread ; { if (ldv_mutex_lock == 1) { } else { ldv_error(); } is_mutex_held_by_another_thread = __VERIFIER_nondet_int(); if (is_mutex_held_by_another_thread) { return (0); } else { ldv_mutex_lock = 2; return (1); } } } int ldv_atomic_dec_and_mutex_lock_lock(atomic_t *cnt , struct mutex *lock ) { int atomic_value_after_dec ; { if (ldv_mutex_lock == 1) { } else { ldv_error(); } atomic_value_after_dec = __VERIFIER_nondet_int(); if (atomic_value_after_dec == 0) { ldv_mutex_lock = 2; return (1); } else { } return (0); } } int ldv_mutex_is_locked_lock(struct mutex *lock ) { int nondetermined ; { if (ldv_mutex_lock == 1) { nondetermined = __VERIFIER_nondet_int(); if (nondetermined) { return (0); } else { return (1); } } else { return (1); } } } void ldv_mutex_unlock_lock(struct mutex *lock ) { { if (ldv_mutex_lock == 2) { } else { ldv_error(); } ldv_mutex_lock = 1; return; } } static int ldv_mutex_mutex_of_device ; int ldv_mutex_lock_interruptible_mutex_of_device(struct mutex *lock ) { int nondetermined ; { if (ldv_mutex_mutex_of_device == 1) { } else { ldv_error(); } nondetermined = __VERIFIER_nondet_int(); if (nondetermined) { ldv_mutex_mutex_of_device = 2; return (0); } else { return (-4); } } } int ldv_mutex_lock_killable_mutex_of_device(struct mutex *lock ) { int nondetermined ; { if (ldv_mutex_mutex_of_device == 1) { } else { ldv_error(); } nondetermined = __VERIFIER_nondet_int(); if (nondetermined) { ldv_mutex_mutex_of_device = 2; return (0); } else { return (-4); } } } void ldv_mutex_lock_mutex_of_device(struct mutex *lock ) { { if (ldv_mutex_mutex_of_device == 1) { } else { ldv_error(); } ldv_mutex_mutex_of_device = 2; return; } } int ldv_mutex_trylock_mutex_of_device(struct mutex *lock ) { int is_mutex_held_by_another_thread ; { if (ldv_mutex_mutex_of_device == 1) { } else { ldv_error(); } is_mutex_held_by_another_thread = __VERIFIER_nondet_int(); if (is_mutex_held_by_another_thread) { return (0); } else { ldv_mutex_mutex_of_device = 2; return (1); } } } int ldv_atomic_dec_and_mutex_lock_mutex_of_device(atomic_t *cnt , struct mutex *lock ) { int atomic_value_after_dec ; { if (ldv_mutex_mutex_of_device == 1) { } else { ldv_error(); } atomic_value_after_dec = __VERIFIER_nondet_int(); if (atomic_value_after_dec == 0) { ldv_mutex_mutex_of_device = 2; return (1); } else { } return (0); } } int ldv_mutex_is_locked_mutex_of_device(struct mutex *lock ) { int nondetermined ; { if (ldv_mutex_mutex_of_device == 1) { nondetermined = __VERIFIER_nondet_int(); if (nondetermined) { return (0); } else { return (1); } } else { return (1); } } } void ldv_mutex_unlock_mutex_of_device(struct mutex *lock ) { { if (ldv_mutex_mutex_of_device == 2) { } else { ldv_error(); } ldv_mutex_mutex_of_device = 1; return; } } static int ldv_mutex_open_mutex_of_sn9c102_device ; int ldv_mutex_lock_interruptible_open_mutex_of_sn9c102_device(struct mutex *lock ) { int nondetermined ; { if (ldv_mutex_open_mutex_of_sn9c102_device == 1) { } else { ldv_error(); } nondetermined = __VERIFIER_nondet_int(); if (nondetermined) { ldv_mutex_open_mutex_of_sn9c102_device = 2; return (0); } else { return (-4); } } } int ldv_mutex_lock_killable_open_mutex_of_sn9c102_device(struct mutex *lock ) { int nondetermined ; { if (ldv_mutex_open_mutex_of_sn9c102_device == 1) { } else { ldv_error(); } nondetermined = __VERIFIER_nondet_int(); if (nondetermined) { ldv_mutex_open_mutex_of_sn9c102_device = 2; return (0); } else { return (-4); } } } void ldv_mutex_lock_open_mutex_of_sn9c102_device(struct mutex *lock ) { { if (ldv_mutex_open_mutex_of_sn9c102_device == 1) { } else { ldv_error(); } ldv_mutex_open_mutex_of_sn9c102_device = 2; return; } } int ldv_mutex_trylock_open_mutex_of_sn9c102_device(struct mutex *lock ) { int is_mutex_held_by_another_thread ; { if (ldv_mutex_open_mutex_of_sn9c102_device == 1) { } else { ldv_error(); } is_mutex_held_by_another_thread = __VERIFIER_nondet_int(); if (is_mutex_held_by_another_thread) { return (0); } else { ldv_mutex_open_mutex_of_sn9c102_device = 2; return (1); } } } int ldv_atomic_dec_and_mutex_lock_open_mutex_of_sn9c102_device(atomic_t *cnt , struct mutex *lock ) { int atomic_value_after_dec ; { if (ldv_mutex_open_mutex_of_sn9c102_device == 1) { } else { ldv_error(); } atomic_value_after_dec = __VERIFIER_nondet_int(); if (atomic_value_after_dec == 0) { ldv_mutex_open_mutex_of_sn9c102_device = 2; return (1); } else { } return (0); } } int ldv_mutex_is_locked_open_mutex_of_sn9c102_device(struct mutex *lock ) { int nondetermined ; { if (ldv_mutex_open_mutex_of_sn9c102_device == 1) { nondetermined = __VERIFIER_nondet_int(); if (nondetermined) { return (0); } else { return (1); } } else { return (1); } } } void ldv_mutex_unlock_open_mutex_of_sn9c102_device(struct mutex *lock ) { { if (ldv_mutex_open_mutex_of_sn9c102_device == 2) { } else { ldv_error(); } ldv_mutex_open_mutex_of_sn9c102_device = 1; return; } } static int ldv_mutex_sn9c102_sysfs_lock ; int ldv_mutex_lock_interruptible_sn9c102_sysfs_lock(struct mutex *lock ) { int nondetermined ; { if (ldv_mutex_sn9c102_sysfs_lock == 1) { } else { ldv_error(); } nondetermined = __VERIFIER_nondet_int(); if (nondetermined) { ldv_mutex_sn9c102_sysfs_lock = 2; return (0); } else { return (-4); } } } int ldv_mutex_lock_killable_sn9c102_sysfs_lock(struct mutex *lock ) { int nondetermined ; { if (ldv_mutex_sn9c102_sysfs_lock == 1) { } else { ldv_error(); } nondetermined = __VERIFIER_nondet_int(); if (nondetermined) { ldv_mutex_sn9c102_sysfs_lock = 2; return (0); } else { return (-4); } } } void ldv_mutex_lock_sn9c102_sysfs_lock(struct mutex *lock ) { { if (ldv_mutex_sn9c102_sysfs_lock == 1) { } else { ldv_error(); } ldv_mutex_sn9c102_sysfs_lock = 2; return; } } int ldv_mutex_trylock_sn9c102_sysfs_lock(struct mutex *lock ) { int is_mutex_held_by_another_thread ; { if (ldv_mutex_sn9c102_sysfs_lock == 1) { } else { ldv_error(); } is_mutex_held_by_another_thread = __VERIFIER_nondet_int(); if (is_mutex_held_by_another_thread) { return (0); } else { ldv_mutex_sn9c102_sysfs_lock = 2; return (1); } } } int ldv_atomic_dec_and_mutex_lock_sn9c102_sysfs_lock(atomic_t *cnt , struct mutex *lock ) { int atomic_value_after_dec ; { if (ldv_mutex_sn9c102_sysfs_lock == 1) { } else { ldv_error(); } atomic_value_after_dec = __VERIFIER_nondet_int(); if (atomic_value_after_dec == 0) { ldv_mutex_sn9c102_sysfs_lock = 2; return (1); } else { } return (0); } } int ldv_mutex_is_locked_sn9c102_sysfs_lock(struct mutex *lock ) { int nondetermined ; { if (ldv_mutex_sn9c102_sysfs_lock == 1) { nondetermined = __VERIFIER_nondet_int(); if (nondetermined) { return (0); } else { return (1); } } else { return (1); } } } void ldv_mutex_unlock_sn9c102_sysfs_lock(struct mutex *lock ) { { if (ldv_mutex_sn9c102_sysfs_lock == 2) { } else { ldv_error(); } ldv_mutex_sn9c102_sysfs_lock = 1; return; } } void ldv_initialize(void) { { ldv_mutex_fileop_mutex_of_sn9c102_device = 1; ldv_mutex_lock = 1; ldv_mutex_mutex_of_device = 1; ldv_mutex_open_mutex_of_sn9c102_device = 1; ldv_mutex_sn9c102_sysfs_lock = 1; return; } } void ldv_check_final_state(void) { { if (ldv_mutex_fileop_mutex_of_sn9c102_device == 1) { } else { ldv_error(); } if (ldv_mutex_lock == 1) { } else { ldv_error(); } if (ldv_mutex_mutex_of_device == 1) { } else { ldv_error(); } if (ldv_mutex_open_mutex_of_sn9c102_device == 1) { } else { ldv_error(); } if (ldv_mutex_sn9c102_sysfs_lock == 1) { } else { ldv_error(); } return; } }