(module
 (type $none_=>_none (func))
 (type $i32_=>_none (func (param i32)))
 (type $i32_i32_=>_none (func (param i32 i32)))
 (type $i32_f64_=>_none (func (param i32 f64)))
 (event $e (attr 0) (param i32))
 (func $basic (; 0 ;) (param $x i32) (param $y f64)
  (local $a f32)
  (local $b i64)
  (local.set $x
   (i32.const 0)
  )
  (local.set $y
   (f64.const 0)
  )
  (drop
   (f32.const 0)
  )
  (drop
   (i64.const 0)
  )
 )
 (func $later-param-use (; 1 ;) (param $x i32)
  (local.set $x
   (i32.const 0)
  )
  (drop
   (i32.const 0)
  )
 )
 (func $diff-value (; 2 ;) (param $x i32)
  (local $a i32)
  (local.set $x
   (i32.const 0)
  )
  (local.set $x
   (i32.const 1)
  )
  (drop
   (i32.const 1)
  )
  (local.set $a
   (i32.const 1)
  )
  (drop
   (i32.const 1)
  )
  (local.set $a
   (i32.const 0)
  )
 )
 (func $unreach (; 3 ;)
  (local $a i32)
  (block $x
   (drop
    (i32.const 0)
   )
   (local.set $a
    (i32.const 1)
   )
   (drop
    (i32.const 1)
   )
   (br $x)
   (local.set $a
    (i32.const 1)
   )
   (local.set $a
    (i32.const 2)
   )
   (local.set $a
    (i32.const 2)
   )
  )
 )
 (func $loop (; 4 ;)
  (local $a i32)
  (local $b i32)
  (loop $x
   (local.set $a
    (i32.const 0)
   )
   (local.set $a
    (i32.const 1)
   )
   (br_if $x
    (i32.const 1)
   )
  )
  (block $y
   (drop
    (i32.const 0)
   )
   (local.set $b
    (i32.const 1)
   )
   (br $y)
  )
  (drop
   (i32.const 1)
  )
 )
 (func $if (; 5 ;)
  (local $x i32)
  (if
   (i32.const 0)
   (local.set $x
    (i32.const 1)
   )
   (local.set $x
    (i32.const 1)
   )
  )
  (drop
   (i32.const 1)
  )
 )
 (func $if2 (; 6 ;)
  (local $x i32)
  (if
   (local.tee $x
    (i32.const 1)
   )
   (drop
    (i32.const 1)
   )
   (drop
    (i32.const 1)
   )
  )
  (drop
   (i32.const 1)
  )
 )
 (func $if3 (; 7 ;)
  (local $x i32)
  (if
   (local.tee $x
    (i32.const 1)
   )
   (drop
    (i32.const 1)
   )
   (local.set $x
    (i32.const 2)
   )
  )
  (local.set $x
   (i32.const 1)
  )
 )
 (func $copy (; 8 ;)
  (local $x i32)
  (local $y i32)
  (local.set $x
   (i32.const 1)
  )
  (local.set $y
   (local.get $x)
  )
  (drop
   (i32.const 1)
  )
  (local.set $x
   (i32.const 2)
  )
  (if
   (i32.const 1)
   (nop)
   (nop)
  )
  (local.set $y
   (local.get $x)
  )
  (drop
   (i32.const 2)
  )
  (if
   (i32.const 1)
   (nop)
   (nop)
  )
  (drop
   (i32.const 2)
  )
  (local.set $x
   (i32.const 3)
  )
  (local.set $y
   (i32.const 3)
  )
  (drop
   (local.get $x)
  )
 )
 (func $param-unique (; 9 ;) (param $x i32)
  (local $a i32)
  (local.set $a
   (local.get $x)
  )
  (drop
   (local.get $x)
  )
  (local.set $x
   (i32.eqz
    (i32.const 9999)
   )
  )
  (local.set $a
   (local.get $x)
  )
  (drop
   (local.get $x)
  )
 )
 (func $set-unique (; 10 ;)
  (local $x i32)
  (local $y i32)
  (local.set $x
   (i32.eqz
    (i32.const 123)
   )
  )
  (local.set $y
   (local.get $x)
  )
  (drop
   (local.get $x)
  )
  (local.set $x
   (i32.eqz
    (i32.const 456)
   )
  )
  (local.set $y
   (local.get $x)
  )
  (drop
   (local.get $x)
  )
  (local.set $x
   (i32.eqz
    (i32.const 789)
   )
  )
  (if
   (i32.const 1)
   (nop)
   (nop)
  )
  (local.set $y
   (local.get $x)
  )
  (drop
   (local.get $x)
  )
  (local.set $x
   (i32.eqz
    (i32.const 1000)
   )
  )
  (local.set $y
   (local.get $x)
  )
  (if
   (i32.const 1)
   (nop)
   (nop)
  )
  (drop
   (local.get $x)
  )
 )
 (func $identical_complex (; 11 ;) (param $x i32)
  (local $y i32)
  (local.set $y
   (local.get $x)
  )
  (drop
   (local.get $x)
  )
  (drop
   (local.get $x)
  )
  (drop
   (local.get $x)
  )
  (drop
   (local.get $y)
  )
  (drop
   (local.get $y)
  )
 )
 (func $merge (; 12 ;)
  (local $x i32)
  (if
   (i32.const 1)
   (local.set $x
    (i32.const 1)
   )
   (local.set $x
    (i32.const 1)
   )
  )
  (drop
   (i32.const 1)
  )
  (local.set $x
   (i32.const 2)
  )
  (loop $loop
   (drop
    (i32.const 2)
   )
   (local.set $x
    (i32.const 3)
   )
   (local.set $x
    (i32.const 2)
   )
   (br_if $loop
    (i32.const 2)
   )
  )
  (drop
   (i32.const 2)
  )
 )
 (func $one-arm (; 13 ;) (param $1 i32) (param $3 i32)
  (local.set $1
   (local.get $3)
  )
  (if
   (i32.const 1)
   (nop)
   (drop
    (local.get $1)
   )
  )
 )
 (func $one-arm2 (; 14 ;) (param $1 i32) (param $3 i32)
  (local.set $1
   (local.get $3)
  )
  (if
   (i32.const 1)
   (drop
    (local.get $1)
   )
  )
 )
 (func $many-merges (; 15 ;)
  (local $0 i32)
  (local $1 i32)
  (block $block
   (br_if $block
    (i32.const 0)
   )
   (loop $loop
    (local.set $1
     (local.get $0)
    )
    (local.set $0
     (i32.const 99)
    )
    (br_if $loop
     (i32.const 1)
    )
   )
  )
  (local.set $0
   (local.get $1)
  )
  (if
   (i32.const 0)
   (drop
    (local.get $0)
   )
  )
 )
 (func $fuzz (; 16 ;)
  (local $x i32)
  (loop $label$4
   (block $label$5
    (if
     (i32.const 1)
     (block $block
      (local.set $x
       (i32.const 203)
      )
      (br $label$5)
     )
    )
    (br_if $label$4
     (i32.const 2)
    )
   )
  )
  (loop $label$7
   (if
    (if (result i32)
     (i32.const 3)
     (i32.const 4)
     (i32.const 5)
    )
    (br $label$7)
   )
  )
 )
 (func $fuzz2 (; 17 ;)
  (local $var$1 i32)
  (if
   (i32.const 0)
   (if
    (i32.const 1)
    (local.set $var$1
     (i32.const 2)
    )
   )
  )
  (loop $label$10
   (block $label$11
    (if
     (i32.const 5)
     (br_if $label$11
      (i32.const 6)
     )
    )
    (br $label$10)
   )
  )
 )
 (func $fuzz-nan (; 18 ;)
  (local $0 f64)
  (local $1 f64)
  (block $block
   (br_if $block
    (i32.const 0)
   )
   (loop $loop
    (local.set $1
     (local.get $0)
    )
    (local.set $0
     (f64.const -nan:0xfffffffffff87)
    )
    (br_if $loop
     (i32.const 1)
    )
   )
  )
  (local.set $0
   (local.get $1)
  )
  (if
   (i32.const 0)
   (drop
    (local.get $0)
   )
  )
 )
 (func $try1 (; 19 ;)
  (local $x i32)
  (try
   (nop)
   (catch
    (drop
     (exnref.pop)
    )
    (local.set $x
     (i32.const 1)
    )
   )
  )
  (local.set $x
   (i32.const 1)
  )
 )
 (func $try2 (; 20 ;)
  (local $x i32)
  (try
   (block $block
    (throw $e
     (i32.const 0)
    )
    (local.set $x
     (i32.const 1)
    )
   )
   (catch
    (drop
     (exnref.pop)
    )
   )
  )
  (local.set $x
   (i32.const 1)
  )
 )
 (func $try3 (; 21 ;)
  (local $x i32)
  (try
   (throw $e
    (i32.const 0)
   )
   (catch
    (drop
     (exnref.pop)
    )
    (local.set $x
     (i32.const 1)
    )
   )
  )
  (drop
   (i32.const 1)
  )
 )
 (func $foo (; 22 ;)
  (nop)
 )
 (func $try4 (; 23 ;)
  (local $x i32)
  (try
   (block $block
    (call $foo)
    (local.set $x
     (i32.const 1)
    )
   )
   (catch
    (drop
     (exnref.pop)
    )
   )
  )
  (local.set $x
   (i32.const 1)
  )
 )
 (func $try5 (; 24 ;)
  (local $x i32)
  (try
   (block $block
    (local.set $x
     (i32.const 1)
    )
    (call $foo)
   )
   (catch
    (drop
     (exnref.pop)
    )
   )
  )
  (drop
   (i32.const 1)
  )
 )
 (func $nested-try (; 25 ;)
  (local $x i32)
  (try
   (try
    (throw $e
     (i32.const 0)
    )
    (catch
     (rethrow
      (exnref.pop)
     )
    )
   )
   (catch
    (drop
     (exnref.pop)
    )
    (local.set $x
     (i32.const 1)
    )
   )
  )
  (drop
   (i32.const 1)
  )
 )
)
