It seems the firmware returned an unexpected return value. When setting BootOrder, SetVariable() returned EFI_ABORTED(0x8000000000000015), and efi_status_to_err() translated the error code into EINTR. However, per UEFI spec, EFI_ABORTED is not defined in the return values of SetVariable(). I'll try to reach the firmware vendor to get the answer.