old_contents: """Provides the repository macro to import StableHLO."""
  
  load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls")
  
  def repo():
      # LINT.IfChange
      STABLEHLO_COMMIT = "f70b37a3aa578541f8f83d4d0230b86ea5bc77f6"
      STABLEHLO_SHA256 = "cda192b3e94388f16f65ea83bb0ea9b3cabbcd9cf1e3695e1740b5d9188f162d"
      # LINT.ThenChange(//depot/google3/third_party/stablehlo/METADATA)
  
      tf_http_archive(
          name = "stablehlo",
          sha256 = STABLEHLO_SHA256,
          strip_prefix = "stablehlo-{commit}".format(commit = STABLEHLO_COMMIT),
          urls = tf_mirror_urls("https://github.com/openxla/stablehlo/archive/{commit}.zip".format(commit = STABLEHLO_COMMIT)),
          build_file = "//third_party/stablehlo:BUILD",
          patch_file = [
              "//third_party/stablehlo:temporary.patch",  # Cherry-picks and temporary reverts. Do not remove even if temporary.patch is empty.
          ],
      )
  
new_contents: """Provides the repository macro to import StableHLO."""
  
  load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls")
  
  def repo():
      # LINT.IfChange
      STABLEHLO_COMMIT = "65b9091d71b990fd4efe0d7bac7ec0b0fabcc888"
      STABLEHLO_SHA256 = "51ff7a595e717c749a1209e02b4174bb25d335587b5410dcc1b6a9e80deaf861"
      # LINT.ThenChange(//depot/google3/third_party/stablehlo/METADATA)
  
      tf_http_archive(
          name = "stablehlo",
          sha256 = STABLEHLO_SHA256,
          strip_prefix = "stablehlo-{commit}".format(commit = STABLEHLO_COMMIT),
          urls = tf_mirror_urls("https://github.com/openxla/stablehlo/archive/{commit}.zip".format(commit = STABLEHLO_COMMIT)),
          build_file = "//third_party/stablehlo:BUILD",
          patch_file = [
              "//third_party/stablehlo:temporary.patch",  # Cherry-picks and temporary reverts. Do not remove even if temporary.patch is empty.
          ],
      )
  
subject: Integrate StableHLO at openxla/stablehlo@65b9091d71b9