Showing error 1143

User: Jiri Slaby
Error type: Reachable Error Location
Error type description: A specified error location is reachable in some program path
File location: ldv-linux-3.4/43_1a_cilled_safe_ok_nondet_linux-43_1a-drivers--net--ppp--ppp_mppe.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c
Line in file: 5260
Project: SV-COMP 2013
Project version: 2.6.28
Tools: Manual Work
Entered: 2013-01-17 16:57:54 UTC


Source:

   1/* Generated by CIL v. 1.3.7 */
   2/* print_CIL_Input is true */
   3
   4#line 20 "include/asm-generic/int-ll64.h"
   5typedef unsigned char __u8;
   6#line 23 "include/asm-generic/int-ll64.h"
   7typedef unsigned short __u16;
   8#line 26 "include/asm-generic/int-ll64.h"
   9typedef unsigned int __u32;
  10#line 30 "include/asm-generic/int-ll64.h"
  11typedef unsigned long long __u64;
  12#line 43 "include/asm-generic/int-ll64.h"
  13typedef unsigned char u8;
  14#line 45 "include/asm-generic/int-ll64.h"
  15typedef short s16;
  16#line 46 "include/asm-generic/int-ll64.h"
  17typedef unsigned short u16;
  18#line 49 "include/asm-generic/int-ll64.h"
  19typedef unsigned int u32;
  20#line 52 "include/asm-generic/int-ll64.h"
  21typedef unsigned long long u64;
  22#line 14 "include/asm-generic/posix_types.h"
  23typedef long __kernel_long_t;
  24#line 15 "include/asm-generic/posix_types.h"
  25typedef unsigned long __kernel_ulong_t;
  26#line 75 "include/asm-generic/posix_types.h"
  27typedef __kernel_ulong_t __kernel_size_t;
  28#line 76 "include/asm-generic/posix_types.h"
  29typedef __kernel_long_t __kernel_ssize_t;
  30#line 27 "include/linux/types.h"
  31typedef unsigned short umode_t;
  32#line 63 "include/linux/types.h"
  33typedef __kernel_size_t size_t;
  34#line 68 "include/linux/types.h"
  35typedef __kernel_ssize_t ssize_t;
  36#line 92 "include/linux/types.h"
  37typedef unsigned char u_char;
  38#line 155 "include/linux/types.h"
  39typedef u64 dma_addr_t;
  40#line 179 "include/linux/types.h"
  41typedef __u16 __be16;
  42#line 202 "include/linux/types.h"
  43typedef unsigned int gfp_t;
  44#line 221 "include/linux/types.h"
  45struct __anonstruct_atomic_t_6 {
  46   int counter ;
  47};
  48#line 221 "include/linux/types.h"
  49typedef struct __anonstruct_atomic_t_6 atomic_t;
  50#line 226 "include/linux/types.h"
  51struct __anonstruct_atomic64_t_7 {
  52   long counter ;
  53};
  54#line 226 "include/linux/types.h"
  55typedef struct __anonstruct_atomic64_t_7 atomic64_t;
  56#line 227 "include/linux/types.h"
  57struct list_head {
  58   struct list_head *next ;
  59   struct list_head *prev ;
  60};
  61#line 55 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/alternative.h"
  62struct module;
  63#line 55
  64struct module;
  65#line 146 "include/linux/init.h"
  66typedef void (*ctor_fn_t)(void);
  67#line 58 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page_types.h"
  68struct page;
  69#line 58
  70struct page;
  71#line 26 "include/asm-generic/getorder.h"
  72struct task_struct;
  73#line 26
  74struct task_struct;
  75#line 327 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
  76struct arch_spinlock;
  77#line 327
  78struct arch_spinlock;
  79#line 306 "include/linux/bitmap.h"
  80struct bug_entry {
  81   int bug_addr_disp ;
  82   int file_disp ;
  83   unsigned short line ;
  84   unsigned short flags ;
  85};
  86#line 234 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
  87struct static_key;
  88#line 234
  89struct static_key;
  90#line 433 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  91struct kmem_cache;
  92#line 23 "include/asm-generic/atomic-long.h"
  93typedef atomic64_t atomic_long_t;
  94#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  95typedef u16 __ticket_t;
  96#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  97typedef u32 __ticketpair_t;
  98#line 16 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  99struct __raw_tickets {
 100   __ticket_t head ;
 101   __ticket_t tail ;
 102};
 103#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 104union __anonunion_ldv_5907_29 {
 105   __ticketpair_t head_tail ;
 106   struct __raw_tickets tickets ;
 107};
 108#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 109struct arch_spinlock {
 110   union __anonunion_ldv_5907_29 ldv_5907 ;
 111};
 112#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 113typedef struct arch_spinlock arch_spinlock_t;
 114#line 34 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
 115struct lockdep_map;
 116#line 34
 117struct lockdep_map;
 118#line 55 "include/linux/debug_locks.h"
 119struct stack_trace {
 120   unsigned int nr_entries ;
 121   unsigned int max_entries ;
 122   unsigned long *entries ;
 123   int skip ;
 124};
 125#line 26 "include/linux/stacktrace.h"
 126struct lockdep_subclass_key {
 127   char __one_byte ;
 128};
 129#line 53 "include/linux/lockdep.h"
 130struct lock_class_key {
 131   struct lockdep_subclass_key subkeys[8U] ;
 132};
 133#line 59 "include/linux/lockdep.h"
 134struct lock_class {
 135   struct list_head hash_entry ;
 136   struct list_head lock_entry ;
 137   struct lockdep_subclass_key *key ;
 138   unsigned int subclass ;
 139   unsigned int dep_gen_id ;
 140   unsigned long usage_mask ;
 141   struct stack_trace usage_traces[13U] ;
 142   struct list_head locks_after ;
 143   struct list_head locks_before ;
 144   unsigned int version ;
 145   unsigned long ops ;
 146   char const   *name ;
 147   int name_version ;
 148   unsigned long contention_point[4U] ;
 149   unsigned long contending_point[4U] ;
 150};
 151#line 144 "include/linux/lockdep.h"
 152struct lockdep_map {
 153   struct lock_class_key *key ;
 154   struct lock_class *class_cache[2U] ;
 155   char const   *name ;
 156   int cpu ;
 157   unsigned long ip ;
 158};
 159#line 556 "include/linux/lockdep.h"
 160struct raw_spinlock {
 161   arch_spinlock_t raw_lock ;
 162   unsigned int magic ;
 163   unsigned int owner_cpu ;
 164   void *owner ;
 165   struct lockdep_map dep_map ;
 166};
 167#line 33 "include/linux/spinlock_types.h"
 168struct __anonstruct_ldv_6122_33 {
 169   u8 __padding[24U] ;
 170   struct lockdep_map dep_map ;
 171};
 172#line 33 "include/linux/spinlock_types.h"
 173union __anonunion_ldv_6123_32 {
 174   struct raw_spinlock rlock ;
 175   struct __anonstruct_ldv_6122_33 ldv_6122 ;
 176};
 177#line 33 "include/linux/spinlock_types.h"
 178struct spinlock {
 179   union __anonunion_ldv_6123_32 ldv_6123 ;
 180};
 181#line 76 "include/linux/spinlock_types.h"
 182typedef struct spinlock spinlock_t;
 183#line 18 "include/linux/elf.h"
 184typedef __u64 Elf64_Addr;
 185#line 19 "include/linux/elf.h"
 186typedef __u16 Elf64_Half;
 187#line 23 "include/linux/elf.h"
 188typedef __u32 Elf64_Word;
 189#line 24 "include/linux/elf.h"
 190typedef __u64 Elf64_Xword;
 191#line 193 "include/linux/elf.h"
 192struct elf64_sym {
 193   Elf64_Word st_name ;
 194   unsigned char st_info ;
 195   unsigned char st_other ;
 196   Elf64_Half st_shndx ;
 197   Elf64_Addr st_value ;
 198   Elf64_Xword st_size ;
 199};
 200#line 201 "include/linux/elf.h"
 201typedef struct elf64_sym Elf64_Sym;
 202#line 445
 203struct sock;
 204#line 445
 205struct sock;
 206#line 446
 207struct kobject;
 208#line 446
 209struct kobject;
 210#line 447
 211enum kobj_ns_type {
 212    KOBJ_NS_TYPE_NONE = 0,
 213    KOBJ_NS_TYPE_NET = 1,
 214    KOBJ_NS_TYPES = 2
 215} ;
 216#line 453 "include/linux/elf.h"
 217struct kobj_ns_type_operations {
 218   enum kobj_ns_type type ;
 219   void *(*grab_current_ns)(void) ;
 220   void const   *(*netlink_ns)(struct sock * ) ;
 221   void const   *(*initial_ns)(void) ;
 222   void (*drop_ns)(void * ) ;
 223};
 224#line 57 "include/linux/kobject_ns.h"
 225struct attribute {
 226   char const   *name ;
 227   umode_t mode ;
 228   struct lock_class_key *key ;
 229   struct lock_class_key skey ;
 230};
 231#line 98 "include/linux/sysfs.h"
 232struct sysfs_ops {
 233   ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
 234   ssize_t (*store)(struct kobject * , struct attribute * , char const   * , size_t  ) ;
 235   void const   *(*namespace)(struct kobject * , struct attribute  const  * ) ;
 236};
 237#line 117
 238struct sysfs_dirent;
 239#line 117
 240struct sysfs_dirent;
 241#line 182 "include/linux/sysfs.h"
 242struct kref {
 243   atomic_t refcount ;
 244};
 245#line 49 "include/linux/kobject.h"
 246struct kset;
 247#line 49
 248struct kobj_type;
 249#line 49 "include/linux/kobject.h"
 250struct kobject {
 251   char const   *name ;
 252   struct list_head entry ;
 253   struct kobject *parent ;
 254   struct kset *kset ;
 255   struct kobj_type *ktype ;
 256   struct sysfs_dirent *sd ;
 257   struct kref kref ;
 258   unsigned char state_initialized : 1 ;
 259   unsigned char state_in_sysfs : 1 ;
 260   unsigned char state_add_uevent_sent : 1 ;
 261   unsigned char state_remove_uevent_sent : 1 ;
 262   unsigned char uevent_suppress : 1 ;
 263};
 264#line 107 "include/linux/kobject.h"
 265struct kobj_type {
 266   void (*release)(struct kobject * ) ;
 267   struct sysfs_ops  const  *sysfs_ops ;
 268   struct attribute **default_attrs ;
 269   struct kobj_ns_type_operations  const  *(*child_ns_type)(struct kobject * ) ;
 270   void const   *(*namespace)(struct kobject * ) ;
 271};
 272#line 115 "include/linux/kobject.h"
 273struct kobj_uevent_env {
 274   char *envp[32U] ;
 275   int envp_idx ;
 276   char buf[2048U] ;
 277   int buflen ;
 278};
 279#line 122 "include/linux/kobject.h"
 280struct kset_uevent_ops {
 281   int (* const  filter)(struct kset * , struct kobject * ) ;
 282   char const   *(* const  name)(struct kset * , struct kobject * ) ;
 283   int (* const  uevent)(struct kset * , struct kobject * , struct kobj_uevent_env * ) ;
 284};
 285#line 139 "include/linux/kobject.h"
 286struct kset {
 287   struct list_head list ;
 288   spinlock_t list_lock ;
 289   struct kobject kobj ;
 290   struct kset_uevent_ops  const  *uevent_ops ;
 291};
 292#line 215
 293struct kernel_param;
 294#line 215
 295struct kernel_param;
 296#line 216 "include/linux/kobject.h"
 297struct kernel_param_ops {
 298   int (*set)(char const   * , struct kernel_param  const  * ) ;
 299   int (*get)(char * , struct kernel_param  const  * ) ;
 300   void (*free)(void * ) ;
 301};
 302#line 49 "include/linux/moduleparam.h"
 303struct kparam_string;
 304#line 49
 305struct kparam_array;
 306#line 49 "include/linux/moduleparam.h"
 307union __anonunion_ldv_13363_134 {
 308   void *arg ;
 309   struct kparam_string  const  *str ;
 310   struct kparam_array  const  *arr ;
 311};
 312#line 49 "include/linux/moduleparam.h"
 313struct kernel_param {
 314   char const   *name ;
 315   struct kernel_param_ops  const  *ops ;
 316   u16 perm ;
 317   s16 level ;
 318   union __anonunion_ldv_13363_134 ldv_13363 ;
 319};
 320#line 61 "include/linux/moduleparam.h"
 321struct kparam_string {
 322   unsigned int maxlen ;
 323   char *string ;
 324};
 325#line 67 "include/linux/moduleparam.h"
 326struct kparam_array {
 327   unsigned int max ;
 328   unsigned int elemsize ;
 329   unsigned int *num ;
 330   struct kernel_param_ops  const  *ops ;
 331   void *elem ;
 332};
 333#line 458 "include/linux/moduleparam.h"
 334struct static_key {
 335   atomic_t enabled ;
 336};
 337#line 225 "include/linux/jump_label.h"
 338struct tracepoint;
 339#line 225
 340struct tracepoint;
 341#line 226 "include/linux/jump_label.h"
 342struct tracepoint_func {
 343   void *func ;
 344   void *data ;
 345};
 346#line 29 "include/linux/tracepoint.h"
 347struct tracepoint {
 348   char const   *name ;
 349   struct static_key key ;
 350   void (*regfunc)(void) ;
 351   void (*unregfunc)(void) ;
 352   struct tracepoint_func *funcs ;
 353};
 354#line 86 "include/linux/tracepoint.h"
 355struct kernel_symbol {
 356   unsigned long value ;
 357   char const   *name ;
 358};
 359#line 27 "include/linux/export.h"
 360struct mod_arch_specific {
 361
 362};
 363#line 34 "include/linux/module.h"
 364struct module_param_attrs;
 365#line 34 "include/linux/module.h"
 366struct module_kobject {
 367   struct kobject kobj ;
 368   struct module *mod ;
 369   struct kobject *drivers_dir ;
 370   struct module_param_attrs *mp ;
 371};
 372#line 43 "include/linux/module.h"
 373struct module_attribute {
 374   struct attribute attr ;
 375   ssize_t (*show)(struct module_attribute * , struct module_kobject * , char * ) ;
 376   ssize_t (*store)(struct module_attribute * , struct module_kobject * , char const   * ,
 377                    size_t  ) ;
 378   void (*setup)(struct module * , char const   * ) ;
 379   int (*test)(struct module * ) ;
 380   void (*free)(struct module * ) ;
 381};
 382#line 69
 383struct exception_table_entry;
 384#line 69
 385struct exception_table_entry;
 386#line 198
 387enum module_state {
 388    MODULE_STATE_LIVE = 0,
 389    MODULE_STATE_COMING = 1,
 390    MODULE_STATE_GOING = 2
 391} ;
 392#line 204 "include/linux/module.h"
 393struct module_ref {
 394   unsigned long incs ;
 395   unsigned long decs ;
 396};
 397#line 219
 398struct module_sect_attrs;
 399#line 219
 400struct module_notes_attrs;
 401#line 219
 402struct ftrace_event_call;
 403#line 219 "include/linux/module.h"
 404struct module {
 405   enum module_state state ;
 406   struct list_head list ;
 407   char name[56U] ;
 408   struct module_kobject mkobj ;
 409   struct module_attribute *modinfo_attrs ;
 410   char const   *version ;
 411   char const   *srcversion ;
 412   struct kobject *holders_dir ;
 413   struct kernel_symbol  const  *syms ;
 414   unsigned long const   *crcs ;
 415   unsigned int num_syms ;
 416   struct kernel_param *kp ;
 417   unsigned int num_kp ;
 418   unsigned int num_gpl_syms ;
 419   struct kernel_symbol  const  *gpl_syms ;
 420   unsigned long const   *gpl_crcs ;
 421   struct kernel_symbol  const  *unused_syms ;
 422   unsigned long const   *unused_crcs ;
 423   unsigned int num_unused_syms ;
 424   unsigned int num_unused_gpl_syms ;
 425   struct kernel_symbol  const  *unused_gpl_syms ;
 426   unsigned long const   *unused_gpl_crcs ;
 427   struct kernel_symbol  const  *gpl_future_syms ;
 428   unsigned long const   *gpl_future_crcs ;
 429   unsigned int num_gpl_future_syms ;
 430   unsigned int num_exentries ;
 431   struct exception_table_entry *extable ;
 432   int (*init)(void) ;
 433   void *module_init ;
 434   void *module_core ;
 435   unsigned int init_size ;
 436   unsigned int core_size ;
 437   unsigned int init_text_size ;
 438   unsigned int core_text_size ;
 439   unsigned int init_ro_size ;
 440   unsigned int core_ro_size ;
 441   struct mod_arch_specific arch ;
 442   unsigned int taints ;
 443   unsigned int num_bugs ;
 444   struct list_head bug_list ;
 445   struct bug_entry *bug_table ;
 446   Elf64_Sym *symtab ;
 447   Elf64_Sym *core_symtab ;
 448   unsigned int num_symtab ;
 449   unsigned int core_num_syms ;
 450   char *strtab ;
 451   char *core_strtab ;
 452   struct module_sect_attrs *sect_attrs ;
 453   struct module_notes_attrs *notes_attrs ;
 454   char *args ;
 455   void *percpu ;
 456   unsigned int percpu_size ;
 457   unsigned int num_tracepoints ;
 458   struct tracepoint * const  *tracepoints_ptrs ;
 459   unsigned int num_trace_bprintk_fmt ;
 460   char const   **trace_bprintk_fmt_start ;
 461   struct ftrace_event_call **trace_events ;
 462   unsigned int num_trace_events ;
 463   struct list_head source_list ;
 464   struct list_head target_list ;
 465   struct task_struct *waiter ;
 466   void (*exit)(void) ;
 467   struct module_ref *refptr ;
 468   ctor_fn_t (**ctors)(void) ;
 469   unsigned int num_ctors ;
 470};
 471#line 88 "include/linux/kmemleak.h"
 472struct kmem_cache_cpu {
 473   void **freelist ;
 474   unsigned long tid ;
 475   struct page *page ;
 476   struct page *partial ;
 477   int node ;
 478   unsigned int stat[26U] ;
 479};
 480#line 55 "include/linux/slub_def.h"
 481struct kmem_cache_node {
 482   spinlock_t list_lock ;
 483   unsigned long nr_partial ;
 484   struct list_head partial ;
 485   atomic_long_t nr_slabs ;
 486   atomic_long_t total_objects ;
 487   struct list_head full ;
 488};
 489#line 66 "include/linux/slub_def.h"
 490struct kmem_cache_order_objects {
 491   unsigned long x ;
 492};
 493#line 76 "include/linux/slub_def.h"
 494struct kmem_cache {
 495   struct kmem_cache_cpu *cpu_slab ;
 496   unsigned long flags ;
 497   unsigned long min_partial ;
 498   int size ;
 499   int objsize ;
 500   int offset ;
 501   int cpu_partial ;
 502   struct kmem_cache_order_objects oo ;
 503   struct kmem_cache_order_objects max ;
 504   struct kmem_cache_order_objects min ;
 505   gfp_t allocflags ;
 506   int refcount ;
 507   void (*ctor)(void * ) ;
 508   int inuse ;
 509   int align ;
 510   int reserved ;
 511   char const   *name ;
 512   struct list_head list ;
 513   struct kobject kobj ;
 514   int remote_node_defrag_ratio ;
 515   struct kmem_cache_node *node[1024U] ;
 516};
 517#line 15 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
 518struct exception_table_entry {
 519   unsigned long insn ;
 520   unsigned long fixup ;
 521};
 522#line 110 "include/linux/uaccess.h"
 523struct scatterlist;
 524#line 110
 525struct scatterlist;
 526#line 111
 527struct crypto_ablkcipher;
 528#line 111
 529struct crypto_ablkcipher;
 530#line 112
 531struct crypto_async_request;
 532#line 112
 533struct crypto_async_request;
 534#line 113
 535struct crypto_aead;
 536#line 113
 537struct crypto_aead;
 538#line 114
 539struct crypto_blkcipher;
 540#line 114
 541struct crypto_blkcipher;
 542#line 115
 543struct crypto_hash;
 544#line 115
 545struct crypto_hash;
 546#line 116
 547struct crypto_rng;
 548#line 116
 549struct crypto_rng;
 550#line 117
 551struct crypto_tfm;
 552#line 117
 553struct crypto_tfm;
 554#line 118
 555struct crypto_type;
 556#line 118
 557struct crypto_type;
 558#line 119
 559struct aead_givcrypt_request;
 560#line 119
 561struct aead_givcrypt_request;
 562#line 120
 563struct skcipher_givcrypt_request;
 564#line 120
 565struct skcipher_givcrypt_request;
 566#line 129 "include/linux/crypto.h"
 567struct crypto_async_request {
 568   struct list_head list ;
 569   void (*complete)(struct crypto_async_request * , int  ) ;
 570   void *data ;
 571   struct crypto_tfm *tfm ;
 572   u32 flags ;
 573};
 574#line 138 "include/linux/crypto.h"
 575struct ablkcipher_request {
 576   struct crypto_async_request base ;
 577   unsigned int nbytes ;
 578   void *info ;
 579   struct scatterlist *src ;
 580   struct scatterlist *dst ;
 581   void *__ctx[0U] ;
 582};
 583#line 151 "include/linux/crypto.h"
 584struct aead_request {
 585   struct crypto_async_request base ;
 586   unsigned int assoclen ;
 587   unsigned int cryptlen ;
 588   u8 *iv ;
 589   struct scatterlist *assoc ;
 590   struct scatterlist *src ;
 591   struct scatterlist *dst ;
 592   void *__ctx[0U] ;
 593};
 594#line 177 "include/linux/crypto.h"
 595struct blkcipher_desc {
 596   struct crypto_blkcipher *tfm ;
 597   void *info ;
 598   u32 flags ;
 599};
 600#line 191 "include/linux/crypto.h"
 601struct hash_desc {
 602   struct crypto_hash *tfm ;
 603   u32 flags ;
 604};
 605#line 196 "include/linux/crypto.h"
 606struct ablkcipher_alg {
 607   int (*setkey)(struct crypto_ablkcipher * , u8 const   * , unsigned int  ) ;
 608   int (*encrypt)(struct ablkcipher_request * ) ;
 609   int (*decrypt)(struct ablkcipher_request * ) ;
 610   int (*givencrypt)(struct skcipher_givcrypt_request * ) ;
 611   int (*givdecrypt)(struct skcipher_givcrypt_request * ) ;
 612   char const   *geniv ;
 613   unsigned int min_keysize ;
 614   unsigned int max_keysize ;
 615   unsigned int ivsize ;
 616};
 617#line 215 "include/linux/crypto.h"
 618struct aead_alg {
 619   int (*setkey)(struct crypto_aead * , u8 const   * , unsigned int  ) ;
 620   int (*setauthsize)(struct crypto_aead * , unsigned int  ) ;
 621   int (*encrypt)(struct aead_request * ) ;
 622   int (*decrypt)(struct aead_request * ) ;
 623   int (*givencrypt)(struct aead_givcrypt_request * ) ;
 624   int (*givdecrypt)(struct aead_givcrypt_request * ) ;
 625   char const   *geniv ;
 626   unsigned int ivsize ;
 627   unsigned int maxauthsize ;
 628};
 629#line 230 "include/linux/crypto.h"
 630struct blkcipher_alg {
 631   int (*setkey)(struct crypto_tfm * , u8 const   * , unsigned int  ) ;
 632   int (*encrypt)(struct blkcipher_desc * , struct scatterlist * , struct scatterlist * ,
 633                  unsigned int  ) ;
 634   int (*decrypt)(struct blkcipher_desc * , struct scatterlist * , struct scatterlist * ,
 635                  unsigned int  ) ;
 636   char const   *geniv ;
 637   unsigned int min_keysize ;
 638   unsigned int max_keysize ;
 639   unsigned int ivsize ;
 640};
 641#line 247 "include/linux/crypto.h"
 642struct cipher_alg {
 643   unsigned int cia_min_keysize ;
 644   unsigned int cia_max_keysize ;
 645   int (*cia_setkey)(struct crypto_tfm * , u8 const   * , unsigned int  ) ;
 646   void (*cia_encrypt)(struct crypto_tfm * , u8 * , u8 const   * ) ;
 647   void (*cia_decrypt)(struct crypto_tfm * , u8 * , u8 const   * ) ;
 648};
 649#line 256 "include/linux/crypto.h"
 650struct compress_alg {
 651   int (*coa_compress)(struct crypto_tfm * , u8 const   * , unsigned int  , u8 * ,
 652                       unsigned int * ) ;
 653   int (*coa_decompress)(struct crypto_tfm * , u8 const   * , unsigned int  , u8 * ,
 654                         unsigned int * ) ;
 655};
 656#line 262 "include/linux/crypto.h"
 657struct rng_alg {
 658   int (*rng_make_random)(struct crypto_rng * , u8 * , unsigned int  ) ;
 659   int (*rng_reset)(struct crypto_rng * , u8 * , unsigned int  ) ;
 660   unsigned int seedsize ;
 661};
 662#line 271 "include/linux/crypto.h"
 663union __anonunion_cra_u_135 {
 664   struct ablkcipher_alg ablkcipher ;
 665   struct aead_alg aead ;
 666   struct blkcipher_alg blkcipher ;
 667   struct cipher_alg cipher ;
 668   struct compress_alg compress ;
 669   struct rng_alg rng ;
 670};
 671#line 271 "include/linux/crypto.h"
 672struct crypto_alg {
 673   struct list_head cra_list ;
 674   struct list_head cra_users ;
 675   u32 cra_flags ;
 676   unsigned int cra_blocksize ;
 677   unsigned int cra_ctxsize ;
 678   unsigned int cra_alignmask ;
 679   int cra_priority ;
 680   atomic_t cra_refcnt ;
 681   char cra_name[64U] ;
 682   char cra_driver_name[64U] ;
 683   struct crypto_type  const  *cra_type ;
 684   union __anonunion_cra_u_135 cra_u ;
 685   int (*cra_init)(struct crypto_tfm * ) ;
 686   void (*cra_exit)(struct crypto_tfm * ) ;
 687   void (*cra_destroy)(struct crypto_alg * ) ;
 688   struct module *cra_module ;
 689};
 690#line 325 "include/linux/crypto.h"
 691struct ablkcipher_tfm {
 692   int (*setkey)(struct crypto_ablkcipher * , u8 const   * , unsigned int  ) ;
 693   int (*encrypt)(struct ablkcipher_request * ) ;
 694   int (*decrypt)(struct ablkcipher_request * ) ;
 695   int (*givencrypt)(struct skcipher_givcrypt_request * ) ;
 696   int (*givdecrypt)(struct skcipher_givcrypt_request * ) ;
 697   struct crypto_ablkcipher *base ;
 698   unsigned int ivsize ;
 699   unsigned int reqsize ;
 700};
 701#line 345 "include/linux/crypto.h"
 702struct aead_tfm {
 703   int (*setkey)(struct crypto_aead * , u8 const   * , unsigned int  ) ;
 704   int (*encrypt)(struct aead_request * ) ;
 705   int (*decrypt)(struct aead_request * ) ;
 706   int (*givencrypt)(struct aead_givcrypt_request * ) ;
 707   int (*givdecrypt)(struct aead_givcrypt_request * ) ;
 708   struct crypto_aead *base ;
 709   unsigned int ivsize ;
 710   unsigned int authsize ;
 711   unsigned int reqsize ;
 712};
 713#line 360 "include/linux/crypto.h"
 714struct blkcipher_tfm {
 715   void *iv ;
 716   int (*setkey)(struct crypto_tfm * , u8 const   * , unsigned int  ) ;
 717   int (*encrypt)(struct blkcipher_desc * , struct scatterlist * , struct scatterlist * ,
 718                  unsigned int  ) ;
 719   int (*decrypt)(struct blkcipher_desc * , struct scatterlist * , struct scatterlist * ,
 720                  unsigned int  ) ;
 721};
 722#line 369 "include/linux/crypto.h"
 723struct cipher_tfm {
 724   int (*cit_setkey)(struct crypto_tfm * , u8 const   * , unsigned int  ) ;
 725   void (*cit_encrypt_one)(struct crypto_tfm * , u8 * , u8 const   * ) ;
 726   void (*cit_decrypt_one)(struct crypto_tfm * , u8 * , u8 const   * ) ;
 727};
 728#line 377 "include/linux/crypto.h"
 729struct hash_tfm {
 730   int (*init)(struct hash_desc * ) ;
 731   int (*update)(struct hash_desc * , struct scatterlist * , unsigned int  ) ;
 732   int (*final)(struct hash_desc * , u8 * ) ;
 733   int (*digest)(struct hash_desc * , struct scatterlist * , unsigned int  , u8 * ) ;
 734   int (*setkey)(struct crypto_hash * , u8 const   * , unsigned int  ) ;
 735   unsigned int digestsize ;
 736};
 737#line 389 "include/linux/crypto.h"
 738struct compress_tfm {
 739   int (*cot_compress)(struct crypto_tfm * , u8 const   * , unsigned int  , u8 * ,
 740                       unsigned int * ) ;
 741   int (*cot_decompress)(struct crypto_tfm * , u8 const   * , unsigned int  , u8 * ,
 742                         unsigned int * ) ;
 743};
 744#line 396 "include/linux/crypto.h"
 745struct rng_tfm {
 746   int (*rng_gen_random)(struct crypto_rng * , u8 * , unsigned int  ) ;
 747   int (*rng_reset)(struct crypto_rng * , u8 * , unsigned int  ) ;
 748};
 749#line 404 "include/linux/crypto.h"
 750union __anonunion_crt_u_136 {
 751   struct ablkcipher_tfm ablkcipher ;
 752   struct aead_tfm aead ;
 753   struct blkcipher_tfm blkcipher ;
 754   struct cipher_tfm cipher ;
 755   struct hash_tfm hash ;
 756   struct compress_tfm compress ;
 757   struct rng_tfm rng ;
 758};
 759#line 404 "include/linux/crypto.h"
 760struct crypto_tfm {
 761   u32 crt_flags ;
 762   union __anonunion_crt_u_136 crt_u ;
 763   void (*exit)(struct crypto_tfm * ) ;
 764   struct crypto_alg *__crt_alg ;
 765   void *__crt_ctx[0U] ;
 766};
 767#line 433 "include/linux/crypto.h"
 768struct crypto_ablkcipher {
 769   struct crypto_tfm base ;
 770};
 771#line 437 "include/linux/crypto.h"
 772struct crypto_aead {
 773   struct crypto_tfm base ;
 774};
 775#line 441 "include/linux/crypto.h"
 776struct crypto_blkcipher {
 777   struct crypto_tfm base ;
 778};
 779#line 453 "include/linux/crypto.h"
 780struct crypto_hash {
 781   struct crypto_tfm base ;
 782};
 783#line 457 "include/linux/crypto.h"
 784struct crypto_rng {
 785   struct crypto_tfm base ;
 786};
 787#line 116 "include/linux/prio_tree.h"
 788struct address_space;
 789#line 116
 790struct address_space;
 791#line 117 "include/linux/prio_tree.h"
 792union __anonunion_ldv_15229_138 {
 793   unsigned long index ;
 794   void *freelist ;
 795};
 796#line 117 "include/linux/prio_tree.h"
 797struct __anonstruct_ldv_15239_142 {
 798   unsigned short inuse ;
 799   unsigned short objects : 15 ;
 800   unsigned char frozen : 1 ;
 801};
 802#line 117 "include/linux/prio_tree.h"
 803union __anonunion_ldv_15240_141 {
 804   atomic_t _mapcount ;
 805   struct __anonstruct_ldv_15239_142 ldv_15239 ;
 806};
 807#line 117 "include/linux/prio_tree.h"
 808struct __anonstruct_ldv_15242_140 {
 809   union __anonunion_ldv_15240_141 ldv_15240 ;
 810   atomic_t _count ;
 811};
 812#line 117 "include/linux/prio_tree.h"
 813union __anonunion_ldv_15243_139 {
 814   unsigned long counters ;
 815   struct __anonstruct_ldv_15242_140 ldv_15242 ;
 816};
 817#line 117 "include/linux/prio_tree.h"
 818struct __anonstruct_ldv_15244_137 {
 819   union __anonunion_ldv_15229_138 ldv_15229 ;
 820   union __anonunion_ldv_15243_139 ldv_15243 ;
 821};
 822#line 117 "include/linux/prio_tree.h"
 823struct __anonstruct_ldv_15251_144 {
 824   struct page *next ;
 825   int pages ;
 826   int pobjects ;
 827};
 828#line 117 "include/linux/prio_tree.h"
 829union __anonunion_ldv_15252_143 {
 830   struct list_head lru ;
 831   struct __anonstruct_ldv_15251_144 ldv_15251 ;
 832};
 833#line 117 "include/linux/prio_tree.h"
 834union __anonunion_ldv_15257_145 {
 835   unsigned long private ;
 836   struct kmem_cache *slab ;
 837   struct page *first_page ;
 838};
 839#line 117 "include/linux/prio_tree.h"
 840struct page {
 841   unsigned long flags ;
 842   struct address_space *mapping ;
 843   struct __anonstruct_ldv_15244_137 ldv_15244 ;
 844   union __anonunion_ldv_15252_143 ldv_15252 ;
 845   union __anonunion_ldv_15257_145 ldv_15257 ;
 846   unsigned long debug_flags ;
 847};
 848#line 119 "include/linux/ppp_defs.h"
 849struct compstat {
 850   __u32 unc_bytes ;
 851   __u32 unc_packets ;
 852   __u32 comp_bytes ;
 853   __u32 comp_packets ;
 854   __u32 inc_bytes ;
 855   __u32 inc_packets ;
 856   __u32 in_count ;
 857   __u32 bytes_out ;
 858   double ratio ;
 859};
 860#line 153 "include/linux/ppp_defs.h"
 861struct compressor {
 862   int compress_proto ;
 863   void *(*comp_alloc)(unsigned char * , int  ) ;
 864   void (*comp_free)(void * ) ;
 865   int (*comp_init)(void * , unsigned char * , int  , int  , int  , int  ) ;
 866   void (*comp_reset)(void * ) ;
 867   int (*compress)(void * , unsigned char * , unsigned char * , int  , int  ) ;
 868   void (*comp_stat)(void * , struct compstat * ) ;
 869   void *(*decomp_alloc)(unsigned char * , int  ) ;
 870   void (*decomp_free)(void * ) ;
 871   int (*decomp_init)(void * , unsigned char * , int  , int  , int  , int  , int  ) ;
 872   void (*decomp_reset)(void * ) ;
 873   int (*decompress)(void * , unsigned char * , int  , unsigned char * , int  ) ;
 874   void (*incomp)(void * , unsigned char * , int  ) ;
 875   void (*decomp_stat)(void * , struct compstat * ) ;
 876   struct module *owner ;
 877   unsigned int comp_extra ;
 878};
 879#line 182 "include/linux/ppp-comp.h"
 880struct scatterlist {
 881   unsigned long sg_magic ;
 882   unsigned long page_link ;
 883   unsigned int offset ;
 884   unsigned int length ;
 885   dma_addr_t dma_address ;
 886   unsigned int dma_length ;
 887};
 888#line 89 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
 889struct sha_pad {
 890   unsigned char sha_pad1[40U] ;
 891   unsigned char sha_pad2[40U] ;
 892};
 893#line 108 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
 894struct ppp_mppe_state {
 895   struct crypto_blkcipher *arc4 ;
 896   struct crypto_hash *sha1 ;
 897   unsigned char *sha1_digest ;
 898   unsigned char master_key[16U] ;
 899   unsigned char session_key[16U] ;
 900   unsigned int keylen ;
 901   unsigned char bits ;
 902   unsigned int ccount ;
 903   unsigned int stateful ;
 904   int discard ;
 905   int sanity_errors ;
 906   int unit ;
 907   int debug ;
 908   struct compstat stats ;
 909};
 910#line 1 "<compiler builtins>"
 911
 912#line 1
 913long __builtin_expect(long  , long  ) ;
 914#line 2 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
 915void ldv_spin_lock(void) ;
 916#line 3
 917void ldv_spin_unlock(void) ;
 918#line 4
 919int ldv_spin_trylock(void) ;
 920#line 46 "include/linux/swab.h"
 921__inline static __u16 __fswab16(__u16 val ) 
 922{ int __cil_tmp2 ;
 923  int __cil_tmp3 ;
 924  short __cil_tmp4 ;
 925  int __cil_tmp5 ;
 926  int __cil_tmp6 ;
 927  int __cil_tmp7 ;
 928  short __cil_tmp8 ;
 929  int __cil_tmp9 ;
 930  int __cil_tmp10 ;
 931
 932  {
 933  {
 934#line 51
 935  __cil_tmp2 = (int )val;
 936#line 51
 937  __cil_tmp3 = __cil_tmp2 >> 8;
 938#line 51
 939  __cil_tmp4 = (short )__cil_tmp3;
 940#line 51
 941  __cil_tmp5 = (int )__cil_tmp4;
 942#line 51
 943  __cil_tmp6 = (int )val;
 944#line 51
 945  __cil_tmp7 = __cil_tmp6 << 8;
 946#line 51
 947  __cil_tmp8 = (short )__cil_tmp7;
 948#line 51
 949  __cil_tmp9 = (int )__cil_tmp8;
 950#line 51
 951  __cil_tmp10 = __cil_tmp9 | __cil_tmp5;
 952#line 51
 953  return ((__u16 )__cil_tmp10);
 954  }
 955}
 956}
 957#line 101 "include/linux/printk.h"
 958extern int printk(char const   *  , ...) ;
 959#line 320 "include/linux/kernel.h"
 960extern int sprintf(char * , char const   *  , ...) ;
 961#line 61 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page_64_types.h"
 962extern unsigned long __phys_addr(unsigned long  ) ;
 963#line 34 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/string_64.h"
 964extern void *__memcpy(void * , void const   * , size_t  ) ;
 965#line 55
 966extern void *memset(void * , int  , size_t  ) ;
 967#line 32 "include/linux/err.h"
 968__inline static long IS_ERR(void const   *ptr ) 
 969{ long tmp ;
 970  unsigned long __cil_tmp3 ;
 971  int __cil_tmp4 ;
 972  long __cil_tmp5 ;
 973
 974  {
 975  {
 976#line 34
 977  __cil_tmp3 = (unsigned long )ptr;
 978#line 34
 979  __cil_tmp4 = __cil_tmp3 > 0xfffffffffffff000UL;
 980#line 34
 981  __cil_tmp5 = (long )__cil_tmp4;
 982#line 34
 983  tmp = __builtin_expect(__cil_tmp5, 0L);
 984  }
 985#line 34
 986  return (tmp);
 987}
 988}
 989#line 26 "include/linux/export.h"
 990extern struct module __this_module ;
 991#line 161 "include/linux/slab.h"
 992extern void kfree(void const   * ) ;
 993#line 220 "include/linux/slub_def.h"
 994extern void *kmem_cache_alloc(struct kmem_cache * , gfp_t  ) ;
 995#line 223
 996void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 ) ;
 997#line 225
 998extern void *__kmalloc(size_t  , gfp_t  ) ;
 999#line 268 "include/linux/slub_def.h"
1000__inline static void *ldv_kmalloc_12(size_t size , gfp_t flags ) 
1001{ void *tmp___2 ;
1002
1003  {
1004  {
1005#line 283
1006  tmp___2 = __kmalloc(size, flags);
1007  }
1008#line 283
1009  return (tmp___2);
1010}
1011}
1012#line 268
1013__inline static void *kmalloc(size_t size , gfp_t flags ) ;
1014#line 353 "include/linux/slab.h"
1015__inline static void *kzalloc(size_t size , gfp_t flags ) ;
1016#line 10 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
1017extern void *__VERIFIER_nondet_pointer(void) ;
1018#line 11
1019void ldv_check_alloc_flags(gfp_t flags ) ;
1020#line 12
1021void ldv_check_alloc_nonatomic(void) ;
1022#line 14
1023struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags ) ;
1024#line 324 "include/linux/crypto.h"
1025extern int crypto_has_alg(char const   * , u32  , u32  ) ;
1026#line 492
1027extern struct crypto_tfm *crypto_alloc_base(char const   * , u32  , u32  ) ;
1028#line 495 "include/linux/crypto.h"
1029__inline static void crypto_free_tfm(struct crypto_tfm *tfm ) 
1030{ 
1031
1032  {
1033#line 497
1034  return;
1035}
1036}
1037#line 871 "include/linux/crypto.h"
1038__inline static struct crypto_blkcipher *__crypto_blkcipher_cast(struct crypto_tfm *tfm ) 
1039{ 
1040
1041  {
1042#line 874
1043  return ((struct crypto_blkcipher *)tfm);
1044}
1045}
1046#line 884 "include/linux/crypto.h"
1047__inline static struct crypto_blkcipher *crypto_alloc_blkcipher(char const   *alg_name ,
1048                                                                u32 type , u32 mask ) 
1049{ struct crypto_tfm *tmp ;
1050  struct crypto_blkcipher *tmp___0 ;
1051
1052  {
1053  {
1054#line 887
1055  type = type & 4294967280U;
1056#line 888
1057  type = type | 4U;
1058#line 889
1059  mask = mask | 15U;
1060#line 891
1061  tmp = crypto_alloc_base(alg_name, type, mask);
1062#line 891
1063  tmp___0 = __crypto_blkcipher_cast(tmp);
1064  }
1065#line 891
1066  return (tmp___0);
1067}
1068}
1069#line 894 "include/linux/crypto.h"
1070__inline static struct crypto_tfm *crypto_blkcipher_tfm(struct crypto_blkcipher *tfm ) 
1071{ 
1072
1073  {
1074#line 897
1075  return ((struct crypto_tfm *)tfm);
1076}
1077}
1078#line 900 "include/linux/crypto.h"
1079__inline static void crypto_free_blkcipher(struct crypto_blkcipher *tfm ) 
1080{ struct crypto_tfm *tmp ;
1081
1082  {
1083  {
1084#line 902
1085  tmp = crypto_blkcipher_tfm(tfm);
1086#line 902
1087  crypto_free_tfm(tmp);
1088  }
1089#line 903
1090  return;
1091}
1092}
1093#line 905 "include/linux/crypto.h"
1094__inline static int crypto_has_blkcipher(char const   *alg_name , u32 type , u32 mask ) 
1095{ int tmp ;
1096
1097  {
1098  {
1099#line 907
1100  type = type & 4294967280U;
1101#line 908
1102  type = type | 4U;
1103#line 909
1104  mask = mask | 15U;
1105#line 911
1106  tmp = crypto_has_alg(alg_name, type, mask);
1107  }
1108#line 911
1109  return (tmp);
1110}
1111}
1112#line 919 "include/linux/crypto.h"
1113__inline static struct blkcipher_tfm *crypto_blkcipher_crt(struct crypto_blkcipher *tfm ) 
1114{ struct crypto_tfm *tmp ;
1115  unsigned long __cil_tmp3 ;
1116  unsigned long __cil_tmp4 ;
1117
1118  {
1119  {
1120#line 922
1121  tmp = crypto_blkcipher_tfm(tfm);
1122  }
1123  {
1124#line 922
1125  __cil_tmp3 = (unsigned long )tmp;
1126#line 922
1127  __cil_tmp4 = __cil_tmp3 + 8;
1128#line 922
1129  return ((struct blkcipher_tfm *)__cil_tmp4);
1130  }
1131}
1132}
1133#line 965 "include/linux/crypto.h"
1134__inline static int crypto_blkcipher_setkey(struct crypto_blkcipher *tfm , u8 const   *key ,
1135                                            unsigned int keylen ) 
1136{ struct blkcipher_tfm *tmp ;
1137  struct crypto_tfm *tmp___0 ;
1138  int tmp___1 ;
1139  unsigned long __cil_tmp7 ;
1140  unsigned long __cil_tmp8 ;
1141  int (*__cil_tmp9)(struct crypto_tfm * , u8 const   * , unsigned int  ) ;
1142
1143  {
1144  {
1145#line 968
1146  tmp = crypto_blkcipher_crt(tfm);
1147#line 968
1148  tmp___0 = crypto_blkcipher_tfm(tfm);
1149#line 968
1150  __cil_tmp7 = (unsigned long )tmp;
1151#line 968
1152  __cil_tmp8 = __cil_tmp7 + 8;
1153#line 968
1154  __cil_tmp9 = *((int (**)(struct crypto_tfm * , u8 const   * , unsigned int  ))__cil_tmp8);
1155#line 968
1156  tmp___1 = (*__cil_tmp9)(tmp___0, key, keylen);
1157  }
1158#line 968
1159  return (tmp___1);
1160}
1161}
1162#line 972 "include/linux/crypto.h"
1163__inline static int crypto_blkcipher_encrypt(struct blkcipher_desc *desc , struct scatterlist *dst ,
1164                                             struct scatterlist *src , unsigned int nbytes ) 
1165{ struct blkcipher_tfm *tmp ;
1166  struct blkcipher_tfm *tmp___0 ;
1167  int tmp___1 ;
1168  struct crypto_blkcipher *__cil_tmp8 ;
1169  unsigned long __cil_tmp9 ;
1170  unsigned long __cil_tmp10 ;
1171  struct crypto_blkcipher *__cil_tmp11 ;
1172  unsigned long __cil_tmp12 ;
1173  unsigned long __cil_tmp13 ;
1174  int (*__cil_tmp14)(struct blkcipher_desc * , struct scatterlist * , struct scatterlist * ,
1175                     unsigned int  ) ;
1176
1177  {
1178  {
1179#line 977
1180  __cil_tmp8 = *((struct crypto_blkcipher **)desc);
1181#line 977
1182  tmp = crypto_blkcipher_crt(__cil_tmp8);
1183#line 977
1184  __cil_tmp9 = (unsigned long )desc;
1185#line 977
1186  __cil_tmp10 = __cil_tmp9 + 8;
1187#line 977
1188  *((void **)__cil_tmp10) = *((void **)tmp);
1189#line 978
1190  __cil_tmp11 = *((struct crypto_blkcipher **)desc);
1191#line 978
1192  tmp___0 = crypto_blkcipher_crt(__cil_tmp11);
1193#line 978
1194  __cil_tmp12 = (unsigned long )tmp___0;
1195#line 978
1196  __cil_tmp13 = __cil_tmp12 + 16;
1197#line 978
1198  __cil_tmp14 = *((int (**)(struct blkcipher_desc * , struct scatterlist * , struct scatterlist * ,
1199                            unsigned int  ))__cil_tmp13);
1200#line 978
1201  tmp___1 = (*__cil_tmp14)(desc, dst, src, nbytes);
1202  }
1203#line 978
1204  return (tmp___1);
1205}
1206}
1207#line 989 "include/linux/crypto.h"
1208__inline static int crypto_blkcipher_decrypt(struct blkcipher_desc *desc , struct scatterlist *dst ,
1209                                             struct scatterlist *src , unsigned int nbytes ) 
1210{ struct blkcipher_tfm *tmp ;
1211  struct blkcipher_tfm *tmp___0 ;
1212  int tmp___1 ;
1213  struct crypto_blkcipher *__cil_tmp8 ;
1214  unsigned long __cil_tmp9 ;
1215  unsigned long __cil_tmp10 ;
1216  struct crypto_blkcipher *__cil_tmp11 ;
1217  unsigned long __cil_tmp12 ;
1218  unsigned long __cil_tmp13 ;
1219  int (*__cil_tmp14)(struct blkcipher_desc * , struct scatterlist * , struct scatterlist * ,
1220                     unsigned int  ) ;
1221
1222  {
1223  {
1224#line 994
1225  __cil_tmp8 = *((struct crypto_blkcipher **)desc);
1226#line 994
1227  tmp = crypto_blkcipher_crt(__cil_tmp8);
1228#line 994
1229  __cil_tmp9 = (unsigned long )desc;
1230#line 994
1231  __cil_tmp10 = __cil_tmp9 + 8;
1232#line 994
1233  *((void **)__cil_tmp10) = *((void **)tmp);
1234#line 995
1235  __cil_tmp11 = *((struct crypto_blkcipher **)desc);
1236#line 995
1237  tmp___0 = crypto_blkcipher_crt(__cil_tmp11);
1238#line 995
1239  __cil_tmp12 = (unsigned long )tmp___0;
1240#line 995
1241  __cil_tmp13 = __cil_tmp12 + 24;
1242#line 995
1243  __cil_tmp14 = *((int (**)(struct blkcipher_desc * , struct scatterlist * , struct scatterlist * ,
1244                            unsigned int  ))__cil_tmp13);
1245#line 995
1246  tmp___1 = (*__cil_tmp14)(desc, dst, src, nbytes);
1247  }
1248#line 995
1249  return (tmp___1);
1250}
1251}
1252#line 1111 "include/linux/crypto.h"
1253__inline static struct crypto_hash *__crypto_hash_cast(struct crypto_tfm *tfm ) 
1254{ 
1255
1256  {
1257#line 1113
1258  return ((struct crypto_hash *)tfm);
1259}
1260}
1261#line 1123 "include/linux/crypto.h"
1262__inline static struct crypto_hash *crypto_alloc_hash(char const   *alg_name , u32 type ,
1263                                                      u32 mask ) 
1264{ struct crypto_tfm *tmp ;
1265  struct crypto_hash *tmp___0 ;
1266
1267  {
1268  {
1269#line 1126
1270  type = type & 4294967280U;
1271#line 1127
1272  mask = mask & 4294967280U;
1273#line 1128
1274  type = type | 8U;
1275#line 1129
1276  mask = mask | 14U;
1277#line 1131
1278  tmp = crypto_alloc_base(alg_name, type, mask);
1279#line 1131
1280  tmp___0 = __crypto_hash_cast(tmp);
1281  }
1282#line 1131
1283  return (tmp___0);
1284}
1285}
1286#line 1134 "include/linux/crypto.h"
1287__inline static struct crypto_tfm *crypto_hash_tfm(struct crypto_hash *tfm ) 
1288{ 
1289
1290  {
1291#line 1136
1292  return ((struct crypto_tfm *)tfm);
1293}
1294}
1295#line 1139 "include/linux/crypto.h"
1296__inline static void crypto_free_hash(struct crypto_hash *tfm ) 
1297{ struct crypto_tfm *tmp ;
1298
1299  {
1300  {
1301#line 1141
1302  tmp = crypto_hash_tfm(tfm);
1303#line 1141
1304  crypto_free_tfm(tmp);
1305  }
1306#line 1142
1307  return;
1308}
1309}
1310#line 1144 "include/linux/crypto.h"
1311__inline static int crypto_has_hash(char const   *alg_name , u32 type , u32 mask ) 
1312{ int tmp ;
1313
1314  {
1315  {
1316#line 1146
1317  type = type & 4294967280U;
1318#line 1147
1319  mask = mask & 4294967280U;
1320#line 1148
1321  type = type | 8U;
1322#line 1149
1323  mask = mask | 14U;
1324#line 1151
1325  tmp = crypto_has_alg(alg_name, type, mask);
1326  }
1327#line 1151
1328  return (tmp);
1329}
1330}
1331#line 1154 "include/linux/crypto.h"
1332__inline static struct hash_tfm *crypto_hash_crt(struct crypto_hash *tfm ) 
1333{ struct crypto_tfm *tmp ;
1334  unsigned long __cil_tmp3 ;
1335  unsigned long __cil_tmp4 ;
1336
1337  {
1338  {
1339#line 1156
1340  tmp = crypto_hash_tfm(tfm);
1341  }
1342  {
1343#line 1156
1344  __cil_tmp3 = (unsigned long )tmp;
1345#line 1156
1346  __cil_tmp4 = __cil_tmp3 + 8;
1347#line 1156
1348  return ((struct hash_tfm *)__cil_tmp4);
1349  }
1350}
1351}
1352#line 1169 "include/linux/crypto.h"
1353__inline static unsigned int crypto_hash_digestsize(struct crypto_hash *tfm ) 
1354{ struct hash_tfm *tmp ;
1355  unsigned long __cil_tmp3 ;
1356  unsigned long __cil_tmp4 ;
1357
1358  {
1359  {
1360#line 1171
1361  tmp = crypto_hash_crt(tfm);
1362  }
1363  {
1364#line 1171
1365  __cil_tmp3 = (unsigned long )tmp;
1366#line 1171
1367  __cil_tmp4 = __cil_tmp3 + 40;
1368#line 1171
1369  return (*((unsigned int *)__cil_tmp4));
1370  }
1371}
1372}
1373#line 1206 "include/linux/crypto.h"
1374__inline static int crypto_hash_digest(struct hash_desc *desc , struct scatterlist *sg ,
1375                                       unsigned int nbytes , u8 *out ) 
1376{ struct hash_tfm *tmp ;
1377  int tmp___0 ;
1378  struct crypto_hash *__cil_tmp7 ;
1379  unsigned long __cil_tmp8 ;
1380  unsigned long __cil_tmp9 ;
1381  int (*__cil_tmp10)(struct hash_desc * , struct scatterlist * , unsigned int  , u8 * ) ;
1382
1383  {
1384  {
1385#line 1210
1386  __cil_tmp7 = *((struct crypto_hash **)desc);
1387#line 1210
1388  tmp = crypto_hash_crt(__cil_tmp7);
1389#line 1210
1390  __cil_tmp8 = (unsigned long )tmp;
1391#line 1210
1392  __cil_tmp9 = __cil_tmp8 + 24;
1393#line 1210
1394  __cil_tmp10 = *((int (**)(struct hash_desc * , struct scatterlist * , unsigned int  ,
1395                            u8 * ))__cil_tmp9);
1396#line 1210
1397  tmp___0 = (*__cil_tmp10)(desc, sg, nbytes, out);
1398  }
1399#line 1210
1400  return (tmp___0);
1401}
1402}
1403#line 180 "include/linux/ppp-comp.h"
1404extern int ppp_register_compressor(struct compressor * ) ;
1405#line 181
1406extern void ppp_unregister_compressor(struct compressor * ) ;
1407#line 57 "include/linux/scatterlist.h"
1408__inline static void sg_assign_page(struct scatterlist *sg , struct page *page ) 
1409{ unsigned long page_link ;
1410  long tmp ;
1411  long tmp___0 ;
1412  long tmp___1 ;
1413  unsigned long __cil_tmp7 ;
1414  unsigned long __cil_tmp8 ;
1415  unsigned long __cil_tmp9 ;
1416  unsigned long __cil_tmp10 ;
1417  unsigned long __cil_tmp11 ;
1418  int __cil_tmp12 ;
1419  long __cil_tmp13 ;
1420  unsigned long __cil_tmp14 ;
1421  int __cil_tmp15 ;
1422  long __cil_tmp16 ;
1423  unsigned long __cil_tmp17 ;
1424  unsigned long __cil_tmp18 ;
1425  unsigned long __cil_tmp19 ;
1426  int __cil_tmp20 ;
1427  long __cil_tmp21 ;
1428  long __cil_tmp22 ;
1429  unsigned long __cil_tmp23 ;
1430  unsigned long __cil_tmp24 ;
1431  unsigned long __cil_tmp25 ;
1432
1433  {
1434  {
1435#line 59
1436  __cil_tmp7 = (unsigned long )sg;
1437#line 59
1438  __cil_tmp8 = __cil_tmp7 + 8;
1439#line 59
1440  __cil_tmp9 = *((unsigned long *)__cil_tmp8);
1441#line 59
1442  page_link = __cil_tmp9 & 3UL;
1443#line 65
1444  __cil_tmp10 = (unsigned long )page;
1445#line 65
1446  __cil_tmp11 = __cil_tmp10 & 3UL;
1447#line 65
1448  __cil_tmp12 = __cil_tmp11 != 0UL;
1449#line 65
1450  __cil_tmp13 = (long )__cil_tmp12;
1451#line 65
1452  tmp = __builtin_expect(__cil_tmp13, 0L);
1453  }
1454#line 65
1455  if (tmp != 0L) {
1456#line 65
1457    __asm__  volatile   ("1:\tud2\n.pushsection __bug_table,\"a\"\n2:\t.long 1b - 2b, %c0 - 2b\n\t.word %c1, 0\n\t.org 2b+%c2\n.popsection": : "i" ((char *)"include/linux/scatterlist.h"),
1458                         "i" (65), "i" (12UL));
1459    ldv_17922: ;
1460#line 65
1461    goto ldv_17922;
1462  } else {
1463
1464  }
1465  {
1466#line 67
1467  __cil_tmp14 = *((unsigned long *)sg);
1468#line 67
1469  __cil_tmp15 = __cil_tmp14 != 2271560481UL;
1470#line 67
1471  __cil_tmp16 = (long )__cil_tmp15;
1472#line 67
1473  tmp___0 = __builtin_expect(__cil_tmp16, 0L);
1474  }
1475#line 67
1476  if (tmp___0 != 0L) {
1477#line 67
1478    __asm__  volatile   ("1:\tud2\n.pushsection __bug_table,\"a\"\n2:\t.long 1b - 2b, %c0 - 2b\n\t.word %c1, 0\n\t.org 2b+%c2\n.popsection": : "i" ((char *)"include/linux/scatterlist.h"),
1479                         "i" (67), "i" (12UL));
1480    ldv_17923: ;
1481#line 67
1482    goto ldv_17923;
1483  } else {
1484
1485  }
1486  {
1487#line 68
1488  __cil_tmp17 = (unsigned long )sg;
1489#line 68
1490  __cil_tmp18 = __cil_tmp17 + 8;
1491#line 68
1492  __cil_tmp19 = *((unsigned long *)__cil_tmp18);
1493#line 68
1494  __cil_tmp20 = (int )__cil_tmp19;
1495#line 68
1496  __cil_tmp21 = (long )__cil_tmp20;
1497#line 68
1498  __cil_tmp22 = __cil_tmp21 & 1L;
1499#line 68
1500  tmp___1 = __builtin_expect(__cil_tmp22, 0L);
1501  }
1502#line 68
1503  if (tmp___1 != 0L) {
1504#line 68
1505    __asm__  volatile   ("1:\tud2\n.pushsection __bug_table,\"a\"\n2:\t.long 1b - 2b, %c0 - 2b\n\t.word %c1, 0\n\t.org 2b+%c2\n.popsection": : "i" ((char *)"include/linux/scatterlist.h"),
1506                         "i" (68), "i" (12UL));
1507    ldv_17924: ;
1508#line 68
1509    goto ldv_17924;
1510  } else {
1511
1512  }
1513#line 70
1514  __cil_tmp23 = (unsigned long )sg;
1515#line 70
1516  __cil_tmp24 = __cil_tmp23 + 8;
1517#line 70
1518  __cil_tmp25 = (unsigned long )page;
1519#line 70
1520  *((unsigned long *)__cil_tmp24) = page_link | __cil_tmp25;
1521#line 71
1522  return;
1523}
1524}
1525#line 87 "include/linux/scatterlist.h"
1526__inline static void sg_set_page(struct scatterlist *sg , struct page *page , unsigned int len ,
1527                                 unsigned int offset ) 
1528{ unsigned long __cil_tmp5 ;
1529  unsigned long __cil_tmp6 ;
1530  unsigned long __cil_tmp7 ;
1531  unsigned long __cil_tmp8 ;
1532
1533  {
1534  {
1535#line 90
1536  sg_assign_page(sg, page);
1537#line 91
1538  __cil_tmp5 = (unsigned long )sg;
1539#line 91
1540  __cil_tmp6 = __cil_tmp5 + 16;
1541#line 91
1542  *((unsigned int *)__cil_tmp6) = offset;
1543#line 92
1544  __cil_tmp7 = (unsigned long )sg;
1545#line 92
1546  __cil_tmp8 = __cil_tmp7 + 20;
1547#line 92
1548  *((unsigned int *)__cil_tmp8) = len;
1549  }
1550#line 93
1551  return;
1552}
1553}
1554#line 111 "include/linux/scatterlist.h"
1555__inline static void sg_set_buf(struct scatterlist *sg , void const   *buf , unsigned int buflen ) 
1556{ unsigned long tmp ;
1557  unsigned long __cil_tmp5 ;
1558  unsigned long __cil_tmp6 ;
1559  unsigned long __cil_tmp7 ;
1560  struct page *__cil_tmp8 ;
1561  long __cil_tmp9 ;
1562  unsigned int __cil_tmp10 ;
1563  unsigned int __cil_tmp11 ;
1564
1565  {
1566  {
1567#line 114
1568  __cil_tmp5 = (unsigned long )buf;
1569#line 114
1570  tmp = __phys_addr(__cil_tmp5);
1571#line 114
1572  __cil_tmp6 = tmp >> 12;
1573#line 114
1574  __cil_tmp7 = 0xffffea0000000000UL + __cil_tmp6;
1575#line 114
1576  __cil_tmp8 = (struct page *)__cil_tmp7;
1577#line 114
1578  __cil_tmp9 = (long )buf;
1579#line 114
1580  __cil_tmp10 = (unsigned int )__cil_tmp9;
1581#line 114
1582  __cil_tmp11 = __cil_tmp10 & 4095U;
1583#line 114
1584  sg_set_page(sg, __cil_tmp8, buflen, __cil_tmp11);
1585  }
1586#line 115
1587  return;
1588}
1589}
1590#line 206
1591extern void sg_init_table(struct scatterlist * , unsigned int  ) ;
1592#line 52 "include/linux/unaligned/access_ok.h"
1593__inline static void put_unaligned_be16(u16 val , void *p ) 
1594{ __u16 tmp ;
1595  int __cil_tmp4 ;
1596  __u16 __cil_tmp5 ;
1597  __be16 *__cil_tmp6 ;
1598
1599  {
1600  {
1601#line 54
1602  __cil_tmp4 = (int )val;
1603#line 54
1604  __cil_tmp5 = (__u16 )__cil_tmp4;
1605#line 54
1606  tmp = __fswab16(__cil_tmp5);
1607#line 54
1608  __cil_tmp6 = (__be16 *)p;
1609#line 54
1610  *__cil_tmp6 = tmp;
1611  }
1612#line 55
1613  return;
1614}
1615}
1616#line 84 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
1617static unsigned int setup_sg(struct scatterlist *sg , void const   *address , unsigned int length ) 
1618{ 
1619
1620  {
1621  {
1622#line 86
1623  sg_set_buf(sg, address, length);
1624  }
1625#line 87
1626  return (length);
1627}
1628}
1629#line 101 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
1630static struct sha_pad *sha_pad  ;
1631#line 103 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
1632__inline static void sha_pad_init(struct sha_pad *shapad ) 
1633{ unsigned char (*__cil_tmp2)[40U] ;
1634  void *__cil_tmp3 ;
1635  unsigned long __cil_tmp4 ;
1636  unsigned long __cil_tmp5 ;
1637  unsigned char (*__cil_tmp6)[40U] ;
1638  void *__cil_tmp7 ;
1639
1640  {
1641  {
1642#line 105
1643  __cil_tmp2 = (unsigned char (*)[40U])shapad;
1644#line 105
1645  __cil_tmp3 = (void *)__cil_tmp2;
1646#line 105
1647  memset(__cil_tmp3, 0, 40UL);
1648#line 106
1649  __cil_tmp4 = (unsigned long )shapad;
1650#line 106
1651  __cil_tmp5 = __cil_tmp4 + 40;
1652#line 106
1653  __cil_tmp6 = (unsigned char (*)[40U])__cil_tmp5;
1654#line 106
1655  __cil_tmp7 = (void *)__cil_tmp6;
1656#line 106
1657  memset(__cil_tmp7, 242, 40UL);
1658  }
1659#line 107
1660  return;
1661}
1662}
1663#line 152 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
1664static void get_new_key_from_sha(struct ppp_mppe_state *state ) 
1665{ struct hash_desc desc ;
1666  struct scatterlist sg[4U] ;
1667  unsigned int nbytes ;
1668  unsigned int tmp ;
1669  unsigned int tmp___0 ;
1670  unsigned int tmp___1 ;
1671  struct scatterlist *__cil_tmp8 ;
1672  struct scatterlist *__cil_tmp9 ;
1673  unsigned long __cil_tmp10 ;
1674  unsigned long __cil_tmp11 ;
1675  unsigned char (*__cil_tmp12)[16U] ;
1676  void const   *__cil_tmp13 ;
1677  unsigned long __cil_tmp14 ;
1678  unsigned long __cil_tmp15 ;
1679  unsigned int __cil_tmp16 ;
1680  struct scatterlist *__cil_tmp17 ;
1681  struct scatterlist *__cil_tmp18 ;
1682  unsigned char (*__cil_tmp19)[40U] ;
1683  void const   *__cil_tmp20 ;
1684  struct scatterlist *__cil_tmp21 ;
1685  struct scatterlist *__cil_tmp22 ;
1686  unsigned long __cil_tmp23 ;
1687  unsigned long __cil_tmp24 ;
1688  unsigned char (*__cil_tmp25)[16U] ;
1689  void const   *__cil_tmp26 ;
1690  unsigned long __cil_tmp27 ;
1691  unsigned long __cil_tmp28 ;
1692  unsigned int __cil_tmp29 ;
1693  struct scatterlist *__cil_tmp30 ;
1694  struct scatterlist *__cil_tmp31 ;
1695  unsigned long __cil_tmp32 ;
1696  unsigned long __cil_tmp33 ;
1697  unsigned char (*__cil_tmp34)[40U] ;
1698  void const   *__cil_tmp35 ;
1699  struct hash_desc *__cil_tmp36 ;
1700  unsigned long __cil_tmp37 ;
1701  unsigned long __cil_tmp38 ;
1702  unsigned long __cil_tmp39 ;
1703  struct scatterlist *__cil_tmp40 ;
1704  unsigned long __cil_tmp41 ;
1705  unsigned long __cil_tmp42 ;
1706  unsigned char *__cil_tmp43 ;
1707
1708  {
1709  {
1710#line 158
1711  __cil_tmp8 = (struct scatterlist *)(& sg);
1712#line 158
1713  sg_init_table(__cil_tmp8, 4U);
1714#line 160
1715  __cil_tmp9 = (struct scatterlist *)(& sg);
1716#line 160
1717  __cil_tmp10 = (unsigned long )state;
1718#line 160
1719  __cil_tmp11 = __cil_tmp10 + 24;
1720#line 160
1721  __cil_tmp12 = (unsigned char (*)[16U])__cil_tmp11;
1722#line 160
1723  __cil_tmp13 = (void const   *)__cil_tmp12;
1724#line 160
1725  __cil_tmp14 = (unsigned long )state;
1726#line 160
1727  __cil_tmp15 = __cil_tmp14 + 56;
1728#line 160
1729  __cil_tmp16 = *((unsigned int *)__cil_tmp15);
1730#line 160
1731  nbytes = setup_sg(__cil_tmp9, __cil_tmp13, __cil_tmp16);
1732#line 161
1733  __cil_tmp17 = (struct scatterlist *)(& sg);
1734#line 161
1735  __cil_tmp18 = __cil_tmp17 + 1UL;
1736#line 161
1737  __cil_tmp19 = (unsigned char (*)[40U])sha_pad;
1738#line 161
1739  __cil_tmp20 = (void const   *)__cil_tmp19;
1740#line 161
1741  tmp = setup_sg(__cil_tmp18, __cil_tmp20, 40U);
1742#line 161
1743  nbytes = tmp + nbytes;
1744#line 163
1745  __cil_tmp21 = (struct scatterlist *)(& sg);
1746#line 163
1747  __cil_tmp22 = __cil_tmp21 + 2UL;
1748#line 163
1749  __cil_tmp23 = (unsigned long )state;
1750#line 163
1751  __cil_tmp24 = __cil_tmp23 + 40;
1752#line 163
1753  __cil_tmp25 = (unsigned char (*)[16U])__cil_tmp24;
1754#line 163
1755  __cil_tmp26 = (void const   *)__cil_tmp25;
1756#line 163
1757  __cil_tmp27 = (unsigned long )state;
1758#line 163
1759  __cil_tmp28 = __cil_tmp27 + 56;
1760#line 163
1761  __cil_tmp29 = *((unsigned int *)__cil_tmp28);
1762#line 163
1763  tmp___0 = setup_sg(__cil_tmp22, __cil_tmp26, __cil_tmp29);
1764#line 163
1765  nbytes = tmp___0 + nbytes;
1766#line 164
1767  __cil_tmp30 = (struct scatterlist *)(& sg);
1768#line 164
1769  __cil_tmp31 = __cil_tmp30 + 3UL;
1770#line 164
1771  __cil_tmp32 = (unsigned long )sha_pad;
1772#line 164
1773  __cil_tmp33 = __cil_tmp32 + 40;
1774#line 164
1775  __cil_tmp34 = (unsigned char (*)[40U])__cil_tmp33;
1776#line 164
1777  __cil_tmp35 = (void const   *)__cil_tmp34;
1778#line 164
1779  tmp___1 = setup_sg(__cil_tmp31, __cil_tmp35, 40U);
1780#line 164
1781  nbytes = tmp___1 + nbytes;
1782#line 167
1783  __cil_tmp36 = & desc;
1784#line 167
1785  __cil_tmp37 = (unsigned long )state;
1786#line 167
1787  __cil_tmp38 = __cil_tmp37 + 8;
1788#line 167
1789  *((struct crypto_hash **)__cil_tmp36) = *((struct crypto_hash **)__cil_tmp38);
1790#line 168
1791  __cil_tmp39 = (unsigned long )(& desc) + 8;
1792#line 168
1793  *((u32 *)__cil_tmp39) = 0U;
1794#line 170
1795  __cil_tmp40 = (struct scatterlist *)(& sg);
1796#line 170
1797  __cil_tmp41 = (unsigned long )state;
1798#line 170
1799  __cil_tmp42 = __cil_tmp41 + 16;
1800#line 170
1801  __cil_tmp43 = *((unsigned char **)__cil_tmp42);
1802#line 170
1803  crypto_hash_digest(& desc, __cil_tmp40, nbytes, __cil_tmp43);
1804  }
1805#line 171
1806  return;
1807}
1808}
1809#line 177 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
1810static void mppe_rekey(struct ppp_mppe_state *state , int initial_key ) 
1811{ struct scatterlist sg_in[1U] ;
1812  struct scatterlist sg_out[1U] ;
1813  struct blkcipher_desc desc ;
1814  int tmp ;
1815  size_t __len ;
1816  void *__ret ;
1817  struct blkcipher_desc *__cil_tmp9 ;
1818  unsigned long __cil_tmp10 ;
1819  unsigned long __cil_tmp11 ;
1820  struct crypto_blkcipher *__cil_tmp12 ;
1821  unsigned long __cil_tmp13 ;
1822  unsigned long __cil_tmp14 ;
1823  unsigned char *__cil_tmp15 ;
1824  u8 const   *__cil_tmp16 ;
1825  unsigned long __cil_tmp17 ;
1826  unsigned long __cil_tmp18 ;
1827  unsigned int __cil_tmp19 ;
1828  struct scatterlist *__cil_tmp20 ;
1829  struct scatterlist *__cil_tmp21 ;
1830  struct scatterlist *__cil_tmp22 ;
1831  unsigned long __cil_tmp23 ;
1832  unsigned long __cil_tmp24 ;
1833  unsigned char *__cil_tmp25 ;
1834  void const   *__cil_tmp26 ;
1835  unsigned long __cil_tmp27 ;
1836  unsigned long __cil_tmp28 ;
1837  unsigned int __cil_tmp29 ;
1838  struct scatterlist *__cil_tmp30 ;
1839  unsigned long __cil_tmp31 ;
1840  unsigned long __cil_tmp32 ;
1841  unsigned char (*__cil_tmp33)[16U] ;
1842  void const   *__cil_tmp34 ;
1843  unsigned long __cil_tmp35 ;
1844  unsigned long __cil_tmp36 ;
1845  unsigned int __cil_tmp37 ;
1846  struct scatterlist *__cil_tmp38 ;
1847  struct scatterlist *__cil_tmp39 ;
1848  unsigned long __cil_tmp40 ;
1849  unsigned long __cil_tmp41 ;
1850  unsigned int __cil_tmp42 ;
1851  unsigned long __cil_tmp43 ;
1852  unsigned long __cil_tmp44 ;
1853  unsigned int __cil_tmp45 ;
1854  unsigned long __cil_tmp46 ;
1855  unsigned long __cil_tmp47 ;
1856  unsigned char (*__cil_tmp48)[16U] ;
1857  void *__cil_tmp49 ;
1858  unsigned long __cil_tmp50 ;
1859  unsigned long __cil_tmp51 ;
1860  unsigned char *__cil_tmp52 ;
1861  void const   *__cil_tmp53 ;
1862  unsigned long __cil_tmp54 ;
1863  unsigned long __cil_tmp55 ;
1864  unsigned int __cil_tmp56 ;
1865  unsigned long __cil_tmp57 ;
1866  unsigned long __cil_tmp58 ;
1867  unsigned long __cil_tmp59 ;
1868  unsigned long __cil_tmp60 ;
1869  unsigned long __cil_tmp61 ;
1870  unsigned long __cil_tmp62 ;
1871  unsigned long __cil_tmp63 ;
1872  unsigned long __cil_tmp64 ;
1873  unsigned long __cil_tmp65 ;
1874  unsigned long __cil_tmp66 ;
1875  unsigned long __cil_tmp67 ;
1876  unsigned long __cil_tmp68 ;
1877  struct crypto_blkcipher *__cil_tmp69 ;
1878  unsigned long __cil_tmp70 ;
1879  unsigned long __cil_tmp71 ;
1880  unsigned char (*__cil_tmp72)[16U] ;
1881  u8 const   *__cil_tmp73 ;
1882  unsigned long __cil_tmp74 ;
1883  unsigned long __cil_tmp75 ;
1884  unsigned int __cil_tmp76 ;
1885
1886  {
1887  {
1888#line 180
1889  __cil_tmp9 = & desc;
1890#line 180
1891  *((struct crypto_blkcipher **)__cil_tmp9) = *((struct crypto_blkcipher **)state);
1892#line 180
1893  __cil_tmp10 = (unsigned long )(& desc) + 8;
1894#line 180
1895  *((void **)__cil_tmp10) = (void *)0;
1896#line 180
1897  __cil_tmp11 = (unsigned long )(& desc) + 16;
1898#line 180
1899  *((u32 *)__cil_tmp11) = 0U;
1900#line 182
1901  get_new_key_from_sha(state);
1902  }
1903#line 183
1904  if (initial_key == 0) {
1905    {
1906#line 184
1907    __cil_tmp12 = *((struct crypto_blkcipher **)state);
1908#line 184
1909    __cil_tmp13 = (unsigned long )state;
1910#line 184
1911    __cil_tmp14 = __cil_tmp13 + 16;
1912#line 184
1913    __cil_tmp15 = *((unsigned char **)__cil_tmp14);
1914#line 184
1915    __cil_tmp16 = (u8 const   *)__cil_tmp15;
1916#line 184
1917    __cil_tmp17 = (unsigned long )state;
1918#line 184
1919    __cil_tmp18 = __cil_tmp17 + 56;
1920#line 184
1921    __cil_tmp19 = *((unsigned int *)__cil_tmp18);
1922#line 184
1923    crypto_blkcipher_setkey(__cil_tmp12, __cil_tmp16, __cil_tmp19);
1924#line 186
1925    __cil_tmp20 = (struct scatterlist *)(& sg_in);
1926#line 186
1927    sg_init_table(__cil_tmp20, 1U);
1928#line 187
1929    __cil_tmp21 = (struct scatterlist *)(& sg_out);
1930#line 187
1931    sg_init_table(__cil_tmp21, 1U);
1932#line 188
1933    __cil_tmp22 = (struct scatterlist *)(& sg_in);
1934#line 188
1935    __cil_tmp23 = (unsigned long )state;
1936#line 188
1937    __cil_tmp24 = __cil_tmp23 + 16;
1938#line 188
1939    __cil_tmp25 = *((unsigned char **)__cil_tmp24);
1940#line 188
1941    __cil_tmp26 = (void const   *)__cil_tmp25;
1942#line 188
1943    __cil_tmp27 = (unsigned long )state;
1944#line 188
1945    __cil_tmp28 = __cil_tmp27 + 56;
1946#line 188
1947    __cil_tmp29 = *((unsigned int *)__cil_tmp28);
1948#line 188
1949    setup_sg(__cil_tmp22, __cil_tmp26, __cil_tmp29);
1950#line 189
1951    __cil_tmp30 = (struct scatterlist *)(& sg_out);
1952#line 189
1953    __cil_tmp31 = (unsigned long )state;
1954#line 189
1955    __cil_tmp32 = __cil_tmp31 + 40;
1956#line 189
1957    __cil_tmp33 = (unsigned char (*)[16U])__cil_tmp32;
1958#line 189
1959    __cil_tmp34 = (void const   *)__cil_tmp33;
1960#line 189
1961    __cil_tmp35 = (unsigned long )state;
1962#line 189
1963    __cil_tmp36 = __cil_tmp35 + 56;
1964#line 189
1965    __cil_tmp37 = *((unsigned int *)__cil_tmp36);
1966#line 189
1967    setup_sg(__cil_tmp30, __cil_tmp34, __cil_tmp37);
1968#line 190
1969    __cil_tmp38 = (struct scatterlist *)(& sg_out);
1970#line 190
1971    __cil_tmp39 = (struct scatterlist *)(& sg_in);
1972#line 190
1973    __cil_tmp40 = (unsigned long )state;
1974#line 190
1975    __cil_tmp41 = __cil_tmp40 + 56;
1976#line 190
1977    __cil_tmp42 = *((unsigned int *)__cil_tmp41);
1978#line 190
1979    tmp = crypto_blkcipher_encrypt(& desc, __cil_tmp38, __cil_tmp39, __cil_tmp42);
1980    }
1981#line 190
1982    if (tmp != 0) {
1983      {
1984#line 192
1985      printk("<4>mppe_rekey: cipher_encrypt failed\n");
1986      }
1987    } else {
1988
1989    }
1990  } else {
1991    {
1992#line 195
1993    __cil_tmp43 = (unsigned long )state;
1994#line 195
1995    __cil_tmp44 = __cil_tmp43 + 56;
1996#line 195
1997    __cil_tmp45 = *((unsigned int *)__cil_tmp44);
1998#line 195
1999    __len = (size_t )__cil_tmp45;
2000#line 195
2001    __cil_tmp46 = (unsigned long )state;
2002#line 195
2003    __cil_tmp47 = __cil_tmp46 + 40;
2004#line 195
2005    __cil_tmp48 = (unsigned char (*)[16U])__cil_tmp47;
2006#line 195
2007    __cil_tmp49 = (void *)__cil_tmp48;
2008#line 195
2009    __cil_tmp50 = (unsigned long )state;
2010#line 195
2011    __cil_tmp51 = __cil_tmp50 + 16;
2012#line 195
2013    __cil_tmp52 = *((unsigned char **)__cil_tmp51);
2014#line 195
2015    __cil_tmp53 = (void const   *)__cil_tmp52;
2016#line 195
2017    __ret = __builtin_memcpy(__cil_tmp49, __cil_tmp53, __len);
2018    }
2019  }
2020  {
2021#line 197
2022  __cil_tmp54 = (unsigned long )state;
2023#line 197
2024  __cil_tmp55 = __cil_tmp54 + 56;
2025#line 197
2026  __cil_tmp56 = *((unsigned int *)__cil_tmp55);
2027#line 197
2028  if (__cil_tmp56 == 8U) {
2029#line 199
2030    __cil_tmp57 = 0 * 1UL;
2031#line 199
2032    __cil_tmp58 = 40 + __cil_tmp57;
2033#line 199
2034    __cil_tmp59 = (unsigned long )state;
2035#line 199
2036    __cil_tmp60 = __cil_tmp59 + __cil_tmp58;
2037#line 199
2038    *((unsigned char *)__cil_tmp60) = (unsigned char)209;
2039#line 200
2040    __cil_tmp61 = 1 * 1UL;
2041#line 200
2042    __cil_tmp62 = 40 + __cil_tmp61;
2043#line 200
2044    __cil_tmp63 = (unsigned long )state;
2045#line 200
2046    __cil_tmp64 = __cil_tmp63 + __cil_tmp62;
2047#line 200
2048    *((unsigned char *)__cil_tmp64) = (unsigned char)38;
2049#line 201
2050    __cil_tmp65 = 2 * 1UL;
2051#line 201
2052    __cil_tmp66 = 40 + __cil_tmp65;
2053#line 201
2054    __cil_tmp67 = (unsigned long )state;
2055#line 201
2056    __cil_tmp68 = __cil_tmp67 + __cil_tmp66;
2057#line 201
2058    *((unsigned char *)__cil_tmp68) = (unsigned char)158;
2059  } else {
2060
2061  }
2062  }
2063  {
2064#line 203
2065  __cil_tmp69 = *((struct crypto_blkcipher **)state);
2066#line 203
2067  __cil_tmp70 = (unsigned long )state;
2068#line 203
2069  __cil_tmp71 = __cil_tmp70 + 40;
2070#line 203
2071  __cil_tmp72 = (unsigned char (*)[16U])__cil_tmp71;
2072#line 203
2073  __cil_tmp73 = (u8 const   *)__cil_tmp72;
2074#line 203
2075  __cil_tmp74 = (unsigned long )state;
2076#line 203
2077  __cil_tmp75 = __cil_tmp74 + 56;
2078#line 203
2079  __cil_tmp76 = *((unsigned int *)__cil_tmp75);
2080#line 203
2081  crypto_blkcipher_setkey(__cil_tmp69, __cil_tmp73, __cil_tmp76);
2082  }
2083#line 204
2084  return;
2085}
2086}
2087#line 209 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
2088static void *mppe_alloc(unsigned char *options , int optlen ) 
2089{ struct ppp_mppe_state *state ;
2090  unsigned int digestsize ;
2091  void *tmp ;
2092  long tmp___0 ;
2093  long tmp___1 ;
2094  void *tmp___2 ;
2095  size_t __len ;
2096  void *__ret ;
2097  size_t __len___0 ;
2098  void *__ret___0 ;
2099  unsigned char __cil_tmp13 ;
2100  unsigned int __cil_tmp14 ;
2101  unsigned char *__cil_tmp15 ;
2102  unsigned char __cil_tmp16 ;
2103  unsigned int __cil_tmp17 ;
2104  struct ppp_mppe_state *__cil_tmp18 ;
2105  unsigned long __cil_tmp19 ;
2106  unsigned long __cil_tmp20 ;
2107  struct crypto_blkcipher *__cil_tmp21 ;
2108  void const   *__cil_tmp22 ;
2109  unsigned long __cil_tmp23 ;
2110  unsigned long __cil_tmp24 ;
2111  unsigned long __cil_tmp25 ;
2112  unsigned long __cil_tmp26 ;
2113  struct crypto_hash *__cil_tmp27 ;
2114  void const   *__cil_tmp28 ;
2115  unsigned long __cil_tmp29 ;
2116  unsigned long __cil_tmp30 ;
2117  unsigned long __cil_tmp31 ;
2118  unsigned long __cil_tmp32 ;
2119  struct crypto_hash *__cil_tmp33 ;
2120  size_t __cil_tmp34 ;
2121  unsigned long __cil_tmp35 ;
2122  unsigned long __cil_tmp36 ;
2123  unsigned char *__cil_tmp37 ;
2124  unsigned long __cil_tmp38 ;
2125  unsigned long __cil_tmp39 ;
2126  unsigned long __cil_tmp40 ;
2127  unsigned char *__cil_tmp41 ;
2128  unsigned long __cil_tmp42 ;
2129  unsigned long __cil_tmp43 ;
2130  unsigned long __cil_tmp44 ;
2131  unsigned char (*__cil_tmp45)[16U] ;
2132  void *__cil_tmp46 ;
2133  void const   *__cil_tmp47 ;
2134  void const   *__cil_tmp48 ;
2135  unsigned long __cil_tmp49 ;
2136  unsigned long __cil_tmp50 ;
2137  unsigned char (*__cil_tmp51)[16U] ;
2138  void *__cil_tmp52 ;
2139  void const   *__cil_tmp53 ;
2140  void const   *__cil_tmp54 ;
2141  unsigned long __cil_tmp55 ;
2142  unsigned long __cil_tmp56 ;
2143  unsigned char (*__cil_tmp57)[16U] ;
2144  void *__cil_tmp58 ;
2145  unsigned long __cil_tmp59 ;
2146  unsigned long __cil_tmp60 ;
2147  unsigned char (*__cil_tmp61)[16U] ;
2148  void const   *__cil_tmp62 ;
2149  unsigned long __cil_tmp63 ;
2150  unsigned long __cil_tmp64 ;
2151  unsigned char (*__cil_tmp65)[16U] ;
2152  void *__cil_tmp66 ;
2153  unsigned long __cil_tmp67 ;
2154  unsigned long __cil_tmp68 ;
2155  unsigned char (*__cil_tmp69)[16U] ;
2156  void const   *__cil_tmp70 ;
2157  unsigned char *__cil_tmp71 ;
2158  unsigned long __cil_tmp72 ;
2159  unsigned long __cil_tmp73 ;
2160  unsigned long __cil_tmp74 ;
2161  unsigned char *__cil_tmp75 ;
2162  unsigned long __cil_tmp76 ;
2163  unsigned long __cil_tmp77 ;
2164  unsigned long __cil_tmp78 ;
2165  unsigned char *__cil_tmp79 ;
2166  void const   *__cil_tmp80 ;
2167  struct crypto_hash *__cil_tmp81 ;
2168  unsigned long __cil_tmp82 ;
2169  unsigned long __cil_tmp83 ;
2170  unsigned long __cil_tmp84 ;
2171  struct crypto_hash *__cil_tmp85 ;
2172  unsigned long __cil_tmp86 ;
2173  unsigned long __cil_tmp87 ;
2174  unsigned long __cil_tmp88 ;
2175  struct crypto_hash *__cil_tmp89 ;
2176  struct crypto_blkcipher *__cil_tmp90 ;
2177  unsigned long __cil_tmp91 ;
2178  struct crypto_blkcipher *__cil_tmp92 ;
2179  unsigned long __cil_tmp93 ;
2180  struct crypto_blkcipher *__cil_tmp94 ;
2181  void const   *__cil_tmp95 ;
2182
2183  {
2184#line 214
2185  if (optlen != 22) {
2186#line 216
2187    goto out;
2188  } else {
2189    {
2190#line 214
2191    __cil_tmp13 = *options;
2192#line 214
2193    __cil_tmp14 = (unsigned int )__cil_tmp13;
2194#line 214
2195    if (__cil_tmp14 != 18U) {
2196#line 216
2197      goto out;
2198    } else {
2199      {
2200#line 214
2201      __cil_tmp15 = options + 1UL;
2202#line 214
2203      __cil_tmp16 = *__cil_tmp15;
2204#line 214
2205      __cil_tmp17 = (unsigned int )__cil_tmp16;
2206#line 214
2207      if (__cil_tmp17 != 6U) {
2208#line 216
2209        goto out;
2210      } else {
2211
2212      }
2213      }
2214    }
2215    }
2216  }
2217  {
2218#line 218
2219  tmp = kzalloc(128UL, 208U);
2220#line 218
2221  state = (struct ppp_mppe_state *)tmp;
2222  }
2223  {
2224#line 219
2225  __cil_tmp18 = (struct ppp_mppe_state *)0;
2226#line 219
2227  __cil_tmp19 = (unsigned long )__cil_tmp18;
2228#line 219
2229  __cil_tmp20 = (unsigned long )state;
2230#line 219
2231  if (__cil_tmp20 == __cil_tmp19) {
2232#line 220
2233    goto out;
2234  } else {
2235
2236  }
2237  }
2238  {
2239#line 223
2240  *((struct crypto_blkcipher **)state) = crypto_alloc_blkcipher("ecb(arc4)", 0U, 128U);
2241#line 224
2242  __cil_tmp21 = *((struct crypto_blkcipher **)state);
2243#line 224
2244  __cil_tmp22 = (void const   *)__cil_tmp21;
2245#line 224
2246  tmp___0 = IS_ERR(__cil_tmp22);
2247  }
2248#line 224
2249  if (tmp___0 != 0L) {
2250#line 225
2251    *((struct crypto_blkcipher **)state) = (struct crypto_blkcipher *)0;
2252#line 226
2253    goto out_free;
2254  } else {
2255
2256  }
2257  {
2258#line 229
2259  __cil_tmp23 = (unsigned long )state;
2260#line 229
2261  __cil_tmp24 = __cil_tmp23 + 8;
2262#line 229
2263  *((struct crypto_hash **)__cil_tmp24) = crypto_alloc_hash("sha1", 0U, 128U);
2264#line 230
2265  __cil_tmp25 = (unsigned long )state;
2266#line 230
2267  __cil_tmp26 = __cil_tmp25 + 8;
2268#line 230
2269  __cil_tmp27 = *((struct crypto_hash **)__cil_tmp26);
2270#line 230
2271  __cil_tmp28 = (void const   *)__cil_tmp27;
2272#line 230
2273  tmp___1 = IS_ERR(__cil_tmp28);
2274  }
2275#line 230
2276  if (tmp___1 != 0L) {
2277#line 231
2278    __cil_tmp29 = (unsigned long )state;
2279#line 231
2280    __cil_tmp30 = __cil_tmp29 + 8;
2281#line 231
2282    *((struct crypto_hash **)__cil_tmp30) = (struct crypto_hash *)0;
2283#line 232
2284    goto out_free;
2285  } else {
2286
2287  }
2288  {
2289#line 235
2290  __cil_tmp31 = (unsigned long )state;
2291#line 235
2292  __cil_tmp32 = __cil_tmp31 + 8;
2293#line 235
2294  __cil_tmp33 = *((struct crypto_hash **)__cil_tmp32);
2295#line 235
2296  digestsize = crypto_hash_digestsize(__cil_tmp33);
2297  }
2298#line 236
2299  if (digestsize <= 15U) {
2300#line 237
2301    goto out_free;
2302  } else {
2303
2304  }
2305  {
2306#line 239
2307  __cil_tmp34 = (size_t )digestsize;
2308#line 239
2309  tmp___2 = kmalloc(__cil_tmp34, 208U);
2310#line 239
2311  __cil_tmp35 = (unsigned long )state;
2312#line 239
2313  __cil_tmp36 = __cil_tmp35 + 16;
2314#line 239
2315  *((unsigned char **)__cil_tmp36) = (unsigned char *)tmp___2;
2316  }
2317  {
2318#line 240
2319  __cil_tmp37 = (unsigned char *)0;
2320#line 240
2321  __cil_tmp38 = (unsigned long )__cil_tmp37;
2322#line 240
2323  __cil_tmp39 = (unsigned long )state;
2324#line 240
2325  __cil_tmp40 = __cil_tmp39 + 16;
2326#line 240
2327  __cil_tmp41 = *((unsigned char **)__cil_tmp40);
2328#line 240
2329  __cil_tmp42 = (unsigned long )__cil_tmp41;
2330#line 240
2331  if (__cil_tmp42 == __cil_tmp38) {
2332#line 241
2333    goto out_free;
2334  } else {
2335
2336  }
2337  }
2338#line 244
2339  __len = 16UL;
2340#line 244
2341  if (__len > 63UL) {
2342    {
2343#line 244
2344    __cil_tmp43 = (unsigned long )state;
2345#line 244
2346    __cil_tmp44 = __cil_tmp43 + 24;
2347#line 244
2348    __cil_tmp45 = (unsigned char (*)[16U])__cil_tmp44;
2349#line 244
2350    __cil_tmp46 = (void *)__cil_tmp45;
2351#line 244
2352    __cil_tmp47 = (void const   *)options;
2353#line 244
2354    __cil_tmp48 = __cil_tmp47 + 6U;
2355#line 244
2356    __ret = __memcpy(__cil_tmp46, __cil_tmp48, __len);
2357    }
2358  } else {
2359    {
2360#line 244
2361    __cil_tmp49 = (unsigned long )state;
2362#line 244
2363    __cil_tmp50 = __cil_tmp49 + 24;
2364#line 244
2365    __cil_tmp51 = (unsigned char (*)[16U])__cil_tmp50;
2366#line 244
2367    __cil_tmp52 = (void *)__cil_tmp51;
2368#line 244
2369    __cil_tmp53 = (void const   *)options;
2370#line 244
2371    __cil_tmp54 = __cil_tmp53 + 6U;
2372#line 244
2373    __ret = __builtin_memcpy(__cil_tmp52, __cil_tmp54, __len);
2374    }
2375  }
2376#line 246
2377  __len___0 = 16UL;
2378#line 246
2379  if (__len___0 > 63UL) {
2380    {
2381#line 246
2382    __cil_tmp55 = (unsigned long )state;
2383#line 246
2384    __cil_tmp56 = __cil_tmp55 + 40;
2385#line 246
2386    __cil_tmp57 = (unsigned char (*)[16U])__cil_tmp56;
2387#line 246
2388    __cil_tmp58 = (void *)__cil_tmp57;
2389#line 246
2390    __cil_tmp59 = (unsigned long )state;
2391#line 246
2392    __cil_tmp60 = __cil_tmp59 + 24;
2393#line 246
2394    __cil_tmp61 = (unsigned char (*)[16U])__cil_tmp60;
2395#line 246
2396    __cil_tmp62 = (void const   *)__cil_tmp61;
2397#line 246
2398    __ret___0 = __memcpy(__cil_tmp58, __cil_tmp62, __len___0);
2399    }
2400  } else {
2401    {
2402#line 246
2403    __cil_tmp63 = (unsigned long )state;
2404#line 246
2405    __cil_tmp64 = __cil_tmp63 + 40;
2406#line 246
2407    __cil_tmp65 = (unsigned char (*)[16U])__cil_tmp64;
2408#line 246
2409    __cil_tmp66 = (void *)__cil_tmp65;
2410#line 246
2411    __cil_tmp67 = (unsigned long )state;
2412#line 246
2413    __cil_tmp68 = __cil_tmp67 + 24;
2414#line 246
2415    __cil_tmp69 = (unsigned char (*)[16U])__cil_tmp68;
2416#line 246
2417    __cil_tmp70 = (void const   *)__cil_tmp69;
2418#line 246
2419    __ret___0 = __builtin_memcpy(__cil_tmp66, __cil_tmp70, __len___0);
2420    }
2421  }
2422#line 254
2423  return ((void *)state);
2424  out_free: ;
2425  {
2426#line 257
2427  __cil_tmp71 = (unsigned char *)0;
2428#line 257
2429  __cil_tmp72 = (unsigned long )__cil_tmp71;
2430#line 257
2431  __cil_tmp73 = (unsigned long )state;
2432#line 257
2433  __cil_tmp74 = __cil_tmp73 + 16;
2434#line 257
2435  __cil_tmp75 = *((unsigned char **)__cil_tmp74);
2436#line 257
2437  __cil_tmp76 = (unsigned long )__cil_tmp75;
2438#line 257
2439  if (__cil_tmp76 != __cil_tmp72) {
2440    {
2441#line 258
2442    __cil_tmp77 = (unsigned long )state;
2443#line 258
2444    __cil_tmp78 = __cil_tmp77 + 16;
2445#line 258
2446    __cil_tmp79 = *((unsigned char **)__cil_tmp78);
2447#line 258
2448    __cil_tmp80 = (void const   *)__cil_tmp79;
2449#line 258
2450    kfree(__cil_tmp80);
2451    }
2452  } else {
2453
2454  }
2455  }
2456  {
2457#line 259
2458  __cil_tmp81 = (struct crypto_hash *)0;
2459#line 259
2460  __cil_tmp82 = (unsigned long )__cil_tmp81;
2461#line 259
2462  __cil_tmp83 = (unsigned long )state;
2463#line 259
2464  __cil_tmp84 = __cil_tmp83 + 8;
2465#line 259
2466  __cil_tmp85 = *((struct crypto_hash **)__cil_tmp84);
2467#line 259
2468  __cil_tmp86 = (unsigned long )__cil_tmp85;
2469#line 259
2470  if (__cil_tmp86 != __cil_tmp82) {
2471    {
2472#line 260
2473    __cil_tmp87 = (unsigned long )state;
2474#line 260
2475    __cil_tmp88 = __cil_tmp87 + 8;
2476#line 260
2477    __cil_tmp89 = *((struct crypto_hash **)__cil_tmp88);
2478#line 260
2479    crypto_free_hash(__cil_tmp89);
2480    }
2481  } else {
2482
2483  }
2484  }
2485  {
2486#line 261
2487  __cil_tmp90 = (struct crypto_blkcipher *)0;
2488#line 261
2489  __cil_tmp91 = (unsigned long )__cil_tmp90;
2490#line 261
2491  __cil_tmp92 = *((struct crypto_blkcipher **)state);
2492#line 261
2493  __cil_tmp93 = (unsigned long )__cil_tmp92;
2494#line 261
2495  if (__cil_tmp93 != __cil_tmp91) {
2496    {
2497#line 262
2498    __cil_tmp94 = *((struct crypto_blkcipher **)state);
2499#line 262
2500    crypto_free_blkcipher(__cil_tmp94);
2501    }
2502  } else {
2503
2504  }
2505  }
2506  {
2507#line 263
2508  __cil_tmp95 = (void const   *)state;
2509#line 263
2510  kfree(__cil_tmp95);
2511  }
2512  out: ;
2513#line 265
2514  return ((void *)0);
2515}
2516}
2517#line 271 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
2518static void mppe_free(void *arg ) 
2519{ struct ppp_mppe_state *state ;
2520  struct ppp_mppe_state *__cil_tmp3 ;
2521  unsigned long __cil_tmp4 ;
2522  unsigned long __cil_tmp5 ;
2523  unsigned char *__cil_tmp6 ;
2524  unsigned long __cil_tmp7 ;
2525  unsigned long __cil_tmp8 ;
2526  unsigned long __cil_tmp9 ;
2527  unsigned char *__cil_tmp10 ;
2528  unsigned long __cil_tmp11 ;
2529  unsigned long __cil_tmp12 ;
2530  unsigned long __cil_tmp13 ;
2531  unsigned char *__cil_tmp14 ;
2532  void const   *__cil_tmp15 ;
2533  struct crypto_hash *__cil_tmp16 ;
2534  unsigned long __cil_tmp17 ;
2535  unsigned long __cil_tmp18 ;
2536  unsigned long __cil_tmp19 ;
2537  struct crypto_hash *__cil_tmp20 ;
2538  unsigned long __cil_tmp21 ;
2539  unsigned long __cil_tmp22 ;
2540  unsigned long __cil_tmp23 ;
2541  struct crypto_hash *__cil_tmp24 ;
2542  struct crypto_blkcipher *__cil_tmp25 ;
2543  unsigned long __cil_tmp26 ;
2544  struct crypto_blkcipher *__cil_tmp27 ;
2545  unsigned long __cil_tmp28 ;
2546  struct crypto_blkcipher *__cil_tmp29 ;
2547  void const   *__cil_tmp30 ;
2548
2549  {
2550#line 273
2551  state = (struct ppp_mppe_state *)arg;
2552  {
2553#line 274
2554  __cil_tmp3 = (struct ppp_mppe_state *)0;
2555#line 274
2556  __cil_tmp4 = (unsigned long )__cil_tmp3;
2557#line 274
2558  __cil_tmp5 = (unsigned long )state;
2559#line 274
2560  if (__cil_tmp5 != __cil_tmp4) {
2561    {
2562#line 275
2563    __cil_tmp6 = (unsigned char *)0;
2564#line 275
2565    __cil_tmp7 = (unsigned long )__cil_tmp6;
2566#line 275
2567    __cil_tmp8 = (unsigned long )state;
2568#line 275
2569    __cil_tmp9 = __cil_tmp8 + 16;
2570#line 275
2571    __cil_tmp10 = *((unsigned char **)__cil_tmp9);
2572#line 275
2573    __cil_tmp11 = (unsigned long )__cil_tmp10;
2574#line 275
2575    if (__cil_tmp11 != __cil_tmp7) {
2576      {
2577#line 276
2578      __cil_tmp12 = (unsigned long )state;
2579#line 276
2580      __cil_tmp13 = __cil_tmp12 + 16;
2581#line 276
2582      __cil_tmp14 = *((unsigned char **)__cil_tmp13);
2583#line 276
2584      __cil_tmp15 = (void const   *)__cil_tmp14;
2585#line 276
2586      kfree(__cil_tmp15);
2587      }
2588    } else {
2589
2590    }
2591    }
2592    {
2593#line 277
2594    __cil_tmp16 = (struct crypto_hash *)0;
2595#line 277
2596    __cil_tmp17 = (unsigned long )__cil_tmp16;
2597#line 277
2598    __cil_tmp18 = (unsigned long )state;
2599#line 277
2600    __cil_tmp19 = __cil_tmp18 + 8;
2601#line 277
2602    __cil_tmp20 = *((struct crypto_hash **)__cil_tmp19);
2603#line 277
2604    __cil_tmp21 = (unsigned long )__cil_tmp20;
2605#line 277
2606    if (__cil_tmp21 != __cil_tmp17) {
2607      {
2608#line 278
2609      __cil_tmp22 = (unsigned long )state;
2610#line 278
2611      __cil_tmp23 = __cil_tmp22 + 8;
2612#line 278
2613      __cil_tmp24 = *((struct crypto_hash **)__cil_tmp23);
2614#line 278
2615      crypto_free_hash(__cil_tmp24);
2616      }
2617    } else {
2618
2619    }
2620    }
2621    {
2622#line 279
2623    __cil_tmp25 = (struct crypto_blkcipher *)0;
2624#line 279
2625    __cil_tmp26 = (unsigned long )__cil_tmp25;
2626#line 279
2627    __cil_tmp27 = *((struct crypto_blkcipher **)state);
2628#line 279
2629    __cil_tmp28 = (unsigned long )__cil_tmp27;
2630#line 279
2631    if (__cil_tmp28 != __cil_tmp26) {
2632      {
2633#line 280
2634      __cil_tmp29 = *((struct crypto_blkcipher **)state);
2635#line 280
2636      crypto_free_blkcipher(__cil_tmp29);
2637      }
2638    } else {
2639
2640    }
2641    }
2642    {
2643#line 281
2644    __cil_tmp30 = (void const   *)state;
2645#line 281
2646    kfree(__cil_tmp30);
2647    }
2648  } else {
2649
2650  }
2651  }
2652#line 283
2653  return;
2654}
2655}
2656#line 289 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
2657static int mppe_init(void *arg , unsigned char *options , int optlen , int unit ,
2658                     int debug , char const   *debugstr ) 
2659{ struct ppp_mppe_state *state ;
2660  unsigned char mppe_opts ;
2661  u_char *ptr ;
2662  int i ;
2663  char mkey[33U] ;
2664  char skey[33U] ;
2665  char *tmp ;
2666  int tmp___0 ;
2667  unsigned char __cil_tmp15 ;
2668  unsigned int __cil_tmp16 ;
2669  unsigned char *__cil_tmp17 ;
2670  unsigned char __cil_tmp18 ;
2671  unsigned int __cil_tmp19 ;
2672  u_char __cil_tmp20 ;
2673  int __cil_tmp21 ;
2674  int __cil_tmp22 ;
2675  unsigned int __cil_tmp23 ;
2676  unsigned int __cil_tmp24 ;
2677  u_char *__cil_tmp25 ;
2678  u_char __cil_tmp26 ;
2679  int __cil_tmp27 ;
2680  int __cil_tmp28 ;
2681  unsigned int __cil_tmp29 ;
2682  unsigned int __cil_tmp30 ;
2683  u_char *__cil_tmp31 ;
2684  u_char __cil_tmp32 ;
2685  int __cil_tmp33 ;
2686  int __cil_tmp34 ;
2687  unsigned int __cil_tmp35 ;
2688  unsigned int __cil_tmp36 ;
2689  u_char *__cil_tmp37 ;
2690  u_char __cil_tmp38 ;
2691  signed char __cil_tmp39 ;
2692  int __cil_tmp40 ;
2693  unsigned int __cil_tmp41 ;
2694  unsigned int __cil_tmp42 ;
2695  u_char *__cil_tmp43 ;
2696  u_char __cil_tmp44 ;
2697  int __cil_tmp45 ;
2698  int __cil_tmp46 ;
2699  unsigned int __cil_tmp47 ;
2700  unsigned int __cil_tmp48 ;
2701  u_char *__cil_tmp49 ;
2702  u_char __cil_tmp50 ;
2703  int __cil_tmp51 ;
2704  unsigned int __cil_tmp52 ;
2705  unsigned int __cil_tmp53 ;
2706  u_char __cil_tmp54 ;
2707  int __cil_tmp55 ;
2708  int __cil_tmp56 ;
2709  unsigned int __cil_tmp57 ;
2710  unsigned int __cil_tmp58 ;
2711  u_char *__cil_tmp59 ;
2712  u_char __cil_tmp60 ;
2713  unsigned int __cil_tmp61 ;
2714  unsigned int __cil_tmp62 ;
2715  unsigned int __cil_tmp63 ;
2716  u_char *__cil_tmp64 ;
2717  u_char __cil_tmp65 ;
2718  unsigned int __cil_tmp66 ;
2719  unsigned int __cil_tmp67 ;
2720  unsigned int __cil_tmp68 ;
2721  u_char *__cil_tmp69 ;
2722  u_char __cil_tmp70 ;
2723  int __cil_tmp71 ;
2724  int __cil_tmp72 ;
2725  unsigned int __cil_tmp73 ;
2726  unsigned int __cil_tmp74 ;
2727  int __cil_tmp75 ;
2728  int __cil_tmp76 ;
2729  unsigned long __cil_tmp77 ;
2730  unsigned long __cil_tmp78 ;
2731  int __cil_tmp79 ;
2732  unsigned long __cil_tmp80 ;
2733  unsigned long __cil_tmp81 ;
2734  int __cil_tmp82 ;
2735  int __cil_tmp83 ;
2736  unsigned long __cil_tmp84 ;
2737  unsigned long __cil_tmp85 ;
2738  unsigned long __cil_tmp86 ;
2739  unsigned long __cil_tmp87 ;
2740  unsigned int __cil_tmp88 ;
2741  unsigned long __cil_tmp89 ;
2742  unsigned long __cil_tmp90 ;
2743  unsigned int __cil_tmp91 ;
2744  int __cil_tmp92 ;
2745  unsigned long __cil_tmp93 ;
2746  char *__cil_tmp94 ;
2747  char *__cil_tmp95 ;
2748  unsigned long __cil_tmp96 ;
2749  unsigned long __cil_tmp97 ;
2750  unsigned long __cil_tmp98 ;
2751  unsigned long __cil_tmp99 ;
2752  unsigned char __cil_tmp100 ;
2753  int __cil_tmp101 ;
2754  unsigned int __cil_tmp102 ;
2755  int __cil_tmp103 ;
2756  unsigned long __cil_tmp104 ;
2757  char *__cil_tmp105 ;
2758  char *__cil_tmp106 ;
2759  unsigned long __cil_tmp107 ;
2760  unsigned long __cil_tmp108 ;
2761  unsigned long __cil_tmp109 ;
2762  unsigned long __cil_tmp110 ;
2763  unsigned char __cil_tmp111 ;
2764  int __cil_tmp112 ;
2765  unsigned int __cil_tmp113 ;
2766  char *__cil_tmp114 ;
2767  char *__cil_tmp115 ;
2768  unsigned long __cil_tmp116 ;
2769  unsigned long __cil_tmp117 ;
2770  unsigned long __cil_tmp118 ;
2771  unsigned long __cil_tmp119 ;
2772  unsigned long __cil_tmp120 ;
2773  unsigned long __cil_tmp121 ;
2774  unsigned long __cil_tmp122 ;
2775  unsigned long __cil_tmp123 ;
2776
2777  {
2778#line 292
2779  state = (struct ppp_mppe_state *)arg;
2780#line 295
2781  if (optlen != 6) {
2782#line 297
2783    return (0);
2784  } else {
2785    {
2786#line 295
2787    __cil_tmp15 = *options;
2788#line 295
2789    __cil_tmp16 = (unsigned int )__cil_tmp15;
2790#line 295
2791    if (__cil_tmp16 != 18U) {
2792#line 297
2793      return (0);
2794    } else {
2795      {
2796#line 295
2797      __cil_tmp17 = options + 1UL;
2798#line 295
2799      __cil_tmp18 = *__cil_tmp17;
2800#line 295
2801      __cil_tmp19 = (unsigned int )__cil_tmp18;
2802#line 295
2803      if (__cil_tmp19 != 6U) {
2804#line 297
2805        return (0);
2806      } else {
2807
2808      }
2809      }
2810    }
2811    }
2812  }
2813#line 299
2814  ptr = options + 2U;
2815#line 299
2816  mppe_opts = (unsigned char)0;
2817  {
2818#line 299
2819  __cil_tmp20 = *ptr;
2820#line 299
2821  __cil_tmp21 = (int )__cil_tmp20;
2822#line 299
2823  __cil_tmp22 = __cil_tmp21 & 1;
2824#line 299
2825  if (__cil_tmp22 == 0) {
2826#line 299
2827    __cil_tmp23 = (unsigned int )mppe_opts;
2828#line 299
2829    __cil_tmp24 = __cil_tmp23 | 4U;
2830#line 299
2831    mppe_opts = (unsigned char )__cil_tmp24;
2832  } else {
2833
2834  }
2835  }
2836  {
2837#line 299
2838  __cil_tmp25 = ptr + 3UL;
2839#line 299
2840  __cil_tmp26 = *__cil_tmp25;
2841#line 299
2842  __cil_tmp27 = (int )__cil_tmp26;
2843#line 299
2844  __cil_tmp28 = __cil_tmp27 & 64;
2845#line 299
2846  if (__cil_tmp28 != 0) {
2847#line 299
2848    __cil_tmp29 = (unsigned int )mppe_opts;
2849#line 299
2850    __cil_tmp30 = __cil_tmp29 | 2U;
2851#line 299
2852    mppe_opts = (unsigned char )__cil_tmp30;
2853  } else {
2854
2855  }
2856  }
2857  {
2858#line 299
2859  __cil_tmp31 = ptr + 3UL;
2860#line 299
2861  __cil_tmp32 = *__cil_tmp31;
2862#line 299
2863  __cil_tmp33 = (int )__cil_tmp32;
2864#line 299
2865  __cil_tmp34 = __cil_tmp33 & 32;
2866#line 299
2867  if (__cil_tmp34 != 0) {
2868#line 299
2869    __cil_tmp35 = (unsigned int )mppe_opts;
2870#line 299
2871    __cil_tmp36 = __cil_tmp35 | 1U;
2872#line 299
2873    mppe_opts = (unsigned char )__cil_tmp36;
2874  } else {
2875
2876  }
2877  }
2878  {
2879#line 299
2880  __cil_tmp37 = ptr + 3UL;
2881#line 299
2882  __cil_tmp38 = *__cil_tmp37;
2883#line 299
2884  __cil_tmp39 = (signed char )__cil_tmp38;
2885#line 299
2886  __cil_tmp40 = (int )__cil_tmp39;
2887#line 299
2888  if (__cil_tmp40 < 0) {
2889#line 299
2890    __cil_tmp41 = (unsigned int )mppe_opts;
2891#line 299
2892    __cil_tmp42 = __cil_tmp41 | 8U;
2893#line 299
2894    mppe_opts = (unsigned char )__cil_tmp42;
2895  } else {
2896
2897  }
2898  }
2899  {
2900#line 299
2901  __cil_tmp43 = ptr + 3UL;
2902#line 299
2903  __cil_tmp44 = *__cil_tmp43;
2904#line 299
2905  __cil_tmp45 = (int )__cil_tmp44;
2906#line 299
2907  __cil_tmp46 = __cil_tmp45 & 16;
2908#line 299
2909  if (__cil_tmp46 != 0) {
2910#line 299
2911    __cil_tmp47 = (unsigned int )mppe_opts;
2912#line 299
2913    __cil_tmp48 = __cil_tmp47 | 32U;
2914#line 299
2915    mppe_opts = (unsigned char )__cil_tmp48;
2916  } else {
2917
2918  }
2919  }
2920  {
2921#line 299
2922  __cil_tmp49 = ptr + 3UL;
2923#line 299
2924  __cil_tmp50 = *__cil_tmp49;
2925#line 299
2926  __cil_tmp51 = (int )__cil_tmp50;
2927#line 299
2928  if (__cil_tmp51 & 1) {
2929#line 299
2930    __cil_tmp52 = (unsigned int )mppe_opts;
2931#line 299
2932    __cil_tmp53 = __cil_tmp52 | 16U;
2933#line 299
2934    mppe_opts = (unsigned char )__cil_tmp53;
2935  } else {
2936
2937  }
2938  }
2939  {
2940#line 299
2941  __cil_tmp54 = *ptr;
2942#line 299
2943  __cil_tmp55 = (int )__cil_tmp54;
2944#line 299
2945  __cil_tmp56 = __cil_tmp55 & -2;
2946#line 299
2947  if (__cil_tmp56 != 0) {
2948#line 299
2949    __cil_tmp57 = (unsigned int )mppe_opts;
2950#line 299
2951    __cil_tmp58 = __cil_tmp57 | 64U;
2952#line 299
2953    mppe_opts = (unsigned char )__cil_tmp58;
2954  } else {
2955
2956  }
2957  }
2958  {
2959#line 299
2960  __cil_tmp59 = ptr + 1UL;
2961#line 299
2962  __cil_tmp60 = *__cil_tmp59;
2963#line 299
2964  __cil_tmp61 = (unsigned int )__cil_tmp60;
2965#line 299
2966  if (__cil_tmp61 != 0U) {
2967#line 299
2968    __cil_tmp62 = (unsigned int )mppe_opts;
2969#line 299
2970    __cil_tmp63 = __cil_tmp62 | 64U;
2971#line 299
2972    mppe_opts = (unsigned char )__cil_tmp63;
2973  } else {
2974    {
2975#line 299
2976    __cil_tmp64 = ptr + 2UL;
2977#line 299
2978    __cil_tmp65 = *__cil_tmp64;
2979#line 299
2980    __cil_tmp66 = (unsigned int )__cil_tmp65;
2981#line 299
2982    if (__cil_tmp66 != 0U) {
2983#line 299
2984      __cil_tmp67 = (unsigned int )mppe_opts;
2985#line 299
2986      __cil_tmp68 = __cil_tmp67 | 64U;
2987#line 299
2988      mppe_opts = (unsigned char )__cil_tmp68;
2989    } else {
2990
2991    }
2992    }
2993  }
2994  }
2995  {
2996#line 299
2997  __cil_tmp69 = ptr + 3UL;
2998#line 299
2999  __cil_tmp70 = *__cil_tmp69;
3000#line 299
3001  __cil_tmp71 = (int )__cil_tmp70;
3002#line 299
3003  __cil_tmp72 = __cil_tmp71 & -242;
3004#line 299
3005  if (__cil_tmp72 != 0) {
3006#line 299
3007    __cil_tmp73 = (unsigned int )mppe_opts;
3008#line 299
3009    __cil_tmp74 = __cil_tmp73 | 64U;
3010#line 299
3011    mppe_opts = (unsigned char )__cil_tmp74;
3012  } else {
3013
3014  }
3015  }
3016  {
3017#line 300
3018  __cil_tmp75 = (int )mppe_opts;
3019#line 300
3020  __cil_tmp76 = __cil_tmp75 & 2;
3021#line 300
3022  if (__cil_tmp76 != 0) {
3023#line 301
3024    __cil_tmp77 = (unsigned long )state;
3025#line 301
3026    __cil_tmp78 = __cil_tmp77 + 56;
3027#line 301
3028    *((unsigned int *)__cil_tmp78) = 16U;
3029  } else {
3030    {
3031#line 302
3032    __cil_tmp79 = (int )mppe_opts;
3033#line 302
3034    if (__cil_tmp79 & 1) {
3035#line 303
3036      __cil_tmp80 = (unsigned long )state;
3037#line 303
3038      __cil_tmp81 = __cil_tmp80 + 56;
3039#line 303
3040      *((unsigned int *)__cil_tmp81) = 8U;
3041    } else {
3042      {
3043#line 305
3044      printk("<4>%s[%d]: unknown key length\n", debugstr, unit);
3045      }
3046#line 307
3047      return (0);
3048    }
3049    }
3050  }
3051  }
3052  {
3053#line 309
3054  __cil_tmp82 = (int )mppe_opts;
3055#line 309
3056  __cil_tmp83 = __cil_tmp82 & 4;
3057#line 309
3058  if (__cil_tmp83 != 0) {
3059#line 310
3060    __cil_tmp84 = (unsigned long )state;
3061#line 310
3062    __cil_tmp85 = __cil_tmp84 + 68;
3063#line 310
3064    *((unsigned int *)__cil_tmp85) = 1U;
3065  } else {
3066
3067  }
3068  }
3069  {
3070#line 313
3071  mppe_rekey(state, 1);
3072  }
3073#line 315
3074  if (debug != 0) {
3075    {
3076#line 320
3077    __cil_tmp86 = (unsigned long )state;
3078#line 320
3079    __cil_tmp87 = __cil_tmp86 + 68;
3080#line 320
3081    __cil_tmp88 = *((unsigned int *)__cil_tmp87);
3082#line 320
3083    if (__cil_tmp88 != 0U) {
3084#line 320
3085      tmp = (char *)"stateful";
3086    } else {
3087#line 320
3088      tmp = (char *)"stateless";
3089    }
3090    }
3091    {
3092#line 320
3093    __cil_tmp89 = (unsigned long )state;
3094#line 320
3095    __cil_tmp90 = __cil_tmp89 + 56;
3096#line 320
3097    __cil_tmp91 = *((unsigned int *)__cil_tmp90);
3098#line 320
3099    if (__cil_tmp91 == 16U) {
3100#line 320
3101      tmp___0 = 128;
3102    } else {
3103#line 320
3104      tmp___0 = 40;
3105    }
3106    }
3107    {
3108#line 320
3109    printk("<7>%s[%d]: initialized with %d-bit %s mode\n", debugstr, unit, tmp___0,
3110           tmp);
3111#line 324
3112    i = 0;
3113    }
3114#line 324
3115    goto ldv_18143;
3116    ldv_18142: 
3117    {
3118#line 325
3119    __cil_tmp92 = i * 2;
3120#line 325
3121    __cil_tmp93 = (unsigned long )__cil_tmp92;
3122#line 325
3123    __cil_tmp94 = (char *)(& mkey);
3124#line 325
3125    __cil_tmp95 = __cil_tmp94 + __cil_tmp93;
3126#line 325
3127    __cil_tmp96 = i * 1UL;
3128#line 325
3129    __cil_tmp97 = 24 + __cil_tmp96;
3130#line 325
3131    __cil_tmp98 = (unsigned long )state;
3132#line 325
3133    __cil_tmp99 = __cil_tmp98 + __cil_tmp97;
3134#line 325
3135    __cil_tmp100 = *((unsigned char *)__cil_tmp99);
3136#line 325
3137    __cil_tmp101 = (int )__cil_tmp100;
3138#line 325
3139    sprintf(__cil_tmp95, "%02x", __cil_tmp101);
3140#line 324
3141    i = i + 1;
3142    }
3143    ldv_18143: ;
3144    {
3145#line 324
3146    __cil_tmp102 = (unsigned int )i;
3147#line 324
3148    if (__cil_tmp102 <= 15U) {
3149#line 325
3150      goto ldv_18142;
3151    } else {
3152#line 327
3153      goto ldv_18144;
3154    }
3155    }
3156    ldv_18144: 
3157#line 326
3158    i = 0;
3159#line 326
3160    goto ldv_18146;
3161    ldv_18145: 
3162    {
3163#line 327
3164    __cil_tmp103 = i * 2;
3165#line 327
3166    __cil_tmp104 = (unsigned long )__cil_tmp103;
3167#line 327
3168    __cil_tmp105 = (char *)(& skey);
3169#line 327
3170    __cil_tmp106 = __cil_tmp105 + __cil_tmp104;
3171#line 327
3172    __cil_tmp107 = i * 1UL;
3173#line 327
3174    __cil_tmp108 = 40 + __cil_tmp107;
3175#line 327
3176    __cil_tmp109 = (unsigned long )state;
3177#line 327
3178    __cil_tmp110 = __cil_tmp109 + __cil_tmp108;
3179#line 327
3180    __cil_tmp111 = *((unsigned char *)__cil_tmp110);
3181#line 327
3182    __cil_tmp112 = (int )__cil_tmp111;
3183#line 327
3184    sprintf(__cil_tmp106, "%02x", __cil_tmp112);
3185#line 326
3186    i = i + 1;
3187    }
3188    ldv_18146: ;
3189    {
3190#line 326
3191    __cil_tmp113 = (unsigned int )i;
3192#line 326
3193    if (__cil_tmp113 <= 15U) {
3194#line 327
3195      goto ldv_18145;
3196    } else {
3197#line 329
3198      goto ldv_18147;
3199    }
3200    }
3201    ldv_18147: 
3202    {
3203#line 328
3204    __cil_tmp114 = (char *)(& mkey);
3205#line 328
3206    __cil_tmp115 = (char *)(& skey);
3207#line 328
3208    printk("<7>%s[%d]: keys: master: %s initial session: %s\n", debugstr, unit, __cil_tmp114,
3209           __cil_tmp115);
3210    }
3211  } else {
3212
3213  }
3214#line 339
3215  __cil_tmp116 = (unsigned long )state;
3216#line 339
3217  __cil_tmp117 = __cil_tmp116 + 64;
3218#line 339
3219  *((unsigned int *)__cil_tmp117) = 4095U;
3220#line 345
3221  __cil_tmp118 = (unsigned long )state;
3222#line 345
3223  __cil_tmp119 = __cil_tmp118 + 60;
3224#line 345
3225  *((unsigned char *)__cil_tmp119) = (unsigned char)16;
3226#line 347
3227  __cil_tmp120 = (unsigned long )state;
3228#line 347
3229  __cil_tmp121 = __cil_tmp120 + 80;
3230#line 347
3231  *((int *)__cil_tmp121) = unit;
3232#line 348
3233  __cil_tmp122 = (unsigned long )state;
3234#line 348
3235  __cil_tmp123 = __cil_tmp122 + 84;
3236#line 348
3237  *((int *)__cil_tmp123) = debug;
3238#line 350
3239  return (1);
3240}
3241}
3242#line 354 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
3243static int mppe_comp_init(void *arg , unsigned char *options , int optlen , int unit ,
3244                          int hdrlen , int debug ) 
3245{ int tmp ;
3246
3247  {
3248  {
3249#line 358
3250  tmp = mppe_init(arg, options, optlen, unit, debug, "mppe_comp_init");
3251  }
3252#line 358
3253  return (tmp);
3254}
3255}
3256#line 370 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
3257static void mppe_comp_reset(void *arg ) 
3258{ struct ppp_mppe_state *state ;
3259  unsigned long __cil_tmp3 ;
3260  unsigned long __cil_tmp4 ;
3261  unsigned long __cil_tmp5 ;
3262  unsigned long __cil_tmp6 ;
3263  unsigned char __cil_tmp7 ;
3264  unsigned int __cil_tmp8 ;
3265  unsigned int __cil_tmp9 ;
3266
3267  {
3268#line 372
3269  state = (struct ppp_mppe_state *)arg;
3270#line 374
3271  __cil_tmp3 = (unsigned long )state;
3272#line 374
3273  __cil_tmp4 = __cil_tmp3 + 60;
3274#line 374
3275  __cil_tmp5 = (unsigned long )state;
3276#line 374
3277  __cil_tmp6 = __cil_tmp5 + 60;
3278#line 374
3279  __cil_tmp7 = *((unsigned char *)__cil_tmp6);
3280#line 374
3281  __cil_tmp8 = (unsigned int )__cil_tmp7;
3282#line 374
3283  __cil_tmp9 = __cil_tmp8 | 128U;
3284#line 374
3285  *((unsigned char *)__cil_tmp4) = (unsigned char )__cil_tmp9;
3286#line 375
3287  return;
3288}
3289}
3290#line 383 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
3291static int mppe_compress(void *arg , unsigned char *ibuf , unsigned char *obuf , int isize ,
3292                         int osize ) 
3293{ struct ppp_mppe_state *state ;
3294  struct blkcipher_desc desc ;
3295  int proto ;
3296  struct scatterlist sg_in[1U] ;
3297  struct scatterlist sg_out[1U] ;
3298  int tmp ;
3299  struct blkcipher_desc *__cil_tmp12 ;
3300  unsigned long __cil_tmp13 ;
3301  unsigned long __cil_tmp14 ;
3302  __u8 *__cil_tmp15 ;
3303  __u8 __cil_tmp16 ;
3304  int __cil_tmp17 ;
3305  __u8 *__cil_tmp18 ;
3306  __u8 __cil_tmp19 ;
3307  int __cil_tmp20 ;
3308  int __cil_tmp21 ;
3309  int __cil_tmp22 ;
3310  unsigned long __cil_tmp23 ;
3311  unsigned long __cil_tmp24 ;
3312  int __cil_tmp25 ;
3313  int __cil_tmp26 ;
3314  unsigned char *__cil_tmp27 ;
3315  __u8 *__cil_tmp28 ;
3316  u16 __cil_tmp29 ;
3317  void *__cil_tmp30 ;
3318  void *__cil_tmp31 ;
3319  unsigned long __cil_tmp32 ;
3320  unsigned long __cil_tmp33 ;
3321  unsigned long __cil_tmp34 ;
3322  unsigned long __cil_tmp35 ;
3323  unsigned int __cil_tmp36 ;
3324  unsigned int __cil_tmp37 ;
3325  unsigned long __cil_tmp38 ;
3326  unsigned long __cil_tmp39 ;
3327  int __cil_tmp40 ;
3328  unsigned long __cil_tmp41 ;
3329  unsigned long __cil_tmp42 ;
3330  int __cil_tmp43 ;
3331  unsigned long __cil_tmp44 ;
3332  unsigned long __cil_tmp45 ;
3333  unsigned int __cil_tmp46 ;
3334  unsigned long __cil_tmp47 ;
3335  unsigned long __cil_tmp48 ;
3336  unsigned int __cil_tmp49 ;
3337  u16 __cil_tmp50 ;
3338  int __cil_tmp51 ;
3339  u16 __cil_tmp52 ;
3340  void *__cil_tmp53 ;
3341  unsigned long __cil_tmp54 ;
3342  unsigned long __cil_tmp55 ;
3343  unsigned int __cil_tmp56 ;
3344  unsigned long __cil_tmp57 ;
3345  unsigned long __cil_tmp58 ;
3346  unsigned int __cil_tmp59 ;
3347  unsigned int __cil_tmp60 ;
3348  unsigned long __cil_tmp61 ;
3349  unsigned long __cil_tmp62 ;
3350  unsigned char __cil_tmp63 ;
3351  signed char __cil_tmp64 ;
3352  int __cil_tmp65 ;
3353  unsigned long __cil_tmp66 ;
3354  unsigned long __cil_tmp67 ;
3355  int __cil_tmp68 ;
3356  unsigned long __cil_tmp69 ;
3357  unsigned long __cil_tmp70 ;
3358  unsigned int __cil_tmp71 ;
3359  unsigned long __cil_tmp72 ;
3360  unsigned long __cil_tmp73 ;
3361  int __cil_tmp74 ;
3362  unsigned long __cil_tmp75 ;
3363  unsigned long __cil_tmp76 ;
3364  unsigned long __cil_tmp77 ;
3365  unsigned long __cil_tmp78 ;
3366  unsigned char __cil_tmp79 ;
3367  unsigned int __cil_tmp80 ;
3368  unsigned int __cil_tmp81 ;
3369  unsigned long __cil_tmp82 ;
3370  unsigned long __cil_tmp83 ;
3371  unsigned char __cil_tmp84 ;
3372  int __cil_tmp85 ;
3373  unsigned char __cil_tmp86 ;
3374  int __cil_tmp87 ;
3375  int __cil_tmp88 ;
3376  unsigned long __cil_tmp89 ;
3377  unsigned long __cil_tmp90 ;
3378  unsigned long __cil_tmp91 ;
3379  unsigned long __cil_tmp92 ;
3380  unsigned char __cil_tmp93 ;
3381  unsigned int __cil_tmp94 ;
3382  unsigned int __cil_tmp95 ;
3383  struct scatterlist *__cil_tmp96 ;
3384  struct scatterlist *__cil_tmp97 ;
3385  struct scatterlist *__cil_tmp98 ;
3386  void const   *__cil_tmp99 ;
3387  unsigned int __cil_tmp100 ;
3388  struct scatterlist *__cil_tmp101 ;
3389  void const   *__cil_tmp102 ;
3390  unsigned int __cil_tmp103 ;
3391  struct scatterlist *__cil_tmp104 ;
3392  struct scatterlist *__cil_tmp105 ;
3393  unsigned int __cil_tmp106 ;
3394  unsigned long __cil_tmp107 ;
3395  unsigned long __cil_tmp108 ;
3396  __u32 __cil_tmp109 ;
3397  unsigned long __cil_tmp110 ;
3398  unsigned long __cil_tmp111 ;
3399  __u32 __cil_tmp112 ;
3400  unsigned long __cil_tmp113 ;
3401  unsigned long __cil_tmp114 ;
3402  unsigned long __cil_tmp115 ;
3403  unsigned long __cil_tmp116 ;
3404  unsigned long __cil_tmp117 ;
3405  unsigned long __cil_tmp118 ;
3406  __u32 __cil_tmp119 ;
3407  unsigned long __cil_tmp120 ;
3408  unsigned long __cil_tmp121 ;
3409  unsigned long __cil_tmp122 ;
3410  __u32 __cil_tmp123 ;
3411  unsigned long __cil_tmp124 ;
3412  unsigned long __cil_tmp125 ;
3413  unsigned long __cil_tmp126 ;
3414  __u32 __cil_tmp127 ;
3415  unsigned long __cil_tmp128 ;
3416  unsigned long __cil_tmp129 ;
3417  unsigned long __cil_tmp130 ;
3418  unsigned long __cil_tmp131 ;
3419  unsigned long __cil_tmp132 ;
3420  unsigned long __cil_tmp133 ;
3421  __u32 __cil_tmp134 ;
3422
3423  {
3424#line 386
3425  state = (struct ppp_mppe_state *)arg;
3426#line 387
3427  __cil_tmp12 = & desc;
3428#line 387
3429  *((struct crypto_blkcipher **)__cil_tmp12) = *((struct crypto_blkcipher **)state);
3430#line 387
3431  __cil_tmp13 = (unsigned long )(& desc) + 8;
3432#line 387
3433  *((void **)__cil_tmp13) = (void *)0;
3434#line 387
3435  __cil_tmp14 = (unsigned long )(& desc) + 16;
3436#line 387
3437  *((u32 *)__cil_tmp14) = 0U;
3438#line 394
3439  __cil_tmp15 = ibuf + 3UL;
3440#line 394
3441  __cil_tmp16 = *__cil_tmp15;
3442#line 394
3443  __cil_tmp17 = (int )__cil_tmp16;
3444#line 394
3445  __cil_tmp18 = ibuf + 2UL;
3446#line 394
3447  __cil_tmp19 = *__cil_tmp18;
3448#line 394
3449  __cil_tmp20 = (int )__cil_tmp19;
3450#line 394
3451  __cil_tmp21 = __cil_tmp20 << 8;
3452#line 394
3453  proto = __cil_tmp21 + __cil_tmp17;
3454#line 395
3455  if (proto <= 32) {
3456#line 396
3457    return (0);
3458  } else
3459#line 395
3460  if (proto > 250) {
3461#line 396
3462    return (0);
3463  } else {
3464
3465  }
3466  {
3467#line 399
3468  __cil_tmp22 = isize + 4;
3469#line 399
3470  if (__cil_tmp22 > osize) {
3471    {
3472#line 401
3473    __cil_tmp23 = (unsigned long )state;
3474#line 401
3475    __cil_tmp24 = __cil_tmp23 + 80;
3476#line 401
3477    __cil_tmp25 = *((int *)__cil_tmp24);
3478#line 401
3479    __cil_tmp26 = osize + 4;
3480#line 401
3481    printk("<7>mppe_compress[%d]: osize too small! (have: %d need: %d)\n", __cil_tmp25,
3482           osize, __cil_tmp26);
3483    }
3484#line 404
3485    return (-1);
3486  } else {
3487
3488  }
3489  }
3490  {
3491#line 407
3492  osize = isize + 4;
3493#line 412
3494  *obuf = *ibuf;
3495#line 413
3496  __cil_tmp27 = obuf + 1UL;
3497#line 413
3498  __cil_tmp28 = ibuf + 1UL;
3499#line 413
3500  *__cil_tmp27 = *__cil_tmp28;
3501#line 414
3502  __cil_tmp29 = (u16 )253;
3503#line 414
3504  __cil_tmp30 = (void *)obuf;
3505#line 414
3506  __cil_tmp31 = __cil_tmp30 + 2U;
3507#line 414
3508  put_unaligned_be16(__cil_tmp29, __cil_tmp31);
3509#line 415
3510  obuf = obuf + 4UL;
3511#line 417
3512  __cil_tmp32 = (unsigned long )state;
3513#line 417
3514  __cil_tmp33 = __cil_tmp32 + 64;
3515#line 417
3516  __cil_tmp34 = (unsigned long )state;
3517#line 417
3518  __cil_tmp35 = __cil_tmp34 + 64;
3519#line 417
3520  __cil_tmp36 = *((unsigned int *)__cil_tmp35);
3521#line 417
3522  __cil_tmp37 = __cil_tmp36 + 1U;
3523#line 417
3524  *((unsigned int *)__cil_tmp33) = __cil_tmp37 & 4095U;
3525  }
3526  {
3527#line 418
3528  __cil_tmp38 = (unsigned long )state;
3529#line 418
3530  __cil_tmp39 = __cil_tmp38 + 84;
3531#line 418
3532  __cil_tmp40 = *((int *)__cil_tmp39);
3533#line 418
3534  if (__cil_tmp40 > 6) {
3535    {
3536#line 419
3537    __cil_tmp41 = (unsigned long )state;
3538#line 419
3539    __cil_tmp42 = __cil_tmp41 + 80;
3540#line 419
3541    __cil_tmp43 = *((int *)__cil_tmp42);
3542#line 419
3543    __cil_tmp44 = (unsigned long )state;
3544#line 419
3545    __cil_tmp45 = __cil_tmp44 + 64;
3546#line 419
3547    __cil_tmp46 = *((unsigned int *)__cil_tmp45);
3548#line 419
3549    printk("<7>mppe_compress[%d]: ccount %d\n", __cil_tmp43, __cil_tmp46);
3550    }
3551  } else {
3552
3553  }
3554  }
3555  {
3556#line 421
3557  __cil_tmp47 = (unsigned long )state;
3558#line 421
3559  __cil_tmp48 = __cil_tmp47 + 64;
3560#line 421
3561  __cil_tmp49 = *((unsigned int *)__cil_tmp48);
3562#line 421
3563  __cil_tmp50 = (u16 )__cil_tmp49;
3564#line 421
3565  __cil_tmp51 = (int )__cil_tmp50;
3566#line 421
3567  __cil_tmp52 = (u16 )__cil_tmp51;
3568#line 421
3569  __cil_tmp53 = (void *)obuf;
3570#line 421
3571  put_unaligned_be16(__cil_tmp52, __cil_tmp53);
3572  }
3573  {
3574#line 423
3575  __cil_tmp54 = (unsigned long )state;
3576#line 423
3577  __cil_tmp55 = __cil_tmp54 + 68;
3578#line 423
3579  __cil_tmp56 = *((unsigned int *)__cil_tmp55);
3580#line 423
3581  if (__cil_tmp56 == 0U) {
3582#line 423
3583    goto _L;
3584  } else {
3585    {
3586#line 423
3587    __cil_tmp57 = (unsigned long )state;
3588#line 423
3589    __cil_tmp58 = __cil_tmp57 + 64;
3590#line 423
3591    __cil_tmp59 = *((unsigned int *)__cil_tmp58);
3592#line 423
3593    __cil_tmp60 = __cil_tmp59 & 255U;
3594#line 423
3595    if (__cil_tmp60 == 255U) {
3596#line 423
3597      goto _L;
3598    } else {
3599      {
3600#line 423
3601      __cil_tmp61 = (unsigned long )state;
3602#line 423
3603      __cil_tmp62 = __cil_tmp61 + 60;
3604#line 423
3605      __cil_tmp63 = *((unsigned char *)__cil_tmp62);
3606#line 423
3607      __cil_tmp64 = (signed char )__cil_tmp63;
3608#line 423
3609      __cil_tmp65 = (int )__cil_tmp64;
3610#line 423
3611      if (__cil_tmp65 < 0) {
3612        _L: /* CIL Label */ 
3613        {
3614#line 427
3615        __cil_tmp66 = (unsigned long )state;
3616#line 427
3617        __cil_tmp67 = __cil_tmp66 + 84;
3618#line 427
3619        __cil_tmp68 = *((int *)__cil_tmp67);
3620#line 427
3621        if (__cil_tmp68 != 0) {
3622          {
3623#line 427
3624          __cil_tmp69 = (unsigned long )state;
3625#line 427
3626          __cil_tmp70 = __cil_tmp69 + 68;
3627#line 427
3628          __cil_tmp71 = *((unsigned int *)__cil_tmp70);
3629#line 427
3630          if (__cil_tmp71 != 0U) {
3631            {
3632#line 428
3633            __cil_tmp72 = (unsigned long )state;
3634#line 428
3635            __cil_tmp73 = __cil_tmp72 + 80;
3636#line 428
3637            __cil_tmp74 = *((int *)__cil_tmp73);
3638#line 428
3639            printk("<7>mppe_compress[%d]: rekeying\n", __cil_tmp74);
3640            }
3641          } else {
3642
3643          }
3644          }
3645        } else {
3646
3647        }
3648        }
3649        {
3650#line 430
3651        mppe_rekey(state, 0);
3652#line 431
3653        __cil_tmp75 = (unsigned long )state;
3654#line 431
3655        __cil_tmp76 = __cil_tmp75 + 60;
3656#line 431
3657        __cil_tmp77 = (unsigned long )state;
3658#line 431
3659        __cil_tmp78 = __cil_tmp77 + 60;
3660#line 431
3661        __cil_tmp79 = *((unsigned char *)__cil_tmp78);
3662#line 431
3663        __cil_tmp80 = (unsigned int )__cil_tmp79;
3664#line 431
3665        __cil_tmp81 = __cil_tmp80 | 128U;
3666#line 431
3667        *((unsigned char *)__cil_tmp76) = (unsigned char )__cil_tmp81;
3668        }
3669      } else {
3670
3671      }
3672      }
3673    }
3674    }
3675  }
3676  }
3677  {
3678#line 433
3679  __cil_tmp82 = (unsigned long )state;
3680#line 433
3681  __cil_tmp83 = __cil_tmp82 + 60;
3682#line 433
3683  __cil_tmp84 = *((unsigned char *)__cil_tmp83);
3684#line 433
3685  __cil_tmp85 = (int )__cil_tmp84;
3686#line 433
3687  __cil_tmp86 = *obuf;
3688#line 433
3689  __cil_tmp87 = (int )__cil_tmp86;
3690#line 433
3691  __cil_tmp88 = __cil_tmp87 | __cil_tmp85;
3692#line 433
3693  *obuf = (unsigned char )__cil_tmp88;
3694#line 434
3695  __cil_tmp89 = (unsigned long )state;
3696#line 434
3697  __cil_tmp90 = __cil_tmp89 + 60;
3698#line 434
3699  __cil_tmp91 = (unsigned long )state;
3700#line 434
3701  __cil_tmp92 = __cil_tmp91 + 60;
3702#line 434
3703  __cil_tmp93 = *((unsigned char *)__cil_tmp92);
3704#line 434
3705  __cil_tmp94 = (unsigned int )__cil_tmp93;
3706#line 434
3707  __cil_tmp95 = __cil_tmp94 & 127U;
3708#line 434
3709  *((unsigned char *)__cil_tmp90) = (unsigned char )__cil_tmp95;
3710#line 436
3711  obuf = obuf + 2UL;
3712#line 437
3713  ibuf = ibuf + 2UL;
3714#line 438
3715  isize = isize + -2;
3716#line 441
3717  __cil_tmp96 = (struct scatterlist *)(& sg_in);
3718#line 441
3719  sg_init_table(__cil_tmp96, 1U);
3720#line 442
3721  __cil_tmp97 = (struct scatterlist *)(& sg_out);
3722#line 442
3723  sg_init_table(__cil_tmp97, 1U);
3724#line 443
3725  __cil_tmp98 = (struct scatterlist *)(& sg_in);
3726#line 443
3727  __cil_tmp99 = (void const   *)ibuf;
3728#line 443
3729  __cil_tmp100 = (unsigned int )isize;
3730#line 443
3731  setup_sg(__cil_tmp98, __cil_tmp99, __cil_tmp100);
3732#line 444
3733  __cil_tmp101 = (struct scatterlist *)(& sg_out);
3734#line 444
3735  __cil_tmp102 = (void const   *)obuf;
3736#line 444
3737  __cil_tmp103 = (unsigned int )osize;
3738#line 444
3739  setup_sg(__cil_tmp101, __cil_tmp102, __cil_tmp103);
3740#line 445
3741  __cil_tmp104 = (struct scatterlist *)(& sg_out);
3742#line 445
3743  __cil_tmp105 = (struct scatterlist *)(& sg_in);
3744#line 445
3745  __cil_tmp106 = (unsigned int )isize;
3746#line 445
3747  tmp = crypto_blkcipher_encrypt(& desc, __cil_tmp104, __cil_tmp105, __cil_tmp106);
3748  }
3749#line 445
3750  if (tmp != 0) {
3751    {
3752#line 446
3753    printk("<7>crypto_cypher_encrypt failed\n");
3754    }
3755#line 447
3756    return (-1);
3757  } else {
3758
3759  }
3760#line 450
3761  __cil_tmp107 = (unsigned long )state;
3762#line 450
3763  __cil_tmp108 = __cil_tmp107 + 88;
3764#line 450
3765  __cil_tmp109 = (__u32 )isize;
3766#line 450
3767  __cil_tmp110 = (unsigned long )state;
3768#line 450
3769  __cil_tmp111 = __cil_tmp110 + 88;
3770#line 450
3771  __cil_tmp112 = *((__u32 *)__cil_tmp111);
3772#line 450
3773  *((__u32 *)__cil_tmp108) = __cil_tmp112 + __cil_tmp109;
3774#line 451
3775  __cil_tmp113 = 88 + 4;
3776#line 451
3777  __cil_tmp114 = (unsigned long )state;
3778#line 451
3779  __cil_tmp115 = __cil_tmp114 + __cil_tmp113;
3780#line 451
3781  __cil_tmp116 = 88 + 4;
3782#line 451
3783  __cil_tmp117 = (unsigned long )state;
3784#line 451
3785  __cil_tmp118 = __cil_tmp117 + __cil_tmp116;
3786#line 451
3787  __cil_tmp119 = *((__u32 *)__cil_tmp118);
3788#line 451
3789  *((__u32 *)__cil_tmp115) = __cil_tmp119 + 1U;
3790#line 452
3791  __cil_tmp120 = 88 + 8;
3792#line 452
3793  __cil_tmp121 = (unsigned long )state;
3794#line 452
3795  __cil_tmp122 = __cil_tmp121 + __cil_tmp120;
3796#line 452
3797  __cil_tmp123 = (__u32 )osize;
3798#line 452
3799  __cil_tmp124 = 88 + 8;
3800#line 452
3801  __cil_tmp125 = (unsigned long )state;
3802#line 452
3803  __cil_tmp126 = __cil_tmp125 + __cil_tmp124;
3804#line 452
3805  __cil_tmp127 = *((__u32 *)__cil_tmp126);
3806#line 452
3807  *((__u32 *)__cil_tmp122) = __cil_tmp127 + __cil_tmp123;
3808#line 453
3809  __cil_tmp128 = 88 + 12;
3810#line 453
3811  __cil_tmp129 = (unsigned long )state;
3812#line 453
3813  __cil_tmp130 = __cil_tmp129 + __cil_tmp128;
3814#line 453
3815  __cil_tmp131 = 88 + 12;
3816#line 453
3817  __cil_tmp132 = (unsigned long )state;
3818#line 453
3819  __cil_tmp133 = __cil_tmp132 + __cil_tmp131;
3820#line 453
3821  __cil_tmp134 = *((__u32 *)__cil_tmp133);
3822#line 453
3823  *((__u32 *)__cil_tmp130) = __cil_tmp134 + 1U;
3824#line 455
3825  return (osize);
3826}
3827}
3828#line 462 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
3829static void mppe_comp_stats(void *arg , struct compstat *stats ) 
3830{ struct ppp_mppe_state *state ;
3831  unsigned long __cil_tmp4 ;
3832  unsigned long __cil_tmp5 ;
3833
3834  {
3835#line 464
3836  state = (struct ppp_mppe_state *)arg;
3837#line 466
3838  __cil_tmp4 = (unsigned long )state;
3839#line 466
3840  __cil_tmp5 = __cil_tmp4 + 88;
3841#line 466
3842  *stats = *((struct compstat *)__cil_tmp5);
3843#line 467
3844  return;
3845}
3846}
3847#line 470 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
3848static int mppe_decomp_init(void *arg , unsigned char *options , int optlen , int unit ,
3849                            int hdrlen , int mru , int debug ) 
3850{ int tmp ;
3851
3852  {
3853  {
3854#line 474
3855  tmp = mppe_init(arg, options, optlen, unit, debug, "mppe_decomp_init");
3856  }
3857#line 474
3858  return (tmp);
3859}
3860}
3861#line 480 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
3862static void mppe_decomp_reset(void *arg ) 
3863{ 
3864
3865  {
3866#line 483
3867  return;
3868}
3869}
3870#line 490 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
3871static int mppe_decompress(void *arg , unsigned char *ibuf , int isize , unsigned char *obuf ,
3872                           int osize ) 
3873{ struct ppp_mppe_state *state ;
3874  struct blkcipher_desc desc ;
3875  unsigned int ccount ;
3876  int flushed ;
3877  int sanity ;
3878  struct scatterlist sg_in[1U] ;
3879  struct scatterlist sg_out[1U] ;
3880  int tmp ;
3881  int tmp___0 ;
3882  struct blkcipher_desc *__cil_tmp15 ;
3883  unsigned long __cil_tmp16 ;
3884  unsigned long __cil_tmp17 ;
3885  unsigned char *__cil_tmp18 ;
3886  unsigned char __cil_tmp19 ;
3887  int __cil_tmp20 ;
3888  unsigned long __cil_tmp21 ;
3889  unsigned long __cil_tmp22 ;
3890  int __cil_tmp23 ;
3891  unsigned long __cil_tmp24 ;
3892  unsigned long __cil_tmp25 ;
3893  int __cil_tmp26 ;
3894  int __cil_tmp27 ;
3895  unsigned long __cil_tmp28 ;
3896  unsigned long __cil_tmp29 ;
3897  int __cil_tmp30 ;
3898  int __cil_tmp31 ;
3899  unsigned char *__cil_tmp32 ;
3900  unsigned char __cil_tmp33 ;
3901  int __cil_tmp34 ;
3902  unsigned char *__cil_tmp35 ;
3903  unsigned char __cil_tmp36 ;
3904  int __cil_tmp37 ;
3905  int __cil_tmp38 ;
3906  int __cil_tmp39 ;
3907  int __cil_tmp40 ;
3908  unsigned long __cil_tmp41 ;
3909  unsigned long __cil_tmp42 ;
3910  int __cil_tmp43 ;
3911  unsigned long __cil_tmp44 ;
3912  unsigned long __cil_tmp45 ;
3913  int __cil_tmp46 ;
3914  unsigned char *__cil_tmp47 ;
3915  unsigned char __cil_tmp48 ;
3916  int __cil_tmp49 ;
3917  int __cil_tmp50 ;
3918  unsigned long __cil_tmp51 ;
3919  unsigned long __cil_tmp52 ;
3920  int __cil_tmp53 ;
3921  unsigned long __cil_tmp54 ;
3922  unsigned long __cil_tmp55 ;
3923  unsigned long __cil_tmp56 ;
3924  unsigned long __cil_tmp57 ;
3925  int __cil_tmp58 ;
3926  unsigned long __cil_tmp59 ;
3927  unsigned long __cil_tmp60 ;
3928  unsigned int __cil_tmp61 ;
3929  unsigned long __cil_tmp62 ;
3930  unsigned long __cil_tmp63 ;
3931  int __cil_tmp64 ;
3932  unsigned long __cil_tmp65 ;
3933  unsigned long __cil_tmp66 ;
3934  unsigned long __cil_tmp67 ;
3935  unsigned long __cil_tmp68 ;
3936  int __cil_tmp69 ;
3937  unsigned long __cil_tmp70 ;
3938  unsigned long __cil_tmp71 ;
3939  unsigned int __cil_tmp72 ;
3940  unsigned int __cil_tmp73 ;
3941  unsigned long __cil_tmp74 ;
3942  unsigned long __cil_tmp75 ;
3943  int __cil_tmp76 ;
3944  unsigned long __cil_tmp77 ;
3945  unsigned long __cil_tmp78 ;
3946  unsigned long __cil_tmp79 ;
3947  unsigned long __cil_tmp80 ;
3948  int __cil_tmp81 ;
3949  unsigned long __cil_tmp82 ;
3950  unsigned long __cil_tmp83 ;
3951  int __cil_tmp84 ;
3952  unsigned long __cil_tmp85 ;
3953  unsigned long __cil_tmp86 ;
3954  unsigned int __cil_tmp87 ;
3955  unsigned long __cil_tmp88 ;
3956  unsigned long __cil_tmp89 ;
3957  unsigned long __cil_tmp90 ;
3958  unsigned long __cil_tmp91 ;
3959  unsigned int __cil_tmp92 ;
3960  unsigned int __cil_tmp93 ;
3961  unsigned long __cil_tmp94 ;
3962  unsigned long __cil_tmp95 ;
3963  unsigned int __cil_tmp96 ;
3964  unsigned long __cil_tmp97 ;
3965  unsigned long __cil_tmp98 ;
3966  int __cil_tmp99 ;
3967  unsigned long __cil_tmp100 ;
3968  unsigned long __cil_tmp101 ;
3969  unsigned long __cil_tmp102 ;
3970  unsigned long __cil_tmp103 ;
3971  unsigned int __cil_tmp104 ;
3972  unsigned int __cil_tmp105 ;
3973  unsigned long __cil_tmp106 ;
3974  unsigned long __cil_tmp107 ;
3975  unsigned int __cil_tmp108 ;
3976  unsigned long __cil_tmp109 ;
3977  unsigned long __cil_tmp110 ;
3978  unsigned long __cil_tmp111 ;
3979  unsigned long __cil_tmp112 ;
3980  unsigned long __cil_tmp113 ;
3981  unsigned long __cil_tmp114 ;
3982  unsigned int __cil_tmp115 ;
3983  unsigned int __cil_tmp116 ;
3984  unsigned long __cil_tmp117 ;
3985  unsigned long __cil_tmp118 ;
3986  unsigned int __cil_tmp119 ;
3987  unsigned int __cil_tmp120 ;
3988  unsigned int __cil_tmp121 ;
3989  unsigned long __cil_tmp122 ;
3990  unsigned long __cil_tmp123 ;
3991  unsigned long __cil_tmp124 ;
3992  unsigned long __cil_tmp125 ;
3993  unsigned char *__cil_tmp126 ;
3994  __u8 *__cil_tmp127 ;
3995  struct scatterlist *__cil_tmp128 ;
3996  struct scatterlist *__cil_tmp129 ;
3997  struct scatterlist *__cil_tmp130 ;
3998  void const   *__cil_tmp131 ;
3999  struct scatterlist *__cil_tmp132 ;
4000  void const   *__cil_tmp133 ;
4001  struct scatterlist *__cil_tmp134 ;
4002  struct scatterlist *__cil_tmp135 ;
4003  unsigned char __cil_tmp136 ;
4004  int __cil_tmp137 ;
4005  unsigned char *__cil_tmp138 ;
4006  struct scatterlist *__cil_tmp139 ;
4007  void const   *__cil_tmp140 ;
4008  void const   *__cil_tmp141 ;
4009  int __cil_tmp142 ;
4010  unsigned int __cil_tmp143 ;
4011  struct scatterlist *__cil_tmp144 ;
4012  void const   *__cil_tmp145 ;
4013  void const   *__cil_tmp146 ;
4014  int __cil_tmp147 ;
4015  unsigned int __cil_tmp148 ;
4016  struct scatterlist *__cil_tmp149 ;
4017  struct scatterlist *__cil_tmp150 ;
4018  int __cil_tmp151 ;
4019  unsigned int __cil_tmp152 ;
4020  unsigned long __cil_tmp153 ;
4021  unsigned long __cil_tmp154 ;
4022  __u32 __cil_tmp155 ;
4023  unsigned long __cil_tmp156 ;
4024  unsigned long __cil_tmp157 ;
4025  __u32 __cil_tmp158 ;
4026  unsigned long __cil_tmp159 ;
4027  unsigned long __cil_tmp160 ;
4028  unsigned long __cil_tmp161 ;
4029  unsigned long __cil_tmp162 ;
4030  unsigned long __cil_tmp163 ;
4031  unsigned long __cil_tmp164 ;
4032  __u32 __cil_tmp165 ;
4033  unsigned long __cil_tmp166 ;
4034  unsigned long __cil_tmp167 ;
4035  unsigned long __cil_tmp168 ;
4036  __u32 __cil_tmp169 ;
4037  unsigned long __cil_tmp170 ;
4038  unsigned long __cil_tmp171 ;
4039  unsigned long __cil_tmp172 ;
4040  __u32 __cil_tmp173 ;
4041  unsigned long __cil_tmp174 ;
4042  unsigned long __cil_tmp175 ;
4043  unsigned long __cil_tmp176 ;
4044  unsigned long __cil_tmp177 ;
4045  unsigned long __cil_tmp178 ;
4046  unsigned long __cil_tmp179 ;
4047  __u32 __cil_tmp180 ;
4048  unsigned long __cil_tmp181 ;
4049  unsigned long __cil_tmp182 ;
4050  unsigned long __cil_tmp183 ;
4051  unsigned long __cil_tmp184 ;
4052  int __cil_tmp185 ;
4053
4054  {
4055#line 493
4056  state = (struct ppp_mppe_state *)arg;
4057#line 494
4058  __cil_tmp15 = & desc;
4059#line 494
4060  *((struct crypto_blkcipher **)__cil_tmp15) = *((struct crypto_blkcipher **)state);
4061#line 494
4062  __cil_tmp16 = (unsigned long )(& desc) + 8;
4063#line 494
4064  *((void **)__cil_tmp16) = (void *)0;
4065#line 494
4066  __cil_tmp17 = (unsigned long )(& desc) + 16;
4067#line 494
4068  *((u32 *)__cil_tmp17) = 0U;
4069#line 496
4070  __cil_tmp18 = ibuf + 4UL;
4071#line 496
4072  __cil_tmp19 = *__cil_tmp18;
4073#line 496
4074  __cil_tmp20 = (int )__cil_tmp19;
4075#line 496
4076  flushed = __cil_tmp20 & 128;
4077#line 497
4078  sanity = 0;
4079#line 500
4080  if (isize <= 6) {
4081    {
4082#line 501
4083    __cil_tmp21 = (unsigned long )state;
4084#line 501
4085    __cil_tmp22 = __cil_tmp21 + 84;
4086#line 501
4087    __cil_tmp23 = *((int *)__cil_tmp22);
4088#line 501
4089    if (__cil_tmp23 != 0) {
4090      {
4091#line 502
4092      __cil_tmp24 = (unsigned long )state;
4093#line 502
4094      __cil_tmp25 = __cil_tmp24 + 80;
4095#line 502
4096      __cil_tmp26 = *((int *)__cil_tmp25);
4097#line 502
4098      printk("<7>mppe_decompress[%d]: short pkt (%d)\n", __cil_tmp26, isize);
4099      }
4100    } else {
4101
4102    }
4103    }
4104#line 505
4105    return (-1);
4106  } else {
4107
4108  }
4109  {
4110#line 514
4111  __cil_tmp27 = isize + -3;
4112#line 514
4113  if (__cil_tmp27 > osize) {
4114    {
4115#line 515
4116    __cil_tmp28 = (unsigned long )state;
4117#line 515
4118    __cil_tmp29 = __cil_tmp28 + 80;
4119#line 515
4120    __cil_tmp30 = *((int *)__cil_tmp29);
4121#line 515
4122    __cil_tmp31 = isize + -3;
4123#line 515
4124    printk("<7>mppe_decompress[%d]: osize too small! (have: %d need: %d)\n", __cil_tmp30,
4125           osize, __cil_tmp31);
4126    }
4127#line 518
4128    return (-1);
4129  } else {
4130
4131  }
4132  }
4133#line 520
4134  osize = isize + -4;
4135#line 522
4136  __cil_tmp32 = ibuf + 5UL;
4137#line 522
4138  __cil_tmp33 = *__cil_tmp32;
4139#line 522
4140  __cil_tmp34 = (int )__cil_tmp33;
4141#line 522
4142  __cil_tmp35 = ibuf + 4UL;
4143#line 522
4144  __cil_tmp36 = *__cil_tmp35;
4145#line 522
4146  __cil_tmp37 = (int )__cil_tmp36;
4147#line 522
4148  __cil_tmp38 = __cil_tmp37 & 15;
4149#line 522
4150  __cil_tmp39 = __cil_tmp38 << 8;
4151#line 522
4152  __cil_tmp40 = __cil_tmp39 + __cil_tmp34;
4153#line 522
4154  ccount = (unsigned int )__cil_tmp40;
4155  {
4156#line 523
4157  __cil_tmp41 = (unsigned long )state;
4158#line 523
4159  __cil_tmp42 = __cil_tmp41 + 84;
4160#line 523
4161  __cil_tmp43 = *((int *)__cil_tmp42);
4162#line 523
4163  if (__cil_tmp43 > 6) {
4164    {
4165#line 524
4166    __cil_tmp44 = (unsigned long )state;
4167#line 524
4168    __cil_tmp45 = __cil_tmp44 + 80;
4169#line 524
4170    __cil_tmp46 = *((int *)__cil_tmp45);
4171#line 524
4172    printk("<7>mppe_decompress[%d]: ccount %d\n", __cil_tmp46, ccount);
4173    }
4174  } else {
4175
4176  }
4177  }
4178  {
4179#line 528
4180  __cil_tmp47 = ibuf + 4UL;
4181#line 528
4182  __cil_tmp48 = *__cil_tmp47;
4183#line 528
4184  __cil_tmp49 = (int )__cil_tmp48;
4185#line 528
4186  __cil_tmp50 = __cil_tmp49 & 16;
4187#line 528
4188  if (__cil_tmp50 == 0) {
4189    {
4190#line 529
4191    __cil_tmp51 = (unsigned long )state;
4192#line 529
4193    __cil_tmp52 = __cil_tmp51 + 80;
4194#line 529
4195    __cil_tmp53 = *((int *)__cil_tmp52);
4196#line 529
4197    printk("<7>mppe_decompress[%d]: ENCRYPTED bit not set!\n", __cil_tmp53);
4198#line 532
4199    __cil_tmp54 = (unsigned long )state;
4200#line 532
4201    __cil_tmp55 = __cil_tmp54 + 76;
4202#line 532
4203    __cil_tmp56 = (unsigned long )state;
4204#line 532
4205    __cil_tmp57 = __cil_tmp56 + 76;
4206#line 532
4207    __cil_tmp58 = *((int *)__cil_tmp57);
4208#line 532
4209    *((int *)__cil_tmp55) = __cil_tmp58 + 100;
4210#line 533
4211    sanity = 1;
4212    }
4213  } else {
4214
4215  }
4216  }
4217  {
4218#line 535
4219  __cil_tmp59 = (unsigned long )state;
4220#line 535
4221  __cil_tmp60 = __cil_tmp59 + 68;
4222#line 535
4223  __cil_tmp61 = *((unsigned int *)__cil_tmp60);
4224#line 535
4225  if (__cil_tmp61 == 0U) {
4226#line 535
4227    if (flushed == 0) {
4228      {
4229#line 536
4230      __cil_tmp62 = (unsigned long )state;
4231#line 536
4232      __cil_tmp63 = __cil_tmp62 + 80;
4233#line 536
4234      __cil_tmp64 = *((int *)__cil_tmp63);
4235#line 536
4236      printk("<7>mppe_decompress[%d]: FLUSHED bit not set in stateless mode!\n", __cil_tmp64);
4237#line 538
4238      __cil_tmp65 = (unsigned long )state;
4239#line 538
4240      __cil_tmp66 = __cil_tmp65 + 76;
4241#line 538
4242      __cil_tmp67 = (unsigned long )state;
4243#line 538
4244      __cil_tmp68 = __cil_tmp67 + 76;
4245#line 538
4246      __cil_tmp69 = *((int *)__cil_tmp68);
4247#line 538
4248      *((int *)__cil_tmp66) = __cil_tmp69 + 100;
4249#line 539
4250      sanity = 1;
4251      }
4252    } else {
4253
4254    }
4255  } else {
4256
4257  }
4258  }
4259  {
4260#line 541
4261  __cil_tmp70 = (unsigned long )state;
4262#line 541
4263  __cil_tmp71 = __cil_tmp70 + 68;
4264#line 541
4265  __cil_tmp72 = *((unsigned int *)__cil_tmp71);
4266#line 541
4267  if (__cil_tmp72 != 0U) {
4268    {
4269#line 541
4270    __cil_tmp73 = ccount & 255U;
4271#line 541
4272    if (__cil_tmp73 == 255U) {
4273#line 541
4274      if (flushed == 0) {
4275        {
4276#line 542
4277        __cil_tmp74 = (unsigned long )state;
4278#line 542
4279        __cil_tmp75 = __cil_tmp74 + 80;
4280#line 542
4281        __cil_tmp76 = *((int *)__cil_tmp75);
4282#line 542
4283        printk("<7>mppe_decompress[%d]: FLUSHED bit not set on flag packet!\n", __cil_tmp76);
4284#line 544
4285        __cil_tmp77 = (unsigned long )state;
4286#line 544
4287        __cil_tmp78 = __cil_tmp77 + 76;
4288#line 544
4289        __cil_tmp79 = (unsigned long )state;
4290#line 544
4291        __cil_tmp80 = __cil_tmp79 + 76;
4292#line 544
4293        __cil_tmp81 = *((int *)__cil_tmp80);
4294#line 544
4295        *((int *)__cil_tmp78) = __cil_tmp81 + 100;
4296#line 545
4297        sanity = 1;
4298        }
4299      } else {
4300
4301      }
4302    } else {
4303
4304    }
4305    }
4306  } else {
4307
4308  }
4309  }
4310#line 548
4311  if (sanity != 0) {
4312    {
4313#line 549
4314    __cil_tmp82 = (unsigned long )state;
4315#line 549
4316    __cil_tmp83 = __cil_tmp82 + 76;
4317#line 549
4318    __cil_tmp84 = *((int *)__cil_tmp83);
4319#line 549
4320    if (__cil_tmp84 <= 1599) {
4321#line 550
4322      return (-1);
4323    } else {
4324#line 557
4325      return (-2);
4326    }
4327    }
4328  } else {
4329
4330  }
4331  {
4332#line 564
4333  __cil_tmp85 = (unsigned long )state;
4334#line 564
4335  __cil_tmp86 = __cil_tmp85 + 68;
4336#line 564
4337  __cil_tmp87 = *((unsigned int *)__cil_tmp86);
4338#line 564
4339  if (__cil_tmp87 == 0U) {
4340#line 566
4341    goto ldv_18204;
4342    ldv_18203: 
4343    {
4344#line 567
4345    mppe_rekey(state, 0);
4346#line 568
4347    __cil_tmp88 = (unsigned long )state;
4348#line 568
4349    __cil_tmp89 = __cil_tmp88 + 64;
4350#line 568
4351    __cil_tmp90 = (unsigned long )state;
4352#line 568
4353    __cil_tmp91 = __cil_tmp90 + 64;
4354#line 568
4355    __cil_tmp92 = *((unsigned int *)__cil_tmp91);
4356#line 568
4357    __cil_tmp93 = __cil_tmp92 + 1U;
4358#line 568
4359    *((unsigned int *)__cil_tmp89) = __cil_tmp93 & 4095U;
4360    }
4361    ldv_18204: ;
4362    {
4363#line 566
4364    __cil_tmp94 = (unsigned long )state;
4365#line 566
4366    __cil_tmp95 = __cil_tmp94 + 64;
4367#line 566
4368    __cil_tmp96 = *((unsigned int *)__cil_tmp95);
4369#line 566
4370    if (__cil_tmp96 != ccount) {
4371#line 567
4372      goto ldv_18203;
4373    } else {
4374#line 569
4375      goto ldv_18205;
4376    }
4377    }
4378    ldv_18205: ;
4379  } else {
4380    {
4381#line 572
4382    __cil_tmp97 = (unsigned long )state;
4383#line 572
4384    __cil_tmp98 = __cil_tmp97 + 72;
4385#line 572
4386    __cil_tmp99 = *((int *)__cil_tmp98);
4387#line 572
4388    if (__cil_tmp99 == 0) {
4389#line 574
4390      __cil_tmp100 = (unsigned long )state;
4391#line 574
4392      __cil_tmp101 = __cil_tmp100 + 64;
4393#line 574
4394      __cil_tmp102 = (unsigned long )state;
4395#line 574
4396      __cil_tmp103 = __cil_tmp102 + 64;
4397#line 574
4398      __cil_tmp104 = *((unsigned int *)__cil_tmp103);
4399#line 574
4400      __cil_tmp105 = __cil_tmp104 + 1U;
4401#line 574
4402      *((unsigned int *)__cil_tmp101) = __cil_tmp105 & 4095U;
4403      {
4404#line 575
4405      __cil_tmp106 = (unsigned long )state;
4406#line 575
4407      __cil_tmp107 = __cil_tmp106 + 64;
4408#line 575
4409      __cil_tmp108 = *((unsigned int *)__cil_tmp107);
4410#line 575
4411      if (__cil_tmp108 != ccount) {
4412#line 581
4413        __cil_tmp109 = (unsigned long )state;
4414#line 581
4415        __cil_tmp110 = __cil_tmp109 + 72;
4416#line 581
4417        *((int *)__cil_tmp110) = 1;
4418#line 582
4419        return (-1);
4420      } else {
4421
4422      }
4423      }
4424    } else
4425#line 586
4426    if (flushed == 0) {
4427#line 588
4428      return (-1);
4429    } else {
4430#line 591
4431      goto ldv_18207;
4432      ldv_18206: 
4433      {
4434#line 593
4435      mppe_rekey(state, 0);
4436#line 594
4437      __cil_tmp111 = (unsigned long )state;
4438#line 594
4439      __cil_tmp112 = __cil_tmp111 + 64;
4440#line 594
4441      __cil_tmp113 = (unsigned long )state;
4442#line 594
4443      __cil_tmp114 = __cil_tmp113 + 64;
4444#line 594
4445      __cil_tmp115 = *((unsigned int *)__cil_tmp114);
4446#line 594
4447      __cil_tmp116 = __cil_tmp115 + 256U;
4448#line 594
4449      *((unsigned int *)__cil_tmp112) = __cil_tmp116 & 4095U;
4450      }
4451      ldv_18207: ;
4452      {
4453#line 591
4454      __cil_tmp117 = (unsigned long )state;
4455#line 591
4456      __cil_tmp118 = __cil_tmp117 + 64;
4457#line 591
4458      __cil_tmp119 = *((unsigned int *)__cil_tmp118);
4459#line 591
4460      __cil_tmp120 = __cil_tmp119 ^ ccount;
4461#line 591
4462      __cil_tmp121 = __cil_tmp120 & 4294967040U;
4463#line 591
4464      if (__cil_tmp121 != 0U) {
4465#line 592
4466        goto ldv_18206;
4467      } else {
4468#line 594
4469        goto ldv_18208;
4470      }
4471      }
4472      ldv_18208: 
4473#line 600
4474      __cil_tmp122 = (unsigned long )state;
4475#line 600
4476      __cil_tmp123 = __cil_tmp122 + 72;
4477#line 600
4478      *((int *)__cil_tmp123) = 0;
4479#line 601
4480      __cil_tmp124 = (unsigned long )state;
4481#line 601
4482      __cil_tmp125 = __cil_tmp124 + 64;
4483#line 601
4484      *((unsigned int *)__cil_tmp125) = ccount;
4485    }
4486    }
4487#line 611
4488    if (flushed != 0) {
4489      {
4490#line 612
4491      mppe_rekey(state, 0);
4492      }
4493    } else {
4494
4495    }
4496  }
4497  }
4498  {
4499#line 619
4500  *obuf = *ibuf;
4501#line 620
4502  __cil_tmp126 = obuf + 1UL;
4503#line 620
4504  __cil_tmp127 = ibuf + 1UL;
4505#line 620
4506  *__cil_tmp126 = *__cil_tmp127;
4507#line 621
4508  obuf = obuf + 2UL;
4509#line 622
4510  ibuf = ibuf + 6UL;
4511#line 623
4512  isize = isize + -6;
4513#line 630
4514  __cil_tmp128 = (struct scatterlist *)(& sg_in);
4515#line 630
4516  sg_init_table(__cil_tmp128, 1U);
4517#line 631
4518  __cil_tmp129 = (struct scatterlist *)(& sg_out);
4519#line 631
4520  sg_init_table(__cil_tmp129, 1U);
4521#line 632
4522  __cil_tmp130 = (struct scatterlist *)(& sg_in);
4523#line 632
4524  __cil_tmp131 = (void const   *)ibuf;
4525#line 632
4526  setup_sg(__cil_tmp130, __cil_tmp131, 1U);
4527#line 633
4528  __cil_tmp132 = (struct scatterlist *)(& sg_out);
4529#line 633
4530  __cil_tmp133 = (void const   *)obuf;
4531#line 633
4532  setup_sg(__cil_tmp132, __cil_tmp133, 1U);
4533#line 634
4534  __cil_tmp134 = (struct scatterlist *)(& sg_out);
4535#line 634
4536  __cil_tmp135 = (struct scatterlist *)(& sg_in);
4537#line 634
4538  tmp = crypto_blkcipher_decrypt(& desc, __cil_tmp134, __cil_tmp135, 1U);
4539  }
4540#line 634
4541  if (tmp != 0) {
4542    {
4543#line 635
4544    printk("<7>crypto_cypher_decrypt failed\n");
4545    }
4546#line 636
4547    return (-1);
4548  } else {
4549
4550  }
4551  {
4552#line 644
4553  __cil_tmp136 = *obuf;
4554#line 644
4555  __cil_tmp137 = (int )__cil_tmp136;
4556#line 644
4557  if (__cil_tmp137 & 1) {
4558#line 645
4559    __cil_tmp138 = obuf + 1UL;
4560#line 645
4561    *__cil_tmp138 = *obuf;
4562#line 646
4563    *obuf = (unsigned char)0;
4564#line 647
4565    obuf = obuf + 1;
4566#line 648
4567    osize = osize + 1;
4568  } else {
4569
4570  }
4571  }
4572  {
4573#line 652
4574  __cil_tmp139 = (struct scatterlist *)(& sg_in);
4575#line 652
4576  __cil_tmp140 = (void const   *)ibuf;
4577#line 652
4578  __cil_tmp141 = __cil_tmp140 + 1U;
4579#line 652
4580  __cil_tmp142 = isize + -1;
4581#line 652
4582  __cil_tmp143 = (unsigned int )__cil_tmp142;
4583#line 652
4584  setup_sg(__cil_tmp139, __cil_tmp141, __cil_tmp143);
4585#line 653
4586  __cil_tmp144 = (struct scatterlist *)(& sg_out);
4587#line 653
4588  __cil_tmp145 = (void const   *)obuf;
4589#line 653
4590  __cil_tmp146 = __cil_tmp145 + 1U;
4591#line 653
4592  __cil_tmp147 = osize + -1;
4593#line 653
4594  __cil_tmp148 = (unsigned int )__cil_tmp147;
4595#line 653
4596  setup_sg(__cil_tmp144, __cil_tmp146, __cil_tmp148);
4597#line 654
4598  __cil_tmp149 = (struct scatterlist *)(& sg_out);
4599#line 654
4600  __cil_tmp150 = (struct scatterlist *)(& sg_in);
4601#line 654
4602  __cil_tmp151 = isize + -1;
4603#line 654
4604  __cil_tmp152 = (unsigned int )__cil_tmp151;
4605#line 654
4606  tmp___0 = crypto_blkcipher_decrypt(& desc, __cil_tmp149, __cil_tmp150, __cil_tmp152);
4607  }
4608#line 654
4609  if (tmp___0 != 0) {
4610    {
4611#line 655
4612    printk("<7>crypto_cypher_decrypt failed\n");
4613    }
4614#line 656
4615    return (-1);
4616  } else {
4617
4618  }
4619#line 659
4620  __cil_tmp153 = (unsigned long )state;
4621#line 659
4622  __cil_tmp154 = __cil_tmp153 + 88;
4623#line 659
4624  __cil_tmp155 = (__u32 )osize;
4625#line 659
4626  __cil_tmp156 = (unsigned long )state;
4627#line 659
4628  __cil_tmp157 = __cil_tmp156 + 88;
4629#line 659
4630  __cil_tmp158 = *((__u32 *)__cil_tmp157);
4631#line 659
4632  *((__u32 *)__cil_tmp154) = __cil_tmp158 + __cil_tmp155;
4633#line 660
4634  __cil_tmp159 = 88 + 4;
4635#line 660
4636  __cil_tmp160 = (unsigned long )state;
4637#line 660
4638  __cil_tmp161 = __cil_tmp160 + __cil_tmp159;
4639#line 660
4640  __cil_tmp162 = 88 + 4;
4641#line 660
4642  __cil_tmp163 = (unsigned long )state;
4643#line 660
4644  __cil_tmp164 = __cil_tmp163 + __cil_tmp162;
4645#line 660
4646  __cil_tmp165 = *((__u32 *)__cil_tmp164);
4647#line 660
4648  *((__u32 *)__cil_tmp161) = __cil_tmp165 + 1U;
4649#line 661
4650  __cil_tmp166 = 88 + 8;
4651#line 661
4652  __cil_tmp167 = (unsigned long )state;
4653#line 661
4654  __cil_tmp168 = __cil_tmp167 + __cil_tmp166;
4655#line 661
4656  __cil_tmp169 = (__u32 )isize;
4657#line 661
4658  __cil_tmp170 = 88 + 8;
4659#line 661
4660  __cil_tmp171 = (unsigned long )state;
4661#line 661
4662  __cil_tmp172 = __cil_tmp171 + __cil_tmp170;
4663#line 661
4664  __cil_tmp173 = *((__u32 *)__cil_tmp172);
4665#line 661
4666  *((__u32 *)__cil_tmp168) = __cil_tmp173 + __cil_tmp169;
4667#line 662
4668  __cil_tmp174 = 88 + 12;
4669#line 662
4670  __cil_tmp175 = (unsigned long )state;
4671#line 662
4672  __cil_tmp176 = __cil_tmp175 + __cil_tmp174;
4673#line 662
4674  __cil_tmp177 = 88 + 12;
4675#line 662
4676  __cil_tmp178 = (unsigned long )state;
4677#line 662
4678  __cil_tmp179 = __cil_tmp178 + __cil_tmp177;
4679#line 662
4680  __cil_tmp180 = *((__u32 *)__cil_tmp179);
4681#line 662
4682  *((__u32 *)__cil_tmp176) = __cil_tmp180 + 1U;
4683#line 665
4684  __cil_tmp181 = (unsigned long )state;
4685#line 665
4686  __cil_tmp182 = __cil_tmp181 + 76;
4687#line 665
4688  __cil_tmp183 = (unsigned long )state;
4689#line 665
4690  __cil_tmp184 = __cil_tmp183 + 76;
4691#line 665
4692  __cil_tmp185 = *((int *)__cil_tmp184);
4693#line 665
4694  *((int *)__cil_tmp182) = __cil_tmp185 >> 1;
4695#line 667
4696  return (osize);
4697}
4698}
4699#line 676 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
4700static void mppe_incomp(void *arg , unsigned char *ibuf , int icnt ) 
4701{ struct ppp_mppe_state *state ;
4702  unsigned long __cil_tmp5 ;
4703  unsigned long __cil_tmp6 ;
4704  int __cil_tmp7 ;
4705  __u8 *__cil_tmp8 ;
4706  __u8 __cil_tmp9 ;
4707  int __cil_tmp10 ;
4708  __u8 *__cil_tmp11 ;
4709  __u8 __cil_tmp12 ;
4710  int __cil_tmp13 ;
4711  int __cil_tmp14 ;
4712  int __cil_tmp15 ;
4713  __u8 *__cil_tmp16 ;
4714  __u8 __cil_tmp17 ;
4715  int __cil_tmp18 ;
4716  __u8 *__cil_tmp19 ;
4717  __u8 __cil_tmp20 ;
4718  int __cil_tmp21 ;
4719  int __cil_tmp22 ;
4720  int __cil_tmp23 ;
4721  unsigned long __cil_tmp24 ;
4722  unsigned long __cil_tmp25 ;
4723  int __cil_tmp26 ;
4724  __u8 *__cil_tmp27 ;
4725  __u8 __cil_tmp28 ;
4726  int __cil_tmp29 ;
4727  __u8 *__cil_tmp30 ;
4728  __u8 __cil_tmp31 ;
4729  int __cil_tmp32 ;
4730  int __cil_tmp33 ;
4731  int __cil_tmp34 ;
4732  unsigned long __cil_tmp35 ;
4733  unsigned long __cil_tmp36 ;
4734  unsigned long __cil_tmp37 ;
4735  __u32 __cil_tmp38 ;
4736  unsigned long __cil_tmp39 ;
4737  unsigned long __cil_tmp40 ;
4738  unsigned long __cil_tmp41 ;
4739  __u32 __cil_tmp42 ;
4740  unsigned long __cil_tmp43 ;
4741  unsigned long __cil_tmp44 ;
4742  unsigned long __cil_tmp45 ;
4743  unsigned long __cil_tmp46 ;
4744  unsigned long __cil_tmp47 ;
4745  unsigned long __cil_tmp48 ;
4746  __u32 __cil_tmp49 ;
4747  unsigned long __cil_tmp50 ;
4748  unsigned long __cil_tmp51 ;
4749  __u32 __cil_tmp52 ;
4750  unsigned long __cil_tmp53 ;
4751  unsigned long __cil_tmp54 ;
4752  __u32 __cil_tmp55 ;
4753  unsigned long __cil_tmp56 ;
4754  unsigned long __cil_tmp57 ;
4755  unsigned long __cil_tmp58 ;
4756  unsigned long __cil_tmp59 ;
4757  unsigned long __cil_tmp60 ;
4758  unsigned long __cil_tmp61 ;
4759  __u32 __cil_tmp62 ;
4760
4761  {
4762#line 678
4763  state = (struct ppp_mppe_state *)arg;
4764  {
4765#line 680
4766  __cil_tmp5 = (unsigned long )state;
4767#line 680
4768  __cil_tmp6 = __cil_tmp5 + 84;
4769#line 680
4770  __cil_tmp7 = *((int *)__cil_tmp6);
4771#line 680
4772  if (__cil_tmp7 != 0) {
4773    {
4774#line 680
4775    __cil_tmp8 = ibuf + 3UL;
4776#line 680
4777    __cil_tmp9 = *__cil_tmp8;
4778#line 680
4779    __cil_tmp10 = (int )__cil_tmp9;
4780#line 680
4781    __cil_tmp11 = ibuf + 2UL;
4782#line 680
4783    __cil_tmp12 = *__cil_tmp11;
4784#line 680
4785    __cil_tmp13 = (int )__cil_tmp12;
4786#line 680
4787    __cil_tmp14 = __cil_tmp13 << 8;
4788#line 680
4789    __cil_tmp15 = __cil_tmp14 + __cil_tmp10;
4790#line 680
4791    if (__cil_tmp15 > 32) {
4792      {
4793#line 680
4794      __cil_tmp16 = ibuf + 3UL;
4795#line 680
4796      __cil_tmp17 = *__cil_tmp16;
4797#line 680
4798      __cil_tmp18 = (int )__cil_tmp17;
4799#line 680
4800      __cil_tmp19 = ibuf + 2UL;
4801#line 680
4802      __cil_tmp20 = *__cil_tmp19;
4803#line 680
4804      __cil_tmp21 = (int )__cil_tmp20;
4805#line 680
4806      __cil_tmp22 = __cil_tmp21 << 8;
4807#line 680
4808      __cil_tmp23 = __cil_tmp22 + __cil_tmp18;
4809#line 680
4810      if (__cil_tmp23 <= 250) {
4811        {
4812#line 682
4813        __cil_tmp24 = (unsigned long )state;
4814#line 682
4815        __cil_tmp25 = __cil_tmp24 + 80;
4816#line 682
4817        __cil_tmp26 = *((int *)__cil_tmp25);
4818#line 682
4819        __cil_tmp27 = ibuf + 3UL;
4820#line 682
4821        __cil_tmp28 = *__cil_tmp27;
4822#line 682
4823        __cil_tmp29 = (int )__cil_tmp28;
4824#line 682
4825        __cil_tmp30 = ibuf + 2UL;
4826#line 682
4827        __cil_tmp31 = *__cil_tmp30;
4828#line 682
4829        __cil_tmp32 = (int )__cil_tmp31;
4830#line 682
4831        __cil_tmp33 = __cil_tmp32 << 8;
4832#line 682
4833        __cil_tmp34 = __cil_tmp33 + __cil_tmp29;
4834#line 682
4835        printk("<7>mppe_incomp[%d]: incompressible (unencrypted) data! (proto %04x)\n",
4836               __cil_tmp26, __cil_tmp34);
4837        }
4838      } else {
4839
4840      }
4841      }
4842    } else {
4843
4844    }
4845    }
4846  } else {
4847
4848  }
4849  }
4850#line 686
4851  __cil_tmp35 = 88 + 16;
4852#line 686
4853  __cil_tmp36 = (unsigned long )state;
4854#line 686
4855  __cil_tmp37 = __cil_tmp36 + __cil_tmp35;
4856#line 686
4857  __cil_tmp38 = (__u32 )icnt;
4858#line 686
4859  __cil_tmp39 = 88 + 16;
4860#line 686
4861  __cil_tmp40 = (unsigned long )state;
4862#line 686
4863  __cil_tmp41 = __cil_tmp40 + __cil_tmp39;
4864#line 686
4865  __cil_tmp42 = *((__u32 *)__cil_tmp41);
4866#line 686
4867  *((__u32 *)__cil_tmp37) = __cil_tmp42 + __cil_tmp38;
4868#line 687
4869  __cil_tmp43 = 88 + 20;
4870#line 687
4871  __cil_tmp44 = (unsigned long )state;
4872#line 687
4873  __cil_tmp45 = __cil_tmp44 + __cil_tmp43;
4874#line 687
4875  __cil_tmp46 = 88 + 20;
4876#line 687
4877  __cil_tmp47 = (unsigned long )state;
4878#line 687
4879  __cil_tmp48 = __cil_tmp47 + __cil_tmp46;
4880#line 687
4881  __cil_tmp49 = *((__u32 *)__cil_tmp48);
4882#line 687
4883  *((__u32 *)__cil_tmp45) = __cil_tmp49 + 1U;
4884#line 688
4885  __cil_tmp50 = (unsigned long )state;
4886#line 688
4887  __cil_tmp51 = __cil_tmp50 + 88;
4888#line 688
4889  __cil_tmp52 = (__u32 )icnt;
4890#line 688
4891  __cil_tmp53 = (unsigned long )state;
4892#line 688
4893  __cil_tmp54 = __cil_tmp53 + 88;
4894#line 688
4895  __cil_tmp55 = *((__u32 *)__cil_tmp54);
4896#line 688
4897  *((__u32 *)__cil_tmp51) = __cil_tmp55 + __cil_tmp52;
4898#line 689
4899  __cil_tmp56 = 88 + 4;
4900#line 689
4901  __cil_tmp57 = (unsigned long )state;
4902#line 689
4903  __cil_tmp58 = __cil_tmp57 + __cil_tmp56;
4904#line 689
4905  __cil_tmp59 = 88 + 4;
4906#line 689
4907  __cil_tmp60 = (unsigned long )state;
4908#line 689
4909  __cil_tmp61 = __cil_tmp60 + __cil_tmp59;
4910#line 689
4911  __cil_tmp62 = *((__u32 *)__cil_tmp61);
4912#line 689
4913  *((__u32 *)__cil_tmp58) = __cil_tmp62 + 1U;
4914#line 690
4915  return;
4916}
4917}
4918#line 699 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
4919static struct compressor ppp_mppe  = 
4920#line 699
4921     {18, & mppe_alloc, & mppe_free, & mppe_comp_init, & mppe_comp_reset, & mppe_compress,
4922    & mppe_comp_stats, & mppe_alloc, & mppe_free, & mppe_decomp_init, & mppe_decomp_reset,
4923    & mppe_decompress, & mppe_incomp, & mppe_comp_stats, & __this_module, 4U};
4924#line 726 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
4925static int ppp_mppe_init(void) 
4926{ int answer ;
4927  int tmp ;
4928  int tmp___0 ;
4929  void *tmp___1 ;
4930  struct sha_pad *__cil_tmp5 ;
4931  unsigned long __cil_tmp6 ;
4932  unsigned long __cil_tmp7 ;
4933  void const   *__cil_tmp8 ;
4934
4935  {
4936  {
4937#line 729
4938  tmp = crypto_has_blkcipher("ecb(arc4)", 0U, 128U);
4939  }
4940#line 729
4941  if (tmp == 0) {
4942#line 731
4943    return (-19);
4944  } else {
4945    {
4946#line 729
4947    tmp___0 = crypto_has_hash("sha1", 0U, 128U);
4948    }
4949#line 729
4950    if (tmp___0 == 0) {
4951#line 731
4952      return (-19);
4953    } else {
4954
4955    }
4956  }
4957  {
4958#line 733
4959  tmp___1 = kmalloc(80UL, 208U);
4960#line 733
4961  sha_pad = (struct sha_pad *)tmp___1;
4962  }
4963  {
4964#line 734
4965  __cil_tmp5 = (struct sha_pad *)0;
4966#line 734
4967  __cil_tmp6 = (unsigned long )__cil_tmp5;
4968#line 734
4969  __cil_tmp7 = (unsigned long )sha_pad;
4970#line 734
4971  if (__cil_tmp7 == __cil_tmp6) {
4972#line 735
4973    return (-12);
4974  } else {
4975
4976  }
4977  }
4978  {
4979#line 736
4980  sha_pad_init(sha_pad);
4981#line 738
4982  answer = ppp_register_compressor(& ppp_mppe);
4983  }
4984#line 740
4985  if (answer == 0) {
4986    {
4987#line 741
4988    printk("<6>PPP MPPE Compression module registered\n");
4989    }
4990  } else {
4991    {
4992#line 743
4993    __cil_tmp8 = (void const   *)sha_pad;
4994#line 743
4995    kfree(__cil_tmp8);
4996    }
4997  }
4998#line 745
4999  return (answer);
5000}
5001}
5002#line 748 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
5003static void ppp_mppe_cleanup(void) 
5004{ void const   *__cil_tmp1 ;
5005
5006  {
5007  {
5008#line 750
5009  ppp_unregister_compressor(& ppp_mppe);
5010#line 751
5011  __cil_tmp1 = (void const   *)sha_pad;
5012#line 751
5013  kfree(__cil_tmp1);
5014  }
5015#line 752
5016  return;
5017}
5018}
5019#line 773
5020extern void ldv_check_final_state(void) ;
5021#line 779
5022extern void ldv_initialize(void) ;
5023#line 782
5024extern int __VERIFIER_nondet_int(void) ;
5025#line 785 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
5026int LDV_IN_INTERRUPT  ;
5027#line 788 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
5028void main(void) 
5029{ unsigned char *var_mppe_alloc_4_p0 ;
5030  int var_mppe_alloc_4_p1 ;
5031  void *var_mppe_free_5_p0 ;
5032  void *var_mppe_comp_init_7_p0 ;
5033  unsigned char *var_mppe_comp_init_7_p1 ;
5034  int var_mppe_comp_init_7_p2 ;
5035  int var_mppe_comp_init_7_p3 ;
5036  int var_mppe_comp_init_7_p4 ;
5037  int var_mppe_comp_init_7_p5 ;
5038  void *var_mppe_comp_reset_8_p0 ;
5039  void *var_mppe_compress_9_p0 ;
5040  unsigned char *var_mppe_compress_9_p1 ;
5041  unsigned char *var_mppe_compress_9_p2 ;
5042  int var_mppe_compress_9_p3 ;
5043  int var_mppe_compress_9_p4 ;
5044  void *var_mppe_comp_stats_10_p0 ;
5045  struct compstat *var_group1 ;
5046  void *var_mppe_decomp_init_11_p0 ;
5047  unsigned char *var_mppe_decomp_init_11_p1 ;
5048  int var_mppe_decomp_init_11_p2 ;
5049  int var_mppe_decomp_init_11_p3 ;
5050  int var_mppe_decomp_init_11_p4 ;
5051  int var_mppe_decomp_init_11_p5 ;
5052  int var_mppe_decomp_init_11_p6 ;
5053  void *var_mppe_decomp_reset_12_p0 ;
5054  void *var_mppe_decompress_13_p0 ;
5055  unsigned char *var_mppe_decompress_13_p1 ;
5056  int var_mppe_decompress_13_p2 ;
5057  unsigned char *var_mppe_decompress_13_p3 ;
5058  int var_mppe_decompress_13_p4 ;
5059  void *var_mppe_incomp_14_p0 ;
5060  unsigned char *var_mppe_incomp_14_p1 ;
5061  int var_mppe_incomp_14_p2 ;
5062  int tmp ;
5063  int tmp___0 ;
5064  int tmp___1 ;
5065
5066  {
5067  {
5068#line 1018
5069  LDV_IN_INTERRUPT = 1;
5070#line 1027
5071  ldv_initialize();
5072#line 1046
5073  tmp = ppp_mppe_init();
5074  }
5075#line 1046
5076  if (tmp != 0) {
5077#line 1047
5078    goto ldv_final;
5079  } else {
5080
5081  }
5082#line 1051
5083  goto ldv_18292;
5084  ldv_18291: 
5085  {
5086#line 1054
5087  tmp___0 = __VERIFIER_nondet_int();
5088  }
5089#line 1056
5090  if (tmp___0 == 0) {
5091#line 1056
5092    goto case_0;
5093  } else
5094#line 1085
5095  if (tmp___0 == 1) {
5096#line 1085
5097    goto case_1;
5098  } else
5099#line 1114
5100  if (tmp___0 == 2) {
5101#line 1114
5102    goto case_2;
5103  } else
5104#line 1143
5105  if (tmp___0 == 3) {
5106#line 1143
5107    goto case_3;
5108  } else
5109#line 1172
5110  if (tmp___0 == 4) {
5111#line 1172
5112    goto case_4;
5113  } else
5114#line 1201
5115  if (tmp___0 == 5) {
5116#line 1201
5117    goto case_5;
5118  } else
5119#line 1230
5120  if (tmp___0 == 6) {
5121#line 1230
5122    goto case_6;
5123  } else
5124#line 1259
5125  if (tmp___0 == 7) {
5126#line 1259
5127    goto case_7;
5128  } else
5129#line 1288
5130  if (tmp___0 == 8) {
5131#line 1288
5132    goto case_8;
5133  } else
5134#line 1317
5135  if (tmp___0 == 9) {
5136#line 1317
5137    goto case_9;
5138  } else {
5139    {
5140#line 1346
5141    goto switch_default;
5142#line 1054
5143    if (0) {
5144      case_0: /* CIL Label */ 
5145      {
5146#line 1077
5147      mppe_alloc(var_mppe_alloc_4_p0, var_mppe_alloc_4_p1);
5148      }
5149#line 1084
5150      goto ldv_18280;
5151      case_1: /* CIL Label */ 
5152      {
5153#line 1106
5154      mppe_free(var_mppe_free_5_p0);
5155      }
5156#line 1113
5157      goto ldv_18280;
5158      case_2: /* CIL Label */ 
5159      {
5160#line 1135
5161      mppe_comp_init(var_mppe_comp_init_7_p0, var_mppe_comp_init_7_p1, var_mppe_comp_init_7_p2,
5162                     var_mppe_comp_init_7_p3, var_mppe_comp_init_7_p4, var_mppe_comp_init_7_p5);
5163      }
5164#line 1142
5165      goto ldv_18280;
5166      case_3: /* CIL Label */ 
5167      {
5168#line 1164
5169      mppe_comp_reset(var_mppe_comp_reset_8_p0);
5170      }
5171#line 1171
5172      goto ldv_18280;
5173      case_4: /* CIL Label */ 
5174      {
5175#line 1193
5176      mppe_compress(var_mppe_compress_9_p0, var_mppe_compress_9_p1, var_mppe_compress_9_p2,
5177                    var_mppe_compress_9_p3, var_mppe_compress_9_p4);
5178      }
5179#line 1200
5180      goto ldv_18280;
5181      case_5: /* CIL Label */ 
5182      {
5183#line 1222
5184      mppe_comp_stats(var_mppe_comp_stats_10_p0, var_group1);
5185      }
5186#line 1229
5187      goto ldv_18280;
5188      case_6: /* CIL Label */ 
5189      {
5190#line 1251
5191      mppe_decomp_init(var_mppe_decomp_init_11_p0, var_mppe_decomp_init_11_p1, var_mppe_decomp_init_11_p2,
5192                       var_mppe_decomp_init_11_p3, var_mppe_decomp_init_11_p4, var_mppe_decomp_init_11_p5,
5193                       var_mppe_decomp_init_11_p6);
5194      }
5195#line 1258
5196      goto ldv_18280;
5197      case_7: /* CIL Label */ 
5198      {
5199#line 1280
5200      mppe_decomp_reset(var_mppe_decomp_reset_12_p0);
5201      }
5202#line 1287
5203      goto ldv_18280;
5204      case_8: /* CIL Label */ 
5205      {
5206#line 1309
5207      mppe_decompress(var_mppe_decompress_13_p0, var_mppe_decompress_13_p1, var_mppe_decompress_13_p2,
5208                      var_mppe_decompress_13_p3, var_mppe_decompress_13_p4);
5209      }
5210#line 1316
5211      goto ldv_18280;
5212      case_9: /* CIL Label */ 
5213      {
5214#line 1338
5215      mppe_incomp(var_mppe_incomp_14_p0, var_mppe_incomp_14_p1, var_mppe_incomp_14_p2);
5216      }
5217#line 1345
5218      goto ldv_18280;
5219      switch_default: /* CIL Label */ ;
5220#line 1346
5221      goto ldv_18280;
5222    } else {
5223      switch_break: /* CIL Label */ ;
5224    }
5225    }
5226  }
5227  ldv_18280: ;
5228  ldv_18292: 
5229  {
5230#line 1051
5231  tmp___1 = __VERIFIER_nondet_int();
5232  }
5233#line 1051
5234  if (tmp___1 != 0) {
5235#line 1052
5236    goto ldv_18291;
5237  } else {
5238#line 1054
5239    goto ldv_18293;
5240  }
5241  ldv_18293: ;
5242  {
5243#line 1371
5244  ppp_mppe_cleanup();
5245  }
5246  ldv_final: 
5247  {
5248#line 1374
5249  ldv_check_final_state();
5250  }
5251#line 1377
5252  return;
5253}
5254}
5255#line 5 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/kernel-rules/files/engine-blast-assert.h"
5256void ldv_blast_assert(void) 
5257{ 
5258
5259  {
5260  ERROR: ;
5261#line 6
5262  goto ERROR;
5263}
5264}
5265#line 6 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/kernel-rules/files/engine-blast.h"
5266extern int __VERIFIER_nondet_int(void) ;
5267#line 1398 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
5268int ldv_spin  =    0;
5269#line 1402 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
5270void ldv_check_alloc_flags(gfp_t flags ) 
5271{ 
5272
5273  {
5274#line 1405
5275  if (ldv_spin != 0) {
5276#line 1405
5277    if (flags != 32U) {
5278      {
5279#line 1405
5280      ldv_blast_assert();
5281      }
5282    } else {
5283
5284    }
5285  } else {
5286
5287  }
5288#line 1408
5289  return;
5290}
5291}
5292#line 1408
5293extern struct page *ldv_some_page(void) ;
5294#line 1411 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
5295struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags ) 
5296{ struct page *tmp ;
5297
5298  {
5299#line 1414
5300  if (ldv_spin != 0) {
5301#line 1414
5302    if (flags != 32U) {
5303      {
5304#line 1414
5305      ldv_blast_assert();
5306      }
5307    } else {
5308
5309    }
5310  } else {
5311
5312  }
5313  {
5314#line 1416
5315  tmp = ldv_some_page();
5316  }
5317#line 1416
5318  return (tmp);
5319}
5320}
5321#line 1420 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
5322void ldv_check_alloc_nonatomic(void) 
5323{ 
5324
5325  {
5326#line 1423
5327  if (ldv_spin != 0) {
5328    {
5329#line 1423
5330    ldv_blast_assert();
5331    }
5332  } else {
5333
5334  }
5335#line 1426
5336  return;
5337}
5338}
5339#line 1427 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
5340void ldv_spin_lock(void) 
5341{ 
5342
5343  {
5344#line 1430
5345  ldv_spin = 1;
5346#line 1431
5347  return;
5348}
5349}
5350#line 1434 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
5351void ldv_spin_unlock(void) 
5352{ 
5353
5354  {
5355#line 1437
5356  ldv_spin = 0;
5357#line 1438
5358  return;
5359}
5360}
5361#line 1441 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
5362int ldv_spin_trylock(void) 
5363{ int is_lock ;
5364
5365  {
5366  {
5367#line 1446
5368  is_lock = __VERIFIER_nondet_int();
5369  }
5370#line 1448
5371  if (is_lock != 0) {
5372#line 1451
5373    return (0);
5374  } else {
5375#line 1456
5376    ldv_spin = 1;
5377#line 1458
5378    return (1);
5379  }
5380}
5381}
5382#line 1580 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
5383__inline static void *kmalloc(size_t size , gfp_t flags ) 
5384{ 
5385
5386  {
5387  {
5388#line 1586
5389  ldv_check_alloc_flags(flags);
5390#line 1588
5391  ldv_kmalloc_12(size, flags);
5392  }
5393#line 1589
5394  return ((void *)0);
5395}
5396}
5397#line 1625 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
5398void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 ) 
5399{ 
5400
5401  {
5402  {
5403#line 1631
5404  ldv_check_alloc_flags(ldv_func_arg2);
5405#line 1633
5406  kmem_cache_alloc(ldv_func_arg1, ldv_func_arg2);
5407  }
5408#line 1634
5409  return ((void *)0);
5410}
5411}
5412#line 1636 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/15265/dscv_tempdir/dscv/ri/43_1a/drivers/net/ppp/ppp_mppe.c.p"
5413__inline static void *kzalloc(size_t size , gfp_t flags ) 
5414{ void *tmp ;
5415
5416  {
5417  {
5418#line 1642
5419  ldv_check_alloc_flags(flags);
5420#line 1643
5421  tmp = __VERIFIER_nondet_pointer();
5422  }
5423#line 1643
5424  return (tmp);
5425}
5426}