(module
 (type $0 (func))
 (type $1 (func (result i32)))
 (type $2 (func (param i32)))
 (type $3 (func (result f32)))
 (global $global$0 (mut i32) (i32.const 10))
 (func $drop-block
  (drop
   (i32.const 0)
  )
 )
 (func $drop-block-br
  (block $x
   (drop
    (i32.const 1)
   )
   (br $x)
   (drop
    (i32.const 0)
   )
  )
 )
 (func $drop-block-br-if
  (drop
   (i32.const 1)
  )
  (block $x
   (br_if $x
    (i32.const 2)
   )
   (drop
    (i32.const 0)
   )
  )
 )
 (func $undroppable-block-br-if (param $0 i32)
  (drop
   (block $x (result i32)
    (call $undroppable-block-br-if
     (br_if $x
      (i32.const 1)
      (i32.const 2)
     )
    )
    (i32.const 0)
   )
  )
 )
 (func $drop-block-nested-br-if
  (block $x
   (if
    (i32.const 100)
    (then
     (drop
      (i32.const 1)
     )
     (br_if $x
      (i32.const 2)
     )
     (nop)
    )
   )
   (drop
    (i32.const 0)
   )
  )
 )
 (func $drop-unreachable-br_if (result i32)
  (block $label$0 (result i32)
   (block $label$2 (result i32)
    (br_if $label$2
     (br $label$0
      (i32.const 538976371)
     )
     (i32.const 1918987552)
    )
   )
  )
 )
 (func $drop-block-squared-iloop
  (block $label$0
   (loop $label$2
    (br $label$2)
   )
  )
 )
 (func $br-goes-away-label2-becomes-unreachable
  (drop
   (block $label$1 (result i32)
    (block $label$2
     (drop
      (br_if $label$1
       (unreachable)
       (i32.eqz
        (br $label$2)
       )
      )
     )
    )
    (i32.const 1)
   )
  )
 )
 (func $loop-block-drop-block-return
  (loop $label$4
   (block $label$5
    (return)
   )
  )
 )
 (func $if-block
  (block $label
   (if
    (i32.const 1)
    (then
     (drop
      (i32.const 2)
     )
     (drop
      (i32.const 3)
     )
    )
   )
  )
 )
 (func $if-block-bad
  (block $label
   (if
    (br $label)
    (then
     (drop
      (i32.const 2)
     )
     (drop
      (i32.const 3)
     )
    )
   )
  )
 )
 (func $if-block-br
  (block $label
   (if
    (i32.const 1)
    (then
     (br $label)
    )
   )
  )
 )
 (func $if-block-br-1
  (block $label
   (if
    (i32.const 1)
    (then
     (br $label)
    )
    (else
     (drop
      (i32.const 3)
     )
    )
   )
  )
 )
 (func $if-block-br-2
  (block $label
   (if
    (i32.const 1)
    (then
     (drop
      (i32.const 3)
     )
    )
    (else
     (br $label)
    )
   )
  )
 )
 (func $if-block-br-3
  (block $label
   (if
    (i32.const 1)
    (then
     (br $label)
    )
    (else
     (br $label)
    )
   )
  )
 )
 (func $if-block-br-4-eithre
  (block $label
   (if
    (i32.const 1)
    (then
     (drop
      (i32.const 2)
     )
    )
    (else
     (drop
      (i32.const 3)
     )
    )
   )
  )
 )
 (func $if-block-br-5-value (result i32)
  (block $label (result i32)
   (if (result i32)
    (i32.const 1)
    (then
     (i32.const 2)
    )
    (else
     (i32.const 3)
    )
   )
  )
 )
 (func $restructure-if-outerType-change
  (loop $label$1
   (br_if $label$1
    (block $label$2
     (block $label$3
      (if
       (block $label$4
        (unreachable)
       )
       (then
        (br $label$3)
       )
      )
     )
     (unreachable)
    )
   )
  )
 )
 (func $if-arm-unreachable
  (block $label$1
   (if
    (unreachable)
    (then
     (nop)
    )
    (else
     (unreachable)
    )
   )
  )
 )
 (func $propagate-type-if-we-optimize
  (if
   (i32.const 1)
   (then
    (nop)
   )
   (else
    (drop
     (loop $label$3 (result i64)
      (br_if $label$3
       (block $label$4 (result i32)
        (if
         (i32.const 0)
         (then
          (unreachable)
         )
         (else
          (unreachable)
         )
        )
       )
      )
      (i64.const -9)
     )
    )
    (unreachable)
   )
  )
 )
 (func $br-value-blocktypechange (result f32)
  (global.set $global$0
   (i32.const 0)
  )
  (block $label$1 (result f32)
   (global.set $global$0
    (i32.const 0)
   )
   (br_if $label$1
    (unreachable)
    (i32.const 0)
   )
  )
 )
)
