Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Text representation

    /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":58:61   */
  0x80
    /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":54:56   */
  0x40
    /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":47:62   */
  mstore
  dataSize(sub_0)
    /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":292:329   */
  dup1
  dataOffset(sub_0)
    /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":248:249   */
  0x00
    /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":239:330   */
  codecopy
    /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":349:386   */
  dup1
    /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":248:249   */
  0x00
    /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":339:387   */
  return
  pop
stop

sub_0: assembly {
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2394:2397   */
      0x80
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2390:2392   */
      0x40
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2383:2398   */
      mstore
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2441:2442   */
      0x04
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2425:2439   */
      calldatasize
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2422:2443   */
      lt
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2415:2444   */
      iszero
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2412:2414   */
      iszero
      tag_1
      jumpi
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2529:2530   */
      0x00
      dup1
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2516:2531   */
      calldataload
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":6870:6873   */
      0xe0
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":6866:6881   */
      shr
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2587:2597   */
      0x60fe47b1
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2582:3027   */
      dup2
      eq
      tag_3
      jumpi
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3050:3060   */
      0x6d4ce63c
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3045:3492   */
      dup2
      eq
      tag_4
      jumpi
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2549:3520   */
      jump(tag_2)
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2582:3027   */
    tag_3:
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2675:2686   */
      callvalue
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2672:2674   */
      iszero
      tag_5
      jumpi
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2529:2530   */
      dup2
      dup3
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2689:2701   */
      revert
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2672:2674   */
    tag_5:
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4014:4016   */
      0x20
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3989:4012   */
      not(0x03)
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2425:2439   */
      calldatasize
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3989:4012   */
      add
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3985:4017   */
      slt
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3982:3984   */
      iszero
      tag_6
      jumpi
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2529:2530   */
      dup2
      dup3
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4020:4032   */
      revert
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3982:3984   */
    tag_6:
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2441:2442   */
      0x04
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3653:3673   */
      calldataload
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2529:2530   */
      dup3
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":7333:7420   */
      sstore
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2529:2530   */
      dup2
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2860:2877   */
      tag_7
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2529:2530   */
      dup4
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2860:2877   */
      jump(tag_8)
    tag_7:
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2974:3009   */
      return
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2582:3027   */
      jump(tag_2)
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3045:3492   */
    tag_4:
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3131:3142   */
      callvalue
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3128:3130   */
      iszero
      tag_9
      jumpi
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2529:2530   */
      dup2
      dup3
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3145:3157   */
      revert
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3128:3130   */
    tag_9:
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2529:2530   */
      dup2
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3989:4012   */
      not(0x03)
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2425:2439   */
      calldatasize
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3825:3848   */
      add
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3821:3852   */
      slt
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3818:3820   */
      iszero
      tag_10
      jumpi
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2529:2530   */
      dup2
      dup3
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3855:3867   */
      revert
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3818:3820   */
    tag_10:
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2529:2530   */
      dup2
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":6456:6467   */
      sload
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3298:3315   */
      tag_11
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2529:2530   */
      dup4
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3298:3315   */
      jump(tag_8)
    tag_11:
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3466:3472   */
      dup1
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3350:3418   */
      tag_12
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3412:3417   */
      dup4
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3402:3408   */
      dup4
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3350:3418   */
      jump(tag_13)
    tag_12:
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3454:3473   */
      sub
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3446:3452   */
      dup2
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3439:3474   */
      return
      pop
      pop
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2549:3520   */
    tag_2:
      pop
      pop
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":2412:2414   */
    tag_1:
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3557:3558   */
      0x00
      0x00
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":3547:3559   */
      revert
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4501:4738   */
      jump(tag_14)
    tag_13:
      0x00
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4631:4633   */
      0x20
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4620:4629   */
      dup3
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4616:4634   */
      add
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4608:4634   */
      swap1
      pop
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4333:4338   */
      dup3
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4310:4313   */
      dup3
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4303:4340   */
      mstore
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4590:4738   */
      swap3
      swap2
      pop
      pop
      jump
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4752:5077   */
    tag_8:
      0x00
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4826:4828   */
      0x40
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4820:4829   */
      mload
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4810:4829   */
      swap1
      pop
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4876:4880   */
      dup2
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4868:4874   */
      dup2
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4864:4881   */
      add
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4999:5005   */
      dup2
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4987:4997   */
      dup2
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4984:5006   */
      lt
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4963:4981   */
      0xffffffffffffffff
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4951:4961   */
      dup3
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4948:4982   */
      gt
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4945:5007   */
      or
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4942:4944   */
      iszero
      tag_15
      jumpi
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":5020:5021   */
      0x00
      0x00
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":5010:5022   */
      revert
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4942:4944   */
    tag_15:
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":5052:5062   */
      dup1
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4826:4828   */
      0x40
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":5041:5063   */
      mstore
      pop
        /* "/Users/tpmccallum/simple_storage/simple_storage_yul_ir.txt":4792:5077   */
      swap2
      swap1
      pop
      jump
    tag_14:
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment