compilation_unit {
  package_statement {
    package_name: "ExplorerTest"
  }
  is_api: true
  declarations {
    function {
      name: "Main"
      param_pattern {
      }
      return_term {
        kind: Expression
        type {
          int_type_literal {
          }
        }
      }
      body {
        statements {
          if_statement {
            condition {
              primitive_operator {
                op: Eq
                arguments {
                  int_literal {
                    value: 0
                  }
                }
                arguments {
                  int_literal {
                    value: 1
                  }
                }
              }
            }
            then_block {
              statements {
                return_statement {
                  expression {
                    int_literal {
                      value: 1
                    }
                  }
                }
              }
            }
            else_block {
              statements {
                if_statement {
                  condition {
                    primitive_operator {
                      op: Eq
                      arguments {
                        int_literal {
                          value: 0
                        }
                      }
                      arguments {
                        int_literal {
                          value: 2
                        }
                      }
                    }
                  }
                  then_block {
                    statements {
                      return_statement {
                        expression {
                          int_literal {
                            value: 2
                          }
                        }
                      }
                    }
                  }
                  else_block {
                    statements {
                      return_statement {
                        expression {
                          int_literal {
                            value: 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
        statements {
          return_statement {
            expression {
              int_literal {
                value: 1
              }
            }
          }
        }
      }
    }
  }
}
